summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/ac
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/ac')
-rw-r--r--Build/source/texk/kpathsea/ac/kpathsea.ac4
-rw-r--r--Build/source/texk/kpathsea/ac/web2c.ac14
-rw-r--r--Build/source/texk/kpathsea/ac/withenable.ac4
3 files changed, 22 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/ac/kpathsea.ac b/Build/source/texk/kpathsea/ac/kpathsea.ac
new file mode 100644
index 00000000000..5f89998c35d
--- /dev/null
+++ b/Build/source/texk/kpathsea/ac/kpathsea.ac
@@ -0,0 +1,4 @@
+## texk/kpathsea/ac/kpathsea.ac
+## define required functions and headers from system kpathsea
+KPSE_CHECK_LIB([kpathsea], [kpse_set_program_name],
+ [kpathsea/kpathsea.h kpathsea/tex-file.h])
diff --git a/Build/source/texk/kpathsea/ac/web2c.ac b/Build/source/texk/kpathsea/ac/web2c.ac
new file mode 100644
index 00000000000..488028664a2
--- /dev/null
+++ b/Build/source/texk/kpathsea/ac/web2c.ac
@@ -0,0 +1,14 @@
+## texk/kpathsea/ac/web2c.ac
+## configure options for mktextmf-default & Co
+m4_define([kpse_mktex_opts], [dnl
+[[mktexmf], [yes], [MF source], [TEX_MF]],
+[[mktexpk], [yes], [PK font], [TEX_PK]],
+[[mktextfm], [yes], [TFM file], [TEX_TFM]],
+[[mkocp], [yes], [OCP file], [OMEGA_OCP]],
+[[mkofm], [yes], [OFM file], [OMEGA_OFM]],
+[[mktexfmt], [no], [format file], [TEX_FMT]],
+[[mktextex], [no], [TeX source], [TEX_TEX]],
+])[]dnl
+m4_foreach([Kpse_Mktex], [kpse_mktex_opts],
+ [m4_ifset([Kpse_Mktex],
+ [KPSE_WITH_MKTEX(Kpse_Mktex)])])[]dnl
diff --git a/Build/source/texk/kpathsea/ac/withenable.ac b/Build/source/texk/kpathsea/ac/withenable.ac
new file mode 100644
index 00000000000..032d8271b91
--- /dev/null
+++ b/Build/source/texk/kpathsea/ac/withenable.ac
@@ -0,0 +1,4 @@
+## texk/kpathsea/ac/withenable.ac
+## configure options and TL libraries required for kpathsea
+KPSE_WITH_LIB([kpathsea])
+m4_include(kpse_TL[texk/kpathsea/ac/web2c.ac])