On 05/10/10 16:33, Eric Blake wrote:
> On 10/05/2010 09:28 AM, Pádraig Brady wrote:
>> On 05/10/10 15:22, Eric Blake wrote:
>>> On 10/05/2010 08:13 AM, Eric Blake wrote:
>>>> @@ -351,7 +351,7 @@ check_versions() {
>>>>          app=libtoolize
>>>>        fi
>>>>        # Honor $APP variables ($TAR, $AUTOCONF, etc.)
>>>> -    appvar=`echo $app | tr '[a-z]' '[A-Z]'`
>>>> +    appvar=`echo $app | tr '-a-z' '_A-Z'`
>>>
>>> Actually, 'tr -- -a-z _A-Z' is not universally supported, and leading
>>> dash caused a failure; so after better testing, I'm actually pushing:
>>>
>>> tr 'a-z-' 'A-Z_'
>>
>> solaris needs [] around ranges
> 
> Thanks.  The autoconf manual was not clear on that point:

Another unrelated thing before I forget.
I didn't notice in the shellology part of the manual
that the default almquist /bin/sh on FreeBSD is noisy when using
a standard idiom for testing the presence of a program.

For e.g.

FreeBSD-8$ colorls -d . >/dev/null 2>&1
colorls: not found

One can get around this with:

FreeBSD-8$ { colorls -d . ; } >/dev/null 2>&1

cheers,
Pádraig.

Reply via email to