From: David Hankins Date: Wed, 3 Oct 2007 20:25:36 +0000 (+0000) Subject: autoconf regeneration X-Git-Tag: v4_0_0b1~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c5b1ad9f5bedca6af38d6b85aea37881026907ab;p=thirdparty%2Fdhcp.git autoconf regeneration --- diff --git a/configure b/configure index 6e61e6e04..ccefa08c6 100755 --- a/configure +++ b/configure @@ -2885,7 +2885,7 @@ fi # user did not specify any flags. Add warnings in this case. if test "$GCC" = "yes"; then if test "$CFLAGS" != "$SAVE_CFLAGS"; then - CFLAGS="$CFLAGS -Wall -Werror -fno-strict-aliasing" + STD_CWARNINGS="$STD_CWARNINGS -Wall -Werror -fno-strict-aliasing" fi fi @@ -6220,6 +6220,10 @@ fi fi +# Append selected warning levels to CFLAGS before substitution (but after +# AC_TRY_COMPILE & etc). +CFLAGS="$CFLAGS $STD_CWARNINGS" + ac_config_files="$ac_config_files Makefile client/Makefile common/Makefile dhcpctl/Makefile dst/Makefile includes/Makefile minires/Makefile omapip/Makefile relay/Makefile server/Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure