This module computes the values of bundle configuration flags (bundle_flags) based on configuration parameters the configuration rules (Manifest/*.hooks.pl files).
The configuration process may invoke external configuration tools if required.
The flags given in a configuration are recorded for each bundle (in build/bundlereg/<bundle>.bundlecfg_input) and given again in its next configurations, so that a configuration changes only the flags it names. The other values are computed again by the configuration rules, since they may depend on the environment. The option --fresh ignores the recorded flags, --unset <flag> forgets the recorded value of a flag, and --show-input shows the recorded flags.
Usage:bundle_flag_datum(Bundle,Name,Datum)
Datum (which implements bundle_flag) is the flag Name of Bundle: the element Name of its map flag (in its hooks), a flag derived from one of its foreign dependencies (see foreign_dep_flags), or the flag of one of its optional items (see item_flags); in this order.
Usage:config_flag_lit(Flag)
flag(F(V)) in the rules of a bundle flag (see bundlehooks_rt): the flag F (of the bundle of the flag being configured, unless qualified as B:F(V)) is configured, if not yet, and its value is V
Usage:bundleset_configure(BundleSet,Flags)
Configure the bundles specified in BundleSet using their configuration rules and the input provided by Flags and/or user interaction (if interactive_config flag is specified).