tlbuild: kpathsea library
6.4.4 The 'kpathsea' library in 'texk/kpathsea'
-----------------------------------------------
This is one of the TeX-specific libraries that are maintained as part of
TeX Live (⇒(kpathsea)); the other is 'ptexenc'. These TeX
libraries are Libtool libraries (static and/or shared) and are installed
by 'make install' together with the programs. They are, however, not
part of the TL DVD as distributed by TeX user groups, and have never
been officially released for standalone use.
It is possible, and probably useful for distro builds (⇒Distro
builds), to specify the configure option '--with-system-kpathsea' in
order to use a system version of the library. Programs outside the TL
tree should use 'pkg-config' for the required flags.
In addition to 'kpathsea/ac/withenable.ac' and
'kpathsea/ac/kpathsea.ac' here there is a third fragment
'kpathsea.ac/mktex.ac', included by both 'withenable.ac' and
'configure.ac', which supplies configure options such as
'--enable-mktextfm-default'. These determine the compile time default
of whether or not to run 'mktextfm' (and similar) to generate a missing
'.tfm' (or whatever) file. In any case, however, the command line
options '-mktex=tfm' or '-no-mktex=tfm' for the TeX-like engines
override this default.