From 96a3939ed094684770a42f26482a7f6191036b2a Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 5 Jun 2006 23:24:54 +0000 Subject: configure.ac: set -Wall if we detect gcc-$VERSION or gcc$VERSION git-svn-id: https://svn.musicpd.org/mpd/trunk@4252 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 6222f3abb..8f0ead775 100644 --- a/configure.ac +++ b/configure.ac @@ -26,7 +26,8 @@ AC_PROG_MAKE_SET AM_CONFIG_HEADER(config.h) MPD_CFLAGS="" -if test x$CC = xgcc; then +if echo "$CC" | grep gcc >/dev/null +then MPD_CFLAGS="-Wall" fi MPD_LIBS="" -- cgit v1.2.3