diff options
author | Eric Wong <normalperson@yhbt.net> | 2006-07-15 09:42:28 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2006-07-15 09:42:28 +0000 |
commit | 6735acbf3254cfdd9220d9fe6ccd2919e5cfbf8e (patch) | |
tree | 917e5cafe8d2f32d7d985114f2c7ea6963d0de29 | |
parent | 32fd264ffcb071234904e1667930b387ae643cbe (diff) | |
download | mpd-6735acbf3254cfdd9220d9fe6ccd2919e5cfbf8e.tar.gz mpd-6735acbf3254cfdd9220d9fe6ccd2919e5cfbf8e.tar.xz mpd-6735acbf3254cfdd9220d9fe6ccd2919e5cfbf8e.zip |
configure.ac: remove uncessary grep usage
git-svn-id: https://svn.musicpd.org/mpd/trunk@4349 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r-- | configure.ac | 7 |
1 files 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]) |