diff options
Diffstat (limited to 'Build/source/texk/web2c/configure')
-rwxr-xr-x | Build/source/texk/web2c/configure | 262 |
1 files changed, 197 insertions, 65 deletions
diff --git a/Build/source/texk/web2c/configure b/Build/source/texk/web2c/configure index 79bf89504fd..bdc59cfe55c 100755 --- a/Build/source/texk/web2c/configure +++ b/Build/source/texk/web2c/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for Web2C 2015. +# Generated by GNU Autoconf 2.69 for Web2C 2016/dev. # # Report bugs to <tex-k@tug.org>. # @@ -590,8 +590,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='Web2C' PACKAGE_TARNAME='web2c' -PACKAGE_VERSION='2015' -PACKAGE_STRING='Web2C 2015' +PACKAGE_VERSION='2016/dev' +PACKAGE_STRING='Web2C 2016/dev' PACKAGE_BUGREPORT='tex-k@tug.org' PACKAGE_URL='' @@ -746,6 +746,14 @@ X_LIBS X_PRE_LIBS X_CFLAGS XMKMF +MFLUAJITN_FALSE +MFLUAJITN_TRUE +MFLUAJIT_FALSE +MFLUAJIT_TRUE +MFLUAN_FALSE +MFLUAN_TRUE +MFLUA_FALSE +MFLUA_TRUE MFN_FALSE MFN_TRUE MF_FALSE @@ -999,6 +1007,10 @@ enable_xetex enable_xetex_synctex enable_mf enable_mf_nowin +enable_mflua +enable_mflua_nowin +enable_mfluajit +enable_mfluajit_nowin with_mf_x_toolkit enable_epsfwin enable_hp2627win @@ -1596,7 +1608,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 Web2C 2015 to adapt to many kinds of systems. +\`configure' configures Web2C 2016/dev to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1670,7 +1682,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of Web2C 2015:";; + short | recursive ) echo "Configuration of Web2C 2016/dev:";; esac cat <<\_ACEOF @@ -1726,6 +1738,10 @@ Optional Features: --disable-mf do not compile and install METAFONT --disable-mf-nowin do not build a separate non-window-capable METAFONT + --disable-mflua do not compile and install MFLua + --enable-mflua-nowin build a separate non-window-capable MFLua + --disable-mfluajit do not compile and install MFLuaJIT + --enable-mfluajit-nowin build a separate non-window-capable MFLuaJIT --enable-epsfwin include EPSF pseudo window support --enable-hp2627win include HP 2627 window support --enable-mftalkwin include mftalk (generic server) window support @@ -1887,7 +1903,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -Web2C configure 2015 +Web2C configure 2016/dev generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2437,6 +2453,52 @@ $as_echo "$ac_res" >&6; } } # ac_fn_c_find_uintX_t +# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES +# --------------------------------------------- +# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR +# accordingly. +ac_fn_c_check_decl () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + as_decl_name=`echo $2|sed 's/ *(.*//'` + as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 +$as_echo_n "checking whether $as_decl_name is declared... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main () +{ +#ifndef $as_decl_name +#ifdef __cplusplus + (void) $as_decl_use; +#else + (void) $as_decl_name; +#endif +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_decl + # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES # ---------------------------------------------------- # Tries to find if the field MEMBER exists in type AGGR, after including @@ -2926,57 +2988,11 @@ rm -f conftest.val as_fn_set_status $ac_retval } # ac_fn_c_compute_int - -# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES -# --------------------------------------------- -# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR -# accordingly. -ac_fn_c_check_decl () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - as_decl_name=`echo $2|sed 's/ *(.*//'` - as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 -$as_echo_n "checking whether $as_decl_name is declared... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -#ifndef $as_decl_name -#ifdef __cplusplus - (void) $as_decl_use; -#else - (void) $as_decl_name; -#endif -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - eval "$3=yes" -else - eval "$3=no" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_decl 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 Web2C $as_me 2015, which was +It was created by Web2C $as_me 2016/dev, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3357,7 +3373,7 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. -WEB2CVERSION=2015 +WEB2CVERSION=2016/dev am__api_version='1.15' @@ -8664,7 +8680,7 @@ fi # Define the identity of the package. PACKAGE='web2c' - VERSION='2015' + VERSION='2016/dev' cat >>confdefs.h <<_ACEOF @@ -8819,13 +8835,13 @@ else if test "x$enable_compiler_warnings" != xno; then kpse_cv_warning_cflags="-Wimplicit -Wreturn-type" case `$CC -dumpversion` in #( - 3.4.* | 4.*) : + 3.4.* | 4.* | 5.*) : kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #( *) : ;; esac case `$CC -dumpversion` in #( - 3.[234].* | 4.*) : + 3.[234].* | 4.* | 5.*) : kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #( *) : ;; @@ -8837,7 +8853,7 @@ esac kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith" kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings" case `$CC -dumpversion` in #( - 3.4.* | 4.*) : + 3.4.* | 4.* | 5.*) : kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #( *) : ;; @@ -14244,6 +14260,18 @@ case :$ac_cv_c_int64_t:$ac_cv_c_int64_t: in #( *) : ;; esac +ac_fn_c_check_decl "$LINENO" "isascii" "ac_cv_have_decl_isascii" "#include <ctype.h> +" +if test "x$ac_cv_have_decl_isascii" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_ISASCII $ac_have_decl +_ACEOF + ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default" if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then : @@ -14666,7 +14694,7 @@ if test "x$enable_compiler_warnings" != xno; then ;; esac case `$CXX -dumpversion` in #( - 3.[234].* | 4.*) : + 3.[234].* | 4.* | 5.*) : kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wno-unknown-pragmas" ;; #( *) : ;; @@ -18404,7 +18432,7 @@ if test "x$enable_compiler_warnings" != xno; then ;; esac case `$OBJCXX -dumpversion` in #( - 3.[234].* | 4.*) : + 3.[234].* | 4.* | 5.*) : kpse_cv_warning_objcxxflags="$kpse_cv_warning_objcxxflags -Wno-unknown-pragmas" ;; #( *) : ;; @@ -18843,6 +18871,62 @@ esac if test "${enable_mf_nowin+set}" = set; then : enableval=$enable_mf_nowin; fi +case $enable_mf_nowin in #( + yes | no) : + ;; #( + *) : + enable_mf_nowin=yes ;; +esac +# Check whether --enable-mflua was given. +if test "${enable_mflua+set}" = set; then : + enableval=$enable_mflua; +fi +case $enable_mflua in #( + yes | no) : + ;; #( + *) : + enable_mflua=yes ;; +esac + +# Check whether --enable-mflua-nowin was given. +if test "${enable_mflua_nowin+set}" = set; then : + enableval=$enable_mflua_nowin; +fi +case $enable_mflua_nowin in #( + yes | no) : + ;; #( + *) : + enable_mflua_nowin=no ;; +esac + +test "x$enable_web2c:$enable_mflua" = xyes:yes && { + need_lua52=yes +} +# Check whether --enable-mfluajit was given. +if test "${enable_mfluajit+set}" = set; then : + enableval=$enable_mfluajit; +fi +case $enable_mfluajit in #( + yes | no) : + ;; #( + *) : + enable_mfluajit=yes ;; +esac + +# Check whether --enable-mfluajit-nowin was given. +if test "${enable_mfluajit_nowin+set}" = set; then : + enableval=$enable_mfluajit_nowin; +fi +case $enable_mfluajit_nowin in #( + yes | no) : + ;; #( + *) : + enable_mfluajit_nowin=no ;; +esac + +test "x$enable_web2c:$enable_mfluajit" = xyes:yes && { + need_luajit=yes +} # Check whether --with-mf-x-toolkit was given. if test "${with_mf_x_toolkit+set}" = set; then : @@ -20221,6 +20305,38 @@ else MFN_TRUE='#' MFN_FALSE= fi + if test "x$enable_mflua" != xno; then + MFLUA_TRUE= + MFLUA_FALSE='#' +else + MFLUA_TRUE='#' + MFLUA_FALSE= +fi +test "x$enable_mflua" = xyes && : ${with_x=yes} + + if test "x$enable_mflua_nowin" != xno; then + MFLUAN_TRUE= + MFLUAN_FALSE='#' +else + MFLUAN_TRUE='#' + MFLUAN_FALSE= +fi + if test "x$enable_mfluajit" != xno; then + MFLUAJIT_TRUE= + MFLUAJIT_FALSE='#' +else + MFLUAJIT_TRUE='#' + MFLUAJIT_FALSE= +fi +test "x$enable_mfluajit" = xyes && : ${with_x=yes} + + if test "x$enable_mfluajit_nowin" != xno; then + MFLUAJITN_TRUE= + MFLUAJITN_FALSE='#' +else + MFLUAJITN_TRUE='#' + MFLUAJITN_FALSE= +fi : ${with_x=yes} # Distinguish no X at all, no toolkit, or toolkit. @@ -22385,7 +22501,7 @@ Usage: $0 [OPTIONS] Report bugs to <bug-libtool@gnu.org>." lt_cl_version="\ -Web2C config.lt 2015 +Web2C config.lt 2016/dev configured by $0, generated by GNU Autoconf 2.69. Copyright (C) 2011 Free Software Foundation, Inc. @@ -23996,11 +24112,11 @@ if test "${with_system_poppler+set}" = set; then : withval=$with_system_poppler; fi if test "x$with_system_poppler" = xyes; then - if $PKG_CONFIG poppler --atleast-version=0.18; then + if $PKG_CONFIG poppler --atleast-version=0.30; then POPPLER_INCLUDES=`$PKG_CONFIG poppler --cflags` POPPLER_LIBS=`$PKG_CONFIG poppler --libs` elif test "x$need_poppler:$with_system_poppler" = xyes:yes; then - as_fn_error $? "did not find poppler 0.18 or better" "$LINENO" 5 + as_fn_error $? "did not find poppler 0.30 or better" "$LINENO" 5 fi POPPLER_VERSION='-DPOPPLER_VERSION=\"'`$PKG_CONFIG poppler --modversion`'\"' @@ -25068,6 +25184,22 @@ if test -z "${MFN_TRUE}" && test -z "${MFN_FALSE}"; then as_fn_error $? "conditional \"MFN\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${MFLUA_TRUE}" && test -z "${MFLUA_FALSE}"; then + as_fn_error $? "conditional \"MFLUA\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${MFLUAN_TRUE}" && test -z "${MFLUAN_FALSE}"; then + as_fn_error $? "conditional \"MFLUAN\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${MFLUAJIT_TRUE}" && test -z "${MFLUAJIT_FALSE}"; then + as_fn_error $? "conditional \"MFLUAJIT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${MFLUAJITN_TRUE}" && test -z "${MFLUAJITN_FALSE}"; then + as_fn_error $? "conditional \"MFLUAJITN\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi if test -z "${MFXT_TRUE}" && test -z "${MFXT_FALSE}"; then as_fn_error $? "conditional \"MFXT\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 @@ -25486,7 +25618,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 Web2C $as_me 2015, which was +This file was extended by Web2C $as_me 2016/dev, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -25556,7 +25688,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="\\ -Web2C config.status 2015 +Web2C config.status 2016/dev configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" |