blob: 81aef2444b01f9e3b321b4131469c32bbbacce2b (
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
72
73
74
75
76
77
78
79
80
81
82
83
84
|
# tetex.ac -- public domain. Created by Thomas Esser.
# for texinfo
: ${enable_install_warnings=no}
export enable_install_warnings
# e.g. for lcdf-typetools
# With --enable-maintainer-mode, just exporting enable_tetex_build=yes
# isn't enough: e.g., `make' => `configure --recheck'.
# FIXME: the same should also be done for other options
if test "x$enable_tetex_build" = x; then
enable_tetex_build=yes
export enable_tetex_build
ac_configure_args="$ac_configure_args '--enable-tetex-build'"
fi
# for lcdf-typetools
: ${with_kpathsea=yes}
export with_kpathsea
# for sam2p
: ${enable_gif=yes}
export enable gif
# we just build pdfetex, not pdftex and not etex:
: ${with_etex=no} ${with_pdftex=no}
export with_etex with_pdftex
: ${enable_shared=no}
export enable_shared
# teTeX uses fmtutil / mktexfmt
: ${enable_fmtutil=yes} ${with_mktexfmt_default=yes}
export enable_fmtutil with_mktexfmt_default
: ${enable_multiplatform=yes}
export enable_multiplatform
if test "x$enable_multiplatform" = xyes; then
if test "x$bindir" = 'x${exec_prefix}/bin'; then
bindir="$bindir/$host"
ac_configure_args="$ac_configure_args '--bindir=$bindir'"
fi
if test "x$libdir" = 'x${exec_prefix}/lib'; then
libdir="$libdir/$host"
ac_configure_args="$ac_configure_args '--libdir=$libdir'"
fi
fi
test "${enable_nls+set}" = set || { enable_nls=no; export enable_nls; }
AC_PREFIX_DEFAULT(/usr/local/teTeX)
if test "x$prefix" = xNONE; then
prefix=$ac_default_prefix
ac_configure_args="$ac_configure_args --prefix=$ac_default_prefix"
fi
# teTeX enables tex-ipc by default
enable_ipc=yes; export enable_ipc
case "$target" in
*nextstep3*|*NEXTSTEP*)
with_xdvik=no; with_oxdvik=no
with_nextwin=yes; with_ps=dps
export with_xdvik with_oxdvik with_nextwin with_ps;;
esac
# teTeX uses the mf / mf-nowin split
if test "x$no_x" != xyes; then
: ${with_mf_nowin=yes}
: ${with_x=yes}
export with_mf_nowin with_x
fi
# /bin/sh on ULTRIX is too broken for ncurses' configure
case "$build" in
*ultrix4*)
case "$CONFIG_SHELL" in
/bin/sh|"")
if test -f /bin/ksh; then
CONFIG_SHELL=/bin/ksh; export CONFIG_SHELL
AC_MSG_WARN(Using /bin/ksh as new CONFIG_SHELL)
fi;;
esac;;
esac
|