Commit eaf7eb17 authored by David Hankins's avatar David Hankins
Browse files

- 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.  [ISC-Bugs #17177]
parent c104546d
......@@ -68,6 +68,10 @@ suggested fixes to <dhcp-users@isc.org>.
- 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.
......
......@@ -16,7 +16,7 @@ AC_PROG_CC
# 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
......@@ -208,6 +208,10 @@ AC_CHECK_MEMBER(struct msghdr.msg_control,,
#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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment