Generating configuration files conditionnally?

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

 



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.




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

  Powered by Linux