]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
autoconf regeneration
authorDavid Hankins <dhankins@isc.org>
Wed, 3 Oct 2007 20:25:36 +0000 (20:25 +0000)
committerDavid Hankins <dhankins@isc.org>
Wed, 3 Oct 2007 20:25:36 +0000 (20:25 +0000)
configure

index 6e61e6e04808256da37efed46776a8dccd2111aa..ccefa08c6242d578c4ef43f1fbf076a4d8cc8746 100755 (executable)
--- 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