Re: Passing default configure parameters in subpackage

Ralf Wildenhues <[email protected]>
Newsgroups gmane.comp.gnu.utils
Organization Department of Numerical Simulation, University of Bonn
Message-ID <[email protected]>
Hello ianalis,

* ianalis wrote on Sun, Mar 02, 2008 at 02:23:48PM CET:
> 
> I placed a copy of each autoconfiscated third-party dependency of my
> software as a subdirectory. I then followed the instructions for
> building subpackages in autotools (http://www.gnu.org/software/
> automake/manual/html_node/Subpackages.html#Subpackages). However,
> there is a subpackage that needs to have certain parameters passed to
> its configure script. The macro AC_CONFIG_SUBDIRS passes the command
> line parameters to the configure script of each subpackage but I do
> not want the user to worry about the exact parameters to pass to
> configure.
> 
> My question now is how do I set the parameters to pass to configure in
> my subpackages?

It's not a documented Autoconf interface, but you can append to
$ac_configure_args.  Note that with newer Autoconf, this macro
will be eval-expanded and use re-quoting for allowing to pass arbitrary
input.

This question would have been even better on the [email protected]
mailing list.

Cheers,
Ralf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.