diff options
author | Darren Tucker <dtucker@zip.com.au> | 2005-11-10 14:46:48 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2005-11-10 14:46:48 +1100 |
commit | b0288098c9e9c4753e8e9537051eef4b7f417585 (patch) | |
tree | 2fd089d1ec3e9c7a072a2183d5fe8ce8c6ebbc32 /configure.ac | |
parent | 618db97fe17c7249cef1b53ed1adc9582b10f7f4 (diff) |
- (dtucker) [configure.ac] Disable pointer-sign warnings on gcc 4.0+
since they're not useful right now. Patch from djm@.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index afcd8aff0..a7b8e8000 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.303 2005/10/25 08:38:34 dtucker Exp $ | 1 | # $Id: configure.ac,v 1.304 2005/11/10 03:46:49 dtucker Exp $ |
2 | # | 2 | # |
3 | # Copyright (c) 1999-2004 Damien Miller | 3 | # Copyright (c) 1999-2004 Damien Miller |
4 | # | 4 | # |
@@ -90,7 +90,8 @@ if test "$GCC" = "yes" || test "$GCC" = "egcs"; then | |||
90 | 1.*) ;; | 90 | 1.*) ;; |
91 | 2.8* | 2.9*) CFLAGS="$CFLAGS -Wsign-compare" ;; | 91 | 2.8* | 2.9*) CFLAGS="$CFLAGS -Wsign-compare" ;; |
92 | 2.*) ;; | 92 | 2.*) ;; |
93 | *) CFLAGS="$CFLAGS -Wsign-compare" ;; | 93 | 3.*) CFLAGS="$CFLAGS -Wsign-compare" ;; |
94 | *) CFLAGS="$CFLAGS -Wsign-compare -Wno-pointer-sign" ;; | ||
94 | esac | 95 | esac |
95 | 96 | ||
96 | if test -z "$have_llong_max"; then | 97 | if test -z "$have_llong_max"; then |