blob: 87967229db30b5c0fe213844701d908a96944699 (
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
|
AC_INIT(EXTRA.LIB)
AC_CONFIG_AUX_DIR(../config)
AC_SET_MAKE
AC_PROG_CC
AC_CANONICAL_SYSTEM
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_PROG_LN_S
AC_FUNC_ALLOCA
AC_PROG_RANLIB
AM_MAINTAINER_MODE
sinclude(../texk/kpathsea/withenable.ac)
sinclude(t1lib/withenable.ac)
sinclude(t1lib/t1lib.ac)
sinclude(ncurses/withenable.ac)
sinclude(ncurses/ncurses.ac)
sinclude(libpng/withenable.ac)
sinclude(libpng/libpng.ac)
sinclude(zlib/withenable.ac)
sinclude(zlib/zlib.ac)
sinclude(gd/withenable.ac)
sinclude(gd/gd.ac)
sinclude(freetype/withenable.ac)
sinclude(freetype/freetype.ac)
sinclude(freetype2/withenable.ac)
sinclude(freetype2/freetype2.ac)
# The following line helps, e.g. for ncurses which properly detects the
# system's terminfo definitions if configured without explicit --prefix.
# ac_configure_args=`echo "$ac_configure_args" | sed 's@--prefix=[[^ ]]*@@'`
if test "x$needs_libt1" != xno && test "$using_system_t1lib" != yes; then
AC_CONFIG_SUBDIRS([t1lib type1])
fi
if test "x$needs_ncurses" != xno && test "$using_system_ncurses" != yes; then
AC_CONFIG_SUBDIRS([ncurses])
fi
if test "x$needs_libxpdf" != xno; then
AC_CONFIG_SUBDIRS([xpdf])
fi
if test "x$needs_freetype" != xno && test "$using_system_freetype" != yes; then
AC_CONFIG_SUBDIRS([freetype])
fi
if test "x$needs_freetype2" != xno && test "$using_system_freetype2" != yes; then
AC_CONFIG_SUBDIRS([freetype2])
fi
if test "x$needs_gd" != xno && test "$using_system_gd" != yes; then
AC_CONFIG_SUBDIRS([gd])
fi
if test "x$needs_pnglib" != xno && test "$using_system_pnglib" != yes; then
KPSE_CONFIG_FILES([libpng/Makefile])
fi
if test "x$needs_zlib" != xno && test "$using_system_zlib" != yes; then
KPSE_CONFIG_FILES([zlib/Makefile])
fi
# create md5 directory when building outside the srcdir:
if test -d $srcdir/md5; then
test -d md5 || mkdir md5
fi
AC_OUTPUT
|