diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2015-09-02 07:02:00 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2015-09-02 07:02:00 +0000 |
commit | ffe0571cfeed11aff6873c2a6337b678f06cac11 (patch) | |
tree | b1fee9844b8308ad9ff91a66d2684d97bc0b240f /Build/source/texk/web2c/configure | |
parent | d67729aa4d5897be113d62b655d4b63173a918fa (diff) |
luaTeX: Remove all g++ warnings
git-svn-id: svn://tug.org/texlive/trunk@38274 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/configure')
-rwxr-xr-x | Build/source/texk/web2c/configure | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/configure b/Build/source/texk/web2c/configure index c2bd3d449fa..e8b1a612345 100755 --- a/Build/source/texk/web2c/configure +++ b/Build/source/texk/web2c/configure @@ -24457,6 +24457,51 @@ else KPATHSEA_PATHS_H='${top_builddir}/..' fi + +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 for Object::initCmd(const char*) etc" >&5 +$as_echo_n "checking for Object::initCmd(const char*) etc... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <Object.h> +int +main () +{ +Object *obj; const char *name; +obj->initCmd(name)->isStream(name); + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + kpse_cv_have_Object_initCmd_const_charp=yes +else + kpse_cv_have_Object_initCmd_const_charp=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_Object_initCmd_const_charp" >&5 +$as_echo "$kpse_cv_have_Object_initCmd_const_charp" >&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" + +if test "x$kpse_cv_have_Object_initCmd_const_charp" = xyes; then + +$as_echo "#define HAVE_OBJECT_INITCMD_CONST_CHARP 1" >>confdefs.h + +fi CPPFLAGS=$kpse_save_CPPFLAGS LIBS=$kpse_save_LIBS |