mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-16 17:01:53 +00:00
Make the help output less darn confusing for werror.
This commit is contained in:
parent
e3b47c9c6d
commit
470bccc5e6
1 changed files with 4 additions and 1 deletions
|
@ -1655,9 +1655,12 @@ if test "x$GCC" != xyes; then
|
|||
fi
|
||||
|
||||
AC_ARG_ENABLE(Werror,
|
||||
[ --enable-Werror treat warnings as errors]
|
||||
[ --disable-Werror Do not treat warnings as errors]
|
||||
)
|
||||
dnl We want warnings, lots of warnings...
|
||||
dnl The help text should be INVERTED before release!
|
||||
dnl when in svn, this test defaults to ENABLED.
|
||||
dnl In a release, this test defaults to DISABLED.
|
||||
if test "x$GCC" = "xyes"; then
|
||||
if test "x$enable_Werror" $cvs_def_enabled; then
|
||||
CFLAGS="$CFLAGS -Wall -Werror -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations"
|
||||
|
|
Loading…
Reference in a new issue