[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bootstrap doesn't work on FreeBSD
From: |
Gary V. Vaughan |
Subject: |
Re: bootstrap doesn't work on FreeBSD |
Date: |
Mon, 21 Jun 2010 16:38:49 +0700 |
Hallo Ralf,
On 21 Jun 2010, at 12:15, Ralf Wildenhues wrote:
> * Gary V. Vaughan wrote on Mon, Jun 21, 2010 at 06:36:15AM CEST:
>> On Jun 19, 2010, at 4:17 PM, Ralf Wildenhues wrote:
>>> I don't quite realize yet what's broken here, but with Autoconf 2.62
>>> (from FreeBSD /usr/local/bin), Libtool bootstrap does not work, see
>>> below.
>>
>> I see something similar when using m4-1.4.5, so I suspect a bug in
>> old m4 that has since been fixed. What version of m4 are you using?
>
> m4-1.4.13.
Okay, thanks. I can't reproduce with m4-1.4.5 now either, so I guess I
fixed that problem before committing after all.
>> I had also thought I was underquoting somewhere because I couldn't
>> get M4SH_GETOPTS to inject tabs into the shell loop and line the
>> generated shell code loop up more properly; I wasn't able to track
>> that down, but assuming M4 is not the culprit, then this bug
>> indicates that there might actually be an overquoted expression
>> somewhere in getopts.m4sh :-( I'll take another look later today,
>> and see if I can get to the bottom of it.
It turns out that m4sugar.m4 in autoconf-2.62 has a broken m4_expand
definition, and no m4_ifnblank definition at all. And getopt.m4sh
relies on both :(
It's easy enough to conditionally define m4_ifnblank in getopt.m4sh,
but I'm not sure about the best way to deal with the broken m4_expand...
should we require a newer autoconf? Or should I also define, say,
m4go_expand to match autoconf-2.65 m4_expand and use that instead?
Cheers,
--
Gary V. Vaughan (address@hidden)