summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdf-x/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipdf-x/configure.ac')
-rw-r--r--Build/source/texk/dvipdf-x/configure.ac8
1 files changed, 2 insertions, 6 deletions
diff --git a/Build/source/texk/dvipdf-x/configure.ac b/Build/source/texk/dvipdf-x/configure.ac
index a481621cd3e..f82ccad6d78 100644
--- a/Build/source/texk/dvipdf-x/configure.ac
+++ b/Build/source/texk/dvipdf-x/configure.ac
@@ -54,6 +54,8 @@ KPSE_KPATHSEA_FLAGS
KPSE_ZLIB_FLAGS
KPSE_LIBPNG_FLAGS
KPSE_FREETYPE2_FLAGS
+KPSE_PAPER_FLAGS
+AC_DEFINE([HAVE_LIBPAPER], [1], [Define if you have libpaper.])
KPSE_SAVE_FLAGS
@@ -87,12 +89,6 @@ AC_DEFINE([HAVE_ZLIB], 1, [Define if you have zlib and its headers.])
AC_DEFINE([HAVE_ZLIB_COMPRESS2], 1, [Define if your zlib has the compress2 function.])
AC_DEFINE([HAVE_LIBPNG], 1, [Define if you have libpng and its headers.])
-dnl Check for additional libraries.
-
-if test "x$enable_texlive_build" != xyes || test ! -d $srcdir/../kpathsea; then
- KPSE_LIBPAPER
-fi
-
KPSE_WIN32_CALL
AM_CONDITIONAL([DVIPDFMX], [test "x$enable_dvipdf" != xno])