]> git.ipfire.org Git - thirdparty/sarg.git/commitdiff
Take the result of the test for -Werror=format into account
authorFrédéric Marchal <fmarchal@users.sourceforge.net>
Mon, 7 Feb 2011 18:32:32 +0000 (18:32 +0000)
committerFrédéric Marchal <fmarchal@users.sourceforge.net>
Mon, 7 Feb 2011 18:32:32 +0000 (18:32 +0000)
Due to a copy and paste error, the non availability of -Werror=format in
the compiler was not taken into account.

configure.in

index 58fb43e921bc502162f5b5af89b8a0932b8a94db..e15aba9dac36d9c4f8fa5e5c5959bfe9f68bdee8 100644 (file)
@@ -47,7 +47,7 @@ saved_CFLAGS="${CFLAGS}"
 CFLAGS="${CFLAGS} -Werror=format"
 AC_COMPILE_IFELSE([AC_LANG_SOURCE([])],[have_error_format="yes"],[have_error_format="no"])
 AC_MSG_RESULT($have_error_format)
-if test "$have_implicit_function_declaration" == "no" ; then
+if test "$have_error_format" == "no" ; then
     CFLAGS="${saved_CFLAGS}"
 fi