summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-05-29 12:38:54 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-05-29 12:38:54 +0000
commit1ad2c17ddf8ceab2b5966bac6ca3583f0b6d1848 (patch)
tree0e5c8c5882067d3802e2c042ff208e36560cbd98 /configure.ac
parent24cf4a1365a67342ad12dbcc3bf025061c9d27b4 (diff)
oops forgot forte C++ fixes in configure.ac
git-svn-id: https://svn.musicpd.org/mpd/trunk@1227 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 7ccfeb2f1..adf35559a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,7 +25,10 @@ AC_PROG_MAKE_SET
AM_CONFIG_HEADER(config.h)
-MPD_CFLAGS="-Wall"
+MPD_CFLAGS=""
+if test x$CC = xgcc; then
+ MPD_CFLAGS="-Wall"
+fi
MPD_LIBS=""
AC_ARG_ENABLE(audio,[ --disable-audio disable support for playing],,enable_ao=yes)