[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_CHECK_LIB acts very strangely in Darwin
From: |
Ralf Wildenhues |
Subject: |
Re: AC_CHECK_LIB acts very strangely in Darwin |
Date: |
Wed, 31 Aug 2005 17:55:29 +0200 |
User-agent: |
Mutt/1.4.1i |
Hi Stepan, Aarno, Thomas,
* Stepan Kasal wrote on Wed, Aug 31, 2005 at 03:31:24PM CEST:
>
> On Wed, Aug 31, 2005 at 03:05:28PM +0200, Ralf Wildenhues wrote:
> > > if [[ "$DONE" = 0 ]]
> ...
> > > if [ "$DONE" = 0 ]
> >
> > See what's happening?
>
> Ralf, I guess Aarno knows what he is doing. He quotes properly and thus
> the expansion is correct shell command.
D'oh. I'm sorry for posting such a stupid answer in a hurry.
* Thomas Dickey wrote on Wed, Aug 31, 2005 at 04:12:48PM CEST:
> On Wed, 31 Aug 2005, Ralf Wildenhues wrote:
>
> >Short story: [ ] are quotation characters within configure.ac files.
> >That's one reason why many m4 macros use "test" instead for readability.
>
> The main reason is that some older systems do not have "[" as an alias
> for "test".
Yes, and thank you for reminding me of this.
Cheers,
Ralf