summaryrefslogtreecommitdiff
path: root/Build/source/texk/configure
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-05-05 11:04:36 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-05-05 11:04:36 +0000
commit30741871850b08bbd7eaee129e682b824630ff5f (patch)
treef82bfd85a7982a69cd68fc0c597bbdac8046a461 /Build/source/texk/configure
parente6a729fda782c90689112b74d016a56eb7cd9c79 (diff)
prepare for system-xpdf, i.e., poppler and fix system-freetype2
git-svn-id: svn://tug.org/texlive/trunk@12934 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/configure')
-rwxr-xr-xBuild/source/texk/configure20
1 files changed, 20 insertions, 0 deletions
diff --git a/Build/source/texk/configure b/Build/source/texk/configure
index 0e95e1f2fd8..08c07cb8f5a 100755
--- a/Build/source/texk/configure
+++ b/Build/source/texk/configure
@@ -779,6 +779,7 @@ with_graphite
with_system_graphite
with_graphite_includes
with_graphite_libdir
+with_system_xpdf
with_system_gd
with_gd_includes
with_gd_libdir
@@ -1579,6 +1580,8 @@ Optional Packages:
graphite headers installed in DIR
--with-graphite-libdir=DIR
graphite library installed in DIR
+ --with-system-xpdf use installed poppler headers and library instead of
+ xpdf (requires pkg-config)
--with-system-gd use installed gd headers and library
--with-gd-includes=DIR gd headers installed in DIR
--with-gd-libdir=DIR gd library installed in DIR
@@ -3327,6 +3330,23 @@ fi
## libs/xpdf/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/xpdf/
## configure options and TL libraries required for xpdf
+# Check whether --with-system-xpdf was given.
+if test "${with_system_xpdf+set}" = set; then
+ withval=$with_system_xpdf;
+fi
+if test "x$with_system_xpdf" = x; then
+ if test -f $srcdir/../libs/xpdf/configure; then
+ { $as_echo "$as_me:$LINENO: Assuming \`xpdf' headers and library from TL tree" >&5
+$as_echo "$as_me: Assuming \`xpdf' headers and library from TL tree" >&6;}
+ with_system_xpdf=no
+ else
+ { $as_echo "$as_me:$LINENO: Assuming installed \`xpdf' headers and library" >&5
+$as_echo "$as_me: Assuming installed \`xpdf' headers and library" >&6;}
+ with_system_xpdf=yes
+ fi
+ ac_configure_args="$ac_configure_args '--with-system-xpdf=$with_system_xpdf'"
+fi
+
## libs/gd/kpse/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/gd/
## configure options and TL libraries required for gd