summaryrefslogtreecommitdiffstats
path: root/source/build
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2006-04-20 01:16:04 +0000
committerJames Peach <jpeach@samba.org>2006-04-20 01:16:04 +0000
commitb8a155e62c203c32c080de771309fdf3011bb809 (patch)
tree7227ad397a1fc784a05df1652d4d0323ff938da6 /source/build
parentf8efb200d4f16eaa2748c0ea34af65626d2338e0 (diff)
downloadsamba-b8a155e62c203c32c080de771309fdf3011bb809.tar.gz
samba-b8a155e62c203c32c080de771309fdf3011bb809.tar.xz
samba-b8a155e62c203c32c080de771309fdf3011bb809.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.
Diffstat (limited to 'source/build')
-rw-r--r--source/build/m4/env.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/source/build/m4/env.m4 b/source/build/m4/env.m4
index 871257c0480..062824869c1 100644
--- a/source/build/m4/env.m4
+++ b/source/build/m4/env.m4
@@ -29,6 +29,8 @@ if test -n "${SAMBA_VERSION_SVN_REVISION}";then
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)