* configure.ac: Only add "-Wall" to CFLAGS if GCC is set to "yes".

This commit is contained in:
Roland Illig 2004-10-24 14:48:01 +00:00
parent 63cae58f20
commit 8da4a08bbd
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-10-24 Roland Illig <roland.illig@gmx.de>
* configure.ac: Only add "-Wall" to CFLAGS if GCC is set to "yes".
2004-10-23 Roland Illig <roland.illig@gmx.de>
* TODO: Check proper quoting in vfs/extfs/*.

View File

@ -552,8 +552,10 @@ fi
if test x"$USE_MAINTAINER_MODE" = x"yes"; then
if test x"${enable_gcc_warnings+set}" != x"set"; then
if test x"${GCC}" = x"yes"; then
CFLAGS="-Wall $CFLAGS"
fi
fi
fi
ri_GCC_WARNINGS