aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-15 12:30:40 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-02-15 12:30:40 +0000
commit2d41efb71e2ef083f8e68fb23f763891cd746e0d (patch)
tree1dc0d716400e5d7ae1deebcb3a799cdf48957f6e /ares
parent7abf2f44ec58eece7c200c54d7e5c76bf43354e2 (diff)
don't assume we can use gcc 2.96+ options
Diffstat (limited to 'ares')
-rw-r--r--ares/configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/ares/configure.ac b/ares/configure.ac
index 448faecb8..362370d67 100644
--- a/ares/configure.ac
+++ b/ares/configure.ac
@@ -31,7 +31,9 @@ AC_HELP_STRING([--disable-debug],[Disable debug options]),
CPPFLAGS="$CPPFLAGS -DCURLDEBUG"
CFLAGS="$CFLAGS -g"
if test "$GCC" = "yes"; then
- 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"
+ dnl these work for gcc 2.95
+ 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 -Wsign-compare"
+ dnl 2.96 or higher: -Wfloat-equal -Wunreachable-code
fi
dnl strip off optimizer flags
NEWFLAGS=""