[SCM] Samba Shared Repository - branch v3-6-test updated

Kai Blin kai at samba.org
Sat Aug 21 08:51:21 MDT 2010


The branch, v3-6-test has been updated
       via  0529160... s3: Fix netgrent configure checks for compilers not supporting -Werror-implicit-function-declaration
      from  9d8a3a4... s3: Fix bug 7635

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test


- Log -----------------------------------------------------------------
commit 0529160c0829eb2437896d7d8ecc36ad4f201de2
Author: Kai Blin <kai at samba.org>
Date:   Sat Aug 14 07:40:51 2010 +0200

    s3: Fix netgrent configure checks for compilers not supporting -Werror-implicit-function-declaration
    
    This should fix bug 7620.
    (cherry picked from commit 45ac8ffdb4181c31605ccda5035664a8019ffc49)
    
    Signed-off-by: Kai Blin <kai at samba.org>

-----------------------------------------------------------------------

Summary of changes:
 source3/configure.in |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/configure.in b/source3/configure.in
index cb685c6..e8a5417 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -6506,7 +6506,9 @@ AC_SUBST(FLAGS1)
 ###################################################
 # Check for different/missing (set|get|end)netgrent prototypes
 CFLAGS_SAVE=$CFLAGS
-CFLAGS="$CFLAGS -Werror-implicit-function-declaration"
+if test x"$samba_cv_HAVE_Wdeclaration_after_statement" = x"yes"; then
+	CFLAGS="$CFLAGS -Werror-implicit-function-declaration"
+fi
 AC_CACHE_CHECK([for setnetgrent prototype],samba_cv_setnetgrent_prototype, [
     AC_TRY_COMPILE([#include<netdb.h>
                     #ifdef HAVE_NETGROUP_H


-- 
Samba Shared Repository


More information about the samba-cvs mailing list