Commit 96a3939e authored by Eric Wong's avatar Eric Wong

configure.ac: set -Wall if we detect gcc-$VERSION or gcc$VERSION

git-svn-id: https://svn.musicpd.org/mpd/trunk@4252 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 10cf5add
......@@ -26,7 +26,8 @@ AC_PROG_MAKE_SET
AM_CONFIG_HEADER(config.h)
MPD_CFLAGS=""
if test x$CC = xgcc; then
if echo "$CC" | grep gcc >/dev/null
then
MPD_CFLAGS="-Wall"
fi
MPD_LIBS=""
......
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