diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-12-12 10:42:21 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-12-12 10:42:21 +0000 |
commit | 0109f63149bb3611c96deb9466d5a418b772d827 (patch) | |
tree | 47d59ff608c40ff060cb74cf5b6eb1fffa7c7e02 /Build/source/texk/web2c/configure | |
parent | b179b3a423007409b4c01ebe096f60405f5e6098 (diff) |
luatex: Adapt for poppler 0.25.x
git-svn-id: svn://tug.org/texlive/trunk@32389 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/configure')
-rwxr-xr-x | Build/source/texk/web2c/configure | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/configure b/Build/source/texk/web2c/configure index 8b0505c4f01..78fffc338f8 100755 --- a/Build/source/texk/web2c/configure +++ b/Build/source/texk/web2c/configure @@ -23606,6 +23606,55 @@ _ACEOF +# Check poppler features +eval CPPFLAGS=\"$POPPLER_INCLUDES \$CPPFLAGS\" +eval LIBS=\"$POPPLER_LIBS \$LIBS\" + +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 if getStructTreeRoot() returns an Object" >&5 +$as_echo_n "checking if getStructTreeRoot() returns an Object... " >&6; } +if ${kpse_cv_getStructTreeRoot_returns_Object+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <Catalog.h> +int +main () +{ +Catalog *cat; Object *obj = cat->getStructTreeRoot(); + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + kpse_cv_getStructTreeRoot_returns_Object=yes +else + kpse_cv_getStructTreeRoot_returns_Object=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_getStructTreeRoot_returns_Object" >&5 +$as_echo "$kpse_cv_getStructTreeRoot_returns_Object" >&6; } +if test "x$kpse_cv_getStructTreeRoot_returns_Object" = xyes; then : + +$as_echo "#define GETSTRUCTTREEROOT_RETURNS_OBJECT 1" >>confdefs.h + +fi +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" + + CPPFLAGS=$kpse_save_CPPFLAGS LIBS=$kpse_save_LIBS |