From bdaa13d32ae280cffe88c0da6d7d9b9a6269ebcf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Marchal?= Date: Mon, 7 Feb 2011 18:32:32 +0000 Subject: [PATCH] Take the result of the test for -Werror=format into account Due to a copy and paste error, the non availability of -Werror=format in the compiler was not taken into account. --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 58fb43e..e15aba9 100644 --- a/configure.in +++ b/configure.in @@ -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 -- 2.47.2