mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-08 12:18:42 +00:00
Add more warnings if --enable-warnings is turned on. (probably requires
gcc-3.0 or newer, but I hope it's OK)
This commit is contained in:
parent
189dab54a2
commit
54c411f6af
@ -58,7 +58,7 @@ if test -z "$GCC" ; then
|
|||||||
AC_MSG_CHECKING([what CFLAGS should we use])
|
AC_MSG_CHECKING([what CFLAGS should we use])
|
||||||
if test "$ac_test_CFLAGS" != set ; then
|
if test "$ac_test_CFLAGS" != set ; then
|
||||||
if test "$enable_warnings" = yes ; then
|
if test "$enable_warnings" = yes ; then
|
||||||
WARNS=""
|
WARNS=" -Wmissing-prototypes -Wundef"
|
||||||
else
|
else
|
||||||
WARNS=" -Wno-unused"
|
WARNS=" -Wno-unused"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user