|
From: Martin R. <ru...@us...> - 2004-08-10 02:29:19
|
Update of /cvsroot/foo/fooelk In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11256 Modified Files: bootstrap configure.ac Log Message: integrated recent changes in elk's svn repository. throws lots of warnings while compiling due to new warning flags enabled in configure.ac. don't mind Index: configure.ac =================================================================== RCS file: /cvsroot/foo/fooelk/configure.ac,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** configure.ac 10 Aug 2004 01:05:33 -0000 1.6 --- configure.ac 10 Aug 2004 02:28:40 -0000 1.7 *************** *** 554,563 **** fi ! AC_CACHE_CHECK([if \$CC accepts -Wsign-compare], ! [ac_cv_c_Wsign_compare], ! [CFLAGS="-Wsign-compare ${CFLAGS_save}" ! AC_TRY_COMPILE([],,ac_cv_c_Wsign_compare=yes, ac_cv_c_Wsign_compare=no)]) ! if test "x${ac_cv_c_Wsign_compare}" != "xno"; then ! CFLAGS_save="-Wsign-compare ${CFLAGS_save}" fi --- 554,565 ---- fi ! # Code qui fait des warnings == code de porc == deux baffes dans ta gueule ! CFLAGS_warn="-Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare" ! AC_CACHE_CHECK([if \$CC accepts ${CFLAGS_warn}], ! [ac_cv_c_Wwarn], ! [CFLAGS="${CFLAGS_warn} ${CFLAGS_save}" ! AC_TRY_COMPILE([],,ac_cv_c_Wwarn=yes, ac_cv_c_Wwarn=no)]) ! if test "x${ac_cv_c_Wwarn}" != "xno"; then ! CFLAGS_save="${CFLAGS_warn} ${CFLAGS_save}" fi *************** *** 658,662 **** AC_OUTPUT([ Makefile - autotools/Makefile debian/Makefile doc/Makefile --- 660,663 ---- Index: bootstrap =================================================================== RCS file: /cvsroot/foo/fooelk/bootstrap,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** bootstrap 6 Aug 2004 20:56:41 -0000 1.1.1.1 --- bootstrap 10 Aug 2004 02:28:40 -0000 1.2 *************** *** 52,61 **** # Remove old cruft rm -f aclocal.m4 configure config.guess config.log config.sub config.cache config.h.in config.h compile ltmain.sh libtool ltconfig missing mkinstalldirs depcomp install-sh INSTALL ! rm -Rf autom4te.cache ! (cd autotools && rm -f config.guess config.sub missing mkinstalldirs compile ltmain.sh depcomp install-sh) - aclocal${amvers} ${libtoolize} --copy --force - if test -f "ltmain.sh"; then echo "$0: working around a minor libtool issue" --- 52,59 ---- # Remove old cruft rm -f aclocal.m4 configure config.guess config.log config.sub config.cache config.h.in config.h compile ltmain.sh libtool ltconfig missing mkinstalldirs depcomp install-sh INSTALL ! rm -Rf autom4te.cache autotools ! mkdir autotools ${libtoolize} --copy --force if test -f "ltmain.sh"; then echo "$0: working around a minor libtool issue" *************** *** 63,66 **** --- 61,65 ---- fi + aclocal${amvers} autoconf autoheader |