From: James Peach Date: Mon, 30 Jan 2006 23:09:21 +0000 (+0000) Subject: r13241: Work around missing AS_HELP_STRING definition in autoconf 2.57. Fix X-Git-Url: http://git.samba.org/samba.git/?p=gd%2Fsamba%2F.git;a=commitdiff_plain;h=d4a62250cc9c747460ac5752851846fb86d78700 r13241: Work around missing AS_HELP_STRING definition in autoconf 2.57. Fix from Brad Hards . (This used to be commit 3ade52398a345cc50c1bf52298e36ab1804b00ec) --- diff --git a/source4/build/m4/env.m4 b/source4/build/m4/env.m4 index c20160fdb50..435d5793a64 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=.