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
This commit is contained in:
parent
10cf5add40
commit
96a3939ed0
@ -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=""
|
||||
|
Loading…
Reference in New Issue
Block a user