summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDavid Hankins <dhankins@isc.org>2007-10-03 20:25:36 +0000
committerDavid Hankins <dhankins@isc.org>2007-10-03 20:25:36 +0000
commitc5b1ad9f5bedca6af38d6b85aea37881026907ab (patch)
tree75d446e7888797eb79ccc48de65b34c127c86ce0 /configure
parent58ca0d19663ac66627c547e2f19b452f6a621cd5 (diff)
downloadisc-dhcp-c5b1ad9f5bedca6af38d6b85aea37881026907ab.tar.gz
autoconf regeneration
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index 6e61e6e0..ccefa08c 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