From 6735acbf3254cfdd9220d9fe6ccd2919e5cfbf8e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 15 Jul 2006 09:42:28 +0000 Subject: [PATCH] configure.ac: remove uncessary grep usage git-svn-id: https://svn.musicpd.org/mpd/trunk@4349 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- configure.ac | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 9e0ee6b08..28ec9a53a 100644 --- a/configure.ac +++ b/configure.ac @@ -26,10 +26,11 @@ AC_PROG_MAKE_SET AM_CONFIG_HEADER(config.h) MPD_CFLAGS="" -if echo "$CC" | grep gcc >/dev/null -then +case "$CC" in +*gcc*) MPD_CFLAGS="-Wall" -fi + ;; +esac MPD_LIBS="" AC_ARG_ENABLE(ao,[ --enable-ao enable support for libao (default: disable)],[enable_ao=$enableval],[enable_ao=no])