autoconf
[Top][All Lists]
Advanced

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

RE: nesting of AC_CHECK_PROG ?


From: Guus LEEUW
Subject: RE: nesting of AC_CHECK_PROG ?
Date: Wed, 20 Oct 2004 10:37:07 +0200

> From: address@hidden 
> [mailto:address@hidden On Behalf 
> Of Stepan Kasal
> 
> Hi,
>   you mailed your problem to both autoconf and automake 
> lists. I think it's pure autoconf question. so we should not 
> continue with the discussion on the automake list.
> 
> On Tue, Oct 19, 2004 at 01:40:05PM -0400, Yasunari Tosa wrote:
> > Unfortunately AC_CHECK_PROG() nesting does not work:
> > 
> > AC_CHECK_PROG([TIXWISH], [tixwish],[tixwish],
> >     [ AC_CHECK_PROG([TIXWISH], [tixwish8.1.8.3], [tixwish8.1.8.3],
> >          [AC_MSG_ERROR("FATAL: tixwish cannot be found")])
> >     ])
> 
> The third and fourth parameter of this macro is a _value_ 
> which would be assigned to the variable.  You cannot put 
> there shell code or a macro which expands to shell code.

What if Yasunari uses something (similar to|like) eval or backticks around
the to-be-expanded macro?
Is that going to be portable?

Guus





reply via email to

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