[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Getting data from a nested configure script?
From: |
Ralf Wildenhues |
Subject: |
Re: Getting data from a nested configure script? |
Date: |
Tue, 9 Dec 2008 12:28:46 +0100 |
User-agent: |
Mutt/1.5.17+20080114 (2008-01-14) |
Hi Benoit,
* 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=-
Hope that helps.
Cheers,
Ralf