[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Passing default configure parameters in subpackage
From: |
Ralf Wildenhues |
Subject: |
Re: Passing default configure parameters in subpackage |
Date: |
Sun, 2 Mar 2008 19:04:23 +0100 |
User-agent: |
Mutt/1.5.17+20080114 (2008-01-14) |
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 autoconf@gnu.org
mailing list.
Cheers,
Ralf