autoconf-patches
[Top][All Lists]
Advanced

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

Re: [RFA] Validate configure script syntax


From: Paolo Bonzini
Subject: Re: [RFA] Validate configure script syntax
Date: Thu, 4 Dec 2003 15:06:46 +0100

>     if test x"`echo echo yes | sh -n 2>&1`" = x; then
>       echo ok
>     else
>       echo bad;
>     fi
>
> I don't know :)  Sounds OK, but the problem is to catch shells that
> loop on checking loops.

I see, so you probably need the full infrastructure, or a test in
configure.ac as you suggested.  Then you need to run the probe only once,
because otherwise it'll wait for two seconds on *every* test (doh!).  Unless
you really want to think about a better idea before CVS resurrects, I'll
withdraw the patch.

Paolo






reply via email to

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