3.2 Getting Build Constants

Some constants are set independently of the output format for a Texinfo build. They are available through Texinfo::Common::get_build_constant:

Function: $value = Texinfo::Common::get_build_constant ($name)

Retrieve build constant $name value.

Defined build constants:

PACKAGE
PACKAGE_CONFIG
PACKAGE_AND_VERSION
PACKAGE_AND_VERSION_CONFIG
PACKAGE_NAME
PACKAGE_NAME_CONFIG
PACKAGE_VERSION
PACKAGE_VERSION_CONFIG
PACKAGE_URL
PACKAGE_URL_CONFIG

Texinfo package name and versions. Values of build constants without ‘_CONFIG’ appended are set by configure. Similar customization variables exist with the same value set in the default case from the main program, with values that can be modified.

The values of the build constants with ‘_CONFIG’ appended are duplicate of the values of the build constants without ‘_CONFIG2.


Footnotes

(2)

They are set to correspond to macro set in the C code. In the C code there are no macros with the names without ‘_CONFIG’ appended as they would clash with the names of the customization options.