blob: 776a5b255a2f199585bad3a1b4c76b86b5dc89fe (
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
|
dnl Process this file with autoconf to produce a configure script.
AC_INIT(xdv2pdf.cpp)
define([_version_],"0.991")
VERSION=_version_
AC_SUBST(VERSION)
AC_DEFINE(VERSION,_version_)
AC_DEFINE(PACKAGE,"xdv2pdf")
AC_CONFIG_HEADERS([config.h])
AC_ARG_ENABLE(maint, [ --enable-maint enable autoconf portions of Makefile],
[MAINT=''], [MAINT='#'])
AC_SUBST(MAINT)
dnl First, check if we're configuring on Mac OS X -- can't build elsewhere
sinclude(../web2c/xetexdir/tests.ac)
AC_HAS_CARBON
if test "x$has_carbon" = xno; then
with_xdv2pdf=no
exit
fi
AC_HAS_QUICKTIME
if test "x$has_quicktime" = xno; then
with_xdv2pdf=no
exit
fi
dnl Checks for programs.
AC_PROG_CC
AC_PROG_CXX
AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_DEFINE(KPATHSEA)
AC_DEFINE(HAVE_KPATHSEA)
AC_DEFINE(HAVE_KPSE_FORMATS)
TTF_OPT=''
AC_SUBST(TTF_OPT)
dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(unistd.h)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_TYPE_SIZE_T
AC_STRUCT_TM
AC_C_BIGENDIAN
dnl Checks for library functions.
AC_FUNC_MEMCMP
AC_CHECK_FUNCS(strspn system)
AC_CHECK_LIB(m, main)
KPSE_CONFIG_FILES([Makefile])
AC_OUTPUT
|