Re: autogen.sh error: AS_HELP_STRING



On Sun, Aug 22, 2004 at 02:45:09PM +0200, Leonard den Ottolander wrote:
> On Sun, 2004-08-22 at 14:34, Oswald Buddenhagen wrote:
> > On Sun, Aug 22, 2004 at 03:14:07AM +0200, Leonard den Ottolander wrote:
> > > Just a typo. Please apply:
> > > 
> > this is not a typo, but non-deprecated ac 2.58(?) syntax ...
> 
> Non-deprecated? You mean as in new?
> 
yes, and more.

> How do I avoid this error with autoconf-2.57?
> 
the simple version is a hack like this:
m4_ifdef([AS_HELP_STRING], , [m4_define([AS_HELP_STRING], m4_defn([AC_HELP_STRING]))])

alternatively try this code that fixes some bracket quoting bugs; i hope
the gnus merge it soon.
m4_undefine([AS_HELP_STRING])
m4_define([AS_HELP_STRING],
[m4_pushdef([AS_Prefix], m4_default([$3], [                          ]))dnl
m4_pushdef([AS_Prefix_Format],
           [  %-]m4_eval(m4_len(AS_Prefix) + 1)[s ])dnl [  %-23s ]
m4_text_wrap([$2], AS_Prefix, [m4_format(AS_Prefix_Format, [[[$1]]])])dnl
m4_popdef([AS_Prefix_Format])dnl
m4_popdef([AS_Prefix])dnl
])

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]