"-Werror" (unused variable) rather than the actual test failure. Lead
to inconsistent and unworkable auto-configurations. [ISC-Bugs #17177]
- Fixed an error causing the server to lock up on lease expiration,
reported independently by Jothilingam Vasu and Dennis Kou.
+- Fixed a ./configure bug where compile tests were failing due to
+ "-Werror" (unused variable) rather than the actual test failure. Lead
+ to inconsistent and unworkable auto-configurations.
+
Changes since 4.0.0a2
- Fix for startup where there are no IPv4 addresses on an interface.
# 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
#include <sys/socket.h>
])
+# Append selected warning levels to CFLAGS before substitution (but after
+# AC_TRY_COMPILE & etc).
+CFLAGS="$CFLAGS $STD_CWARNINGS"
+
AC_OUTPUT([
Makefile
client/Makefile