autoconf
[Top][All Lists]
Advanced

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

Generating configuration files conditionnally?


From: Sébastien Hinderer
Subject: Generating configuration files conditionnally?
Date: Thu, 16 Jun 2022 19:54:52 +0200

Dear all,

Assume a source package that can give rise to several binary packages
(they can be enabled at configure time) and assume that each binary
package has a META file describing it.

Is it possible to have the META files produced from META.in files but
only if the package they describe has been enabled?

In other words, assume that there are several subdirectories containing
META.in files. Is it possible to have configure generate only a few META
files rather than doing the substitutions in all the .in files, based on
which packages have been enabled?

One other way would be to use configuration conmmands to "cat" the MeTA
files conditionnally in config.status, but then one loses the
substitution mechanism, which is a pity.

Any idea to have the best of both words?

Thanks,

Sébastien.



reply via email to

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