diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-07-20 07:00:05 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-07-20 07:00:05 +0000 |
commit | 89755f7344de571c4b1b7c68e90de39363a4d1ff (patch) | |
tree | d735587f7030f0536272048df7a4b53cefc133a4 /Build/source/texk/web2c/configure.ac | |
parent | 713aef9b071ca2b5dd68d014e99897f0e5e2036c (diff) |
libs/t1lib + texk/ps2pkm: bug fix and update
git-svn-id: svn://tug.org/texlive/trunk@23187 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/configure.ac')
-rw-r--r-- | Build/source/texk/web2c/configure.ac | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/Build/source/texk/web2c/configure.ac b/Build/source/texk/web2c/configure.ac index aaf79e4b6e1..ce16cc8baee 100644 --- a/Build/source/texk/web2c/configure.ac +++ b/Build/source/texk/web2c/configure.ac @@ -196,6 +196,11 @@ AM_CONDITIONAL([MP], [test "x$enable_mp" != xno]) AM_CONDITIONAL([WEB], [test "x$enable_web_progs" != xno]) +AS_IF([test "x$enable_ptex:$enable_eptex" = xno:no], + [enable_pweb_progs=no], + [enable_pweb_progs=$enable_web_progs]) +AM_CONDITIONAL([PWEB], [test "x$enable_pweb_progs" != xno]) + dnl Although quite unusual, it is possible to build Web2C (TeX & Co) dnl using installed (system) kpathsea headers and library. dnl In that case we need the location of <kpathsea/paths.h>. @@ -262,21 +267,6 @@ KPSE_TECKIT_FLAGS KPSE_ICU_XETEX_FLAGS([icule]) KPSE_OBSDCOMPAT_FLAGS -# Checks for xpdf (libpoppler) features. -KPSE_ADD_FLAGS([xpdf]) -AC_LANG_PUSH([C++]) -AC_CACHE_CHECK([for PDFDoc::getPDFMajorVersion], - [kpse_cv_have_getPDFMajorVersion], - [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <PDFDoc.h>]], - [[PDFDoc *pdfDoc; pdfDoc->getPDFMajorVersion();]])], - [kpse_cv_have_getPDFMajorVersion=yes], - [kpse_cv_have_getPDFMajorVersion=no])]) -AS_IF([test "x$kpse_cv_have_getPDFMajorVersion" = xyes], - [AC_DEFINE([HAVE_GETPDFMAJORVERSION], 1, - [Define to 1 if class `PDFDoc' has the `getPDFMajorVersion' member.])]) -AC_LANG_POP([C++]) -KPSE_RESTORE_FLAGS - dnl Write output here, instead of putting a zillion -D's on the command line. AC_CONFIG_HEADERS([w2c/c-auto.h:c-auto.in], [sed -e 's/^#define PACKAGE/#define WEB2C_PACKAGE/' \ |