diff options
-rw-r--r-- | source4/build/m4/env.m4 | 7 | ||||
-rw-r--r-- | source4/lib/replace/libreplace_macros.m4 | 4 |
2 files changed, 4 insertions, 7 deletions
diff --git a/source4/build/m4/env.m4 b/source4/build/m4/env.m4 index 7f6495fea2..7b5a5d19dd 100644 --- a/source4/build/m4/env.m4 +++ b/source4/build/m4/env.m4 @@ -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) diff --git a/source4/lib/replace/libreplace_macros.m4 b/source4/lib/replace/libreplace_macros.m4 index 913de5eab1..41ec03f07a 100644 --- a/source4/lib/replace/libreplace_macros.m4 +++ b/source4/lib/replace/libreplace_macros.m4 @@ -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]))]) |