diff options
Diffstat (limited to 'Build/source/texk/dvisvgm/configure')
-rwxr-xr-x | Build/source/texk/dvisvgm/configure | 88 |
1 files changed, 69 insertions, 19 deletions
diff --git a/Build/source/texk/dvisvgm/configure b/Build/source/texk/dvisvgm/configure index 54a1b55c080..0426a5455de 100755 --- a/Build/source/texk/dvisvgm/configure +++ b/Build/source/texk/dvisvgm/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for dvisvgm (TeX Live) 1.3. +# Generated by GNU Autoconf 2.69 for dvisvgm (TeX Live) 1.4. # # Report bugs to <tex-k@tug.org>. # @@ -590,12 +590,12 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='dvisvgm (TeX Live)' PACKAGE_TARNAME='dvisvgm--tex-live-' -PACKAGE_VERSION='1.3' -PACKAGE_STRING='dvisvgm (TeX Live) 1.3' +PACKAGE_VERSION='1.4' +PACKAGE_STRING='dvisvgm (TeX Live) 1.4' PACKAGE_BUGREPORT='tex-k@tug.org' PACKAGE_URL='' -ac_unique_file="dvisvgm-1.3/src/dvisvgm.cpp" +ac_unique_file="dvisvgm-1.4/src/dvisvgm.cpp" # Factoring default headers for most tests. ac_includes_default="\ #include <stdio.h> @@ -1371,7 +1371,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures dvisvgm (TeX Live) 1.3 to adapt to many kinds of systems. +\`configure' configures dvisvgm (TeX Live) 1.4 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1442,7 +1442,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of dvisvgm (TeX Live) 1.3:";; + short | recursive ) echo "Configuration of dvisvgm (TeX Live) 1.4:";; esac cat <<\_ACEOF @@ -1579,7 +1579,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -dvisvgm (TeX Live) configure 1.3 +dvisvgm (TeX Live) configure 1.4 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2401,7 +2401,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by dvisvgm (TeX Live) $as_me 1.3, which was +It was created by dvisvgm (TeX Live) $as_me 1.4, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -7892,7 +7892,7 @@ fi # Define the identity of the package. PACKAGE='dvisvgm--tex-live-' - VERSION='1.3' + VERSION='1.4' cat >>confdefs.h <<_ACEOF @@ -17745,7 +17745,7 @@ Usage: $0 [OPTIONS] Report bugs to <bug-libtool@gnu.org>." lt_cl_version="\ -dvisvgm (TeX Live) config.lt 1.3 +dvisvgm (TeX Live) config.lt 1.4 configured by $0, generated by GNU Autoconf 2.69. Copyright (C) 2011 Free Software Foundation, Inc. @@ -19410,6 +19410,10 @@ else fi +kpse_save_CPPFLAGS=$CPPFLAGS +kpse_save_LIBS=$LIBS + + if test "x$enable_build" != xno || test -f config.force; then # Checks for more libraries. @@ -19419,8 +19423,6 @@ eval LIBS=\"$ZLIB_LIBS \$LIBS\" ac_fn_c_check_func "$LINENO" "gzopen" "ac_cv_func_gzopen" if test "x$ac_cv_func_gzopen" = xyes; then : -$as_echo "#define HAVE_LIBZ 1" >>confdefs.h - else as_fn_error $? "cannot find/use zlib" "$LINENO" 5 fi @@ -19432,8 +19434,6 @@ eval LIBS=\"$FREETYPE2_LIBS \$LIBS\" ac_fn_c_check_func "$LINENO" "FT_Init_FreeType" "ac_cv_func_FT_Init_FreeType" if test "x$ac_cv_func_FT_Init_FreeType" = xyes; then : -$as_echo "#define HAVE_LIBFREETYPE 1" >>confdefs.h - else as_fn_error $? "cannot find/use libfreetype" "$LINENO" 5 fi @@ -19445,13 +19445,48 @@ eval LIBS=\"$KPATHSEA_LIBS \$LIBS\" ac_fn_c_check_func "$LINENO" "kpse_set_program_name" "ac_cv_func_kpse_set_program_name" if test "x$ac_cv_func_kpse_set_program_name" = xyes; then : -$as_echo "#define HAVE_LIBKPATHSEA 1" >>confdefs.h - else as_fn_error $? "cannot find/use libkpathsea" "$LINENO" 5 fi +# Check if the kpathsea headers are C++ safe. +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" + +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <kpathsea/kpathsea.h> +int +main () +{ +printf("%s\n", concat("one", "two")) + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_link "$LINENO"; then : + +else + as_fn_error $? "Sorry, your kpathsea headers are too old" "$LINENO" 5 + +$as_echo "#define KPSE_CXX_UNSAFE 1" >>confdefs.h + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +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" + + echo timestamp >config.force fi @@ -19459,7 +19494,22 @@ CPPFLAGS=$kpse_save_CPPFLAGS LIBS=$kpse_save_LIBS -DVISVGM_TREE=dvisvgm-1.3 + +$as_echo "#define HAVE_LIBZ 1" >>confdefs.h + + +$as_echo "#define HAVE_LIBFREETYPE 1" >>confdefs.h + + +$as_echo "#define HAVE_LIBKPATHSEA 1" >>confdefs.h + +if false; then + +$as_echo "#define KPSE_CXX_UNSAFE 1" >>confdefs.h + +fi + +DVISVGM_TREE=dvisvgm-1.4 ac_config_files="$ac_config_files Makefile" @@ -20011,7 +20061,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by dvisvgm (TeX Live) $as_me 1.3, which was +This file was extended by dvisvgm (TeX Live) $as_me 1.4, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -20077,7 +20127,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -dvisvgm (TeX Live) config.status 1.3 +dvisvgm (TeX Live) config.status 1.4 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" |