summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/ac/web2c.ac
blob: 01c2f6ffbfb449aee6798517063ef4a528bbaf52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
## texk/web2c/ac/web2c.ac
## configure options for TeX and MF
m4_define_default([kpse_indent_26], [26])[]dnl
m4_define_default([kpse_indent_28], [28])[]dnl
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],
                              kpse_indent_26)])[]dnl
AC_ARG_ENABLE([dump-share],
              [AS_HELP_STRING([--disable-dump-share],
                              [make fmt/base/mem files architecture-dependent],
                              kpse_indent_26)])[]dnl
AC_ARG_ENABLE([fmtutil],
              [AS_HELP_STRING([--enable-fmtutil],
                              [use fmtutil for build dumps],
                              kpse_indent_26)])[]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],
                              kpse_indent_26)])[]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],
                              kpse_indent_26)])[]dnl
AC_ARG_ENABLE([mf-nowin],
              [AS_HELP_STRING([--enable-mf-nowin],
                              [build a separate non-windows-capable METAFONT],
                              kpse_indent_28)])[]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 (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],
                              kpse_indent_26)])[]dnl
## configure options for WEB programs
AC_ARG_ENABLE([web-progs],
              [AS_HELP_STRING([--disable-web-progs],
                              [do not build WEB programs bibtex ... weave],
                              kpse_indent_26)])[]dnl