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_, [package version]) AC_DEFINE(PACKAGE, "xdv2pdf", [package name]) AC_CONFIG_HEADERS([c-auto.h:c-auto.in], [date >stamp-auto]) AM_MAINTAINER_MODE 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], 1, [define if you have kpathsea]) AC_DEFINE([HAVE_KPATHSEA], 1, [define if you have kpathsea]) AC_DEFINE([HAVE_KPSE_FORMATS], 1, [define if kpathsea supports type1 and vf 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