* configure.in -- don't let GNOME_COMPILE_WARNINGS overwrite our list

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7353 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins 2002-10-19 15:45:16 +00:00
parent 2847a1a8f9
commit a811b8062f
2 changed files with 18 additions and 13 deletions

View File

@ -1,6 +1,7 @@
2002-10-19 Derek Atkins <derek@ihtfp.com>
* gnome/gw-gnc-spec.scm -- add "#include <gnc-splash.h>"
* configure.in -- don't let GNOME_COMPILE_WARNINGS overwrite our list
2002-10-19 Christian Stimming <stimming@tuhh.de>
* po/POTFILES.in: Update potfile.in for upcoming translations.

View File

@ -342,18 +342,6 @@ AC_ARG_ENABLE(error-on-warning,
esac]
[ CFLAGS="${CFLAGS} -Werror"; enable_compile_warnings=no ])
# This has to come after AC_PROG_CC
if test ${GCC}x = yesx
then
# These two are because of g-wrap -- it can't avoid unused and uninitialized.
CFLAGS="${CFLAGS} -Wno-unused"
CFLAGS="${CFLAGS} -Wno-uninitialized"
# other flags...
CFLAGS="${CFLAGS} -Wmissing-prototypes"
CFLAGS="${CFLAGS} -Wmissing-declarations"
CFLAGS="${CFLAGS} -Werror-implicit-function-declaration"
fi
AC_ARG_ENABLE( debug,
[ --enable-debug compile with debugging flags set],
CFLAGS="${CFLAGS} -g"
@ -773,6 +761,22 @@ then
fi
###-------------------------------------------------------------------------
### Additional compiler warnings (or not) if we're running GCC
###-------------------------------------------------------------------------
# This has to come after AC_PROG_CC _AND_ GNOME_COMPILE_WARNINGS
if test ${GCC}x = yesx
then
# These two are because of g-wrap -- it can't avoid unused and uninitialized.
CFLAGS="${CFLAGS} -Wno-uninitialized"
CFLAGS="${CFLAGS} -Wno-unused"
# other flags...
CFLAGS="${CFLAGS} -Wmissing-prototypes"
CFLAGS="${CFLAGS} -Wmissing-declarations"
CFLAGS="${CFLAGS} -Werror-implicit-function-declaration"
fi
###-------------------------------------------------------------------------
### Stuff from Mac OS X Port
###-------------------------------------------------------------------------