autoconf
[Top][All Lists]
Advanced

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

Re: Conditional AC_CONFIG_FILES


From: Ralf Wildenhues
Subject: Re: Conditional AC_CONFIG_FILES
Date: Tue, 20 Feb 2007 10:45:55 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

* Ralf Wildenhues wrote on Tue, Feb 20, 2007 at 10:41:27AM CET:
> * Brian wrote on Mon, Feb 19, 2007 at 07:53:36PM CET:
> > I *really* want to be able to conditionally specify the files that go into
> > AC_CONFIG_FILES.
> 
> You can execute
>   ./config.status --file=FILE[:TEMPLATE]
> 
> on files that you have not listed with AC_CONFIG_FILES.

Erm, and you can also do
  if $some_condition; then
    AC_CONFIG_FILES([some_file])
  fi

See here:
<http://www.gnu.org/software/autoconf/manual/html_node/config_002estatus-Invocation.html>
<http://www.gnu.org/software/autoconf/manual/html_node/Configuration-Actions.html>

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]