r13241: Work around missing AS_HELP_STRING definition in autoconf 2.57. Fix
authorJames Peach <jpeach@samba.org>
Mon, 30 Jan 2006 23:09:21 +0000 (23:09 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:51:36 +0000 (13:51 -0500)
from Brad Hards <bradh@frogmouth.net>.
(This used to be commit 3ade52398a345cc50c1bf52298e36ab1804b00ec)

source4/build/m4/env.m4

index c20160fdb504827c7fc00b80d9f8ae93398ce1c1..435d5793a6478745f4d986295c88ce4379f4fd02 100644 (file)
@@ -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=.