From 649d999b4bab2d2ff5fadf7c77f2d685ece4708c Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Wed, 27 Jun 2001 23:35:51 +1000 Subject: - (djm) Turn up warnings if gcc or egcs detected --- configure.in | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 199c1a694..554d1cf40 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -# $Id: configure.in,v 1.292 2001/06/25 08:09:17 djm Exp $ +# $Id: configure.in,v 1.293 2001/06/27 13:35:53 djm Exp $ AC_INIT(ssh.c) @@ -41,10 +41,9 @@ if test -z "$LD" ; then fi AC_SUBST(LD) -# C Compiler features AC_C_INLINE -if test "$GCC" = "yes"; then - CFLAGS="$CFLAGS -Wall" +if test "$GCC" = "yes" || test "$GCC" = "egcs"; then + CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wno-uninitialized" fi # Check for some target-specific stuff -- cgit v1.2.3