summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/ac
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-03-19 13:59:30 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-03-19 13:59:30 +0000
commit0b7b2c69ec83497d9accab064da0f4ad07662d42 (patch)
treee8f22a2acecbf3035850f56beb1c8161c53cdf2d /Build/source/texk/web2c/ac
parentee507bbd1fc483c58acb33cca25509a4dd81df9b (diff)
prepare for new build system
git-svn-id: svn://tug.org/texlive/trunk@12429 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/ac')
-rw-r--r--Build/source/texk/web2c/ac/web2c.ac62
-rw-r--r--Build/source/texk/web2c/ac/withenable.ac4
2 files changed, 66 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/ac/web2c.ac b/Build/source/texk/web2c/ac/web2c.ac
new file mode 100644
index 00000000000..e5f0d273d1f
--- /dev/null
+++ b/Build/source/texk/web2c/ac/web2c.ac
@@ -0,0 +1,62 @@
+## texk/web2c/ac/web2c.ac
+## configure options for TeX and MF
+AC_ARG_WITH([editor],
+ [AS_HELP_STRING([--with-editor=CMD],
+ [invoke CMD from the `e' option @<:@vi +%d %s@:>@])])[]dnl
+AC_ARG_ENABLE([auto-core],
+ [AS_HELP_STRING([--enable-auto-core],
+ [cause TeX&MF to dump core, given a certain filename])])[]dnl
+AC_ARG_ENABLE([dump-share],
+ [AS_HELP_STRING([--disable-dump-share],
+ [make fmt/base/mem files architecture-dependent])])[]dnl
+AC_ARG_ENABLE([fmtutil],
+ [AS_HELP_STRING([--enable-fmtutil],
+ [use fmtutil for build dumps])])[]dnl
+## configure options for TeX
+AC_ARG_ENABLE([ipc],
+ [AS_HELP_STRING([--enable-ipc],
+ [enable TeX's --ipc option, i.e., pipe to a program])])[]dnl
+m4_define([kpse_tex_progs], [dnl
+[[tex], [yes], [no], [TeX], []],
+[[etex], [no], [yes], [e-TeX], []],
+[[omega], [no], [no], [Omega], []],
+[[aleph], [yes], [no], [Aleph], []],
+[[pdftex], [yes], [yes], [pdfTeX], [xpdf libpng obsdcompat]],
+[[luatex], [yes], [no], [luaTeX], [xpdf libpng obsdcompat]],
+[[xetex], [no], [yes], [XeTeX], [xpdf libpng freetype2]],
+])[]dnl
+m4_foreach([Kpse_Prog], [kpse_tex_progs],
+ [m4_ifset([Kpse_Prog],
+ [KPSE_WITH_XTEX(Kpse_Prog)])])[]dnl
+## configure options for MF
+AC_ARG_ENABLE([mf],
+ [AS_HELP_STRING([--disable-mf],
+ [do not build METAFONT])])[]dnl
+AC_ARG_ENABLE([mf-nowin],
+ [AS_HELP_STRING([--enable-mf-nowin],
+ [build a separate non-windows-capable METAFONT],
+ [30])])[]dnl
+AC_ARG_WITH([mf-x-toolkit],
+ [AS_HELP_STRING([--with-mf-x-toolkit],
+ [Use X toolkit for METAFONT])])[]dnl
+m4_define([kpse_mf_win], [dnl
+[[epsf], [EPSF], [EPSF pseudo]],
+[[hp2627], [HP2627], [HP 2627]],
+[[mftalk], [MFTALK], [mftalk (generic server)]],
+[[next], [NEXT], [NeXT]],
+[[regis], [REGIS], [Regis]],
+[[suntools], [SUN], [old Suntools (this is not X)]],
+[[tektronix], [TEKTRONIX], [Tektronix]],
+[[uniterm], [UNITERM], [Uniterm]],
+])[]dnl
+m4_foreach([Kpse_Win], [kpse_mf_win],
+ [m4_ifset([Kpse_Win],
+ [KPSE_WITH_MFWIN(Kpse_Win)])])[]dnl
+## configure options for MP
+AC_ARG_ENABLE([mp],
+ [AS_HELP_STRING([--disable-mp],
+ [do not build METAPOST])])[]dnl
+## configure options for WEB programs
+AC_ARG_ENABLE([web-progs],
+ [AS_HELP_STRING([--disable-web-progs],
+ [do not build WEB programs bibtex ... weave])])[]dnl
diff --git a/Build/source/texk/web2c/ac/withenable.ac b/Build/source/texk/web2c/ac/withenable.ac
new file mode 100644
index 00000000000..be83880a3e5
--- /dev/null
+++ b/Build/source/texk/web2c/ac/withenable.ac
@@ -0,0 +1,4 @@
+## texk/web2c/ac/withenable.ac
+## configure options and TL libraries required for web2c
+KPSE_WITH_PROG([web2c], [kpathsea zlib], , [TeX & Co.])
+m4_include(kpse_TL[texk/web2c/ac/web2c.ac])