Debian Codegraph @

texk/web2c/ac/web2c.ac

raw
1 dnl $Id: web2c.ac 76769 2025-11-05 23:32:54Z karl $
2 # texk/web2c/ac/web2c.ac: configure.ac fragment for TL subdir
3 dnl
4 dnl Copyright 2015-2025 Karl Berry <[email protected]>
5 dnl Copyright 2009-2015 Peter Breitenlohner <[email protected]>
6 dnl You may freely use, modify and/or distribute this file.
7 dnl
8 # configure options for TeX and MF
9 m4_define_default([kpse_indent_26], [26])[]dnl
10 AC_ARG_WITH([banner-add],
11 AS_HELP_STRING([--with-banner-add=STR],
12 [add STR to version string appended to banner lines]))[]dnl
13 AC_ARG_WITH([editor],
14 AS_HELP_STRING([--with-editor=CMD],
15 [invoke CMD from the `e' option @<:@vi +%d '%s'@:>@
16 or @<:@texworks --position=%d "%s"@:>@]))[]dnl
17 AC_ARG_ENABLE([auto-core],
18 AS_HELP_STRING([--enable-auto-core],
19 [cause TeX&MF to dump core, given a certain filename],
20 kpse_indent_26))[]dnl
21 AC_ARG_ENABLE([dump-share],
22 AS_HELP_STRING([--disable-dump-share],
23 [make fmt/base files architecture-dependent],
24 kpse_indent_26))[]dnl
25 ## configure options for TeX
26 AC_ARG_ENABLE([ipc],
27 AS_HELP_STRING([--disable-ipc],
28 [disable TeX's --ipc option, i.e., pipe to a program],
29 kpse_indent_26))[]dnl
30 dnl [PROG, BUILD-OR-NO, SYNC-OR-NO, TEXT, REQUIRED-LIBS]
31 m4_define([kpse_tex_progs], [dnl
32 [[tex], [yes], [no], [TeX], []],
33 [[etex], [no], [yes], [e-TeX], [zlib]],
34 [[uptex], [no], [], [upTeX], [ptexenc zlib]],
35 [[euptex], [yes], [yes], [e-upTeX], [ptexenc zlib]],
36 [[aleph], [yes], [], [Aleph], []],
37 [[hitex], [yes], [], [HiTeX], [harfbuzz zlib]],
38 [[pdftex], [yes], [yes], [pdfTeX], [xpdf libpng zlib]],
39 [[luatex], [yes], [], [LuaTeX], [pplib libpng zziplib lua53]],
40 [[luajittex], [yes], [], [LuaJITTeX], [pplib libpng zziplib luajit]],
41 [[luahbtex], [yes], [], [LuaHBTeX], [pplib libpng zziplib lua53 harfbuzz]],
42 [[luajithbtex], [yes], [], [LuaHBJITTeX], [pplib libpng zziplib luajit harfbuzz]],
43 [[mp], [yes], [], [MetaPost], [mpfi mpfr cairo libpng]],
44 [[pmp], [yes], [], [pMetaPost], [mpfi mpfr cairo libpng ptexenc]],
45 [[texprof], [yes], [], [TeXprof], []],
46 [[upmp], [yes], [], [upMetaPost], [mpfi mpfr cairo libpng ptexenc]],
47 [[xetex], [yes], [yes], [XeTeX], [pplib libpng freetype2 teckit harfbuzz]],
48 ])[]dnl
49 m4_foreach([Kpse_Prog], [kpse_tex_progs],
50 [m4_ifset([Kpse_Prog],
51 [KPSE_WITH_XTEX(Kpse_Prog)])])[]dnl
52 ## configure options for MF
53 dnl [PROG, BUILD-OR-NO, NOWIN-OR-NO, TEXT, REQUIRED-LIBS]
54 m4_define([kpse_mf_progs], [dnl
55 [[mf], [yes], [yes], [METAFONT], []],
56 [[mflua], [yes], [no], [MFLua], [lua53 potrace]],
57 [[mfluajit], [yes], [no], [MFLuaJIT], [luajit potrace]],
58 ])[]dnl
59 m4_foreach([Kpse_Prog], [kpse_mf_progs],
60 [m4_ifset([Kpse_Prog],
61 [KPSE_WITH_XMF(Kpse_Prog)])])[]dnl
62 AC_ARG_WITH([mf-x-toolkit],
63 AS_HELP_STRING([--with-mf-x-toolkit],
64 [use X toolkit for METAFONT]))[]dnl
65 m4_define([kpse_mf_win], [dnl
66 [[epsf], [EPSF], [EPSF pseudo]],
67 [[hp2627], [HP2627], [HP 2627]],
68 [[mftalk], [MFTALK], [mftalk (generic server)]],
69 [[next], [NEXT], [NeXT]],
70 [[regis], [REGIS], [Regis]],
71 [[suntools], [SUN], [old Suntools (not X)]],
72 [[tektronix], [TEKTRONIX], [Tektronix]],
73 [[uniterm], [UNITERM], [Uniterm]],
74 ])[]dnl
75 m4_foreach([Kpse_Win], [kpse_mf_win],
76 [m4_ifset([Kpse_Win],
77 [KPSE_WITH_MFWIN(Kpse_Win)])])[]dnl
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],
82 kpse_indent_26))[]dnl
83 ## configure option for the SyncTeX library and tool
84 AC_ARG_ENABLE([synctex],
85 AS_HELP_STRING([--disable-synctex],
86 [do not build the SyncTeX library and tool],
87 kpse_indent_26))[]dnl
88
89 # end texk/web2c/ac/web2c.ac.