Commit 6735acbf authored by Eric Wong's avatar Eric Wong

configure.ac: remove uncessary grep usage

git-svn-id: https://svn.musicpd.org/mpd/trunk@4349 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 32fd264f
...@@ -26,10 +26,11 @@ AC_PROG_MAKE_SET ...@@ -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])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment