aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-01-29 15:38:27 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-01-29 15:38:27 +0000
commita4351517354859ae9bd63da2836093da530097a0 (patch)
tree93ca60edbb14c89b974384ee9e8bb990cc9972c2
parentbfe5568c8515a628e128f4ab88f139c583847e56 (diff)
check for sys/ioctl.h as well
added commented more aggressive compiler options for gcc, subject to be used instead of the current ones when --enable-debug is used
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d5d63655a..6b4059e02 100644
--- a/configure.ac
+++ b/configure.ac
@@ -849,6 +849,7 @@ AC_CHECK_HEADERS(
sys/time.h \
sys/select.h \
sys/socket.h \
+ sys/ioctl.h \
assert.h \
unistd.h \
malloc.h \
@@ -1013,6 +1014,9 @@ AC_HELP_STRING([--disable-debug],[Disable debug options]),
CFLAGS="$CFLAGS -g"
if test "$GCC" = "yes"; then
CFLAGS="$CFLAGS -W -Wall -Wwrite-strings -pedantic -Wno-long-long -Wundef -Wpointer-arith -Wnested-externs"
+
+ dnl here's a more aggressive set to use:
+ dnl CFLAGS="$CFLAGS -W -Wall -Wwrite-strings -pedantic -Wno-long-long -Wundef -Wpointer-arith -Wnested-externs -Wcast-align -Winline -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wshadow -Wfloat-equal -Wsign-compare -Wunreachable-code"
fi
dnl strip off optimizer flags
NEWFLAGS=""