Commit 54c411f6 authored by Martin Mareš's avatar Martin Mareš

Add more warnings if --enable-warnings is turned on. (probably requires

gcc-3.0 or newer, but I hope it's OK)
parent 189dab54
......@@ -58,7 +58,7 @@ if test -z "$GCC" ; then
AC_MSG_CHECKING([what CFLAGS should we use])
if test "$ac_test_CFLAGS" != set ; then
if test "$enable_warnings" = yes ; then
WARNS=""
WARNS=" -Wmissing-prototypes -Wundef"
else
WARNS=" -Wno-unused"
fi
......
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