[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Getting data from a nested configure script?
From: |
Benoit Sigoure |
Subject: |
Re: Getting data from a nested configure script? |
Date: |
Thu, 11 Dec 2008 10:22:01 +0000 |
On Tue, Dec 9, 2008 at 11:28 AM, Ralf Wildenhues <address@hidden> 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