bug-autoconf
[Top][All Lists]
Advanced

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

Re: [PATCH] bootstrap: work with pkg-config


From: Pádraig Brady
Subject: Re: [PATCH] bootstrap: work with pkg-config
Date: Tue, 05 Oct 2010 16:41:18 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3

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

[Prev in Thread] Current Thread [Next in Thread]