configure.ac: remove uncessary grep usage

git-svn-id: https://svn.musicpd.org/mpd/trunk@4349 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Eric Wong 2006-07-15 09:42:28 +00:00
parent 32fd264ffc
commit 6735acbf32

View File

@ -26,10 +26,11 @@ AC_PROG_MAKE_SET
AM_CONFIG_HEADER(config.h) AM_CONFIG_HEADER(config.h)
MPD_CFLAGS="" MPD_CFLAGS=""
if echo "$CC" | grep gcc >/dev/null case "$CC" in
then *gcc*)
MPD_CFLAGS="-Wall" MPD_CFLAGS="-Wall"
fi ;;
esac
MPD_LIBS="" MPD_LIBS=""
AC_ARG_ENABLE(ao,[ --enable-ao enable support for libao (default: disable)],[enable_ao=$enableval],[enable_ao=no]) AC_ARG_ENABLE(ao,[ --enable-ao enable support for libao (default: disable)],[enable_ao=$enableval],[enable_ao=no])