diff configure.ac @ 2315:af0e789e70a7 trunk

[svn] Add -Wall to CFLAGS by default if the CC is gcc
author js
date Fri, 12 Jan 2007 12:32:12 -0800
parents 3149d4b1a9a9
children c22fe69a842d
line wrap: on
line diff
--- a/configure.ac	Fri Jan 12 11:53:37 2007 -0800
+++ b/configure.ac	Fri Jan 12 12:32:12 2007 -0800
@@ -37,6 +37,8 @@
 AC_ISC_POSIX
 AC_C_BIGENDIAN
 
+test x"$GCC" = x"yes" && CFLAGS="$CFLAGS -Wall"
+
 dnl Check for assembler
 
 AM_PROG_AS