Author: jpeach
Date: 2006-04-20 01:16:04 +0000 (Thu, 20 Apr 2006)
New Revision: 15143

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15143

Log:
Pull in GNU extensions right at the start of the configure process. This
prevents a warning on comparison_fn_t redefinition every time replace.h
is included.

Modified:
   branches/SAMBA_4_0/source/build/m4/env.m4
   branches/SAMBA_4_0/source/lib/tdb/config.m4


Changeset:
Modified: branches/SAMBA_4_0/source/build/m4/env.m4
===================================================================
--- branches/SAMBA_4_0/source/build/m4/env.m4   2006-04-20 00:47:48 UTC (rev 
15142)
+++ branches/SAMBA_4_0/source/build/m4/env.m4   2006-04-20 01:16:04 UTC (rev 
15143)
@@ -29,6 +29,8 @@
        echo "BUILD REVISION: ${SAMBA_VERSION_SVN_REVISION}"
 fi
 
+AC_DEFINE([_GNU_SOURCE],[],[Pull in GNU extensions])
+
 sinclude(build/m4/check_path.m4)
 sinclude(build/m4/check_perl.m4)
 sinclude(build/m4/check_cc.m4)

Modified: branches/SAMBA_4_0/source/lib/tdb/config.m4
===================================================================
--- branches/SAMBA_4_0/source/lib/tdb/config.m4 2006-04-20 00:47:48 UTC (rev 
15142)
+++ branches/SAMBA_4_0/source/lib/tdb/config.m4 2006-04-20 01:16:04 UTC (rev 
15143)
@@ -1,8 +1,6 @@
 AC_CHECK_FUNCS(mmap pread pwrite getpagesize utime)
 AC_CHECK_HEADERS(getopt.h sys/select.h sys/time.h)
 
-AC_DEFINE([_GNU_SOURCE],[],[Pull in GNU extensions])
-
 AC_HAVE_DECL(pread, [#include <unistd.h>])
 AC_HAVE_DECL(pwrite, [#include <unistd.h>])
 

Reply via email to