r18503: - _GNU_SOURCE is defined by libreplace
authorStefan Metzmacher <metze@samba.org>
Thu, 14 Sep 2006 07:30:46 +0000 (07:30 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:18:40 +0000 (14:18 -0500)
- move AS_HELP_STRING replacement to libreplace

metze
(This used to be commit ace406a36ebbed230bf6c844e4639bac5e6c9882)

source4/build/m4/env.m4
source4/lib/replace/libreplace_macros.m4

index 7f6495fea299619fdec1730d7197590c1c29129a..7b5a5d19dd4d86a025849f4a918d94992760c94d 100644 (file)
@@ -10,11 +10,6 @@ AC_CANONICAL_HOST
 AC_SUBST(srcdir)
 export srcdir;
 
-dnl AS_HELP_STRING is not available in autoconf 2.57, and AC_HELP_STRING is deprecated
-dnl in autoconf 2.59, so define AS_HELP_STRING to be AC_HELP_STRING unless it is already
-dnl defined.
-m4_ifdef([AS_HELP_STRING], , [m4_define([AS_HELP_STRING], m4_defn([AC_HELP_STRING]))])
-
 # we always set builddir to "." as that's nicer than
 # having the absolute path of the current work directory
 builddir=.
@@ -31,8 +26,6 @@ if test -n "${SAMBA_VERSION_SVN_REVISION}";then
        echo "BUILD REVISION: ${SAMBA_VERSION_SVN_REVISION}"
 fi
 
-AC_DEFINE([_GNU_SOURCE],[],[Pull in GNU extensions])
-
 m4_include(build/m4/check_path.m4)
 m4_include(build/m4/check_perl.m4)
 m4_include(build/m4/check_cc.m4)
index 913de5eab1788794b322f44bdcb3ae5c14686202..41ec03f07ae6b8346baef17d0e22a053406ae4f8 100644 (file)
@@ -264,3 +264,7 @@ define(AC_ADD_INCLUDE,
 EOF
 ])
 
+dnl AS_HELP_STRING is not available in autoconf 2.57, and AC_HELP_STRING is deprecated
+dnl in autoconf 2.59, so define AS_HELP_STRING to be AC_HELP_STRING unless it is already
+dnl defined.
+m4_ifdef([AS_HELP_STRING], , [m4_define([AS_HELP_STRING], m4_defn([AC_HELP_STRING]))])