autoconf
[Top][All Lists]
Advanced

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

Re: Matching variable output with AT_CHECK


From: Braden McDaniel
Subject: Re: Matching variable output with AT_CHECK
Date: Sun, 21 Oct 2007 15:38:09 -0400

On Sun, 2007-10-21 at 08:58 -0600, Eric Blake wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> According to Ralf Wildenhues on 10/21/2007 2:32 AM:
> >> The problem is that the shell variable isn't expanded in the expected
> >> output, so the check always fails.
> > 
> > Yes, the STDOUT and STDERR arguments to AT_CHECK are expected to be
> > literal, no shell expansion is done on them.
> 
> Or use AT_CHECK_NOESCAPE, which runs shell expansions on the stdout and
> stderr arguments.  (Hmm, that isn't documented in the manual yet - it's
> been there for some time, though).

Aha, very useful. Thanks!

I think a similar variant of AT_DATA would also be useful.

-- 
Braden McDaniel                           e-mail: <address@hidden>
<http://endoframe.com>                    Jabber: <address@hidden>






reply via email to

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