summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/configure
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2014-07-16 06:04:51 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2014-07-16 06:04:51 +0000
commit8d657b11012fcd34de58f1b1391e702db435ce03 (patch)
tree1a697b477fd9d5f290dfbc32edb16812aa358f48 /Build/source/texk/web2c/configure
parenta84de82c7d7e52d978b5b88310a0e361752d3cdb (diff)
LuaTeX: Fix build on demand
git-svn-id: svn://tug.org/texlive/trunk@34628 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/configure')
-rwxr-xr-xBuild/source/texk/web2c/configure23
1 files changed, 12 insertions, 11 deletions
diff --git a/Build/source/texk/web2c/configure b/Build/source/texk/web2c/configure
index d725ddae395..5c8d449de8e 100755
--- a/Build/source/texk/web2c/configure
+++ b/Build/source/texk/web2c/configure
@@ -23742,21 +23742,20 @@ _ACEOF
# Check of poppler 0.25 or better
-eval CPPFLAGS=\"$POPPLER_INCLUDES \$CPPFLAGS\"
+case $with_system_poppler in #(
+ yes) :
+ eval CPPFLAGS=\"$POPPLER_INCLUDES \$CPPFLAGS\"
eval LIBS=\"$POPPLER_LIBS \$LIBS\"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for StructTreeRoot.h (poppler 0.25 or better)" >&5
-$as_echo_n "checking for StructTreeRoot.h (poppler 0.25 or better)... " >&6; }
-if ${kpse_cv_have_StructTreeRoot_h+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_ext=cpp
+ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
ac_link="./libtool --mode=link --tag=CXX $ac_link"
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for StructTreeRoot.h (poppler 0.25 or better)" >&5
+$as_echo_n "checking for StructTreeRoot.h (poppler 0.25 or better)... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdio.h>
@@ -23777,16 +23776,18 @@ else
kpse_cv_have_StructTreeRoot_h=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_StructTreeRoot_h" >&5
+$as_echo "$kpse_cv_have_StructTreeRoot_h" >&6; }
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
ac_link="./libtool --mode=link --tag=CC $ac_link"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_StructTreeRoot_h" >&5
-$as_echo "$kpse_cv_have_StructTreeRoot_h" >&6; }
+ ;; #(
+ *) :
+ kpse_cv_have_StructTreeRoot_h=yes ;;
+esac
if test "x$kpse_cv_have_StructTreeRoot_h" = xyes; then
$as_echo "#define HAVE_STRUCTTREEROOT_H 1" >>confdefs.h