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