summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/build/m4/env.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/build/m4/env.m4 b/source4/build/m4/env.m4
index c20160fdb5..435d5793a6 100644
--- a/source4/build/m4/env.m4
+++ b/source4/build/m4/env.m4
@@ -10,6 +10,11 @@ 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=.