aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
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=""