diff options
author | Damien Miller <djm@mindrot.org> | 2001-06-27 23:35:51 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-06-27 23:35:51 +1000 |
commit | 649d999b4bab2d2ff5fadf7c77f2d685ece4708c (patch) | |
tree | b1af765fe8fcbbc57f5b73798244cee091beb79b /configure.in | |
parent | b90416b7df65a0d8e36c5e6887e33ebd8b25125c (diff) |
- (djm) Turn up warnings if gcc or egcs detected
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/configure.in b/configure.in index 199c1a694..554d1cf40 100644 --- a/configure.in +++ b/configure.in | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.in,v 1.292 2001/06/25 08:09:17 djm Exp $ | 1 | # $Id: configure.in,v 1.293 2001/06/27 13:35:53 djm Exp $ |
2 | 2 | ||
3 | AC_INIT(ssh.c) | 3 | AC_INIT(ssh.c) |
4 | 4 | ||
@@ -41,10 +41,9 @@ if test -z "$LD" ; then | |||
41 | fi | 41 | fi |
42 | AC_SUBST(LD) | 42 | AC_SUBST(LD) |
43 | 43 | ||
44 | # C Compiler features | ||
45 | AC_C_INLINE | 44 | AC_C_INLINE |
46 | if test "$GCC" = "yes"; then | 45 | if test "$GCC" = "yes" || test "$GCC" = "egcs"; then |
47 | CFLAGS="$CFLAGS -Wall" | 46 | CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wno-uninitialized" |
48 | fi | 47 | fi |
49 | 48 | ||
50 | # Check for some target-specific stuff | 49 | # Check for some target-specific stuff |