From 1ad2c17ddf8ceab2b5966bac6ca3583f0b6d1848 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Sat, 29 May 2004 12:38:54 +0000 Subject: [PATCH] oops forgot forte C++ fixes in configure.ac git-svn-id: https://svn.musicpd.org/mpd/trunk@1227 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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)