s3 autobuild: Fix CFLAG check for netgrent tests
authorKai Blin <kai@samba.org>
Mon, 18 Apr 2011 12:48:47 +0000 (14:48 +0200)
committerGünther Deschner <gd@samba.org>
Mon, 18 Apr 2011 13:26:44 +0000 (15:26 +0200)
In 45ac8ffd I accidently added the wrong flag check. Fix this.
Thanks to gd for noticing.

Signed-off-by: Günther Deschner <gd@samba.org>
source3/configure.in

index 086e0442a07a8e0a42d037585b8090de3fa7d34e..c9518280c75aac97674c561de7e4b0b4b51c9f85 100644 (file)
@@ -6687,7 +6687,7 @@ AC_SUBST(FLAGS1)
 ###################################################
 # Check for different/missing (set|get|end)netgrent prototypes
 CFLAGS_SAVE=$CFLAGS
-if test x"$samba_cv_HAVE_Wdeclaration_after_statement" = x"yes"; then
+if test x"$samba_cv_HAVE_Werror_implicit_function_declaration" = x"yes"; then
        CFLAGS="$CFLAGS -Werror-implicit-function-declaration"
 fi
 AC_CACHE_CHECK([for setnetgrent prototype],samba_cv_setnetgrent_prototype, [