summaryrefslogtreecommitdiff
path: root/source4/lib/tdb
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2006-04-20 01:16:04 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:04:11 -0500
commit7b8e8daa530e038e4d069080d54960e0e3efe4dd (patch)
tree6c1f38173f5c88b0f456f358992c88cd459b62db /source4/lib/tdb
parent4d81335115ad477db289d8e169698af57d07e0fe (diff)
downloadsamba-7b8e8daa530e038e4d069080d54960e0e3efe4dd.tar.gz
samba-7b8e8daa530e038e4d069080d54960e0e3efe4dd.tar.bz2
samba-7b8e8daa530e038e4d069080d54960e0e3efe4dd.zip
r15143: 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. (This used to be commit 9140a2d266a59c24c1bc101d4cdd7da3cb141106)
Diffstat (limited to 'source4/lib/tdb')
-rw-r--r--source4/lib/tdb/config.m42
1 files changed, 0 insertions, 2 deletions
diff --git a/source4/lib/tdb/config.m4 b/source4/lib/tdb/config.m4
index 0a475989b1..73e74ddd0c 100644
--- a/source4/lib/tdb/config.m4
+++ b/source4/lib/tdb/config.m4
@@ -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>])