From 936151c14f77b4afd3bf716b1f3b82fbe28c1f7a Mon Sep 17 00:00:00 2001 From: Jonathan Blandford Date: Thu, 10 Jan 2002 05:55:00 +0000 Subject: [PATCH] Add CFLAGS --- configure.in | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/configure.in b/configure.in index 6e5ccc13f..66b8b4ca4 100644 --- a/configure.in +++ b/configure.in @@ -17,6 +17,15 @@ AC_STDC_HEADERS AM_PROG_LIBTOOL +changequote(,)dnl +if test "x$GCC" = "xyes"; then + case " $CFLAGS " in + *[\ \ ]-Wall[\ \ ]*) ;; + *) CFLAGS="$CFLAGS -Wall" ;; + esac +fi +changequote([,])dnl + # Internationalization support GETTEXT_PACKAGE=control-center AC_SUBST(GETTEXT_PACKAGE)