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: Akim Demaille
Subject: Re: [RFA] Validate configure script syntax
Date: Thu, 04 Dec 2003 16:44:13 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

 >> 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.

As a first approximation, probing the shell from configure.ac seems
fine.






reply via email to

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