autoconf
[Top][All Lists]
Advanced

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

Re: Keep variable un-expanded in configure script


From: Ralf Wildenhues
Subject: Re: Keep variable un-expanded in configure script
Date: Sat, 12 Mar 2011 09:17:11 +0100
User-agent: Mutt/1.5.20 (2010-08-04)

Hello Andres,

* Andres Perera wrote on Fri, Mar 11, 2011 at 10:42:04PM CET:
> why are you defining a function inside of a macro?

Can't speak for Justin of course, but recent Autoconf itself defines
lots of functions inside macros.  Or, let's say, it causes shell
functions to be emitted "somewhere" in the configure script, to make it
smaller and more efficient than it could be without them.  While
maintaining the user API from before shell functions were used.

OTOH, maybe Justin was only looking at the positional parameters of
configure.  In which case this applies:
http://www.gnu.org/software/automake/faq/autotools-faq.html#How-do-I-save_002fmodify-the-arguments-to-configure_003f

Cheers,
Ralf



reply via email to

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