1
## texk/web2c/ac/web2c.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/
3
dnl Copyright (C) 2009-2011 Peter Breitenlohner <tex-live@tug.org>
4
dnl You may freely use, modify and/or distribute this file.
6
## configure options for TeX and MF
7
m4_define_default([kpse_indent_26], [26])[]dnl
8
AC_ARG_WITH([banner-add],
9
AS_HELP_STRING([--with-banner-add=STR],
10
[add STR to version string appended to banner lines]))[]dnl
12
AS_HELP_STRING([--with-editor=CMD],
13
[invoke CMD from the `e' option @<:@vi +%d '%s'@:>@
14
or @<:@texworks --position=%d "%s"@:>@]))[]dnl
15
AC_ARG_ENABLE([auto-core],
16
AS_HELP_STRING([--enable-auto-core],
17
[cause TeX&MF to dump core, given a certain filename],
19
AC_ARG_ENABLE([dump-share],
20
AS_HELP_STRING([--disable-dump-share],
21
[make fmt/base/mem files architecture-dependent],
23
## configure options for TeX
25
AS_HELP_STRING([--disable-ipc],
26
[disable TeX's --ipc option, i.e., pipe to a program],
28
AC_ARG_ENABLE([omfonts],
29
AS_HELP_STRING([--disable-omfonts],
30
[do not compile and install omfonts (use Web2C versions)],
32
dnl [PROG, BUILD-OR-NO, SYNC-OR-NO, TEXT, REQUIRED-LIBS]
33
m4_define([kpse_tex_progs], [dnl
34
[[tex], [yes], [no], [TeX], []],
35
[[etex], [no], [yes], [e-TeX], []],
36
[[ptex], [yes], [yes], [pTeX], [ptexenc]],
37
[[eptex], [yes], [yes], [e-pTeX], [ptexenc]],
38
[[uptex], [yes], [yes], [upTeX], [ptexenc]],
39
[[euptex], [yes], [yes], [e-upTeX], [ptexenc]],
40
[[aleph], [yes], [], [Aleph], []],
41
[[pdftex], [yes], [yes], [pdfTeX], [xpdf libpng obsdcompat]],
42
[[luatex], [yes], [], [luaTeX], [poppler libpng obsdcompat zziplib]],
43
[[xetex], [yes], [yes], [XeTeX], [poppler libpng freetype2 icu-xetex teckit graphite]],
45
m4_foreach([Kpse_Prog], [kpse_tex_progs],
46
[m4_ifset([Kpse_Prog],
47
[KPSE_WITH_XTEX(Kpse_Prog)])])[]dnl
48
## configure options for MF
50
AS_HELP_STRING([--disable-mf],
51
[do not build METAFONT],
53
AC_ARG_ENABLE([mf-nowin],
54
AS_HELP_STRING([--disable-mf-nowin],
55
[do not build a separate non-windows-capable METAFONT],
56
m4_eval(kpse_indent_26+2)))[]dnl
57
AC_ARG_WITH([mf-x-toolkit],
58
AS_HELP_STRING([--without-mf-x-toolkit],
59
[do not use X toolkit for METAFONT]))[]dnl
60
m4_define([kpse_mf_win], [dnl
61
[[epsf], [EPSF], [EPSF pseudo]],
62
[[hp2627], [HP2627], [HP 2627]],
63
[[mftalk], [MFTALK], [mftalk (generic server)]],
64
[[next], [NEXT], [NeXT]],
65
[[regis], [REGIS], [Regis]],
66
[[suntools], [SUN], [old Suntools (not X)]],
67
[[tektronix], [TEKTRONIX], [Tektronix]],
68
[[uniterm], [UNITERM], [Uniterm]],
70
m4_foreach([Kpse_Win], [kpse_mf_win],
72
[KPSE_WITH_MFWIN(Kpse_Win)])])[]dnl
73
## configure options for MP
75
AS_HELP_STRING([--disable-mp],
76
[do not build METAPOST],
78
## configure options for WEB programs
79
AC_ARG_ENABLE([web-progs],
80
AS_HELP_STRING([--disable-web-progs],
81
[do not build WEB programs bibtex ... weave],