summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2004-12-20 18:20:17 +0000
committerDan Fandrich <dan@coneharvesters.com>2004-12-20 18:20:17 +0000
commit0e591829453b3624d7604100f3cc21136dcaf628 (patch)
treefc5e6979cba5506a663ed277fa3881462c6ae775 /acinclude.m4
parent7270d5ce262d0d4b85031a2cc205f8ab9ee81879 (diff)
downloadcurl-0e591829453b3624d7604100f3cc21136dcaf628.tar.gz
gcc 2.7 can't handle a few warning options that gcc 2.95 can.
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index d911a8f3e..f232438a8 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -695,15 +695,15 @@ AC_DEFUN([CURL_CC_DEBUG_OPTS],
dnl -Wcast-align is a bit too annoying on all gcc versions ;-)
if test "$gccnum" -ge "207"; then
- dnl gcc 2.7 or later (well, they don't work on 2.2.2)
- WARN="$WARN -Wno-long-long -Wmissing-declarations -Wsign-compare"
+ dnl gcc 2.7 or later
+ WARN="$WARN -Wmissing-declarations"
fi
if test "$gccnum" -gt "295"; then
dnl only if the compiler is newer than 2.95 since we got lots of
dnl "`_POSIX_C_SOURCE' is not defined" in system headers with
dnl gcc 2.95.4 on FreeBSD 4.9!
- WARN="$WARN -Wundef"
+ WARN="$WARN -Wundef -Wno-long-long -Wsign-compare"
fi
if test "$gccnum" -ge "296"; then