Re: Getting data from a nested configure script?

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

 



On Tue, Dec 9, 2008 at 11:28 AM, Ralf Wildenhues <Ralf.Wildenhues@xxxxxx> wrote:
> * Benoit Sigoure wrote on Tue, Dec 09, 2008 at 11:11:17AM CET:
>> Say that I use AC_CONFIG_SUBDIRS([foo]), is there a standard way for
>> the parent configure to retrieve some information from foo's
>> configure?
>
> The standard way to extract information computed by configure is using
> config.status.  Maybe it helps you to note that you can use the --file
> and --header arguments with files not registered in configure.ac.
> For example:
>
>  echo '@CFLAGS@' | ./config.status --file=-

Perfect, thanks!

-- 
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory
Software Engineer @ Google


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux