From 8d543990d396f5e1126d575ccb37d7623276ed0b Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Mon, 10 May 2010 09:49:37 +0000 Subject: build system and chktex: automatically enable git-svn-id: svn://tug.org/texlive/trunk@18188 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/configure | 5835 ++++++++++++++++++++++++------------------------ 1 file changed, 2945 insertions(+), 2890 deletions(-) (limited to 'Build/source/configure') diff --git a/Build/source/configure b/Build/source/configure index 0712740bb59..ae09b06e03a 100755 --- a/Build/source/configure +++ b/Build/source/configure @@ -788,6 +788,13 @@ FGREP EGREP GREP SED +LIBTOOL +OBJDUMP +DLLTOOL +AS +MAINT +MAINTAINER_MODE_FALSE +MAINTAINER_MODE_TRUE am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE @@ -797,20 +804,6 @@ AMDEP_TRUE am__quote am__include DEPDIR -OBJEXT -EXEEXT -ac_ct_CC -CPPFLAGS -LDFLAGS -CFLAGS -CC -LIBTOOL -OBJDUMP -DLLTOOL -AS -MAINT -MAINTAINER_MODE_FALSE -MAINTAINER_MODE_TRUE am__untar am__tar AMTAR @@ -834,6 +827,13 @@ am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM +OBJEXT +EXEEXT +ac_ct_CC +CPPFLAGS +LDFLAGS +CFLAGS +CC host_os host_vendor host_cpu @@ -1018,12 +1018,12 @@ enable_mkocp_default enable_mkofm_default enable_mktexfmt_default enable_mktextex_default +enable_dependency_tracking enable_maintainer_mode enable_shared enable_static with_pic enable_fast_install -enable_dependency_tracking with_gnu_ld enable_libtool_lock enable_largefile @@ -1679,7 +1679,7 @@ Optional Features: lib/PLATFORM --enable-cxx-runtime-hack link C++ runtime statically --enable-libtool-hack ignore libtool dependency_libs - --enable-chktex build the chktex package + --disable-chktex do not build the chktex package --disable-dialog do not build the dialog package --disable-ps2eps do not build the ps2eps package --disable-psutils do not build the psutils package @@ -1777,14 +1777,14 @@ Optional Features: --disable-mkofm-default do not run mkofm if OFM file missing --disable-mktexfmt-default do not run mktexfmt if format file missing --enable-mktextex-default run mktextex if TeX source missing + --disable-dependency-tracking speeds up one-time build + --enable-dependency-tracking do not reject slow dependency extractors --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer --enable-shared[=PKGS] build shared libraries [default=yes] --enable-static[=PKGS] build static libraries [default=yes] --enable-fast-install[=PKGS] optimize for fast installation [default=yes] - --disable-dependency-tracking speeds up one-time build - --enable-dependency-tracking do not reject slow dependency extractors --disable-libtool-lock avoid locking (might break parallel builds) --disable-largefile omit support for large files --enable-compiler-warnings=[no|min|yes|max|all] @@ -3000,2873 +3000,3167 @@ IFS=$ac_save_IFS case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac +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 +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS - - -# Check whether --enable-all-pkgs was given. -if test "${enable_all_pkgs+set}" = set; then : - enableval=$enable_all_pkgs; fi -test "x$enable_all_pkgs" = xno || enable_all_pkgs=yes -# Check whether --enable-native-texlive-build was given. -if test "${enable_native_texlive_build+set}" = set; then : - enableval=$enable_native_texlive_build; fi -case $enable_native_texlive_build in #( - yes | no) : - : ;; #( - *) : - enable_native_texlive_build=yes - ac_configure_args="$ac_configure_args '--enable-native-texlive-build'" ;; -esac -if test "x$enable_native_texlive_build" = xyes; then - case $enable_multiplatform in #( - yes | no) : - : ;; #( - *) : - enable_multiplatform=yes - ac_configure_args="$ac_configure_args '--enable-multiplatform'" ;; -esac - case $enable_cxx_runtime_hack in #( - yes | no) : - : ;; #( - *) : - enable_cxx_runtime_hack=yes - ac_configure_args="$ac_configure_args '--enable-cxx-runtime-hack'" ;; -esac +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi -case $enable_libtool_hack in #( - yes | no) : - : ;; #( - *) : - case $host_os in #( - do-not-match) : - enable_libtool_hack=no ;; #( - *) : - enable_libtool_hack=yes ;; -esac - ac_configure_args="$ac_configure_args '--enable-libtool-hack=$enable_libtool_hack'" ;; -esac -case $enable_shared in #( - no) : - : ;; #( - yes ) : - if test "x$enable_native_texlive_build" = xyes; then : - as_fn_error "you can not use a shared Kpathsea library for a native TeX Live build" "$LINENO" 5 -fi ;; #( - *) : - enable_shared=no - ac_configure_args="$ac_configure_args '--disable-shared'" ;; -esac -case $enable_texlive_build in #( - yes) : - : ;; #( - no) : - as_fn_error "you can not configure the TeX Live tree with \`--disable-texlive-build'" "$LINENO" 5 ;; #( - *) : - enable_texlive_build=yes - ac_configure_args="$ac_configure_args '--enable-texlive-build'" ;; -esac -# Check whether --enable-multiplatform was given. -if test "${enable_multiplatform+set}" = set; then : - enableval=$enable_multiplatform; + + fi -if test "x$enable_multiplatform" = xyes; then - if test "x$bindir" = 'x${exec_prefix}/bin'; then - bindir="$bindir/$host" - ac_configure_args="$ac_configure_args '--bindir=$bindir'" - fi - if test "x$libdir" = 'x${exec_prefix}/lib'; then - libdir="$libdir/$host" - ac_configure_args="$ac_configure_args '--libdir=$libdir'" +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 fi -fi +done + done +IFS=$as_save_IFS -# Check whether --enable-cxx-runtime-hack was given. -if test "${enable_cxx_runtime_hack+set}" = set; then : - enableval=$enable_cxx_runtime_hack; fi - -# Check whether --enable-libtool-hack was given. -if test "${enable_libtool_hack+set}" = set; then : - enableval=$enable_libtool_hack; fi - - - -case $with_x in #( - yes | no) : - : ;; #( - *) : - with_x=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--with-x'" >&5 -$as_echo "$as_me: Assuming \`--with-x'" >&6;} - ac_configure_args="$ac_configure_args '--with-x'" ;; -esac -## utils/chktex/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/chktex/ -## configure options and TL libraries required for chktex -# Check whether --enable-chktex was given. -if test "${enable_chktex+set}" = set; then : - enableval=$enable_chktex; +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi -case $enable_chktex in #( - yes|no) : - ;; #( - *) : - enable_chktex=no - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-chktex=$enable_chktex'" >&5 -$as_echo "$as_me: Assuming \`--enable-chktex=$enable_chktex'" >&6;} - ac_configure_args="$ac_configure_args '--enable-chktex=$enable_chktex'" - ;; + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS -## utils/dialog/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/dialog/ -## configure options and TL libraries required for dialog -# Check whether --enable-dialog was given. -if test "${enable_dialog+set}" = set; then : - enableval=$enable_dialog; fi -case $enable_dialog in #( - yes|no) : - ;; #( - *) : - - enable_dialog=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dialog=$enable_dialog'" >&5 -$as_echo "$as_me: Assuming \`--enable-dialog=$enable_dialog'" >&6;} - ac_configure_args="$ac_configure_args '--enable-dialog=$enable_dialog'" - ;; -esac +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi -## utils/ps2eps/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/ps2eps/ -## configure options and TL libraries required for ps2eps -# Check whether --enable-ps2eps was given. -if test "${enable_ps2eps+set}" = set; then : - enableval=$enable_ps2eps; + fi fi -case $enable_ps2eps in #( - yes|no) : - ;; #( - *) : +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS - enable_ps2eps=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-ps2eps=$enable_ps2eps'" >&5 -$as_echo "$as_me: Assuming \`--enable-ps2eps=$enable_ps2eps'" >&6;} - ac_configure_args="$ac_configure_args '--enable-ps2eps=$enable_ps2eps'" - ;; -esac +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi -## utils/psutils/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/psutils/ -## configure options and TL libraries required for psutils -# Check whether --enable-psutils was given. -if test "${enable_psutils+set}" = set; then : - enableval=$enable_psutils; fi -case $enable_psutils in #( - yes|no) : - ;; #( - *) : +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl.exe + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS - enable_psutils=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-psutils=$enable_psutils'" >&5 -$as_echo "$as_me: Assuming \`--enable-psutils=$enable_psutils'" >&6;} - ac_configure_args="$ac_configure_args '--enable-psutils=$enable_psutils'" - ;; -esac +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi -## utils/t1utils/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/t1utils/ -## configure options and TL libraries required for t1utils -# Check whether --enable-t1utils was given. -if test "${enable_t1utils+set}" = set; then : - enableval=$enable_t1utils; + test -n "$CC" && break + done fi -case $enable_t1utils in #( - yes|no) : - ;; #( - *) : +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl.exe +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS - enable_t1utils=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-t1utils=$enable_t1utils'" >&5 -$as_echo "$as_me: Assuming \`--enable-t1utils=$enable_t1utils'" >&6;} - ac_configure_args="$ac_configure_args '--enable-t1utils=$enable_t1utils'" - ;; -esac +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi -## utils/tpic2pdftex/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/tpic2pdftex/ -## configure options and TL libraries required for tpic2pdftex -# Check whether --enable-tpic2pdftex was given. -if test "${enable_tpic2pdftex+set}" = set; then : - enableval=$enable_tpic2pdftex; -fi -case $enable_tpic2pdftex in #( - yes|no) : - ;; #( - *) : + test -n "$ac_ct_CC" && break +done - enable_tpic2pdftex=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-tpic2pdftex=$enable_tpic2pdftex'" >&5 -$as_echo "$as_me: Assuming \`--enable-tpic2pdftex=$enable_tpic2pdftex'" >&6;} - ac_configure_args="$ac_configure_args '--enable-tpic2pdftex=$enable_tpic2pdftex'" - ;; + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; esac + CC=$ac_ct_CC + fi +fi - -## utils/vlna/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/vlna/ -## configure options and TL libraries required for vlna -# Check whether --enable-vlna was given. -if test "${enable_vlna+set}" = set; then : - enableval=$enable_vlna; fi -case $enable_vlna in #( - yes|no) : - ;; #( - *) : - enable_vlna=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-vlna=$enable_vlna'" >&5 -$as_echo "$as_me: Assuming \`--enable-vlna=$enable_vlna'" >&6;} - ac_configure_args="$ac_configure_args '--enable-vlna=$enable_vlna'" - ;; -esac +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "no acceptable C compiler found in \$PATH +See \`config.log' for more details." "$LINENO" 5; } -## utils/xindy-new/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/xindy-new/ -## configure options and TL libraries required for xindy-new -# Check whether --enable-xindy-new was given. -if test "${enable_xindy_new+set}" = set; then : - enableval=$enable_xindy_new; -fi -case $enable_xindy_new in #( - yes) : - if test "x$cross_compiling" = xyes; then : - as_fn_error "Unable to cross compile xindy-new" "$LINENO" 5 -fi ;; #( - no) : - ;; #( - *) : - if test "x$cross_compiling" = xyes; then - enable_xindy_new=no - { $as_echo "$as_me:${as_lineno-$LINENO}: Cross compiling -> \`--disable-xindy-new'" >&5 -$as_echo "$as_me: Cross compiling -> \`--disable-xindy-new'" >&6;} - else - enable_xindy_new=no - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-xindy-new=$enable_xindy_new'" >&5 -$as_echo "$as_me: Assuming \`--enable-xindy-new=$enable_xindy_new'" >&6;} - ac_configure_args="$ac_configure_args '--enable-xindy-new=$enable_xindy_new'" - fi ;; +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done -## utils/xindy-new/ac/xindy.ac: configure.ac fragment for the TeX Live subdirectory utils/xindy-new/ -## configure options for xindy-new -# Check whether --enable-xindy-rules was given. -if test "${enable_xindy_rules+set}" = set; then : - enableval=$enable_xindy_rules; -fi -# Check whether --enable-xindy-docs was given. -if test "${enable_xindy_docs+set}" = set; then : - enableval=$enable_xindy_docs; -fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ -# Check whether --with-clisp-runtime was given. -if test "${with_clisp_runtime+set}" = set; then : - withval=$with_clisp_runtime; -fi +int +main () +{ -# Check whether --with-xindy-recode was given. -if test "${with_xindy_recode+set}" = set; then : - withval=$with_xindy_recode; -fi + ; + return 0; +} +_ACEOF +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" +# Try to create an executable without -o first, disregard a.out. +# It will help us diagnose broken compilers, and finding out an intuition +# of exeext. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 +$as_echo_n "checking whether the C compiler works... " >&6; } +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` -## utils/xindy-new/ac/clisp.ac: configure.ac fragment for the TeX Live subdirectory utils/xindy-new/ -## configure checks for xindy-new and clisp -case $with_clisp_runtime in #( - default) : - ;; #( - system) : - if test "x$enable_native_texlive_build" = xyes; then : - as_fn_error "you can not use the installed clisp for a native TeX Live build" "$LINENO" 5 -fi ;; #( - "") : - if test "x$enable_native_texlive_build" = xyes; then : - with_clisp_runtime=default -else - with_clisp_runtime=system -fi - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--with-clisp-runtime=$with_clisp_runtime'" >&5 -$as_echo "$as_me: Assuming \`--with-clisp-runtime=$with_clisp_runtime'" >&6;} - ac_configure_args="$ac_configure_args '--with-clisp-runtime=$with_clisp_runtime'" ;; #( - *) : - if test ! -f "$with_clisp_runtime"; then : - as_fn_error "no such file: \"$with_clisp_runtime\"" "$LINENO" 5 -fi ;; -esac +# The possible output files: +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" +ac_rmfiles= +for ac_file in $ac_files +do + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + * ) ac_rmfiles="$ac_rmfiles $ac_file";; + esac +done +rm -f $ac_rmfiles -## utils/xindy/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/xindy/ -## configure options and TL libraries required for xindy -# Check whether --enable-xindy was given. -if test "${enable_xindy+set}" = set; then : - enableval=$enable_xindy; -fi -case $enable_xindy in #( - yes) : - if test "x$cross_compiling" = xyes; then : - as_fn_error "Unable to cross compile xindy" "$LINENO" 5 -fi ;; #( - no) : - ;; #( - *) : - if test "x$cross_compiling" = xyes; then - enable_xindy=no - { $as_echo "$as_me:${as_lineno-$LINENO}: Cross compiling -> \`--disable-xindy'" >&5 -$as_echo "$as_me: Cross compiling -> \`--disable-xindy'" >&6;} - else - enable_xindy=no - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-xindy=$enable_xindy'" >&5 -$as_echo "$as_me: Assuming \`--enable-xindy=$enable_xindy'" >&6;} - ac_configure_args="$ac_configure_args '--enable-xindy=$enable_xindy'" - fi ;; +if { { ac_try="$ac_link_default" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link_default") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' +# in a Makefile. We should not override ac_cv_exeext if it was cached, +# so that the user can short-circuit this test for compilers unknown to +# Autoconf. +for ac_file in $ac_files '' +do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) + ;; + [ab].out ) + # We found the default executable, but exeext='' is most + # certainly right. + break;; + *.* ) + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; + then :; else + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + fi + # We set ac_cv_exeext here because the later test for it is not + # safe: cross compilers may not add the suffix if given an `-o' + # argument, so we may need to know it at that point already. + # Even if this section looks crufty: it has the advantage of + # actually working. + break;; + * ) + break;; + esac +done +test "$ac_cv_exeext" = no && ac_cv_exeext= -## utils/xindy/ac/xindy.ac: configure.ac fragment for the TeX Live subdirectory utils/xindy/ -## configure options for xindy -# Check whether --enable-xindy-rules was given. -if test "${enable_xindy_rules+set}" = set; then : - enableval=$enable_xindy_rules; -fi -# Check whether --enable-xindy-docs was given. -if test "${enable_xindy_docs+set}" = set; then : - enableval=$enable_xindy_docs; +else + ac_file='' fi +if test -z "$ac_file"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +$as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -# Check whether --with-xindy-recode was given. -if test "${with_xindy_recode+set}" = set; then : - withval=$with_xindy_recode; +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ as_fn_set_status 77 +as_fn_error "C compiler cannot create executables +See \`config.log' for more details." "$LINENO" 5; }; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 +$as_echo_n "checking for C compiler default output file name... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 +$as_echo "$ac_file" >&6; } +ac_exeext=$ac_cv_exeext - -## utils/xpdfopen/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/xpdfopen/ -## configure options and TL libraries required for xpdfopen -if test "x$with_x" = xno; then : - case $enable_xpdfopen in #( - "") : - { $as_echo "$as_me:${as_lineno-$LINENO}: \`--without-x' -> \`--disable-xpdfopen'" >&5 -$as_echo "$as_me: \`--without-x' -> \`--disable-xpdfopen'" >&6;} - enable_xpdfopen=no - ac_configure_args="$ac_configure_args '--disable-xpdfopen'" ;; #( - yes) : - as_fn_error "Sorry, incompatible options \`--without-x' and \`--enable-xpdfopen'" "$LINENO" 5 ;; #( - *) : - ;; +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 +$as_echo_n "checking for suffix of executables... " >&6; } +if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # If both `conftest.exe' and `conftest' are `present' (well, observable) +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will +# work properly (i.e., refer to `conftest.exe'), while it won't with +# `rm'. +for ac_file in conftest.exe conftest conftest.*; do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + break;; + * ) break;; + esac +done +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details." "$LINENO" 5; } fi -# Check whether --enable-xpdfopen was given. -if test "${enable_xpdfopen+set}" = set; then : - enableval=$enable_xpdfopen; -fi -case $enable_xpdfopen in #( - yes|no) : - ;; #( - *) : +rm -f conftest conftest$ac_cv_exeext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 +$as_echo "$ac_cv_exeext" >&6; } - enable_xpdfopen=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-xpdfopen=$enable_xpdfopen'" >&5 -$as_echo "$as_me: Assuming \`--enable-xpdfopen=$enable_xpdfopen'" >&6;} - ac_configure_args="$ac_configure_args '--enable-xpdfopen=$enable_xpdfopen'" - ;; -esac +rm -f conftest.$ac_ext +EXEEXT=$ac_cv_exeext +ac_exeext=$EXEEXT +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +FILE *f = fopen ("conftest.out", "w"); + return ferror (f) || fclose (f) != 0; + ; + return 0; +} +_ACEOF +ac_clean_files="$ac_clean_files conftest.out" +# Check that the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 +$as_echo_n "checking whether we are cross compiling... " >&6; } +if test "$cross_compiling" != yes; then + { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if { ac_try='./conftest$ac_cv_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details." "$LINENO" 5; } + fi + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 +$as_echo "$cross_compiling" >&6; } +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 +$as_echo_n "checking for suffix of object files... " >&6; } +if test "${ac_cv_objext+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ -## texk/web2c/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/ -## configure options and TL libraries required for web2c -# Check whether --enable-web2c was given. -if test "${enable_web2c+set}" = set; then : - enableval=$enable_web2c; -fi -case $enable_web2c in #( - yes|no) : - ;; #( - *) : +int +main () +{ - enable_web2c=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-web2c=$enable_web2c'" >&5 -$as_echo "$as_me: Assuming \`--enable-web2c=$enable_web2c'" >&6;} - ac_configure_args="$ac_configure_args '--enable-web2c=$enable_web2c'" - ;; + ; + return 0; +} +_ACEOF +rm -f conftest.o conftest.obj +if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + for ac_file in conftest.o conftest.obj conftest.*; do + test -f "$ac_file" || continue; + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` + break;; + esac +done +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -test "x$enable_web2c" = xno || { - need_kpathsea=yes - need_zlib=yes -} +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "cannot compute suffix of object files: cannot compile +See \`config.log' for more details." "$LINENO" 5; } +fi +rm -f conftest.$ac_cv_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 +$as_echo "$ac_cv_objext" >&6; } +OBJEXT=$ac_cv_objext +ac_objext=$OBJEXT +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +if test "${ac_cv_c_compiler_gnu+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ -## texk/web2c/ac/web2c.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/ -## configure options for TeX and MF +int +main () +{ +#ifndef __GNUC__ + choke me +#endif -# Check whether --with-tex-banner was given. -if test "${with_tex_banner+set}" = set; then : - withval=$with_tex_banner; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu -# Check whether --with-editor was given. -if test "${with_editor+set}" = set; then : - withval=$with_editor; -fi -# Check whether --enable-auto-core was given. -if test "${enable_auto_core+set}" = set; then : - enableval=$enable_auto_core; fi -# Check whether --enable-dump-share was given. -if test "${enable_dump_share+set}" = set; then : - enableval=$enable_dump_share; +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GCC=yes +else + GCC= fi -## configure options for TeX -# Check whether --enable-ipc was given. -if test "${enable_ipc+set}" = set; then : - enableval=$enable_ipc; +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +$as_echo_n "checking whether $CC accepts -g... " >&6; } +if test "${ac_cv_prog_cc_g+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +else + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes fi -# Check whether --enable-omfonts was given. -if test "${enable_omfonts+set}" = set; then : - enableval=$enable_omfonts; +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -# Check whether --enable-tex was given. -if test "${enable_tex+set}" = set; then : - enableval=$enable_tex; +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -case $enable_tex in #( - yes|no) : - ;; #( - *) : - enable_tex=yes ;; -esac -# Check whether --enable-etex was given. -if test "${enable_etex+set}" = set; then : - enableval=$enable_etex; +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag fi -case $enable_etex in #( - yes|no) : - ;; #( - *) : - enable_etex=no ;; -esac -# Check whether --enable-ptex was given. -if test "${enable_ptex+set}" = set; then : - enableval=$enable_ptex; +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +$as_echo "$ac_cv_prog_cc_g" >&6; } +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi fi -case $enable_ptex in #( - yes|no) : - ;; #( - *) : - enable_ptex=yes ;; -esac - -test "x$enable_web2c:$enable_ptex" = xyes:yes && { - need_ptexenc=yes +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +if test "${ac_cv_prog_cc_c89+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; } -# Check whether --enable-aleph was given. -if test "${enable_aleph+set}" = set; then : - enableval=$enable_aleph; -fi -case $enable_aleph in #( - yes|no) : - ;; #( - *) : - enable_aleph=yes ;; -esac -# Check whether --enable-pdftex was given. -if test "${enable_pdftex+set}" = set; then : - enableval=$enable_pdftex; -fi -case $enable_pdftex in #( - yes|no) : - ;; #( - *) : - enable_pdftex=yes ;; -esac - -test "x$enable_web2c:$enable_pdftex" = xyes:yes && { - need_xpdf=yes - need_libpng=yes - need_obsdcompat=yes +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; } -# Check whether --enable-luatex was given. -if test "${enable_luatex+set}" = set; then : - enableval=$enable_luatex; -fi -case $enable_luatex in #( - yes|no) : - ;; #( - *) : - enable_luatex=yes ;; -esac -test "x$enable_web2c:$enable_luatex" = xyes:yes && { - need_xpdf=yes - need_libpng=yes - need_obsdcompat=yes - need_zziplib=yes -} -# Check whether --enable-xetex was given. -if test "${enable_xetex+set}" = set; then : - enableval=$enable_xetex; -fi -case $enable_xetex in #( - yes|no) : - ;; #( - *) : - enable_xetex=yes ;; -esac +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; -test "x$enable_web2c:$enable_xetex" = xyes:yes && { - need_xpdf=yes - need_libpng=yes - need_freetype2=yes - need_icu_xetex=yes - need_teckit=yes - need_graphite=yes +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; } -## configure options for MF -# Check whether --enable-mf was given. -if test "${enable_mf+set}" = set; then : - enableval=$enable_mf; -fi -# Check whether --enable-mf-nowin was given. -if test "${enable_mf_nowin+set}" = set; then : - enableval=$enable_mf_nowin; +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c89=$ac_arg fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC -# Check whether --with-mf-x-toolkit was given. -if test "${with_mf_x_toolkit+set}" = set; then : - withval=$with_mf_x_toolkit; -fi -# Check whether --enable-epsfwin was given. -if test "${enable_epsfwin+set}" = set; then : - enableval=$enable_epsfwin; -fi -# Check whether --enable-hp2627win was given. -if test "${enable_hp2627win+set}" = set; then : - enableval=$enable_hp2627win; -fi -# Check whether --enable-mftalkwin was given. -if test "${enable_mftalkwin+set}" = set; then : - enableval=$enable_mftalkwin; -fi -# Check whether --enable-nextwin was given. -if test "${enable_nextwin+set}" = set; then : - enableval=$enable_nextwin; -fi -# Check whether --enable-regiswin was given. -if test "${enable_regiswin+set}" = set; then : - enableval=$enable_regiswin; -fi -# Check whether --enable-suntoolswin was given. -if test "${enable_suntoolswin+set}" = set; then : - enableval=$enable_suntoolswin; -fi -# Check whether --enable-tektronixwin was given. -if test "${enable_tektronixwin+set}" = set; then : - enableval=$enable_tektronixwin; -fi -# Check whether --enable-unitermwin was given. -if test "${enable_unitermwin+set}" = set; then : - enableval=$enable_unitermwin; -fi -## configure options for MP -# Check whether --enable-mp was given. -if test "${enable_mp+set}" = set; then : - enableval=$enable_mp; fi -## configure options for WEB programs -# Check whether --enable-web-progs was given. -if test "${enable_web_progs+set}" = set; then : - enableval=$enable_web_progs; +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c89" != xno; then : + 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 -## texk/afm2pl/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/afm2pl/ -## configure options and TL libraries required for afm2pl -# Check whether --enable-afm2pl was given. -if test "${enable_afm2pl+set}" = set; then : - enableval=$enable_afm2pl; -fi -case $enable_afm2pl in #( - yes|no) : - ;; #( - *) : - enable_afm2pl=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-afm2pl=$enable_afm2pl'" >&5 -$as_echo "$as_me: Assuming \`--enable-afm2pl=$enable_afm2pl'" >&6;} - ac_configure_args="$ac_configure_args '--enable-afm2pl=$enable_afm2pl'" - ;; -esac -test "x$enable_afm2pl" = xno || { - need_kpathsea=yes -} -## texk/bibtex8/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/bibtex8/ -## configure options and TL libraries required for bibtex8 -# Check whether --enable-bibtex8 was given. -if test "${enable_bibtex8+set}" = set; then : - enableval=$enable_bibtex8; +# Check whether --enable-all-pkgs was given. +if test "${enable_all_pkgs+set}" = set; then : + enableval=$enable_all_pkgs; fi -case $enable_bibtex8 in #( - yes|no) : - ;; #( +test "x$enable_all_pkgs" = xno || enable_all_pkgs=yes +# Check whether --enable-native-texlive-build was given. +if test "${enable_native_texlive_build+set}" = set; then : + enableval=$enable_native_texlive_build; +fi +case $enable_native_texlive_build in #( + yes | no) : + : ;; #( *) : - - enable_bibtex8=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-bibtex8=$enable_bibtex8'" >&5 -$as_echo "$as_me: Assuming \`--enable-bibtex8=$enable_bibtex8'" >&6;} - ac_configure_args="$ac_configure_args '--enable-bibtex8=$enable_bibtex8'" - ;; + enable_native_texlive_build=yes + ac_configure_args="$ac_configure_args '--enable-native-texlive-build'" ;; esac +if test "x$enable_native_texlive_build" = xyes; then + case $enable_multiplatform in #( + yes | no) : + : ;; #( + *) : + enable_multiplatform=yes + ac_configure_args="$ac_configure_args '--enable-multiplatform'" ;; +esac + case $enable_cxx_runtime_hack in #( + yes | no) : + : ;; #( + *) : + enable_cxx_runtime_hack=yes + ac_configure_args="$ac_configure_args '--enable-cxx-runtime-hack'" ;; +esac +fi +case $enable_libtool_hack in #( + yes | no) : + : ;; #( + *) : + case $host_os in #( + do-not-match) : + enable_libtool_hack=no ;; #( + *) : + enable_libtool_hack=yes ;; +esac + ac_configure_args="$ac_configure_args '--enable-libtool-hack=$enable_libtool_hack'" ;; +esac +case $enable_shared in #( + no) : + : ;; #( + yes ) : + if test "x$enable_native_texlive_build" = xyes; then : + as_fn_error "you can not use a shared Kpathsea library for a native TeX Live build" "$LINENO" 5 +fi ;; #( + *) : + enable_shared=no + ac_configure_args="$ac_configure_args '--disable-shared'" ;; +esac +case $enable_texlive_build in #( + yes) : + : ;; #( + no) : + as_fn_error "you can not configure the TeX Live tree with \`--disable-texlive-build'" "$LINENO" 5 ;; #( + *) : + enable_texlive_build=yes + ac_configure_args="$ac_configure_args '--enable-texlive-build'" ;; +esac +# Check whether --enable-multiplatform was given. +if test "${enable_multiplatform+set}" = set; then : + enableval=$enable_multiplatform; +fi +if test "x$enable_multiplatform" = xyes; then + if test "x$bindir" = 'x${exec_prefix}/bin'; then + bindir="$bindir/$host" + ac_configure_args="$ac_configure_args '--bindir=$bindir'" + fi + if test "x$libdir" = 'x${exec_prefix}/lib'; then + libdir="$libdir/$host" + ac_configure_args="$ac_configure_args '--libdir=$libdir'" + fi +fi -test "x$enable_bibtex8" = xno || { - need_kpathsea=yes -} - +# Check whether --enable-cxx-runtime-hack was given. +if test "${enable_cxx_runtime_hack+set}" = set; then : + enableval=$enable_cxx_runtime_hack; +fi -## texk/bibtexu/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/bibtexu/ -## configure options and TL libraries required for bibtexu -# Check whether --enable-bibtexu was given. -if test "${enable_bibtexu+set}" = set; then : - enableval=$enable_bibtexu; +# Check whether --enable-libtool-hack was given. +if test "${enable_libtool_hack+set}" = set; then : + enableval=$enable_libtool_hack; fi -case $enable_bibtexu in #( - yes|no) : - ;; #( - *) : - enable_bibtexu=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-bibtexu=$enable_bibtexu'" >&5 -$as_echo "$as_me: Assuming \`--enable-bibtexu=$enable_bibtexu'" >&6;} - ac_configure_args="$ac_configure_args '--enable-bibtexu=$enable_bibtexu'" - ;; -esac -test "x$enable_bibtexu" = xno || { - need_kpathsea=yes - need_icu=yes + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5 +$as_echo_n "checking for native WIN32 or MINGW32... " >&6; } +if test "${kpse_cv_have_win32+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifndef WIN32 + choke me +#endif +int +main () +{ + + ; + return 0; } +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifndef __MINGW32__ + choke me +#endif +int +main () +{ + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + kpse_cv_have_win32=mingw32 +else + kpse_cv_have_win32=native +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +else + kpse_cv_have_win32=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5 +$as_echo "$kpse_cv_have_win32" >&6; } -## texk/cjkutils/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/cjkutils/ -## configure options and TL libraries required for cjkutils -# Check whether --enable-cjkutils was given. -if test "${enable_cjkutils+set}" = set; then : - enableval=$enable_cjkutils; +case $with_x:$kpse_cv_have_win32 in #( + yes:no | no:*) : + : ;; #( + yes:*) : + as_fn_error "you can not use \`--with-x' for WIN32" "$LINENO" 5 ;; #( + *:no) : + with_x=yes + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--with-x'" >&5 +$as_echo "$as_me: Assuming \`--with-x'" >&6;} + ac_configure_args="$ac_configure_args '--with-x'" ;; #( + *) : + with_x=no + { $as_echo "$as_me:${as_lineno-$LINENO}: WIN32 -> \`--without-x'" >&5 +$as_echo "$as_me: WIN32 -> \`--without-x'" >&6;} + ac_configure_args="$ac_configure_args '--without-x'" ;; +esac +## utils/chktex/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/chktex/ +## configure options and TL libraries required for chktex +# Check whether --enable-chktex was given. +if test "${enable_chktex+set}" = set; then : + enableval=$enable_chktex; fi -case $enable_cjkutils in #( +case $enable_chktex in #( yes|no) : ;; #( *) : - enable_cjkutils=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-cjkutils=$enable_cjkutils'" >&5 -$as_echo "$as_me: Assuming \`--enable-cjkutils=$enable_cjkutils'" >&6;} - ac_configure_args="$ac_configure_args '--enable-cjkutils=$enable_cjkutils'" + enable_chktex=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-chktex=$enable_chktex'" >&5 +$as_echo "$as_me: Assuming \`--enable-chktex=$enable_chktex'" >&6;} + ac_configure_args="$ac_configure_args '--enable-chktex=$enable_chktex'" ;; esac -test "x$enable_cjkutils" = xno || { - need_kpathsea=yes -} - -## texk/detex/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/detex/ -## configure options and TL libraries required for detex -# Check whether --enable-detex was given. -if test "${enable_detex+set}" = set; then : - enableval=$enable_detex; +## utils/dialog/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/dialog/ +## configure options and TL libraries required for dialog +# Check whether --enable-dialog was given. +if test "${enable_dialog+set}" = set; then : + enableval=$enable_dialog; fi -case $enable_detex in #( +case $enable_dialog in #( yes|no) : ;; #( *) : - enable_detex=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-detex=$enable_detex'" >&5 -$as_echo "$as_me: Assuming \`--enable-detex=$enable_detex'" >&6;} - ac_configure_args="$ac_configure_args '--enable-detex=$enable_detex'" + enable_dialog=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dialog=$enable_dialog'" >&5 +$as_echo "$as_me: Assuming \`--enable-dialog=$enable_dialog'" >&6;} + ac_configure_args="$ac_configure_args '--enable-dialog=$enable_dialog'" ;; esac -test "x$enable_detex" = xno || { - need_kpathsea=yes -} - -## texk/devnag/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/devnag/ -## configure options and TL libraries required for devnag -# Check whether --enable-devnag was given. -if test "${enable_devnag+set}" = set; then : - enableval=$enable_devnag; +## utils/ps2eps/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/ps2eps/ +## configure options and TL libraries required for ps2eps +# Check whether --enable-ps2eps was given. +if test "${enable_ps2eps+set}" = set; then : + enableval=$enable_ps2eps; fi -case $enable_devnag in #( +case $enable_ps2eps in #( yes|no) : ;; #( *) : - enable_devnag=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-devnag=$enable_devnag'" >&5 -$as_echo "$as_me: Assuming \`--enable-devnag=$enable_devnag'" >&6;} - ac_configure_args="$ac_configure_args '--enable-devnag=$enable_devnag'" + enable_ps2eps=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-ps2eps=$enable_ps2eps'" >&5 +$as_echo "$as_me: Assuming \`--enable-ps2eps=$enable_ps2eps'" >&6;} + ac_configure_args="$ac_configure_args '--enable-ps2eps=$enable_ps2eps'" ;; esac -## texk/dtl/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dtl/ -## configure options and TL libraries required for dtl -# Check whether --enable-dtl was given. -if test "${enable_dtl+set}" = set; then : - enableval=$enable_dtl; +## utils/psutils/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/psutils/ +## configure options and TL libraries required for psutils +# Check whether --enable-psutils was given. +if test "${enable_psutils+set}" = set; then : + enableval=$enable_psutils; fi -case $enable_dtl in #( +case $enable_psutils in #( yes|no) : ;; #( *) : - enable_dtl=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dtl=$enable_dtl'" >&5 -$as_echo "$as_me: Assuming \`--enable-dtl=$enable_dtl'" >&6;} - ac_configure_args="$ac_configure_args '--enable-dtl=$enable_dtl'" + enable_psutils=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-psutils=$enable_psutils'" >&5 +$as_echo "$as_me: Assuming \`--enable-psutils=$enable_psutils'" >&6;} + ac_configure_args="$ac_configure_args '--enable-psutils=$enable_psutils'" ;; esac -test "x$enable_dtl" = xno || { - need_kpathsea=yes -} - -## texk/dvi2tty/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dvi2tty/ -## configure options and TL libraries required for dvi2tty -# Check whether --enable-dvi2tty was given. -if test "${enable_dvi2tty+set}" = set; then : - enableval=$enable_dvi2tty; +## utils/t1utils/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/t1utils/ +## configure options and TL libraries required for t1utils +# Check whether --enable-t1utils was given. +if test "${enable_t1utils+set}" = set; then : + enableval=$enable_t1utils; fi -case $enable_dvi2tty in #( +case $enable_t1utils in #( yes|no) : ;; #( *) : - enable_dvi2tty=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dvi2tty=$enable_dvi2tty'" >&5 -$as_echo "$as_me: Assuming \`--enable-dvi2tty=$enable_dvi2tty'" >&6;} - ac_configure_args="$ac_configure_args '--enable-dvi2tty=$enable_dvi2tty'" + enable_t1utils=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-t1utils=$enable_t1utils'" >&5 +$as_echo "$as_me: Assuming \`--enable-t1utils=$enable_t1utils'" >&6;} + ac_configure_args="$ac_configure_args '--enable-t1utils=$enable_t1utils'" ;; esac -test "x$enable_dvi2tty" = xno || { - need_kpathsea=yes -} - -## texk/dvidvi/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dvidvi/ -## configure options and TL libraries required for dvidvi -# Check whether --enable-dvidvi was given. -if test "${enable_dvidvi+set}" = set; then : - enableval=$enable_dvidvi; +## utils/tpic2pdftex/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/tpic2pdftex/ +## configure options and TL libraries required for tpic2pdftex +# Check whether --enable-tpic2pdftex was given. +if test "${enable_tpic2pdftex+set}" = set; then : + enableval=$enable_tpic2pdftex; fi -case $enable_dvidvi in #( +case $enable_tpic2pdftex in #( yes|no) : ;; #( *) : - enable_dvidvi=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dvidvi=$enable_dvidvi'" >&5 -$as_echo "$as_me: Assuming \`--enable-dvidvi=$enable_dvidvi'" >&6;} - ac_configure_args="$ac_configure_args '--enable-dvidvi=$enable_dvidvi'" + enable_tpic2pdftex=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-tpic2pdftex=$enable_tpic2pdftex'" >&5 +$as_echo "$as_me: Assuming \`--enable-tpic2pdftex=$enable_tpic2pdftex'" >&6;} + ac_configure_args="$ac_configure_args '--enable-tpic2pdftex=$enable_tpic2pdftex'" ;; esac -test "x$enable_dvidvi" = xno || { - need_kpathsea=yes -} - -## texk/dviljk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dviljk/ -## configure options and TL libraries required for dviljk -# Check whether --enable-dviljk was given. -if test "${enable_dviljk+set}" = set; then : - enableval=$enable_dviljk; +## utils/vlna/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/vlna/ +## configure options and TL libraries required for vlna +# Check whether --enable-vlna was given. +if test "${enable_vlna+set}" = set; then : + enableval=$enable_vlna; fi -case $enable_dviljk in #( +case $enable_vlna in #( yes|no) : ;; #( *) : - enable_dviljk=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dviljk=$enable_dviljk'" >&5 -$as_echo "$as_me: Assuming \`--enable-dviljk=$enable_dviljk'" >&6;} - ac_configure_args="$ac_configure_args '--enable-dviljk=$enable_dviljk'" + enable_vlna=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-vlna=$enable_vlna'" >&5 +$as_echo "$as_me: Assuming \`--enable-vlna=$enable_vlna'" >&6;} + ac_configure_args="$ac_configure_args '--enable-vlna=$enable_vlna'" ;; esac -test "x$enable_dviljk" = xno || { - need_kpathsea=yes -} - -## texk/dvipdfmx/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dvipdfmx/ -## configure options and TL libraries required for dvipdfmx -# Check whether --enable-dvipdfmx was given. -if test "${enable_dvipdfmx+set}" = set; then : - enableval=$enable_dvipdfmx; +## utils/xindy-new/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/xindy-new/ +## configure options and TL libraries required for xindy-new +# Check whether --enable-xindy-new was given. +if test "${enable_xindy_new+set}" = set; then : + enableval=$enable_xindy_new; fi -case $enable_dvipdfmx in #( - yes|no) : +case $enable_xindy_new in #( + yes) : + if test "x$cross_compiling" = xyes; then : + as_fn_error "Unable to cross compile xindy-new" "$LINENO" 5 +fi ;; #( + no) : ;; #( *) : - - enable_dvipdfmx=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dvipdfmx=$enable_dvipdfmx'" >&5 -$as_echo "$as_me: Assuming \`--enable-dvipdfmx=$enable_dvipdfmx'" >&6;} - ac_configure_args="$ac_configure_args '--enable-dvipdfmx=$enable_dvipdfmx'" - ;; + if test "x$cross_compiling" = xyes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: Cross compiling -> \`--disable-xindy-new'" >&5 +$as_echo "$as_me: Cross compiling -> \`--disable-xindy-new'" >&6;} + enable_xindy_new=no + ac_configure_args="$ac_configure_args '--disable-xindy-new'" + else + enable_xindy_new=no + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-xindy-new=$enable_xindy_new'" >&5 +$as_echo "$as_me: Assuming \`--enable-xindy-new=$enable_xindy_new'" >&6;} + ac_configure_args="$ac_configure_args '--enable-xindy-new=$enable_xindy_new'" + fi ;; esac -test "x$enable_dvipdfmx" = xno || { - need_kpathsea=yes - need_libpng=yes -} +## utils/xindy-new/ac/xindy.ac: configure.ac fragment for the TeX Live subdirectory utils/xindy-new/ +## configure options for xindy-new +# Check whether --enable-xindy-rules was given. +if test "${enable_xindy_rules+set}" = set; then : + enableval=$enable_xindy_rules; +fi +# Check whether --enable-xindy-docs was given. +if test "${enable_xindy_docs+set}" = set; then : + enableval=$enable_xindy_docs; +fi +# Check whether --with-clisp-runtime was given. +if test "${with_clisp_runtime+set}" = set; then : + withval=$with_clisp_runtime; +fi -## texk/dvipng/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dvipng/ -## configure options and TL libraries required for dvipng -# Check whether --enable-dvipng was given. -if test "${enable_dvipng+set}" = set; then : - enableval=$enable_dvipng; +# Check whether --with-xindy-recode was given. +if test "${with_xindy_recode+set}" = set; then : + withval=$with_xindy_recode; fi -case $enable_dvipng in #( - yes|no) : + +## utils/xindy-new/ac/clisp.ac: configure.ac fragment for the TeX Live subdirectory utils/xindy-new/ +## configure checks for xindy-new and clisp +case $with_clisp_runtime in #( + default) : ;; #( + system) : + if test "x$enable_native_texlive_build" = xyes; then : + as_fn_error "you can not use the installed clisp for a native TeX Live build" "$LINENO" 5 +fi ;; #( + "") : + if test "x$enable_native_texlive_build" = xyes; then : + with_clisp_runtime=default +else + with_clisp_runtime=system +fi + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--with-clisp-runtime=$with_clisp_runtime'" >&5 +$as_echo "$as_me: Assuming \`--with-clisp-runtime=$with_clisp_runtime'" >&6;} + ac_configure_args="$ac_configure_args '--with-clisp-runtime=$with_clisp_runtime'" ;; #( *) : - - enable_dvipng=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dvipng=$enable_dvipng'" >&5 -$as_echo "$as_me: Assuming \`--enable-dvipng=$enable_dvipng'" >&6;} - ac_configure_args="$ac_configure_args '--enable-dvipng=$enable_dvipng'" - ;; + if test ! -f "$with_clisp_runtime"; then : + as_fn_error "no such file: \"$with_clisp_runtime\"" "$LINENO" 5 +fi ;; esac -test "x$enable_dvipng" = xno || { - need_kpathsea=yes - need_freetype2=yes - need_gd=yes - need_t1lib=yes -} -## texk/dvipng/ac/dvipng.ac: configure.ac fragment for the TeX Live subdirectory texk/dvipng/ -## configure options for dvipng -# Check whether --enable-debug was given. -if test "${enable_debug+set}" = set; then : - enableval=$enable_debug; +## utils/xindy/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/xindy/ +## configure options and TL libraries required for xindy +# Check whether --enable-xindy was given. +if test "${enable_xindy+set}" = set; then : + enableval=$enable_xindy; fi +case $enable_xindy in #( + yes) : + if test "x$cross_compiling" = xyes; then : + as_fn_error "Unable to cross compile xindy" "$LINENO" 5 +fi ;; #( + no) : + ;; #( + *) : + if test "x$cross_compiling" = xyes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: Cross compiling -> \`--disable-xindy'" >&5 +$as_echo "$as_me: Cross compiling -> \`--disable-xindy'" >&6;} + enable_xindy=no + ac_configure_args="$ac_configure_args '--disable-xindy'" + else + enable_xindy=no + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-xindy=$enable_xindy'" >&5 +$as_echo "$as_me: Assuming \`--enable-xindy=$enable_xindy'" >&6;} + ac_configure_args="$ac_configure_args '--enable-xindy=$enable_xindy'" + fi ;; +esac -# Check whether --enable-timing was given. -if test "${enable_timing+set}" = set; then : - enableval=$enable_timing; +## utils/xindy/ac/xindy.ac: configure.ac fragment for the TeX Live subdirectory utils/xindy/ +## configure options for xindy +# Check whether --enable-xindy-rules was given. +if test "${enable_xindy_rules+set}" = set; then : + enableval=$enable_xindy_rules; fi - - -# Check whether --with-gs was given. -if test "${with_gs+set}" = set; then : - withval=$with_gs; +# Check whether --enable-xindy-docs was given. +if test "${enable_xindy_docs+set}" = set; then : + enableval=$enable_xindy_docs; fi +# Check whether --with-xindy-recode was given. +if test "${with_xindy_recode+set}" = set; then : + withval=$with_xindy_recode; +fi -## texk/dvipos/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dvipos/ -## configure options and TL libraries required for dvipos -# Check whether --enable-dvipos was given. -if test "${enable_dvipos+set}" = set; then : - enableval=$enable_dvipos; +## utils/xpdfopen/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/xpdfopen/ +## configure options and TL libraries required for xpdfopen +# Check whether --enable-xpdfopen was given. +if test "${enable_xpdfopen+set}" = set; then : + enableval=$enable_xpdfopen; fi -case $enable_dvipos in #( +if test "x$with_x" = xno; then : + case $enable_xpdfopen in #( + "") : + { $as_echo "$as_me:${as_lineno-$LINENO}: \`--without-x' -> \`--disable-xpdfopen'" >&5 +$as_echo "$as_me: \`--without-x' -> \`--disable-xpdfopen'" >&6;} + enable_xpdfopen=no + ac_configure_args="$ac_configure_args '--disable-xpdfopen'" ;; #( + yes) : + as_fn_error "Sorry, incompatible options \`--without-x' and \`--enable-xpdfopen'" "$LINENO" 5 ;; #( + *) : + ;; +esac +fi +case $enable_xpdfopen in #( yes|no) : ;; #( *) : - enable_dvipos=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dvipos=$enable_dvipos'" >&5 -$as_echo "$as_me: Assuming \`--enable-dvipos=$enable_dvipos'" >&6;} - ac_configure_args="$ac_configure_args '--enable-dvipos=$enable_dvipos'" + enable_xpdfopen=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-xpdfopen=$enable_xpdfopen'" >&5 +$as_echo "$as_me: Assuming \`--enable-xpdfopen=$enable_xpdfopen'" >&6;} + ac_configure_args="$ac_configure_args '--enable-xpdfopen=$enable_xpdfopen'" ;; esac -test "x$enable_dvipos" = xno || { - need_kpathsea=yes -} -## texk/dvipsk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dvipsk/ -## configure options and TL libraries required for dvipsk -# Check whether --enable-dvipsk was given. -if test "${enable_dvipsk+set}" = set; then : - enableval=$enable_dvipsk; +## texk/web2c/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/ +## configure options and TL libraries required for web2c +# Check whether --enable-web2c was given. +if test "${enable_web2c+set}" = set; then : + enableval=$enable_web2c; fi -case $enable_dvipsk in #( +case $enable_web2c in #( yes|no) : ;; #( *) : - enable_dvipsk=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dvipsk=$enable_dvipsk'" >&5 -$as_echo "$as_me: Assuming \`--enable-dvipsk=$enable_dvipsk'" >&6;} - ac_configure_args="$ac_configure_args '--enable-dvipsk=$enable_dvipsk'" + enable_web2c=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-web2c=$enable_web2c'" >&5 +$as_echo "$as_me: Assuming \`--enable-web2c=$enable_web2c'" >&6;} + ac_configure_args="$ac_configure_args '--enable-web2c=$enable_web2c'" ;; esac -test "x$enable_dvipsk" = xno || { +test "x$enable_web2c" = xno || { need_kpathsea=yes + need_zlib=yes } - -## texk/dvisvgm/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dvisvgm/ -## configure options and TL libraries required for dvisvgm -# Check whether --enable-dvisvgm was given. -if test "${enable_dvisvgm+set}" = set; then : - enableval=$enable_dvisvgm; +## texk/web2c/ac/web2c.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/ +## configure options for TeX and MF + +# Check whether --with-tex-banner was given. +if test "${with_tex_banner+set}" = set; then : + withval=$with_tex_banner; fi -case $enable_dvisvgm in #( + +# Check whether --with-editor was given. +if test "${with_editor+set}" = set; then : + withval=$with_editor; +fi +# Check whether --enable-auto-core was given. +if test "${enable_auto_core+set}" = set; then : + enableval=$enable_auto_core; +fi +# Check whether --enable-dump-share was given. +if test "${enable_dump_share+set}" = set; then : + enableval=$enable_dump_share; +fi +## configure options for TeX +# Check whether --enable-ipc was given. +if test "${enable_ipc+set}" = set; then : + enableval=$enable_ipc; +fi +# Check whether --enable-omfonts was given. +if test "${enable_omfonts+set}" = set; then : + enableval=$enable_omfonts; +fi +# Check whether --enable-tex was given. +if test "${enable_tex+set}" = set; then : + enableval=$enable_tex; +fi +case $enable_tex in #( yes|no) : ;; #( *) : - - enable_dvisvgm=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dvisvgm=$enable_dvisvgm'" >&5 -$as_echo "$as_me: Assuming \`--enable-dvisvgm=$enable_dvisvgm'" >&6;} - ac_configure_args="$ac_configure_args '--enable-dvisvgm=$enable_dvisvgm'" - ;; + enable_tex=yes ;; esac - -test "x$enable_dvisvgm" = xno || { - need_kpathsea=yes - need_freetype2=yes - need_zlib=yes -} - -## texk/dvisvgm/ac/dvisvgm.ac: configure.ac fragment for the TeX Live subdirectory texk/dvisvgm/ -## configure options for dvisvgm - -# Check whether --with-system-libgs was given. -if test "${with_system_libgs+set}" = set; then : - withval=$with_system_libgs; -fi - - -# Check whether --with-libgs-includes was given. -if test "${with_libgs_includes+set}" = set; then : - withval=$with_libgs_includes; +# Check whether --enable-etex was given. +if test "${enable_etex+set}" = set; then : + enableval=$enable_etex; fi - - -# Check whether --with-libgs-libdir was given. -if test "${with_libgs_libdir+set}" = set; then : - withval=$with_libgs_libdir; +case $enable_etex in #( + yes|no) : + ;; #( + *) : + enable_etex=no ;; +esac +# Check whether --enable-ptex was given. +if test "${enable_ptex+set}" = set; then : + enableval=$enable_ptex; fi +case $enable_ptex in #( + yes|no) : + ;; #( + *) : + enable_ptex=yes ;; +esac - -## texk/dvisvgm/ac/libgs.ac: configure.ac fragment for the TeX Live subdirectory texk/dvisvgm/ -## configure checks for dvisvgm and libgs -if test "x$enable_native_texlive_build:$with_system_libgs" = xyes:yes; then - as_fn_error "you can not use system libraries for a native TeX Live build" "$LINENO" 5 +test "x$enable_web2c:$enable_ptex" = xyes:yes && { + need_ptexenc=yes +} +# Check whether --enable-aleph was given. +if test "${enable_aleph+set}" = set; then : + enableval=$enable_aleph; fi - - -## texk/gsftopk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/gsftopk/ -## configure options and TL libraries required for gsftopk -# Check whether --enable-gsftopk was given. -if test "${enable_gsftopk+set}" = set; then : - enableval=$enable_gsftopk; +case $enable_aleph in #( + yes|no) : + ;; #( + *) : + enable_aleph=yes ;; +esac +# Check whether --enable-pdftex was given. +if test "${enable_pdftex+set}" = set; then : + enableval=$enable_pdftex; fi -case $enable_gsftopk in #( +case $enable_pdftex in #( yes|no) : ;; #( *) : - - enable_gsftopk=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-gsftopk=$enable_gsftopk'" >&5 -$as_echo "$as_me: Assuming \`--enable-gsftopk=$enable_gsftopk'" >&6;} - ac_configure_args="$ac_configure_args '--enable-gsftopk=$enable_gsftopk'" - ;; + enable_pdftex=yes ;; esac -test "x$enable_gsftopk" = xno || { - need_kpathsea=yes +test "x$enable_web2c:$enable_pdftex" = xyes:yes && { + need_xpdf=yes + need_libpng=yes + need_obsdcompat=yes } - - -## texk/lacheck/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/lacheck/ -## configure options and TL libraries required for lacheck -# Check whether --enable-lacheck was given. -if test "${enable_lacheck+set}" = set; then : - enableval=$enable_lacheck; +# Check whether --enable-luatex was given. +if test "${enable_luatex+set}" = set; then : + enableval=$enable_luatex; fi -case $enable_lacheck in #( +case $enable_luatex in #( yes|no) : ;; #( *) : - - enable_lacheck=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-lacheck=$enable_lacheck'" >&5 -$as_echo "$as_me: Assuming \`--enable-lacheck=$enable_lacheck'" >&6;} - ac_configure_args="$ac_configure_args '--enable-lacheck=$enable_lacheck'" - ;; + enable_luatex=yes ;; esac - -## texk/lcdf-typetools/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/lcdf-typetools/ -## configure options and TL libraries required for lcdf-typetools -# Check whether --enable-lcdf-typetools was given. -if test "${enable_lcdf_typetools+set}" = set; then : - enableval=$enable_lcdf_typetools; +test "x$enable_web2c:$enable_luatex" = xyes:yes && { + need_xpdf=yes + need_libpng=yes + need_obsdcompat=yes + need_zziplib=yes +} +# Check whether --enable-xetex was given. +if test "${enable_xetex+set}" = set; then : + enableval=$enable_xetex; fi -case $enable_lcdf_typetools in #( +case $enable_xetex in #( yes|no) : ;; #( *) : - - enable_lcdf_typetools=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-lcdf-typetools=$enable_lcdf_typetools'" >&5 -$as_echo "$as_me: Assuming \`--enable-lcdf-typetools=$enable_lcdf_typetools'" >&6;} - ac_configure_args="$ac_configure_args '--enable-lcdf-typetools=$enable_lcdf_typetools'" - ;; + enable_xetex=yes ;; esac -test "x$enable_lcdf_typetools" = xno || { - need_kpathsea=yes +test "x$enable_web2c:$enable_xetex" = xyes:yes && { + need_xpdf=yes + need_libpng=yes + need_freetype2=yes + need_icu_xetex=yes + need_teckit=yes + need_graphite=yes } - -## Define configure options for lcdf-typetools. Extracted from configure.ac -## for ease of building TeX Live. -# Check whether --enable-cfftot1 was given. -if test "${enable_cfftot1+set}" = set; then : - enableval=$enable_cfftot1; +## configure options for MF +# Check whether --enable-mf was given. +if test "${enable_mf+set}" = set; then : + enableval=$enable_mf; fi -# Check whether --enable-mmafm was given. -if test "${enable_mmafm+set}" = set; then : - enableval=$enable_mmafm; +# Check whether --enable-mf-nowin was given. +if test "${enable_mf_nowin+set}" = set; then : + enableval=$enable_mf_nowin; fi -# Check whether --enable-mmpfb was given. -if test "${enable_mmpfb+set}" = set; then : - enableval=$enable_mmpfb; + +# Check whether --with-mf-x-toolkit was given. +if test "${with_mf_x_toolkit+set}" = set; then : + withval=$with_mf_x_toolkit; fi -# Check whether --enable-otfinfo was given. -if test "${enable_otfinfo+set}" = set; then : - enableval=$enable_otfinfo; +# Check whether --enable-epsfwin was given. +if test "${enable_epsfwin+set}" = set; then : + enableval=$enable_epsfwin; fi -# Check whether --enable-otftotfm was given. -if test "${enable_otftotfm+set}" = set; then : - enableval=$enable_otftotfm; +# Check whether --enable-hp2627win was given. +if test "${enable_hp2627win+set}" = set; then : + enableval=$enable_hp2627win; fi -# Check whether --enable-t1dotlessj was given. -if test "${enable_t1dotlessj+set}" = set; then : - enableval=$enable_t1dotlessj; +# Check whether --enable-mftalkwin was given. +if test "${enable_mftalkwin+set}" = set; then : + enableval=$enable_mftalkwin; fi -# Check whether --enable-t1lint was given. -if test "${enable_t1lint+set}" = set; then : - enableval=$enable_t1lint; +# Check whether --enable-nextwin was given. +if test "${enable_nextwin+set}" = set; then : + enableval=$enable_nextwin; fi -# Check whether --enable-t1rawafm was given. -if test "${enable_t1rawafm+set}" = set; then : - enableval=$enable_t1rawafm; +# Check whether --enable-regiswin was given. +if test "${enable_regiswin+set}" = set; then : + enableval=$enable_regiswin; fi -# Check whether --enable-t1reencode was given. -if test "${enable_t1reencode+set}" = set; then : - enableval=$enable_t1reencode; +# Check whether --enable-suntoolswin was given. +if test "${enable_suntoolswin+set}" = set; then : + enableval=$enable_suntoolswin; fi -# Check whether --enable-t1testpage was given. -if test "${enable_t1testpage+set}" = set; then : - enableval=$enable_t1testpage; +# Check whether --enable-tektronixwin was given. +if test "${enable_tektronixwin+set}" = set; then : + enableval=$enable_tektronixwin; fi -# Check whether --enable-ttftotype42 was given. -if test "${enable_ttftotype42+set}" = set; then : - enableval=$enable_ttftotype42; +# Check whether --enable-unitermwin was given. +if test "${enable_unitermwin+set}" = set; then : + enableval=$enable_unitermwin; fi - -# Check whether --enable-cfftot1 was given. -if test "${enable_cfftot1+set}" = set; then : - enableval=$enable_cfftot1; -fi -# Check whether --enable-t1dotlessj was given. -if test "${enable_t1dotlessj+set}" = set; then : - enableval=$enable_t1dotlessj; -fi -# Check whether --enable-ttftotype42 was given. -if test "${enable_ttftotype42+set}" = set; then : - enableval=$enable_ttftotype42; +## configure options for MP +# Check whether --enable-mp was given. +if test "${enable_mp+set}" = set; then : + enableval=$enable_mp; fi -# Check whether --enable-updmap was given. -if test "${enable_updmap+set}" = set; then : - enableval=$enable_updmap; +## configure options for WEB programs +# Check whether --enable-web-progs was given. +if test "${enable_web_progs+set}" = set; then : + enableval=$enable_web_progs; fi - -## texk/makeindexk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/makeindexk/ -## configure options and TL libraries required for makeindexk -# Check whether --enable-makeindexk was given. -if test "${enable_makeindexk+set}" = set; then : - enableval=$enable_makeindexk; +## texk/afm2pl/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/afm2pl/ +## configure options and TL libraries required for afm2pl +# Check whether --enable-afm2pl was given. +if test "${enable_afm2pl+set}" = set; then : + enableval=$enable_afm2pl; fi -case $enable_makeindexk in #( +case $enable_afm2pl in #( yes|no) : ;; #( *) : - enable_makeindexk=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-makeindexk=$enable_makeindexk'" >&5 -$as_echo "$as_me: Assuming \`--enable-makeindexk=$enable_makeindexk'" >&6;} - ac_configure_args="$ac_configure_args '--enable-makeindexk=$enable_makeindexk'" + enable_afm2pl=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-afm2pl=$enable_afm2pl'" >&5 +$as_echo "$as_me: Assuming \`--enable-afm2pl=$enable_afm2pl'" >&6;} + ac_configure_args="$ac_configure_args '--enable-afm2pl=$enable_afm2pl'" ;; esac -test "x$enable_makeindexk" = xno || { +test "x$enable_afm2pl" = xno || { need_kpathsea=yes } -## texk/makejvf/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/makejvf/ -## configure options and TL libraries required for makejvf -# Check whether --enable-makejvf was given. -if test "${enable_makejvf+set}" = set; then : - enableval=$enable_makejvf; +## texk/bibtex8/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/bibtex8/ +## configure options and TL libraries required for bibtex8 +# Check whether --enable-bibtex8 was given. +if test "${enable_bibtex8+set}" = set; then : + enableval=$enable_bibtex8; fi -case $enable_makejvf in #( +case $enable_bibtex8 in #( yes|no) : ;; #( *) : - enable_makejvf=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-makejvf=$enable_makejvf'" >&5 -$as_echo "$as_me: Assuming \`--enable-makejvf=$enable_makejvf'" >&6;} - ac_configure_args="$ac_configure_args '--enable-makejvf=$enable_makejvf'" + enable_bibtex8=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-bibtex8=$enable_bibtex8'" >&5 +$as_echo "$as_me: Assuming \`--enable-bibtex8=$enable_bibtex8'" >&6;} + ac_configure_args="$ac_configure_args '--enable-bibtex8=$enable_bibtex8'" ;; esac -test "x$enable_makejvf" = xno || { - need_ptexenc=yes +test "x$enable_bibtex8" = xno || { + need_kpathsea=yes } -## texk/mendexk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/mendexk/ -## configure options and TL libraries required for mendexk -# Check whether --enable-mendexk was given. -if test "${enable_mendexk+set}" = set; then : - enableval=$enable_mendexk; +## texk/bibtexu/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/bibtexu/ +## configure options and TL libraries required for bibtexu +# Check whether --enable-bibtexu was given. +if test "${enable_bibtexu+set}" = set; then : + enableval=$enable_bibtexu; fi -case $enable_mendexk in #( +case $enable_bibtexu in #( yes|no) : ;; #( *) : - enable_mendexk=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-mendexk=$enable_mendexk'" >&5 -$as_echo "$as_me: Assuming \`--enable-mendexk=$enable_mendexk'" >&6;} - ac_configure_args="$ac_configure_args '--enable-mendexk=$enable_mendexk'" + enable_bibtexu=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-bibtexu=$enable_bibtexu'" >&5 +$as_echo "$as_me: Assuming \`--enable-bibtexu=$enable_bibtexu'" >&6;} + ac_configure_args="$ac_configure_args '--enable-bibtexu=$enable_bibtexu'" ;; esac -test "x$enable_mendexk" = xno || { - need_ptexenc=yes +test "x$enable_bibtexu" = xno || { + need_kpathsea=yes + need_icu=yes } -## texk/musixflx/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/musixflx/ -## configure options and TL libraries required for musixflx -# Check whether --enable-musixflx was given. -if test "${enable_musixflx+set}" = set; then : - enableval=$enable_musixflx; +## texk/cjkutils/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/cjkutils/ +## configure options and TL libraries required for cjkutils +# Check whether --enable-cjkutils was given. +if test "${enable_cjkutils+set}" = set; then : + enableval=$enable_cjkutils; fi -case $enable_musixflx in #( +case $enable_cjkutils in #( yes|no) : ;; #( *) : - enable_musixflx=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-musixflx=$enable_musixflx'" >&5 -$as_echo "$as_me: Assuming \`--enable-musixflx=$enable_musixflx'" >&6;} - ac_configure_args="$ac_configure_args '--enable-musixflx=$enable_musixflx'" + enable_cjkutils=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-cjkutils=$enable_cjkutils'" >&5 +$as_echo "$as_me: Assuming \`--enable-cjkutils=$enable_cjkutils'" >&6;} + ac_configure_args="$ac_configure_args '--enable-cjkutils=$enable_cjkutils'" ;; esac +test "x$enable_cjkutils" = xno || { + need_kpathsea=yes +} -## texk/ps2pkm/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/ps2pkm/ -## configure options and TL libraries required for ps2pkm -# Check whether --enable-ps2pkm was given. -if test "${enable_ps2pkm+set}" = set; then : - enableval=$enable_ps2pkm; + +## texk/detex/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/detex/ +## configure options and TL libraries required for detex +# Check whether --enable-detex was given. +if test "${enable_detex+set}" = set; then : + enableval=$enable_detex; fi -case $enable_ps2pkm in #( +case $enable_detex in #( yes|no) : ;; #( *) : - enable_ps2pkm=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-ps2pkm=$enable_ps2pkm'" >&5 -$as_echo "$as_me: Assuming \`--enable-ps2pkm=$enable_ps2pkm'" >&6;} - ac_configure_args="$ac_configure_args '--enable-ps2pkm=$enable_ps2pkm'" + enable_detex=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-detex=$enable_detex'" >&5 +$as_echo "$as_me: Assuming \`--enable-detex=$enable_detex'" >&6;} + ac_configure_args="$ac_configure_args '--enable-detex=$enable_detex'" ;; esac -test "x$enable_ps2pkm" = xno || { +test "x$enable_detex" = xno || { need_kpathsea=yes } -## texk/seetexk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/seetexk/ -## configure options and TL libraries required for seetexk -# Check whether --enable-seetexk was given. -if test "${enable_seetexk+set}" = set; then : - enableval=$enable_seetexk; +## texk/devnag/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/devnag/ +## configure options and TL libraries required for devnag +# Check whether --enable-devnag was given. +if test "${enable_devnag+set}" = set; then : + enableval=$enable_devnag; fi -case $enable_seetexk in #( +case $enable_devnag in #( yes|no) : ;; #( *) : - enable_seetexk=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-seetexk=$enable_seetexk'" >&5 -$as_echo "$as_me: Assuming \`--enable-seetexk=$enable_seetexk'" >&6;} - ac_configure_args="$ac_configure_args '--enable-seetexk=$enable_seetexk'" + enable_devnag=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-devnag=$enable_devnag'" >&5 +$as_echo "$as_me: Assuming \`--enable-devnag=$enable_devnag'" >&6;} + ac_configure_args="$ac_configure_args '--enable-devnag=$enable_devnag'" ;; esac -test "x$enable_seetexk" = xno || { - need_kpathsea=yes -} - -## texk/tex4htk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/tex4htk/ -## configure options and TL libraries required for tex4htk -# Check whether --enable-tex4htk was given. -if test "${enable_tex4htk+set}" = set; then : - enableval=$enable_tex4htk; +## texk/dtl/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dtl/ +## configure options and TL libraries required for dtl +# Check whether --enable-dtl was given. +if test "${enable_dtl+set}" = set; then : + enableval=$enable_dtl; fi -case $enable_tex4htk in #( +case $enable_dtl in #( yes|no) : ;; #( *) : - enable_tex4htk=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-tex4htk=$enable_tex4htk'" >&5 -$as_echo "$as_me: Assuming \`--enable-tex4htk=$enable_tex4htk'" >&6;} - ac_configure_args="$ac_configure_args '--enable-tex4htk=$enable_tex4htk'" + enable_dtl=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dtl=$enable_dtl'" >&5 +$as_echo "$as_me: Assuming \`--enable-dtl=$enable_dtl'" >&6;} + ac_configure_args="$ac_configure_args '--enable-dtl=$enable_dtl'" ;; esac -test "x$enable_tex4htk" = xno || { +test "x$enable_dtl" = xno || { need_kpathsea=yes } -## texk/ttf2pk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/ttf2pk/ -## configure options and TL libraries required for ttf2pk -# Check whether --enable-ttf2pk was given. -if test "${enable_ttf2pk+set}" = set; then : - enableval=$enable_ttf2pk; +## texk/dvi2tty/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dvi2tty/ +## configure options and TL libraries required for dvi2tty +# Check whether --enable-dvi2tty was given. +if test "${enable_dvi2tty+set}" = set; then : + enableval=$enable_dvi2tty; fi -case $enable_ttf2pk in #( +case $enable_dvi2tty in #( yes|no) : ;; #( *) : - enable_ttf2pk=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-ttf2pk=$enable_ttf2pk'" >&5 -$as_echo "$as_me: Assuming \`--enable-ttf2pk=$enable_ttf2pk'" >&6;} - ac_configure_args="$ac_configure_args '--enable-ttf2pk=$enable_ttf2pk'" + enable_dvi2tty=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dvi2tty=$enable_dvi2tty'" >&5 +$as_echo "$as_me: Assuming \`--enable-dvi2tty=$enable_dvi2tty'" >&6;} + ac_configure_args="$ac_configure_args '--enable-dvi2tty=$enable_dvi2tty'" ;; esac -test "x$enable_ttf2pk" = xno || { +test "x$enable_dvi2tty" = xno || { need_kpathsea=yes - need_freetype=yes } -## texk/ttfdump/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/ttfdump/ -## configure options and TL libraries required for ttfdump -# Check whether --enable-ttfdump was given. -if test "${enable_ttfdump+set}" = set; then : - enableval=$enable_ttfdump; +## texk/dvidvi/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dvidvi/ +## configure options and TL libraries required for dvidvi +# Check whether --enable-dvidvi was given. +if test "${enable_dvidvi+set}" = set; then : + enableval=$enable_dvidvi; fi -case $enable_ttfdump in #( +case $enable_dvidvi in #( yes|no) : ;; #( *) : - enable_ttfdump=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-ttfdump=$enable_ttfdump'" >&5 -$as_echo "$as_me: Assuming \`--enable-ttfdump=$enable_ttfdump'" >&6;} - ac_configure_args="$ac_configure_args '--enable-ttfdump=$enable_ttfdump'" + enable_dvidvi=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dvidvi=$enable_dvidvi'" >&5 +$as_echo "$as_me: Assuming \`--enable-dvidvi=$enable_dvidvi'" >&6;} + ac_configure_args="$ac_configure_args '--enable-dvidvi=$enable_dvidvi'" ;; esac +test "x$enable_dvidvi" = xno || { + need_kpathsea=yes +} -## texk/xdv2pdf/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/xdv2pdf/ -## configure options and TL libraries required for xdv2pdf -# Check whether --enable-xdv2pdf was given. -if test "${enable_xdv2pdf+set}" = set; then : - enableval=$enable_xdv2pdf; + +## texk/dviljk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dviljk/ +## configure options and TL libraries required for dviljk +# Check whether --enable-dviljk was given. +if test "${enable_dviljk+set}" = set; then : + enableval=$enable_dviljk; fi -case $enable_xdv2pdf in #( +case $enable_dviljk in #( yes|no) : ;; #( *) : - enable_xdv2pdf=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-xdv2pdf=$enable_xdv2pdf'" >&5 -$as_echo "$as_me: Assuming \`--enable-xdv2pdf=$enable_xdv2pdf'" >&6;} - ac_configure_args="$ac_configure_args '--enable-xdv2pdf=$enable_xdv2pdf'" + enable_dviljk=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dviljk=$enable_dviljk'" >&5 +$as_echo "$as_me: Assuming \`--enable-dviljk=$enable_dviljk'" >&6;} + ac_configure_args="$ac_configure_args '--enable-dviljk=$enable_dviljk'" ;; esac -test "x$enable_xdv2pdf" = xno || { +test "x$enable_dviljk" = xno || { need_kpathsea=yes } -## texk/xdvik/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/xdvik/ -## configure options and TL libraries required for xdvik -if test "x$with_x" = xno; then : - case $enable_xdvik in #( - "") : - { $as_echo "$as_me:${as_lineno-$LINENO}: \`--without-x' -> \`--disable-xdvik'" >&5 -$as_echo "$as_me: \`--without-x' -> \`--disable-xdvik'" >&6;} - enable_xdvik=no - ac_configure_args="$ac_configure_args '--disable-xdvik'" ;; #( - yes) : - as_fn_error "Sorry, incompatible options \`--without-x' and \`--enable-xdvik'" "$LINENO" 5 ;; #( +## texk/dvipdfmx/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dvipdfmx/ +## configure options and TL libraries required for dvipdfmx +# Check whether --enable-dvipdfmx was given. +if test "${enable_dvipdfmx+set}" = set; then : + enableval=$enable_dvipdfmx; +fi +case $enable_dvipdfmx in #( + yes|no) : + ;; #( *) : - ;; + + enable_dvipdfmx=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dvipdfmx=$enable_dvipdfmx'" >&5 +$as_echo "$as_me: Assuming \`--enable-dvipdfmx=$enable_dvipdfmx'" >&6;} + ac_configure_args="$ac_configure_args '--enable-dvipdfmx=$enable_dvipdfmx'" + ;; esac + +test "x$enable_dvipdfmx" = xno || { + need_kpathsea=yes + need_libpng=yes +} + + +## texk/dvipng/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dvipng/ +## configure options and TL libraries required for dvipng +# Check whether --enable-dvipng was given. +if test "${enable_dvipng+set}" = set; then : + enableval=$enable_dvipng; fi -# Check whether --enable-xdvik was given. -if test "${enable_xdvik+set}" = set; then : - enableval=$enable_xdvik; -fi -case $enable_xdvik in #( +case $enable_dvipng in #( yes|no) : ;; #( *) : - enable_xdvik=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-xdvik=$enable_xdvik'" >&5 -$as_echo "$as_me: Assuming \`--enable-xdvik=$enable_xdvik'" >&6;} - ac_configure_args="$ac_configure_args '--enable-xdvik=$enable_xdvik'" + enable_dvipng=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dvipng=$enable_dvipng'" >&5 +$as_echo "$as_me: Assuming \`--enable-dvipng=$enable_dvipng'" >&6;} + ac_configure_args="$ac_configure_args '--enable-dvipng=$enable_dvipng'" ;; esac -test "x$enable_xdvik" = xno || { +test "x$enable_dvipng" = xno || { need_kpathsea=yes + need_freetype2=yes + need_gd=yes need_t1lib=yes } -## texk/xdvik/ac/xdvik.ac: configure.ac fragment for the TeX Live subdirectory texk/xdvik/ -## configure options for xdvik +## texk/dvipng/ac/dvipng.ac: configure.ac fragment for the TeX Live subdirectory texk/dvipng/ +## configure options for dvipng +# Check whether --enable-debug was given. +if test "${enable_debug+set}" = set; then : + enableval=$enable_debug; +fi -# Check whether --with-xdvi-x-toolkit was given. -if test "${with_xdvi_x_toolkit+set}" = set; then : - withval=$with_xdvi_x_toolkit; +# Check whether --enable-timing was given. +if test "${enable_timing+set}" = set; then : + enableval=$enable_timing; +fi + + +# Check whether --with-gs was given. +if test "${with_gs+set}" = set; then : + withval=$with_gs; fi -## texk/xdvipdfmx/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/xdvipdfmx/ -## configure options and TL libraries required for xdvipdfmx -# Check whether --enable-xdvipdfmx was given. -if test "${enable_xdvipdfmx+set}" = set; then : - enableval=$enable_xdvipdfmx; +## texk/dvipos/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dvipos/ +## configure options and TL libraries required for dvipos +# Check whether --enable-dvipos was given. +if test "${enable_dvipos+set}" = set; then : + enableval=$enable_dvipos; fi -case $enable_xdvipdfmx in #( +case $enable_dvipos in #( yes|no) : ;; #( *) : - enable_xdvipdfmx=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-xdvipdfmx=$enable_xdvipdfmx'" >&5 -$as_echo "$as_me: Assuming \`--enable-xdvipdfmx=$enable_xdvipdfmx'" >&6;} - ac_configure_args="$ac_configure_args '--enable-xdvipdfmx=$enable_xdvipdfmx'" + enable_dvipos=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dvipos=$enable_dvipos'" >&5 +$as_echo "$as_me: Assuming \`--enable-dvipos=$enable_dvipos'" >&6;} + ac_configure_args="$ac_configure_args '--enable-dvipos=$enable_dvipos'" ;; esac -test "x$enable_xdvipdfmx" = xno || { +test "x$enable_dvipos" = xno || { need_kpathsea=yes - need_freetype2=yes - need_libpng=yes } -## texk/tetex/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/tetex/ -## configure options and TL libraries required for tetex -# Check whether --enable-tetex was given. -if test "${enable_tetex+set}" = set; then : - enableval=$enable_tetex; +## texk/dvipsk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dvipsk/ +## configure options and TL libraries required for dvipsk +# Check whether --enable-dvipsk was given. +if test "${enable_dvipsk+set}" = set; then : + enableval=$enable_dvipsk; fi -case $enable_tetex in #( +case $enable_dvipsk in #( yes|no) : ;; #( *) : - enable_tetex=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-tetex=$enable_tetex'" >&5 -$as_echo "$as_me: Assuming \`--enable-tetex=$enable_tetex'" >&6;} - ac_configure_args="$ac_configure_args '--enable-tetex=$enable_tetex'" + enable_dvipsk=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dvipsk=$enable_dvipsk'" >&5 +$as_echo "$as_me: Assuming \`--enable-dvipsk=$enable_dvipsk'" >&6;} + ac_configure_args="$ac_configure_args '--enable-dvipsk=$enable_dvipsk'" ;; esac +test "x$enable_dvipsk" = xno || { + need_kpathsea=yes +} + -## texk/texlive/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/texlive/ -## configure options and TL libraries required for texlive -# Check whether --enable-texlive was given. -if test "${enable_texlive+set}" = set; then : - enableval=$enable_texlive; +## texk/dvisvgm/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dvisvgm/ +## configure options and TL libraries required for dvisvgm +# Check whether --enable-dvisvgm was given. +if test "${enable_dvisvgm+set}" = set; then : + enableval=$enable_dvisvgm; fi -case $enable_texlive in #( +case $enable_dvisvgm in #( yes|no) : ;; #( *) : - enable_texlive=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-texlive=$enable_texlive'" >&5 -$as_echo "$as_me: Assuming \`--enable-texlive=$enable_texlive'" >&6;} - ac_configure_args="$ac_configure_args '--enable-texlive=$enable_texlive'" + enable_dvisvgm=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dvisvgm=$enable_dvisvgm'" >&5 +$as_echo "$as_me: Assuming \`--enable-dvisvgm=$enable_dvisvgm'" >&6;} + ac_configure_args="$ac_configure_args '--enable-dvisvgm=$enable_dvisvgm'" ;; esac +test "x$enable_dvisvgm" = xno || { + need_kpathsea=yes + need_freetype2=yes + need_zlib=yes +} +## texk/dvisvgm/ac/dvisvgm.ac: configure.ac fragment for the TeX Live subdirectory texk/dvisvgm/ +## configure options for dvisvgm -## libs/icu/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/icu/ -## configure options and TL libraries required for icu (modified for XeTeX) - -# Check whether --with-system-icu was given. -if test "${with_system_icu+set}" = set; then : - withval=$with_system_icu; -fi -if test "x$with_system_icu" = x; then - if test -f $srcdir/libs/icu/configure; then - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`icu' headers and library from TL tree" >&5 -$as_echo "$as_me: Assuming \`icu' headers and library from TL tree" >&6;} - with_system_icu=no - else - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`icu' headers and library" >&5 -$as_echo "$as_me: Assuming installed \`icu' headers and library" >&6;} - with_system_icu=yes - fi - ac_configure_args="$ac_configure_args '--with-system-icu=$with_system_icu'" -elif test "x$with_system_icu" = xyes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`icu' headers and library" >&5 -$as_echo "$as_me: Using installed \`icu' headers and library" >&6;} -else - { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`icu' headers and library from TL tree" >&5 -$as_echo "$as_me: Using \`icu' headers and library from TL tree" >&6;} - if test "x$with_system_icu" != xno; then - with_system_icu=no - ac_configure_args="$ac_configure_args '--without-system-icu'" - fi +# Check whether --with-system-libgs was given. +if test "${with_system_libgs+set}" = set; then : + withval=$with_system_libgs; fi -## libs/teckit/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/teckit/ -## configure options and TL libraries required for teckit - -# Check whether --with-system-teckit was given. -if test "${with_system_teckit+set}" = set; then : - withval=$with_system_teckit; +# Check whether --with-libgs-includes was given. +if test "${with_libgs_includes+set}" = set; then : + withval=$with_libgs_includes; fi -# Check whether --with-teckit-includes was given. -if test "${with_teckit_includes+set}" = set; then : - withval=$with_teckit_includes; -fi -# Check whether --with-teckit-libdir was given. -if test "${with_teckit_libdir+set}" = set; then : - withval=$with_teckit_libdir; -fi -if test "x$with_system_teckit" = x; then - if test -f $srcdir/libs/teckit/configure; then - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`teckit' headers and library from TL tree" >&5 -$as_echo "$as_me: Assuming \`teckit' headers and library from TL tree" >&6;} - with_system_teckit=no - else - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`teckit' headers and library" >&5 -$as_echo "$as_me: Assuming installed \`teckit' headers and library" >&6;} - with_system_teckit=yes - fi - ac_configure_args="$ac_configure_args '--with-system-teckit=$with_system_teckit'" -elif test "x$with_system_teckit" = xyes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`teckit' headers and library" >&5 -$as_echo "$as_me: Using installed \`teckit' headers and library" >&6;} -else - { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`teckit' headers and library from TL tree" >&5 -$as_echo "$as_me: Using \`teckit' headers and library from TL tree" >&6;} - if test "x$with_system_teckit" != xno; then - with_system_teckit=no - ac_configure_args="$ac_configure_args '--without-system-teckit'" - fi -fi -if test "x$with_system_teckit" = xyes; then - if test "x$with_system_zlib" = x; then - { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`zlib' headers and library" >&5 -$as_echo "$as_me: -> installed \`zlib' headers and library" >&6;} - with_system_zlib=yes - ac_configure_args="$ac_configure_args '--with-system-zlib'" - elif test "x$with_system_zlib" != xyes; then - as_fn_error "Sorry, \`--with-system-teckit' requires \`--with-system-zlib'" "$LINENO" 5 - fi +# Check whether --with-libgs-libdir was given. +if test "${with_libgs_libdir+set}" = set; then : + withval=$with_libgs_libdir; fi -test "x$need_teckit" = xyes && { - need_zlib=yes -} - - -## libs/graphite/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/graphite/ -## XeTeX can be built without graphite support -# Check whether --with-graphite was given. -if test "${with_graphite+set}" = set; then : - withval=$with_graphite; +## texk/dvisvgm/ac/libgs.ac: configure.ac fragment for the TeX Live subdirectory texk/dvisvgm/ +## configure checks for dvisvgm and libgs +if test "x$enable_native_texlive_build:$with_system_libgs" = xyes:yes; then + as_fn_error "you can not use system libraries for a native TeX Live build" "$LINENO" 5 fi -test "x$with_graphite" = xno && need_graphite=no -## configure options and TL libraries required for graphite -# Check whether --with-system-graphite was given. -if test "${with_system_graphite+set}" = set; then : - withval=$with_system_graphite; -fi -if test "x$with_system_graphite" = x; then - if test -f $srcdir/libs/graphite/configure; then - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`graphite' headers and library from TL tree" >&5 -$as_echo "$as_me: Assuming \`graphite' headers and library from TL tree" >&6;} - with_system_graphite=no - else - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`graphite' headers and library" >&5 -$as_echo "$as_me: Assuming installed \`graphite' headers and library" >&6;} - with_system_graphite=yes - fi - ac_configure_args="$ac_configure_args '--with-system-graphite=$with_system_graphite'" -elif test "x$with_system_graphite" = xyes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`graphite' headers and library" >&5 -$as_echo "$as_me: Using installed \`graphite' headers and library" >&6;} -else - { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`graphite' headers and library from TL tree" >&5 -$as_echo "$as_me: Using \`graphite' headers and library from TL tree" >&6;} - if test "x$with_system_graphite" != xno; then - with_system_graphite=no - ac_configure_args="$ac_configure_args '--without-system-graphite'" - fi +## texk/gsftopk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/gsftopk/ +## configure options and TL libraries required for gsftopk +# Check whether --enable-gsftopk was given. +if test "${enable_gsftopk+set}" = set; then : + enableval=$enable_gsftopk; fi +case $enable_gsftopk in #( + yes|no) : + ;; #( + *) : + enable_gsftopk=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-gsftopk=$enable_gsftopk'" >&5 +$as_echo "$as_me: Assuming \`--enable-gsftopk=$enable_gsftopk'" >&6;} + ac_configure_args="$ac_configure_args '--enable-gsftopk=$enable_gsftopk'" + ;; +esac -## libs/zziplib/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/zziplib/ -## configure options and TL libraries required for zziplib +test "x$enable_gsftopk" = xno || { + need_kpathsea=yes +} -# Check whether --with-system-zziplib was given. -if test "${with_system_zziplib+set}" = set; then : - withval=$with_system_zziplib; -fi -if test "x$with_system_zziplib" = x; then - if test -f $srcdir/libs/zziplib/configure; then - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`zziplib' headers and library from TL tree" >&5 -$as_echo "$as_me: Assuming \`zziplib' headers and library from TL tree" >&6;} - with_system_zziplib=no - else - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`zziplib' headers and library" >&5 -$as_echo "$as_me: Assuming installed \`zziplib' headers and library" >&6;} - with_system_zziplib=yes - fi - ac_configure_args="$ac_configure_args '--with-system-zziplib=$with_system_zziplib'" -elif test "x$with_system_zziplib" = xyes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`zziplib' headers and library" >&5 -$as_echo "$as_me: Using installed \`zziplib' headers and library" >&6;} -else - { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`zziplib' headers and library from TL tree" >&5 -$as_echo "$as_me: Using \`zziplib' headers and library from TL tree" >&6;} - if test "x$with_system_zziplib" != xno; then - with_system_zziplib=no - ac_configure_args="$ac_configure_args '--without-system-zziplib'" - fi -fi -if test "x$with_system_zziplib" = xyes; then - if test "x$with_system_zlib" = x; then - { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`zlib' headers and library" >&5 -$as_echo "$as_me: -> installed \`zlib' headers and library" >&6;} - with_system_zlib=yes - ac_configure_args="$ac_configure_args '--with-system-zlib'" - elif test "x$with_system_zlib" != xyes; then - as_fn_error "Sorry, \`--with-system-zziplib' requires \`--with-system-zlib'" "$LINENO" 5 - fi -fi -test "x$need_zziplib" = xyes && { - need_zlib=yes -} +## texk/lacheck/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/lacheck/ +## configure options and TL libraries required for lacheck +# Check whether --enable-lacheck was given. +if test "${enable_lacheck+set}" = set; then : + enableval=$enable_lacheck; +fi +case $enable_lacheck in #( + yes|no) : + ;; #( + *) : + enable_lacheck=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-lacheck=$enable_lacheck'" >&5 +$as_echo "$as_me: Assuming \`--enable-lacheck=$enable_lacheck'" >&6;} + ac_configure_args="$ac_configure_args '--enable-lacheck=$enable_lacheck'" + ;; +esac -## libs/xpdf/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/xpdf/ -## configure options and TL libraries required for xpdf -# Check whether --with-system-xpdf was given. -if test "${with_system_xpdf+set}" = set; then : - withval=$with_system_xpdf; -fi -if test "x$with_system_xpdf" = x; then - if test -f $srcdir/libs/xpdf/configure; then - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`xpdf' headers and library from TL tree" >&5 -$as_echo "$as_me: Assuming \`xpdf' headers and library from TL tree" >&6;} - with_system_xpdf=no - else - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`xpdf' headers and library" >&5 -$as_echo "$as_me: Assuming installed \`xpdf' headers and library" >&6;} - with_system_xpdf=yes - fi - ac_configure_args="$ac_configure_args '--with-system-xpdf=$with_system_xpdf'" -elif test "x$with_system_xpdf" = xyes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`xpdf' headers and library" >&5 -$as_echo "$as_me: Using installed \`xpdf' headers and library" >&6;} -else - { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`xpdf' headers and library from TL tree" >&5 -$as_echo "$as_me: Using \`xpdf' headers and library from TL tree" >&6;} - if test "x$with_system_xpdf" != xno; then - with_system_xpdf=no - ac_configure_args="$ac_configure_args '--without-system-xpdf'" - fi +## texk/lcdf-typetools/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/lcdf-typetools/ +## configure options and TL libraries required for lcdf-typetools +# Check whether --enable-lcdf-typetools was given. +if test "${enable_lcdf_typetools+set}" = set; then : + enableval=$enable_lcdf_typetools; fi +case $enable_lcdf_typetools in #( + yes|no) : + ;; #( + *) : + enable_lcdf_typetools=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-lcdf-typetools=$enable_lcdf_typetools'" >&5 +$as_echo "$as_me: Assuming \`--enable-lcdf-typetools=$enable_lcdf_typetools'" >&6;} + ac_configure_args="$ac_configure_args '--enable-lcdf-typetools=$enable_lcdf_typetools'" + ;; +esac -## libs/gd/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/gd/ -## configure options and TL libraries required for gd +test "x$enable_lcdf_typetools" = xno || { + need_kpathsea=yes +} -# Check whether --with-system-gd was given. -if test "${with_system_gd+set}" = set; then : - withval=$with_system_gd; +## Define configure options for lcdf-typetools. Extracted from configure.ac +## for ease of building TeX Live. +# Check whether --enable-cfftot1 was given. +if test "${enable_cfftot1+set}" = set; then : + enableval=$enable_cfftot1; fi - -# Check whether --with-gd-includes was given. -if test "${with_gd_includes+set}" = set; then : - withval=$with_gd_includes; +# Check whether --enable-mmafm was given. +if test "${enable_mmafm+set}" = set; then : + enableval=$enable_mmafm; fi - -# Check whether --with-gd-libdir was given. -if test "${with_gd_libdir+set}" = set; then : - withval=$with_gd_libdir; +# Check whether --enable-mmpfb was given. +if test "${enable_mmpfb+set}" = set; then : + enableval=$enable_mmpfb; fi -if test "x$with_system_gd" = x; then - if test -f $srcdir/libs/gd/configure; then - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`gd' headers and library from TL tree" >&5 -$as_echo "$as_me: Assuming \`gd' headers and library from TL tree" >&6;} - with_system_gd=no - else - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`gd' headers and library" >&5 -$as_echo "$as_me: Assuming installed \`gd' headers and library" >&6;} - with_system_gd=yes - fi - ac_configure_args="$ac_configure_args '--with-system-gd=$with_system_gd'" -elif test "x$with_system_gd" = xyes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`gd' headers and library" >&5 -$as_echo "$as_me: Using installed \`gd' headers and library" >&6;} -else - { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`gd' headers and library from TL tree" >&5 -$as_echo "$as_me: Using \`gd' headers and library from TL tree" >&6;} - if test "x$with_system_gd" != xno; then - with_system_gd=no - ac_configure_args="$ac_configure_args '--without-system-gd'" - fi +# Check whether --enable-otfinfo was given. +if test "${enable_otfinfo+set}" = set; then : + enableval=$enable_otfinfo; fi -if test "x$with_system_gd" = xyes; then - if test "x$with_system_libpng" = x; then - { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`libpng' headers and library" >&5 -$as_echo "$as_me: -> installed \`libpng' headers and library" >&6;} - with_system_libpng=yes - ac_configure_args="$ac_configure_args '--with-system-libpng'" - elif test "x$with_system_libpng" != xyes; then - as_fn_error "Sorry, \`--with-system-gd' requires \`--with-system-libpng'" "$LINENO" 5 - fi - if test "x$with_system_freetype2" = x; then - { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`freetype2' headers and library" >&5 -$as_echo "$as_me: -> installed \`freetype2' headers and library" >&6;} - with_system_freetype2=yes - ac_configure_args="$ac_configure_args '--with-system-freetype2'" - elif test "x$with_system_freetype2" != xyes; then - as_fn_error "Sorry, \`--with-system-gd' requires \`--with-system-freetype2'" "$LINENO" 5 - fi +# Check whether --enable-otftotfm was given. +if test "${enable_otftotfm+set}" = set; then : + enableval=$enable_otftotfm; +fi +# Check whether --enable-t1dotlessj was given. +if test "${enable_t1dotlessj+set}" = set; then : + enableval=$enable_t1dotlessj; +fi +# Check whether --enable-t1lint was given. +if test "${enable_t1lint+set}" = set; then : + enableval=$enable_t1lint; +fi +# Check whether --enable-t1rawafm was given. +if test "${enable_t1rawafm+set}" = set; then : + enableval=$enable_t1rawafm; +fi +# Check whether --enable-t1reencode was given. +if test "${enable_t1reencode+set}" = set; then : + enableval=$enable_t1reencode; +fi +# Check whether --enable-t1testpage was given. +if test "${enable_t1testpage+set}" = set; then : + enableval=$enable_t1testpage; +fi +# Check whether --enable-ttftotype42 was given. +if test "${enable_ttftotype42+set}" = set; then : + enableval=$enable_ttftotype42; fi -test "x$need_gd" = xyes && { - need_libpng=yes - need_freetype2=yes -} +# Check whether --enable-cfftot1 was given. +if test "${enable_cfftot1+set}" = set; then : + enableval=$enable_cfftot1; +fi +# Check whether --enable-t1dotlessj was given. +if test "${enable_t1dotlessj+set}" = set; then : + enableval=$enable_t1dotlessj; +fi +# Check whether --enable-ttftotype42 was given. +if test "${enable_ttftotype42+set}" = set; then : + enableval=$enable_ttftotype42; +fi +# Check whether --enable-updmap was given. +if test "${enable_updmap+set}" = set; then : + enableval=$enable_updmap; +fi -## libs/freetype2/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/freetype2/ -## configure options and TL libraries required for freetype2 -# Check whether --with-system-freetype2 was given. -if test "${with_system_freetype2+set}" = set; then : - withval=$with_system_freetype2; -fi -if test "x$with_system_freetype2" = x; then - if test -f $srcdir/libs/freetype2/configure; then - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`freetype2' headers and library from TL tree" >&5 -$as_echo "$as_me: Assuming \`freetype2' headers and library from TL tree" >&6;} - with_system_freetype2=no - else - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`freetype2' headers and library" >&5 -$as_echo "$as_me: Assuming installed \`freetype2' headers and library" >&6;} - with_system_freetype2=yes - fi - ac_configure_args="$ac_configure_args '--with-system-freetype2=$with_system_freetype2'" -elif test "x$with_system_freetype2" = xyes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`freetype2' headers and library" >&5 -$as_echo "$as_me: Using installed \`freetype2' headers and library" >&6;} -else - { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`freetype2' headers and library from TL tree" >&5 -$as_echo "$as_me: Using \`freetype2' headers and library from TL tree" >&6;} - if test "x$with_system_freetype2" != xno; then - with_system_freetype2=no - ac_configure_args="$ac_configure_args '--without-system-freetype2'" - fi -fi -if test "x$with_system_freetype2" = xyes; then - if test "x$with_system_zlib" = x; then - { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`zlib' headers and library" >&5 -$as_echo "$as_me: -> installed \`zlib' headers and library" >&6;} - with_system_zlib=yes - ac_configure_args="$ac_configure_args '--with-system-zlib'" - elif test "x$with_system_zlib" != xyes; then - as_fn_error "Sorry, \`--with-system-freetype2' requires \`--with-system-zlib'" "$LINENO" 5 - fi +## texk/makeindexk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/makeindexk/ +## configure options and TL libraries required for makeindexk +# Check whether --enable-makeindexk was given. +if test "${enable_makeindexk+set}" = set; then : + enableval=$enable_makeindexk; fi +case $enable_makeindexk in #( + yes|no) : + ;; #( + *) : -test "x$need_freetype2" = xyes && { - need_zlib=yes -} - - -## libs/freetype/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/freetype/ -## configure options and TL libraries required for freetype + enable_makeindexk=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-makeindexk=$enable_makeindexk'" >&5 +$as_echo "$as_me: Assuming \`--enable-makeindexk=$enable_makeindexk'" >&6;} + ac_configure_args="$ac_configure_args '--enable-makeindexk=$enable_makeindexk'" + ;; +esac -# Check whether --with-system-freetype was given. -if test "${with_system_freetype+set}" = set; then : - withval=$with_system_freetype; -fi +test "x$enable_makeindexk" = xno || { + need_kpathsea=yes +} -# Check whether --with-freetype-includes was given. -if test "${with_freetype_includes+set}" = set; then : - withval=$with_freetype_includes; -fi -# Check whether --with-freetype-libdir was given. -if test "${with_freetype_libdir+set}" = set; then : - withval=$with_freetype_libdir; -fi -if test "x$with_system_freetype" = x; then - if test -f $srcdir/libs/freetype/configure; then - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`freetype' headers and library from TL tree" >&5 -$as_echo "$as_me: Assuming \`freetype' headers and library from TL tree" >&6;} - with_system_freetype=no - else - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`freetype' headers and library" >&5 -$as_echo "$as_me: Assuming installed \`freetype' headers and library" >&6;} - with_system_freetype=yes - fi - ac_configure_args="$ac_configure_args '--with-system-freetype=$with_system_freetype'" -elif test "x$with_system_freetype" = xyes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`freetype' headers and library" >&5 -$as_echo "$as_me: Using installed \`freetype' headers and library" >&6;} -else - { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`freetype' headers and library from TL tree" >&5 -$as_echo "$as_me: Using \`freetype' headers and library from TL tree" >&6;} - if test "x$with_system_freetype" != xno; then - with_system_freetype=no - ac_configure_args="$ac_configure_args '--without-system-freetype'" - fi +## texk/makejvf/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/makejvf/ +## configure options and TL libraries required for makejvf +# Check whether --enable-makejvf was given. +if test "${enable_makejvf+set}" = set; then : + enableval=$enable_makejvf; fi +case $enable_makejvf in #( + yes|no) : + ;; #( + *) : + enable_makejvf=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-makejvf=$enable_makejvf'" >&5 +$as_echo "$as_me: Assuming \`--enable-makejvf=$enable_makejvf'" >&6;} + ac_configure_args="$ac_configure_args '--enable-makejvf=$enable_makejvf'" + ;; +esac -## libs/t1lib/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/t1lib/ -## configure options and TL libraries required for t1lib +test "x$enable_makejvf" = xno || { + need_ptexenc=yes +} -# Check whether --with-system-t1lib was given. -if test "${with_system_t1lib+set}" = set; then : - withval=$with_system_t1lib; -fi -# Check whether --with-t1lib-includes was given. -if test "${with_t1lib_includes+set}" = set; then : - withval=$with_t1lib_includes; +## texk/mendexk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/mendexk/ +## configure options and TL libraries required for mendexk +# Check whether --enable-mendexk was given. +if test "${enable_mendexk+set}" = set; then : + enableval=$enable_mendexk; fi +case $enable_mendexk in #( + yes|no) : + ;; #( + *) : -# Check whether --with-t1lib-libdir was given. -if test "${with_t1lib_libdir+set}" = set; then : - withval=$with_t1lib_libdir; -fi -if test "x$with_system_t1lib" = x; then - if test -f $srcdir/libs/t1lib/configure; then - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`t1lib' headers and library from TL tree" >&5 -$as_echo "$as_me: Assuming \`t1lib' headers and library from TL tree" >&6;} - with_system_t1lib=no - else - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`t1lib' headers and library" >&5 -$as_echo "$as_me: Assuming installed \`t1lib' headers and library" >&6;} - with_system_t1lib=yes - fi - ac_configure_args="$ac_configure_args '--with-system-t1lib=$with_system_t1lib'" -elif test "x$with_system_t1lib" = xyes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`t1lib' headers and library" >&5 -$as_echo "$as_me: Using installed \`t1lib' headers and library" >&6;} -else - { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`t1lib' headers and library from TL tree" >&5 -$as_echo "$as_me: Using \`t1lib' headers and library from TL tree" >&6;} - if test "x$with_system_t1lib" != xno; then - with_system_t1lib=no - ac_configure_args="$ac_configure_args '--without-system-t1lib'" - fi -fi + enable_mendexk=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-mendexk=$enable_mendexk'" >&5 +$as_echo "$as_me: Assuming \`--enable-mendexk=$enable_mendexk'" >&6;} + ac_configure_args="$ac_configure_args '--enable-mendexk=$enable_mendexk'" + ;; +esac +test "x$enable_mendexk" = xno || { + need_ptexenc=yes +} -## libs/obsdcompat/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/obsdcompat/ -## configure options and TL libraries required for obsdcompat +## texk/musixflx/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/musixflx/ +## configure options and TL libraries required for musixflx +# Check whether --enable-musixflx was given. +if test "${enable_musixflx+set}" = set; then : + enableval=$enable_musixflx; +fi +case $enable_musixflx in #( + yes|no) : + ;; #( + *) : -## libs/libpng/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/libpng/ -## configure options and TL libraries required for libpng + enable_musixflx=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-musixflx=$enable_musixflx'" >&5 +$as_echo "$as_me: Assuming \`--enable-musixflx=$enable_musixflx'" >&6;} + ac_configure_args="$ac_configure_args '--enable-musixflx=$enable_musixflx'" + ;; +esac -# Check whether --with-system-libpng was given. -if test "${with_system_libpng+set}" = set; then : - withval=$with_system_libpng; -fi -# Check whether --with-libpng-includes was given. -if test "${with_libpng_includes+set}" = set; then : - withval=$with_libpng_includes; +## texk/ps2pkm/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/ps2pkm/ +## configure options and TL libraries required for ps2pkm +# Check whether --enable-ps2pkm was given. +if test "${enable_ps2pkm+set}" = set; then : + enableval=$enable_ps2pkm; fi +case $enable_ps2pkm in #( + yes|no) : + ;; #( + *) : -# Check whether --with-libpng-libdir was given. -if test "${with_libpng_libdir+set}" = set; then : - withval=$with_libpng_libdir; -fi -if test "x$with_system_libpng" = x; then - if test -f $srcdir/libs/libpng/configure; then - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`libpng' headers and library from TL tree" >&5 -$as_echo "$as_me: Assuming \`libpng' headers and library from TL tree" >&6;} - with_system_libpng=no - else - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`libpng' headers and library" >&5 -$as_echo "$as_me: Assuming installed \`libpng' headers and library" >&6;} - with_system_libpng=yes - fi - ac_configure_args="$ac_configure_args '--with-system-libpng=$with_system_libpng'" -elif test "x$with_system_libpng" = xyes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`libpng' headers and library" >&5 -$as_echo "$as_me: Using installed \`libpng' headers and library" >&6;} -else - { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`libpng' headers and library from TL tree" >&5 -$as_echo "$as_me: Using \`libpng' headers and library from TL tree" >&6;} - if test "x$with_system_libpng" != xno; then - with_system_libpng=no - ac_configure_args="$ac_configure_args '--without-system-libpng'" - fi -fi -if test "x$with_system_libpng" = xyes; then - if test "x$with_system_zlib" = x; then - { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`zlib' headers and library" >&5 -$as_echo "$as_me: -> installed \`zlib' headers and library" >&6;} - with_system_zlib=yes - ac_configure_args="$ac_configure_args '--with-system-zlib'" - elif test "x$with_system_zlib" != xyes; then - as_fn_error "Sorry, \`--with-system-libpng' requires \`--with-system-zlib'" "$LINENO" 5 - fi -fi + enable_ps2pkm=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-ps2pkm=$enable_ps2pkm'" >&5 +$as_echo "$as_me: Assuming \`--enable-ps2pkm=$enable_ps2pkm'" >&6;} + ac_configure_args="$ac_configure_args '--enable-ps2pkm=$enable_ps2pkm'" + ;; +esac -test "x$need_libpng" = xyes && { - need_zlib=yes +test "x$enable_ps2pkm" = xno || { + need_kpathsea=yes } -## libs/zlib/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/zlib/ -## configure options and TL libraries required for zlib - -# Check whether --with-system-zlib was given. -if test "${with_system_zlib+set}" = set; then : - withval=$with_system_zlib; +## texk/seetexk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/seetexk/ +## configure options and TL libraries required for seetexk +# Check whether --enable-seetexk was given. +if test "${enable_seetexk+set}" = set; then : + enableval=$enable_seetexk; fi +case $enable_seetexk in #( + yes|no) : + ;; #( + *) : -# Check whether --with-zlib-includes was given. -if test "${with_zlib_includes+set}" = set; then : - withval=$with_zlib_includes; -fi - -# Check whether --with-zlib-libdir was given. -if test "${with_zlib_libdir+set}" = set; then : - withval=$with_zlib_libdir; -fi -if test "x$with_system_zlib" = x; then - if test -f $srcdir/libs/zlib/configure; then - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`zlib' headers and library from TL tree" >&5 -$as_echo "$as_me: Assuming \`zlib' headers and library from TL tree" >&6;} - with_system_zlib=no - else - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`zlib' headers and library" >&5 -$as_echo "$as_me: Assuming installed \`zlib' headers and library" >&6;} - with_system_zlib=yes - fi - ac_configure_args="$ac_configure_args '--with-system-zlib=$with_system_zlib'" -elif test "x$with_system_zlib" = xyes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`zlib' headers and library" >&5 -$as_echo "$as_me: Using installed \`zlib' headers and library" >&6;} -else - { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`zlib' headers and library from TL tree" >&5 -$as_echo "$as_me: Using \`zlib' headers and library from TL tree" >&6;} - if test "x$with_system_zlib" != xno; then - with_system_zlib=no - ac_configure_args="$ac_configure_args '--without-system-zlib'" - fi -fi - - - -## texk/ptexenc/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/ptexenc/ -## configure options and TL libraries required for ptexenc - -# Check whether --with-system-ptexenc was given. -if test "${with_system_ptexenc+set}" = set; then : - withval=$with_system_ptexenc; -fi - -# Check whether --with-ptexenc-includes was given. -if test "${with_ptexenc_includes+set}" = set; then : - withval=$with_ptexenc_includes; -fi - -# Check whether --with-ptexenc-libdir was given. -if test "${with_ptexenc_libdir+set}" = set; then : - withval=$with_ptexenc_libdir; -fi -if test "x$with_system_ptexenc" = x; then - if test -f $srcdir/texk/ptexenc/configure; then - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`ptexenc' headers and library from TL tree" >&5 -$as_echo "$as_me: Assuming \`ptexenc' headers and library from TL tree" >&6;} - with_system_ptexenc=no - else - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`ptexenc' headers and library" >&5 -$as_echo "$as_me: Assuming installed \`ptexenc' headers and library" >&6;} - with_system_ptexenc=yes - fi - ac_configure_args="$ac_configure_args '--with-system-ptexenc=$with_system_ptexenc'" -elif test "x$with_system_ptexenc" = xyes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`ptexenc' headers and library" >&5 -$as_echo "$as_me: Using installed \`ptexenc' headers and library" >&6;} -else - { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`ptexenc' headers and library from TL tree" >&5 -$as_echo "$as_me: Using \`ptexenc' headers and library from TL tree" >&6;} - if test "x$with_system_ptexenc" != xno; then - with_system_ptexenc=no - ac_configure_args="$ac_configure_args '--without-system-ptexenc'" - fi -fi -if test "x$with_system_ptexenc" = xyes; then - if test "x$with_system_kpathsea" = x; then - { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`kpathsea' headers and library" >&5 -$as_echo "$as_me: -> installed \`kpathsea' headers and library" >&6;} - with_system_kpathsea=yes - ac_configure_args="$ac_configure_args '--with-system-kpathsea'" - elif test "x$with_system_kpathsea" != xyes; then - as_fn_error "Sorry, \`--with-system-ptexenc' requires \`--with-system-kpathsea'" "$LINENO" 5 - fi -fi + enable_seetexk=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-seetexk=$enable_seetexk'" >&5 +$as_echo "$as_me: Assuming \`--enable-seetexk=$enable_seetexk'" >&6;} + ac_configure_args="$ac_configure_args '--enable-seetexk=$enable_seetexk'" + ;; +esac -test "x$need_ptexenc" = xyes && { +test "x$enable_seetexk" = xno || { need_kpathsea=yes } -## texk/kpathsea/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/kpathsea/ -## configure options and TL libraries required for kpathsea - -# Check whether --with-system-kpathsea was given. -if test "${with_system_kpathsea+set}" = set; then : - withval=$with_system_kpathsea; -fi - -# Check whether --with-kpathsea-includes was given. -if test "${with_kpathsea_includes+set}" = set; then : - withval=$with_kpathsea_includes; -fi - -# Check whether --with-kpathsea-libdir was given. -if test "${with_kpathsea_libdir+set}" = set; then : - withval=$with_kpathsea_libdir; -fi -if test "x$with_system_kpathsea" = x; then - if test -f $srcdir/texk/kpathsea/configure; then - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`kpathsea' headers and library from TL tree" >&5 -$as_echo "$as_me: Assuming \`kpathsea' headers and library from TL tree" >&6;} - with_system_kpathsea=no - else - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`kpathsea' headers and library" >&5 -$as_echo "$as_me: Assuming installed \`kpathsea' headers and library" >&6;} - with_system_kpathsea=yes - fi - ac_configure_args="$ac_configure_args '--with-system-kpathsea=$with_system_kpathsea'" -elif test "x$with_system_kpathsea" = xyes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`kpathsea' headers and library" >&5 -$as_echo "$as_me: Using installed \`kpathsea' headers and library" >&6;} -else - { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`kpathsea' headers and library from TL tree" >&5 -$as_echo "$as_me: Using \`kpathsea' headers and library from TL tree" >&6;} - if test "x$with_system_kpathsea" != xno; then - with_system_kpathsea=no - ac_configure_args="$ac_configure_args '--without-system-kpathsea'" - fi -fi - -## texk/kpathsea/ac/web2c.ac: configure.ac fragment for the TeX Live -## subdirectory texk/kpathsea. -## configure defaults for mktexfmt & Co. -# Check whether --enable-mktexmf-default was given. -if test "${enable_mktexmf_default+set}" = set; then : - enableval=$enable_mktexmf_default; +## texk/tex4htk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/tex4htk/ +## configure options and TL libraries required for tex4htk +# Check whether --enable-tex4htk was given. +if test "${enable_tex4htk+set}" = set; then : + enableval=$enable_tex4htk; fi -case $enable_mktexmf_default in #( +case $enable_tex4htk in #( yes|no) : ;; #( *) : - enable_mktexmf_default=yes ;; + + enable_tex4htk=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-tex4htk=$enable_tex4htk'" >&5 +$as_echo "$as_me: Assuming \`--enable-tex4htk=$enable_tex4htk'" >&6;} + ac_configure_args="$ac_configure_args '--enable-tex4htk=$enable_tex4htk'" + ;; esac -# Check whether --enable-mktexpk-default was given. -if test "${enable_mktexpk_default+set}" = set; then : - enableval=$enable_mktexpk_default; + +test "x$enable_tex4htk" = xno || { + need_kpathsea=yes +} + + +## texk/ttf2pk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/ttf2pk/ +## configure options and TL libraries required for ttf2pk +# Check whether --enable-ttf2pk was given. +if test "${enable_ttf2pk+set}" = set; then : + enableval=$enable_ttf2pk; fi -case $enable_mktexpk_default in #( +case $enable_ttf2pk in #( yes|no) : ;; #( *) : - enable_mktexpk_default=yes ;; + + enable_ttf2pk=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-ttf2pk=$enable_ttf2pk'" >&5 +$as_echo "$as_me: Assuming \`--enable-ttf2pk=$enable_ttf2pk'" >&6;} + ac_configure_args="$ac_configure_args '--enable-ttf2pk=$enable_ttf2pk'" + ;; esac -# Check whether --enable-mktextfm-default was given. -if test "${enable_mktextfm_default+set}" = set; then : - enableval=$enable_mktextfm_default; + +test "x$enable_ttf2pk" = xno || { + need_kpathsea=yes + need_freetype=yes +} + + +## texk/ttfdump/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/ttfdump/ +## configure options and TL libraries required for ttfdump +# Check whether --enable-ttfdump was given. +if test "${enable_ttfdump+set}" = set; then : + enableval=$enable_ttfdump; fi -case $enable_mktextfm_default in #( +case $enable_ttfdump in #( yes|no) : ;; #( *) : - enable_mktextfm_default=yes ;; + + enable_ttfdump=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-ttfdump=$enable_ttfdump'" >&5 +$as_echo "$as_me: Assuming \`--enable-ttfdump=$enable_ttfdump'" >&6;} + ac_configure_args="$ac_configure_args '--enable-ttfdump=$enable_ttfdump'" + ;; esac -# Check whether --enable-mkocp-default was given. -if test "${enable_mkocp_default+set}" = set; then : - enableval=$enable_mkocp_default; + + +## texk/xdv2pdf/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/xdv2pdf/ +## configure options and TL libraries required for xdv2pdf +# Check whether --enable-xdv2pdf was given. +if test "${enable_xdv2pdf+set}" = set; then : + enableval=$enable_xdv2pdf; fi -case $enable_mkocp_default in #( +case $enable_xdv2pdf in #( yes|no) : ;; #( *) : - enable_mkocp_default=yes ;; + + enable_xdv2pdf=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-xdv2pdf=$enable_xdv2pdf'" >&5 +$as_echo "$as_me: Assuming \`--enable-xdv2pdf=$enable_xdv2pdf'" >&6;} + ac_configure_args="$ac_configure_args '--enable-xdv2pdf=$enable_xdv2pdf'" + ;; esac -# Check whether --enable-mkofm-default was given. -if test "${enable_mkofm_default+set}" = set; then : - enableval=$enable_mkofm_default; + +test "x$enable_xdv2pdf" = xno || { + need_kpathsea=yes +} + + +## texk/xdvik/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/xdvik/ +## configure options and TL libraries required for xdvik +# Check whether --enable-xdvik was given. +if test "${enable_xdvik+set}" = set; then : + enableval=$enable_xdvik; fi -case $enable_mkofm_default in #( - yes|no) : - ;; #( +if test "x$with_x" = xno; then : + case $enable_xdvik in #( + "") : + { $as_echo "$as_me:${as_lineno-$LINENO}: \`--without-x' -> \`--disable-xdvik'" >&5 +$as_echo "$as_me: \`--without-x' -> \`--disable-xdvik'" >&6;} + enable_xdvik=no + ac_configure_args="$ac_configure_args '--disable-xdvik'" ;; #( + yes) : + as_fn_error "Sorry, incompatible options \`--without-x' and \`--enable-xdvik'" "$LINENO" 5 ;; #( *) : - enable_mkofm_default=yes ;; + ;; esac -# Check whether --enable-mktexfmt-default was given. -if test "${enable_mktexfmt_default+set}" = set; then : - enableval=$enable_mktexfmt_default; fi -case $enable_mktexfmt_default in #( +case $enable_xdvik in #( yes|no) : ;; #( *) : - enable_mktexfmt_default=yes ;; + + enable_xdvik=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-xdvik=$enable_xdvik'" >&5 +$as_echo "$as_me: Assuming \`--enable-xdvik=$enable_xdvik'" >&6;} + ac_configure_args="$ac_configure_args '--enable-xdvik=$enable_xdvik'" + ;; esac -# Check whether --enable-mktextex-default was given. -if test "${enable_mktextex_default+set}" = set; then : - enableval=$enable_mktextex_default; + +test "x$enable_xdvik" = xno || { + need_kpathsea=yes + need_t1lib=yes +} + +## texk/xdvik/ac/xdvik.ac: configure.ac fragment for the TeX Live subdirectory texk/xdvik/ +## configure options for xdvik + +# Check whether --with-xdvi-x-toolkit was given. +if test "${with_xdvi_x_toolkit+set}" = set; then : + withval=$with_xdvi_x_toolkit; fi -case $enable_mktextex_default in #( + + + +## texk/xdvipdfmx/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/xdvipdfmx/ +## configure options and TL libraries required for xdvipdfmx +# Check whether --enable-xdvipdfmx was given. +if test "${enable_xdvipdfmx+set}" = set; then : + enableval=$enable_xdvipdfmx; +fi +case $enable_xdvipdfmx in #( yes|no) : ;; #( *) : - enable_mktextex_default=no ;; + + enable_xdvipdfmx=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-xdvipdfmx=$enable_xdvipdfmx'" >&5 +$as_echo "$as_me: Assuming \`--enable-xdvipdfmx=$enable_xdvipdfmx'" >&6;} + ac_configure_args="$ac_configure_args '--enable-xdvipdfmx=$enable_xdvipdfmx'" + ;; esac +test "x$enable_xdvipdfmx" = xno || { + need_kpathsea=yes + need_freetype2=yes + need_libpng=yes +} +## texk/tetex/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/tetex/ +## configure options and TL libraries required for tetex +# Check whether --enable-tetex was given. +if test "${enable_tetex+set}" = set; then : + enableval=$enable_tetex; +fi +case $enable_tetex in #( + yes|no) : + ;; #( + *) : + enable_tetex=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-tetex=$enable_tetex'" >&5 +$as_echo "$as_me: Assuming \`--enable-tetex=$enable_tetex'" >&6;} + ac_configure_args="$ac_configure_args '--enable-tetex=$enable_tetex'" + ;; +esac -am__api_version='1.11' -# Find a good install program. We prefer a C program (faster), -# so one script is as good as another. But avoid the broken or -# incompatible versions: -# SysV /etc/install, /usr/sbin/install -# SunOS /usr/etc/install -# IRIX /sbin/install -# AIX /bin/install -# AmigaOS /C/install, which installs bootblocks on floppy discs -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag -# AFS /usr/afsws/bin/install, which mishandles nonexistent args -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" -# OS/2's system install, which has a completely different semantic -# ./install, which can be erroneously created by make from ./install.sh. -# Reject install programs that cannot install multiple files. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 -$as_echo_n "checking for a BSD-compatible install... " >&6; } -if test -z "$INSTALL"; then -if test "${ac_cv_path_install+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - # Account for people who put trailing slashes in PATH elements. -case $as_dir/ in #(( - ./ | .// | /[cC]/* | \ - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ - ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ - /usr/ucb/* ) ;; - *) - # OSF1 and SCO ODT 3.0 have their own names for install. - # Don't use installbsd from OSF since it installs stuff as root - # by default. - for ac_prog in ginstall scoinst install; do - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then - if test $ac_prog = install && - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # AIX install. It has an incompatible calling convention. - : - elif test $ac_prog = install && - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # program-specific install script used by HP pwplus--don't use. - : - else - rm -rf conftest.one conftest.two conftest.dir - echo one > conftest.one - echo two > conftest.two - mkdir conftest.dir - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && - test -s conftest.one && test -s conftest.two && - test -s conftest.dir/conftest.one && - test -s conftest.dir/conftest.two - then - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" - break 3 - fi - fi - fi - done - done +## texk/texlive/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/texlive/ +## configure options and TL libraries required for texlive +# Check whether --enable-texlive was given. +if test "${enable_texlive+set}" = set; then : + enableval=$enable_texlive; +fi +case $enable_texlive in #( + yes|no) : + ;; #( + *) : + + enable_texlive=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-texlive=$enable_texlive'" >&5 +$as_echo "$as_me: Assuming \`--enable-texlive=$enable_texlive'" >&6;} + ac_configure_args="$ac_configure_args '--enable-texlive=$enable_texlive'" ;; esac - done -IFS=$as_save_IFS -rm -rf conftest.one conftest.two conftest.dir +## libs/icu/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/icu/ +## configure options and TL libraries required for icu (modified for XeTeX) + +# Check whether --with-system-icu was given. +if test "${with_system_icu+set}" = set; then : + withval=$with_system_icu; fi - if test "${ac_cv_path_install+set}" = set; then - INSTALL=$ac_cv_path_install +if test "x$with_system_icu" = x; then + if test -f $srcdir/libs/icu/configure; then + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`icu' headers and library from TL tree" >&5 +$as_echo "$as_me: Assuming \`icu' headers and library from TL tree" >&6;} + with_system_icu=no else - # As a last resort, use the slow shell script. Don't cache a - # value for INSTALL within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the value is a relative name. - INSTALL=$ac_install_sh + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`icu' headers and library" >&5 +$as_echo "$as_me: Assuming installed \`icu' headers and library" >&6;} + with_system_icu=yes + fi + ac_configure_args="$ac_configure_args '--with-system-icu=$with_system_icu'" +elif test "x$with_system_icu" = xyes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`icu' headers and library" >&5 +$as_echo "$as_me: Using installed \`icu' headers and library" >&6;} +else + { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`icu' headers and library from TL tree" >&5 +$as_echo "$as_me: Using \`icu' headers and library from TL tree" >&6;} + if test "x$with_system_icu" != xno; then + with_system_icu=no + ac_configure_args="$ac_configure_args '--without-system-icu'" fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 -$as_echo "$INSTALL" >&6; } - -# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -# It thinks the first close brace ends the variable substitution. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' - -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 -$as_echo_n "checking whether build environment is sane... " >&6; } -# Just in case -sleep 1 -echo timestamp > conftest.file -# Reject unsafe characters in $srcdir or the absolute working directory -# name. Accept space and tab only in the latter. -am_lf=' -' -case `pwd` in - *[\\\"\#\$\&\'\`$am_lf]*) - as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; -esac -case $srcdir in - *[\\\"\#\$\&\'\`$am_lf\ \ ]*) - as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; -esac +## libs/teckit/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/teckit/ +## configure options and TL libraries required for teckit -# Do `set' in a subshell so we don't clobber the current shell's -# arguments. Must try -L first in case configure is actually a -# symlink; some systems play weird games with the mod time of symlinks -# (eg FreeBSD returns the mod time of the symlink's containing -# directory). -if ( - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` - if test "$*" = "X"; then - # -L didn't work. - set X `ls -t "$srcdir/configure" conftest.file` - fi - rm -f conftest.file - if test "$*" != "X $srcdir/configure conftest.file" \ - && test "$*" != "X conftest.file $srcdir/configure"; then +# Check whether --with-system-teckit was given. +if test "${with_system_teckit+set}" = set; then : + withval=$with_system_teckit; +fi - # If neither matched, then we have a broken ls. This can happen - # if, for instance, CONFIG_SHELL is bash and it inherits a - # broken ls alias from the environment. This has actually - # happened. Such a system could not be considered "sane". - as_fn_error "ls -t appears to fail. Make sure there is not a broken -alias in your environment" "$LINENO" 5 - fi +# Check whether --with-teckit-includes was given. +if test "${with_teckit_includes+set}" = set; then : + withval=$with_teckit_includes; +fi - test "$2" = conftest.file - ) -then - # Ok. - : +# Check whether --with-teckit-libdir was given. +if test "${with_teckit_libdir+set}" = set; then : + withval=$with_teckit_libdir; +fi +if test "x$with_system_teckit" = x; then + if test -f $srcdir/libs/teckit/configure; then + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`teckit' headers and library from TL tree" >&5 +$as_echo "$as_me: Assuming \`teckit' headers and library from TL tree" >&6;} + with_system_teckit=no + else + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`teckit' headers and library" >&5 +$as_echo "$as_me: Assuming installed \`teckit' headers and library" >&6;} + with_system_teckit=yes + fi + ac_configure_args="$ac_configure_args '--with-system-teckit=$with_system_teckit'" +elif test "x$with_system_teckit" = xyes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`teckit' headers and library" >&5 +$as_echo "$as_me: Using installed \`teckit' headers and library" >&6;} else - as_fn_error "newly created file is older than distributed files! -Check your system clock" "$LINENO" 5 + { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`teckit' headers and library from TL tree" >&5 +$as_echo "$as_me: Using \`teckit' headers and library from TL tree" >&6;} + if test "x$with_system_teckit" != xno; then + with_system_teckit=no + ac_configure_args="$ac_configure_args '--without-system-teckit'" + fi +fi +if test "x$with_system_teckit" = xyes; then + if test "x$with_system_zlib" = x; then + { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`zlib' headers and library" >&5 +$as_echo "$as_me: -> installed \`zlib' headers and library" >&6;} + with_system_zlib=yes + ac_configure_args="$ac_configure_args '--with-system-zlib'" + elif test "x$with_system_zlib" != xyes; then + as_fn_error "Sorry, \`--with-system-teckit' requires \`--with-system-zlib'" "$LINENO" 5 + fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -test "$program_prefix" != NONE && - program_transform_name="s&^&$program_prefix&;$program_transform_name" -# Use a double $ so make ignores it. -test "$program_suffix" != NONE && - program_transform_name="s&\$&$program_suffix&;$program_transform_name" -# Double any \ or $. -# By default was `s,x,x', remove it if useless. -ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' -program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` -# expand $ac_aux_dir to an absolute path -am_aux_dir=`cd $ac_aux_dir && pwd` +test "x$need_teckit" = xyes && { + need_zlib=yes +} -if test x"${MISSING+set}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; - *) - MISSING="\${SHELL} $am_aux_dir/missing" ;; - esac -fi -# Use eval to expand $SHELL -if eval "$MISSING --run true"; then - am_missing_run="$MISSING --run " -else - am_missing_run= - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 -$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} -fi -if test x"${install_sh}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; - *) - install_sh="\${SHELL} $am_aux_dir/install-sh" - esac +## libs/graphite/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/graphite/ +## XeTeX can be built without graphite support + +# Check whether --with-graphite was given. +if test "${with_graphite+set}" = set; then : + withval=$with_graphite; fi -# Installed binaries are usually stripped using `strip' when the user -# run `make install-strip'. However `strip' might not be the right -# tool to use in cross-compilation environments, therefore Automake -# will honor the `STRIP' environment variable to overrule this program. -if test "$cross_compiling" != no; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. -set dummy ${ac_tool_prefix}strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_STRIP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$STRIP"; then - ac_cv_prog_STRIP="$STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_STRIP="${ac_tool_prefix}strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS +test "x$with_graphite" = xno && need_graphite=no +## configure options and TL libraries required for graphite +# Check whether --with-system-graphite was given. +if test "${with_system_graphite+set}" = set; then : + withval=$with_system_graphite; fi -fi -STRIP=$ac_cv_prog_STRIP -if test -n "$STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 -$as_echo "$STRIP" >&6; } +if test "x$with_system_graphite" = x; then + if test -f $srcdir/libs/graphite/configure; then + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`graphite' headers and library from TL tree" >&5 +$as_echo "$as_me: Assuming \`graphite' headers and library from TL tree" >&6;} + with_system_graphite=no + else + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`graphite' headers and library" >&5 +$as_echo "$as_me: Assuming installed \`graphite' headers and library" >&6;} + with_system_graphite=yes + fi + ac_configure_args="$ac_configure_args '--with-system-graphite=$with_system_graphite'" +elif test "x$with_system_graphite" = xyes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`graphite' headers and library" >&5 +$as_echo "$as_me: Using installed \`graphite' headers and library" >&6;} else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`graphite' headers and library from TL tree" >&5 +$as_echo "$as_me: Using \`graphite' headers and library from TL tree" >&6;} + if test "x$with_system_graphite" != xno; then + with_system_graphite=no + ac_configure_args="$ac_configure_args '--without-system-graphite'" + fi fi +## libs/zziplib/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/zziplib/ +## configure options and TL libraries required for zziplib + +# Check whether --with-system-zziplib was given. +if test "${with_system_zziplib+set}" = set; then : + withval=$with_system_zziplib; fi -if test -z "$ac_cv_prog_STRIP"; then - ac_ct_STRIP=$STRIP - # Extract the first word of "strip", so it can be a program name with args. -set dummy strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_STRIP"; then - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +if test "x$with_system_zziplib" = x; then + if test -f $srcdir/libs/zziplib/configure; then + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`zziplib' headers and library from TL tree" >&5 +$as_echo "$as_me: Assuming \`zziplib' headers and library from TL tree" >&6;} + with_system_zziplib=no + else + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`zziplib' headers and library" >&5 +$as_echo "$as_me: Assuming installed \`zziplib' headers and library" >&6;} + with_system_zziplib=yes + fi + ac_configure_args="$ac_configure_args '--with-system-zziplib=$with_system_zziplib'" +elif test "x$with_system_zziplib" = xyes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`zziplib' headers and library" >&5 +$as_echo "$as_me: Using installed \`zziplib' headers and library" >&6;} else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_STRIP="strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 + { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`zziplib' headers and library from TL tree" >&5 +$as_echo "$as_me: Using \`zziplib' headers and library from TL tree" >&6;} + if test "x$with_system_zziplib" != xno; then + with_system_zziplib=no + ac_configure_args="$ac_configure_args '--without-system-zziplib'" fi -done - done -IFS=$as_save_IFS - -fi fi -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP -if test -n "$ac_ct_STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 -$as_echo "$ac_ct_STRIP" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } +if test "x$with_system_zziplib" = xyes; then + if test "x$with_system_zlib" = x; then + { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`zlib' headers and library" >&5 +$as_echo "$as_me: -> installed \`zlib' headers and library" >&6;} + with_system_zlib=yes + ac_configure_args="$ac_configure_args '--with-system-zlib'" + elif test "x$with_system_zlib" != xyes; then + as_fn_error "Sorry, \`--with-system-zziplib' requires \`--with-system-zlib'" "$LINENO" 5 + fi fi - if test "x$ac_ct_STRIP" = x; then - STRIP=":" +test "x$need_zziplib" = xyes && { + need_zlib=yes +} + + +## libs/xpdf/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/xpdf/ +## configure options and TL libraries required for xpdf + +# Check whether --with-system-xpdf was given. +if test "${with_system_xpdf+set}" = set; then : + withval=$with_system_xpdf; +fi +if test "x$with_system_xpdf" = x; then + if test -f $srcdir/libs/xpdf/configure; then + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`xpdf' headers and library from TL tree" >&5 +$as_echo "$as_me: Assuming \`xpdf' headers and library from TL tree" >&6;} + with_system_xpdf=no else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - STRIP=$ac_ct_STRIP + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`xpdf' headers and library" >&5 +$as_echo "$as_me: Assuming installed \`xpdf' headers and library" >&6;} + with_system_xpdf=yes fi + ac_configure_args="$ac_configure_args '--with-system-xpdf=$with_system_xpdf'" +elif test "x$with_system_xpdf" = xyes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`xpdf' headers and library" >&5 +$as_echo "$as_me: Using installed \`xpdf' headers and library" >&6;} else - STRIP="$ac_cv_prog_STRIP" + { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`xpdf' headers and library from TL tree" >&5 +$as_echo "$as_me: Using \`xpdf' headers and library from TL tree" >&6;} + if test "x$with_system_xpdf" != xno; then + with_system_xpdf=no + ac_configure_args="$ac_configure_args '--without-system-xpdf'" + fi fi -fi -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 -$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } -if test -z "$MKDIR_P"; then - if test "${ac_cv_path_mkdir+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in mkdir gmkdir; do - for ac_exec_ext in '' $ac_executable_extensions; do - { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue - case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( - 'mkdir (GNU coreutils) '* | \ - 'mkdir (coreutils) '* | \ - 'mkdir (fileutils) '4.1*) - ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext - break 3;; - esac - done - done - done -IFS=$as_save_IFS +## libs/gd/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/gd/ +## configure options and TL libraries required for gd +# Check whether --with-system-gd was given. +if test "${with_system_gd+set}" = set; then : + withval=$with_system_gd; fi - test -d ./--version && rmdir ./--version - if test "${ac_cv_path_mkdir+set}" = set; then - MKDIR_P="$ac_cv_path_mkdir -p" - else - # As a last resort, use the slow shell script. Don't cache a - # value for MKDIR_P within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the value is a relative name. - MKDIR_P="$ac_install_sh -d" - fi +# Check whether --with-gd-includes was given. +if test "${with_gd_includes+set}" = set; then : + withval=$with_gd_includes; fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 -$as_echo "$MKDIR_P" >&6; } - -mkdir_p="$MKDIR_P" -case $mkdir_p in - [\\/$]* | ?:[\\/]*) ;; - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; -esac -for ac_prog in gawk mawk nawk awk -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_AWK+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AWK"; then - ac_cv_prog_AWK="$AWK" # Let the user override the test. +# Check whether --with-gd-libdir was given. +if test "${with_gd_libdir+set}" = set; then : + withval=$with_gd_libdir; +fi +if test "x$with_system_gd" = x; then + if test -f $srcdir/libs/gd/configure; then + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`gd' headers and library from TL tree" >&5 +$as_echo "$as_me: Assuming \`gd' headers and library from TL tree" >&6;} + with_system_gd=no + else + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`gd' headers and library" >&5 +$as_echo "$as_me: Assuming installed \`gd' headers and library" >&6;} + with_system_gd=yes + fi + ac_configure_args="$ac_configure_args '--with-system-gd=$with_system_gd'" +elif test "x$with_system_gd" = xyes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`gd' headers and library" >&5 +$as_echo "$as_me: Using installed \`gd' headers and library" >&6;} else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_AWK="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 + { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`gd' headers and library from TL tree" >&5 +$as_echo "$as_me: Using \`gd' headers and library from TL tree" >&6;} + if test "x$with_system_gd" != xno; then + with_system_gd=no + ac_configure_args="$ac_configure_args '--without-system-gd'" fi -done - done -IFS=$as_save_IFS - -fi fi -AWK=$ac_cv_prog_AWK -if test -n "$AWK"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -$as_echo "$AWK" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } +if test "x$with_system_gd" = xyes; then + if test "x$with_system_libpng" = x; then + { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`libpng' headers and library" >&5 +$as_echo "$as_me: -> installed \`libpng' headers and library" >&6;} + with_system_libpng=yes + ac_configure_args="$ac_configure_args '--with-system-libpng'" + elif test "x$with_system_libpng" != xyes; then + as_fn_error "Sorry, \`--with-system-gd' requires \`--with-system-libpng'" "$LINENO" 5 + fi + if test "x$with_system_freetype2" = x; then + { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`freetype2' headers and library" >&5 +$as_echo "$as_me: -> installed \`freetype2' headers and library" >&6;} + with_system_freetype2=yes + ac_configure_args="$ac_configure_args '--with-system-freetype2'" + elif test "x$with_system_freetype2" != xyes; then + as_fn_error "Sorry, \`--with-system-gd' requires \`--with-system-freetype2'" "$LINENO" 5 + fi fi +test "x$need_gd" = xyes && { + need_libpng=yes + need_freetype2=yes +} + - test -n "$AWK" && break -done +## libs/freetype2/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/freetype2/ +## configure options and TL libraries required for freetype2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 -$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } -set x ${MAKE-make} -ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -else - cat >conftest.make <<\_ACEOF -SHELL = /bin/sh -all: - @echo '@@@%%%=$(MAKE)=@@@%%%' -_ACEOF -# GNU make sometimes prints "make[1]: Entering...", which would confuse us. -case `${MAKE-make} -f conftest.make 2>/dev/null` in - *@@@%%%=?*=@@@%%%*) - eval ac_cv_prog_make_${ac_make}_set=yes;; - *) - eval ac_cv_prog_make_${ac_make}_set=no;; -esac -rm -f conftest.make +# Check whether --with-system-freetype2 was given. +if test "${with_system_freetype2+set}" = set; then : + withval=$with_system_freetype2; fi -if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - SET_MAKE= +if test "x$with_system_freetype2" = x; then + if test -f $srcdir/libs/freetype2/configure; then + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`freetype2' headers and library from TL tree" >&5 +$as_echo "$as_me: Assuming \`freetype2' headers and library from TL tree" >&6;} + with_system_freetype2=no + else + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`freetype2' headers and library" >&5 +$as_echo "$as_me: Assuming installed \`freetype2' headers and library" >&6;} + with_system_freetype2=yes + fi + ac_configure_args="$ac_configure_args '--with-system-freetype2=$with_system_freetype2'" +elif test "x$with_system_freetype2" = xyes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`freetype2' headers and library" >&5 +$as_echo "$as_me: Using installed \`freetype2' headers and library" >&6;} else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - SET_MAKE="MAKE=${MAKE-make}" + { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`freetype2' headers and library from TL tree" >&5 +$as_echo "$as_me: Using \`freetype2' headers and library from TL tree" >&6;} + if test "x$with_system_freetype2" != xno; then + with_system_freetype2=no + ac_configure_args="$ac_configure_args '--without-system-freetype2'" + fi fi - -rm -rf .tst 2>/dev/null -mkdir .tst 2>/dev/null -if test -d .tst; then - am__leading_dot=. -else - am__leading_dot=_ +if test "x$with_system_freetype2" = xyes; then + if test "x$with_system_zlib" = x; then + { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`zlib' headers and library" >&5 +$as_echo "$as_me: -> installed \`zlib' headers and library" >&6;} + with_system_zlib=yes + ac_configure_args="$ac_configure_args '--with-system-zlib'" + elif test "x$with_system_zlib" != xyes; then + as_fn_error "Sorry, \`--with-system-freetype2' requires \`--with-system-zlib'" "$LINENO" 5 + fi fi -rmdir .tst 2>/dev/null -case `pwd` in - *\ * | *\ *) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 -$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; -esac +test "x$need_freetype2" = xyes && { + need_zlib=yes +} +## libs/freetype/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/freetype/ +## configure options and TL libraries required for freetype -macro_version='2.2.6b' -macro_revision='1.3017' +# Check whether --with-system-freetype was given. +if test "${with_system_freetype+set}" = set; then : + withval=$with_system_freetype; +fi +# Check whether --with-freetype-includes was given. +if test "${with_freetype_includes+set}" = set; then : + withval=$with_freetype_includes; +fi +# Check whether --with-freetype-libdir was given. +if test "${with_freetype_libdir+set}" = set; then : + withval=$with_freetype_libdir; +fi +if test "x$with_system_freetype" = x; then + if test -f $srcdir/libs/freetype/configure; then + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`freetype' headers and library from TL tree" >&5 +$as_echo "$as_me: Assuming \`freetype' headers and library from TL tree" >&6;} + with_system_freetype=no + else + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`freetype' headers and library" >&5 +$as_echo "$as_me: Assuming installed \`freetype' headers and library" >&6;} + with_system_freetype=yes + fi + ac_configure_args="$ac_configure_args '--with-system-freetype=$with_system_freetype'" +elif test "x$with_system_freetype" = xyes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`freetype' headers and library" >&5 +$as_echo "$as_me: Using installed \`freetype' headers and library" >&6;} +else + { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`freetype' headers and library from TL tree" >&5 +$as_echo "$as_me: Using \`freetype' headers and library from TL tree" >&6;} + if test "x$with_system_freetype" != xno; then + with_system_freetype=no + ac_configure_args="$ac_configure_args '--without-system-freetype'" + fi +fi +## libs/t1lib/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/t1lib/ +## configure options and TL libraries required for t1lib +# Check whether --with-system-t1lib was given. +if test "${with_system_t1lib+set}" = set; then : + withval=$with_system_t1lib; +fi +# Check whether --with-t1lib-includes was given. +if test "${with_t1lib_includes+set}" = set; then : + withval=$with_t1lib_includes; +fi +# Check whether --with-t1lib-libdir was given. +if test "${with_t1lib_libdir+set}" = set; then : + withval=$with_t1lib_libdir; +fi +if test "x$with_system_t1lib" = x; then + if test -f $srcdir/libs/t1lib/configure; then + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`t1lib' headers and library from TL tree" >&5 +$as_echo "$as_me: Assuming \`t1lib' headers and library from TL tree" >&6;} + with_system_t1lib=no + else + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`t1lib' headers and library" >&5 +$as_echo "$as_me: Assuming installed \`t1lib' headers and library" >&6;} + with_system_t1lib=yes + fi + ac_configure_args="$ac_configure_args '--with-system-t1lib=$with_system_t1lib'" +elif test "x$with_system_t1lib" = xyes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`t1lib' headers and library" >&5 +$as_echo "$as_me: Using installed \`t1lib' headers and library" >&6;} +else + { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`t1lib' headers and library from TL tree" >&5 +$as_echo "$as_me: Using \`t1lib' headers and library from TL tree" >&6;} + if test "x$with_system_t1lib" != xno; then + with_system_t1lib=no + ac_configure_args="$ac_configure_args '--without-system-t1lib'" + fi +fi +## libs/obsdcompat/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/obsdcompat/ +## configure options and TL libraries required for obsdcompat +## libs/libpng/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/libpng/ +## configure options and TL libraries required for libpng - -ltmain="$ac_aux_dir/ltmain.sh" - -DEPDIR="${am__leading_dot}deps" - -ac_config_commands="$ac_config_commands depfiles" - - -am_make=${MAKE-make} -cat > confinc << 'END' -am__doit: - @echo this is the am__doit target -.PHONY: am__doit -END -# If we don't find an include directive, just comment out the code. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 -$as_echo_n "checking for style of include used by $am_make... " >&6; } -am__include="#" -am__quote= -_am_result=none -# First try GNU make style include. -echo "include confinc" > confmf -# Ignore all kinds of additional output from `make'. -case `$am_make -s -f confmf 2> /dev/null` in #( -*the\ am__doit\ target*) - am__include=include - am__quote= - _am_result=GNU - ;; -esac -# Now try BSD make style include. -if test "$am__include" = "#"; then - echo '.include "confinc"' > confmf - case `$am_make -s -f confmf 2> /dev/null` in #( - *the\ am__doit\ target*) - am__include=.include - am__quote="\"" - _am_result=BSD - ;; - esac +# Check whether --with-system-libpng was given. +if test "${with_system_libpng+set}" = set; then : + withval=$with_system_libpng; fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 -$as_echo "$_am_result" >&6; } -rm -f confinc confmf - -# Check whether --enable-dependency-tracking was given. -if test "${enable_dependency_tracking+set}" = set; then : - enableval=$enable_dependency_tracking; +# Check whether --with-libpng-includes was given. +if test "${with_libpng_includes+set}" = set; then : + withval=$with_libpng_includes; fi -if test "x$enable_dependency_tracking" != xno; then - am_depcomp="$ac_aux_dir/depcomp" - AMDEPBACKSLASH='\' +# Check whether --with-libpng-libdir was given. +if test "${with_libpng_libdir+set}" = set; then : + withval=$with_libpng_libdir; fi - if test "x$enable_dependency_tracking" != xno; then - AMDEP_TRUE= - AMDEP_FALSE='#' +if test "x$with_system_libpng" = x; then + if test -f $srcdir/libs/libpng/configure; then + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`libpng' headers and library from TL tree" >&5 +$as_echo "$as_me: Assuming \`libpng' headers and library from TL tree" >&6;} + with_system_libpng=no + else + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`libpng' headers and library" >&5 +$as_echo "$as_me: Assuming installed \`libpng' headers and library" >&6;} + with_system_libpng=yes + fi + ac_configure_args="$ac_configure_args '--with-system-libpng=$with_system_libpng'" +elif test "x$with_system_libpng" = xyes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`libpng' headers and library" >&5 +$as_echo "$as_me: Using installed \`libpng' headers and library" >&6;} else - AMDEP_TRUE='#' - AMDEP_FALSE= + { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`libpng' headers and library from TL tree" >&5 +$as_echo "$as_me: Using \`libpng' headers and library from TL tree" >&6;} + if test "x$with_system_libpng" != xno; then + with_system_libpng=no + ac_configure_args="$ac_configure_args '--without-system-libpng'" + fi +fi +if test "x$with_system_libpng" = xyes; then + if test "x$with_system_zlib" = x; then + { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`zlib' headers and library" >&5 +$as_echo "$as_me: -> installed \`zlib' headers and library" >&6;} + with_system_zlib=yes + ac_configure_args="$ac_configure_args '--with-system-zlib'" + elif test "x$with_system_zlib" != xyes; then + as_fn_error "Sorry, \`--with-system-libpng' requires \`--with-system-zlib'" "$LINENO" 5 + fi fi +test "x$need_libpng" = xyes && { + need_zlib=yes +} -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 -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="${ac_tool_prefix}gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } +## libs/zlib/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/zlib/ +## configure options and TL libraries required for zlib + +# Check whether --with-system-zlib was given. +if test "${with_system_zlib+set}" = set; then : + withval=$with_system_zlib; fi +# Check whether --with-zlib-includes was given. +if test "${with_zlib_includes+set}" = set; then : + withval=$with_zlib_includes; +fi +# Check whether --with-zlib-libdir was given. +if test "${with_zlib_libdir+set}" = set; then : + withval=$with_zlib_libdir; fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +if test "x$with_system_zlib" = x; then + if test -f $srcdir/libs/zlib/configure; then + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`zlib' headers and library from TL tree" >&5 +$as_echo "$as_me: Assuming \`zlib' headers and library from TL tree" >&6;} + with_system_zlib=no + else + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`zlib' headers and library" >&5 +$as_echo "$as_me: Assuming installed \`zlib' headers and library" >&6;} + with_system_zlib=yes + fi + ac_configure_args="$ac_configure_args '--with-system-zlib=$with_system_zlib'" +elif test "x$with_system_zlib" = xyes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`zlib' headers and library" >&5 +$as_echo "$as_me: Using installed \`zlib' headers and library" >&6;} else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CC="gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 + { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`zlib' headers and library from TL tree" >&5 +$as_echo "$as_me: Using \`zlib' headers and library from TL tree" >&6;} + if test "x$with_system_zlib" != xno; then + with_system_zlib=no + ac_configure_args="$ac_configure_args '--without-system-zlib'" fi -done - done -IFS=$as_save_IFS - fi + + + +## texk/ptexenc/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/ptexenc/ +## configure options and TL libraries required for ptexenc + +# Check whether --with-system-ptexenc was given. +if test "${with_system_ptexenc+set}" = set; then : + withval=$with_system_ptexenc; fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + +# Check whether --with-ptexenc-includes was given. +if test "${with_ptexenc_includes+set}" = set; then : + withval=$with_ptexenc_includes; fi - if test "x$ac_ct_CC" = x; then - CC="" +# Check whether --with-ptexenc-libdir was given. +if test "${with_ptexenc_libdir+set}" = set; then : + withval=$with_ptexenc_libdir; +fi +if test "x$with_system_ptexenc" = x; then + if test -f $srcdir/texk/ptexenc/configure; then + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`ptexenc' headers and library from TL tree" >&5 +$as_echo "$as_me: Assuming \`ptexenc' headers and library from TL tree" >&6;} + with_system_ptexenc=no else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`ptexenc' headers and library" >&5 +$as_echo "$as_me: Assuming installed \`ptexenc' headers and library" >&6;} + with_system_ptexenc=yes fi + ac_configure_args="$ac_configure_args '--with-system-ptexenc=$with_system_ptexenc'" +elif test "x$with_system_ptexenc" = xyes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`ptexenc' headers and library" >&5 +$as_echo "$as_me: Using installed \`ptexenc' headers and library" >&6;} else - CC="$ac_cv_prog_CC" + { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`ptexenc' headers and library from TL tree" >&5 +$as_echo "$as_me: Using \`ptexenc' headers and library from TL tree" >&6;} + if test "x$with_system_ptexenc" != xno; then + with_system_ptexenc=no + ac_configure_args="$ac_configure_args '--without-system-ptexenc'" + fi +fi +if test "x$with_system_ptexenc" = xyes; then + if test "x$with_system_kpathsea" = x; then + { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`kpathsea' headers and library" >&5 +$as_echo "$as_me: -> installed \`kpathsea' headers and library" >&6;} + with_system_kpathsea=yes + ac_configure_args="$ac_configure_args '--with-system-kpathsea'" + elif test "x$with_system_kpathsea" != xyes; then + as_fn_error "Sorry, \`--with-system-ptexenc' requires \`--with-system-kpathsea'" "$LINENO" 5 + fi fi -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. -set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="${ac_tool_prefix}cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS +test "x$need_ptexenc" = xyes && { + need_kpathsea=yes +} -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + +## texk/kpathsea/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/kpathsea/ +## configure options and TL libraries required for kpathsea + +# Check whether --with-system-kpathsea was given. +if test "${with_system_kpathsea+set}" = set; then : + withval=$with_system_kpathsea; fi +# Check whether --with-kpathsea-includes was given. +if test "${with_kpathsea_includes+set}" = set; then : + withval=$with_kpathsea_includes; +fi - fi +# Check whether --with-kpathsea-libdir was given. +if test "${with_kpathsea_libdir+set}" = set; then : + withval=$with_kpathsea_libdir; fi -if test -z "$CC"; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. +if test "x$with_system_kpathsea" = x; then + if test -f $srcdir/texk/kpathsea/configure; then + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`kpathsea' headers and library from TL tree" >&5 +$as_echo "$as_me: Assuming \`kpathsea' headers and library from TL tree" >&6;} + with_system_kpathsea=no + else + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`kpathsea' headers and library" >&5 +$as_echo "$as_me: Assuming installed \`kpathsea' headers and library" >&6;} + with_system_kpathsea=yes + fi + ac_configure_args="$ac_configure_args '--with-system-kpathsea=$with_system_kpathsea'" +elif test "x$with_system_kpathsea" = xyes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`kpathsea' headers and library" >&5 +$as_echo "$as_me: Using installed \`kpathsea' headers and library" >&6;} else - ac_prog_rejected=no -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 + { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`kpathsea' headers and library from TL tree" >&5 +$as_echo "$as_me: Using \`kpathsea' headers and library from TL tree" >&6;} + if test "x$with_system_kpathsea" != xno; then + with_system_kpathsea=no + ac_configure_args="$ac_configure_args '--without-system-kpathsea'" fi -done - done -IFS=$as_save_IFS +fi -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $# != 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" - fi +## texk/kpathsea/ac/web2c.ac: configure.ac fragment for the TeX Live +## subdirectory texk/kpathsea. +## configure defaults for mktexfmt & Co. +# Check whether --enable-mktexmf-default was given. +if test "${enable_mktexmf_default+set}" = set; then : + enableval=$enable_mktexmf_default; +fi +case $enable_mktexmf_default in #( + yes|no) : + ;; #( + *) : + enable_mktexmf_default=yes ;; +esac +# Check whether --enable-mktexpk-default was given. +if test "${enable_mktexpk_default+set}" = set; then : + enableval=$enable_mktexpk_default; fi +case $enable_mktexpk_default in #( + yes|no) : + ;; #( + *) : + enable_mktexpk_default=yes ;; +esac +# Check whether --enable-mktextfm-default was given. +if test "${enable_mktextfm_default+set}" = set; then : + enableval=$enable_mktextfm_default; fi +case $enable_mktextfm_default in #( + yes|no) : + ;; #( + *) : + enable_mktextfm_default=yes ;; +esac +# Check whether --enable-mkocp-default was given. +if test "${enable_mkocp_default+set}" = set; then : + enableval=$enable_mkocp_default; fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } +case $enable_mkocp_default in #( + yes|no) : + ;; #( + *) : + enable_mkocp_default=yes ;; +esac +# Check whether --enable-mkofm-default was given. +if test "${enable_mkofm_default+set}" = set; then : + enableval=$enable_mkofm_default; +fi +case $enable_mkofm_default in #( + yes|no) : + ;; #( + *) : + enable_mkofm_default=yes ;; +esac +# Check whether --enable-mktexfmt-default was given. +if test "${enable_mktexfmt_default+set}" = set; then : + enableval=$enable_mktexfmt_default; +fi +case $enable_mktexfmt_default in #( + yes|no) : + ;; #( + *) : + enable_mktexfmt_default=yes ;; +esac +# Check whether --enable-mktextex-default was given. +if test "${enable_mktextex_default+set}" = set; then : + enableval=$enable_mktextex_default; fi +case $enable_mktextex_default in #( + yes|no) : + ;; #( + *) : + enable_mktextex_default=no ;; +esac -fi -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - for ac_prog in cl.exe - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : + + + +am__api_version='1.11' + +# Find a good install program. We prefer a C program (faster), +# so one script is as good as another. But avoid the broken or +# incompatible versions: +# SysV /etc/install, /usr/sbin/install +# SunOS /usr/etc/install +# IRIX /sbin/install +# AIX /bin/install +# AmigaOS /C/install, which installs bootblocks on floppy discs +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag +# AFS /usr/afsws/bin/install, which mishandles nonexistent args +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" +# OS/2's system install, which has a completely different semantic +# ./install, which can be erroneously created by make from ./install.sh. +# Reject install programs that cannot install multiple files. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 +$as_echo_n "checking for a BSD-compatible install... " >&6; } +if test -z "$INSTALL"; then +if test "${ac_cv_path_install+set}" = set; then : $as_echo_n "(cached) " >&6 else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CC" && break - done -fi -if test -z "$CC"; then - ac_ct_CC=$CC - for ac_prog in cl.exe -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in #(( + ./ | .// | /[cC]/* | \ + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ + /usr/ucb/* ) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then + if test $ac_prog = install && + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + elif test $ac_prog = install && + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # program-specific install script used by HP pwplus--don't use. + : + else + rm -rf conftest.one conftest.two conftest.dir + echo one > conftest.one + echo two > conftest.two + mkdir conftest.dir + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && + test -s conftest.one && test -s conftest.two && + test -s conftest.dir/conftest.one && + test -s conftest.dir/conftest.two + then + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi + fi + fi + done + done + ;; +esac + + done +IFS=$as_save_IFS + +rm -rf conftest.one conftest.two conftest.dir + +fi + if test "${ac_cv_path_install+set}" = set; then + INSTALL=$ac_cv_path_install + else + # As a last resort, use the slow shell script. Don't cache a + # value for INSTALL within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + INSTALL=$ac_install_sh + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 +$as_echo "$INSTALL" >&6; } + +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. +# It thinks the first close brace ends the variable substitution. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' + +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 +$as_echo_n "checking whether build environment is sane... " >&6; } +# Just in case +sleep 1 +echo timestamp > conftest.file +# Reject unsafe characters in $srcdir or the absolute working directory +# name. Accept space and tab only in the latter. +am_lf=' +' +case `pwd` in + *[\\\"\#\$\&\'\`$am_lf]*) + as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; +esac +case $srcdir in + *[\\\"\#\$\&\'\`$am_lf\ \ ]*) + as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; +esac + +# Do `set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$*" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + rm -f conftest.file + if test "$*" != "X $srcdir/configure conftest.file" \ + && test "$*" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + as_fn_error "ls -t appears to fail. Make sure there is not a broken +alias in your environment" "$LINENO" 5 + fi + + test "$2" = conftest.file + ) +then + # Ok. + : +else + as_fn_error "newly created file is older than distributed files! +Check your system clock" "$LINENO" 5 +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +test "$program_prefix" != NONE && + program_transform_name="s&^&$program_prefix&;$program_transform_name" +# Use a double $ so make ignores it. +test "$program_suffix" != NONE && + program_transform_name="s&\$&$program_suffix&;$program_transform_name" +# Double any \ or $. +# By default was `s,x,x', remove it if useless. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` + +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` + +if test x"${MISSING+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac +fi +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} +fi + +if test x"${install_sh}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; + *) + install_sh="\${SHELL} $am_aux_dir/install-sh" + esac +fi + +# Installed binaries are usually stripped using `strip' when the user +# run `make install-strip'. However `strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the `STRIP' environment variable to overrule this program. +if test "$cross_compiling" != no; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : +if test "${ac_cv_prog_STRIP+set}" = set; then : $as_echo_n "(cached) " >&6 else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -5875,7 +6169,7 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CC="$ac_prog" + ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -5885,21 +6179,57 @@ IFS=$as_save_IFS fi fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi - test -n "$ac_ct_CC" && break +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi done + done +IFS=$as_save_IFS - if test "x$ac_ct_CC" = x; then - CC="" +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) @@ -5907,633 +6237,232 @@ yes:) $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac - CC=$ac_ct_CC + STRIP=$ac_ct_STRIP fi +else + STRIP="$ac_cv_prog_STRIP" fi fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } +if test -z "$MKDIR_P"; then + if test "${ac_cv_path_mkdir+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in mkdir gmkdir; do + for ac_exec_ext in '' $ac_executable_extensions; do + { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( + 'mkdir (GNU coreutils) '* | \ + 'mkdir (coreutils) '* | \ + 'mkdir (fileutils) '4.1*) + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext + break 3;; + esac + done + done + done +IFS=$as_save_IFS -test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "no acceptable C compiler found in \$PATH -See \`config.log' for more details." "$LINENO" 5; } +fi -# Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -for ac_option in --version -v -V -qversion; do - { { ac_try="$ac_compiler $ac_option >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compiler $ac_option >&5") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - sed '10a\ -... rest of stderr output deleted ... - 10q' conftest.err >conftest.er1 - cat conftest.er1 >&5 + test -d ./--version && rmdir ./--version + if test "${ac_cv_path_mkdir+set}" = set; then + MKDIR_P="$ac_cv_path_mkdir -p" + else + # As a last resort, use the slow shell script. Don't cache a + # value for MKDIR_P within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + MKDIR_P="$ac_install_sh -d" fi - rm -f conftest.er1 conftest.err - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } -done - -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" -# Try to create an executable without -o first, disregard a.out. -# It will help us diagnose broken compilers, and finding out an intuition -# of exeext. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 -$as_echo_n "checking whether the C compiler works... " >&6; } -ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 +$as_echo "$MKDIR_P" >&6; } -# The possible output files: -ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" +mkdir_p="$MKDIR_P" +case $mkdir_p in + [\\/$]* | ?:[\\/]*) ;; + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; +esac -ac_rmfiles= -for ac_file in $ac_files +for ac_prog in gawk mawk nawk awk do - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - * ) ac_rmfiles="$ac_rmfiles $ac_file";; - esac -done -rm -f $ac_rmfiles - -if { { ac_try="$ac_link_default" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link_default") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' -# in a Makefile. We should not override ac_cv_exeext if it was cached, -# so that the user can short-circuit this test for compilers unknown to -# Autoconf. -for ac_file in $ac_files '' + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_AWK+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) - ;; - [ab].out ) - # We found the default executable, but exeext='' is most - # certainly right. - break;; - *.* ) - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; - then :; else - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - fi - # We set ac_cv_exeext here because the later test for it is not - # safe: cross compilers may not add the suffix if given an `-o' - # argument, so we may need to know it at that point already. - # Even if this section looks crufty: it has the advantage of - # actually working. - break;; - * ) - break;; - esac + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_AWK="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi done -test "$ac_cv_exeext" = no && ac_cv_exeext= + done +IFS=$as_save_IFS -else - ac_file='' fi -if test -z "$ac_file"; then : +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +$as_echo "$AWK" >&6; } +else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ as_fn_set_status 77 -as_fn_error "C compiler cannot create executables -See \`config.log' for more details." "$LINENO" 5; }; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 -$as_echo_n "checking for C compiler default output file name... " >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 -$as_echo "$ac_file" >&6; } -ac_exeext=$ac_cv_exeext -rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out -ac_clean_files=$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 -$as_echo_n "checking for suffix of executables... " >&6; } -if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - # If both `conftest.exe' and `conftest' are `present' (well, observable) -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will -# work properly (i.e., refer to `conftest.exe'), while it won't with -# `rm'. -for ac_file in conftest.exe conftest conftest.*; do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - break;; - * ) break;; - esac -done -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details." "$LINENO" 5; } -fi -rm -f conftest conftest$ac_cv_exeext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 -$as_echo "$ac_cv_exeext" >&6; } -rm -f conftest.$ac_ext -EXEEXT=$ac_cv_exeext -ac_exeext=$EXEEXT -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -FILE *f = fopen ("conftest.out", "w"); - return ferror (f) || fclose (f) != 0; + test -n "$AWK" && break +done - ; - return 0; -} +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +set x ${MAKE-make} +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + cat >conftest.make <<\_ACEOF +SHELL = /bin/sh +all: + @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF -ac_clean_files="$ac_clean_files conftest.out" -# Check that the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 -$as_echo_n "checking whether we are cross compiling... " >&6; } -if test "$cross_compiling" != yes; then - { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } - if { ac_try='./conftest$ac_cv_exeext' - { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; +# GNU make sometimes prints "make[1]: Entering...", which would confuse us. +case `${MAKE-make} -f conftest.make 2>/dev/null` in + *@@@%%%=?*=@@@%%%*) + eval ac_cv_prog_make_${ac_make}_set=yes;; + *) + eval ac_cv_prog_make_${ac_make}_set=no;; esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; }; then - cross_compiling=no - else - if test "$cross_compiling" = maybe; then - cross_compiling=yes - else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "cannot run C compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details." "$LINENO" 5; } - fi - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 -$as_echo "$cross_compiling" >&6; } - -rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out -ac_clean_files=$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 -$as_echo_n "checking for suffix of object files... " >&6; } -if test "${ac_cv_objext+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.o conftest.obj -if { { ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compile") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - for ac_file in conftest.o conftest.obj conftest.*; do - test -f "$ac_file" || continue; - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` - break;; - esac -done -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "cannot compute suffix of object files: cannot compile -See \`config.log' for more details." "$LINENO" 5; } -fi -rm -f conftest.$ac_cv_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 -$as_echo "$ac_cv_objext" >&6; } -OBJEXT=$ac_cv_objext -ac_objext=$OBJEXT -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if test "${ac_cv_c_compiler_gnu+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_compiler_gnu=yes -else - ac_compiler_gnu=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_c_compiler_gnu=$ac_compiler_gnu - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 -$as_echo "$ac_cv_c_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GCC=yes -else - GCC= -fi -ac_test_CFLAGS=${CFLAGS+set} -ac_save_CFLAGS=$CFLAGS -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 -$as_echo_n "checking whether $CC accepts -g... " >&6; } -if test "${ac_cv_prog_cc_g+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_save_c_werror_flag=$ac_c_werror_flag - ac_c_werror_flag=yes - ac_cv_prog_cc_g=no - CFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_g=yes -else - CFLAGS="" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - -else - ac_c_werror_flag=$ac_save_c_werror_flag - CFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_g=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_c_werror_flag=$ac_save_c_werror_flag -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 -$as_echo "$ac_cv_prog_cc_g" >&6; } -if test "$ac_test_CFLAGS" = set; then - CFLAGS=$ac_save_CFLAGS -elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-g" - fi -else - if test "$GCC" = yes; then - CFLAGS="-O2" - else - CFLAGS= - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if test "${ac_cv_prog_cc_c89+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_cv_prog_cc_c89=no -ac_save_CC=$CC -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#include -#include -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -struct buf { int x; }; -FILE * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return p[i]; -} -static char *f (char * (*g) (char **, int), char **p, ...) -{ - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; -} - -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has - function prototypes and stuff, but not '\xHH' hex character constants. - These don't provoke an error unfortunately, instead are silently treated - as 'x'. The following induces an error, until -std is added to get - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an - array size at least. It's necessary to write '\x00'==0 to get something - that's true only with -std. */ -int osf4_cc_array ['\x00' == 0 ? 1 : -1]; - -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters - inside strings and character constants. */ -#define FOO(x) 'x' -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; - -int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -int argc; -char **argv; -int -main () -{ -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; - ; - return 0; -} -_ACEOF -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" -do - CC="$ac_save_CC $ac_arg" - if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_c89=$ac_arg -fi -rm -f core conftest.err conftest.$ac_objext - test "x$ac_cv_prog_cc_c89" != "xno" && break -done -rm -f conftest.$ac_ext -CC=$ac_save_CC - -fi -# AC_CACHE_VAL -case "x$ac_cv_prog_cc_c89" in - x) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -$as_echo "none needed" >&6; } ;; - xno) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -$as_echo "unsupported" >&6; } ;; - *) - CC="$CC $ac_cv_prog_cc_c89" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; -esac -if test "x$ac_cv_prog_cc_c89" != xno; then : - +rm -f conftest.make +fi +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + SET_MAKE= +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + SET_MAKE="MAKE=${MAKE-make}" 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 - -depcc="$CC" am_compiler_list= - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 -$as_echo_n "checking dependency style of $depcc... " >&6; } -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_CC_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` - fi - am__universal=false - case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac - - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs - am__obj=sub/conftest.${OBJEXT-o} - am__minus_obj="-o $am__obj" - case $depmode in - gcc) - # This depmode causes a compiler race in universal mode. - test "$am__universal" = false || continue - ;; - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has - # not run yet. These depmodes are late enough in the game, and - # so weak that their functioning should not be impacted. - am__obj=conftest.${OBJEXT-o} - am__minus_obj= - ;; - none) break ;; - esac - if depmode=$depmode \ - source=sub/conftest.c object=$am__obj \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_CC_dependencies_compiler_type=$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir +rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. else - am_cv_CC_dependencies_compiler_type=none + am__leading_dot=_ fi +rmdir .tst 2>/dev/null + +DEPDIR="${am__leading_dot}deps" + +ac_config_commands="$ac_config_commands depfiles" + +am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo this is the am__doit target +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 +$as_echo_n "checking for style of include used by $am_make... " >&6; } +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# Ignore all kinds of additional output from `make'. +case `$am_make -s -f confmf 2> /dev/null` in #( +*the\ am__doit\ target*) + am__include=include + am__quote= + _am_result=GNU + ;; +esac +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + case `$am_make -s -f confmf 2> /dev/null` in #( + *the\ am__doit\ target*) + am__include=.include + am__quote="\"" + _am_result=BSD + ;; + esac fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 -$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type - if - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then - am__fastdepCC_TRUE= - am__fastdepCC_FALSE='#' + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 +$as_echo "$_am_result" >&6; } +rm -f confinc confmf + +# Check whether --enable-dependency-tracking was given. +if test "${enable_dependency_tracking+set}" = set; then : + enableval=$enable_dependency_tracking; +fi + +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' +fi + if test "x$enable_dependency_tracking" != xno; then + AMDEP_TRUE= + AMDEP_FALSE='#' else - am__fastdepCC_TRUE='#' - am__fastdepCC_FALSE= + AMDEP_TRUE='#' + AMDEP_FALSE= fi +case `pwd` in + *\ * | *\ *) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 +$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; +esac + + + +macro_version='2.2.6b' +macro_revision='1.3017' + + + + + + + + + + + + + +ltmain="$ac_aux_dir/ltmain.sh" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 $as_echo_n "checking for a sed that does not truncate output... " >&6; } if test "${ac_cv_path_SED+set}" = set; then : @@ -7118,13 +7047,13 @@ if test "${lt_cv_nm_interface+set}" = set; then : else lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext - (eval echo "\"\$as_me:7121: $ac_compile\"" >&5) + (eval echo "\"\$as_me:7050: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 - (eval echo "\"\$as_me:7124: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval echo "\"\$as_me:7053: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 - (eval echo "\"\$as_me:7127: output\"" >&5) + (eval echo "\"\$as_me:7056: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" @@ -8293,7 +8222,6 @@ fi - # Check whether --enable-libtool-lock was given. @@ -8327,7 +8255,7 @@ ia64-*-hpux*) ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 8330 "configure"' > conftest.$ac_ext + echo '#line 8258 "configure"' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -9432,6 +9360,133 @@ am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' +depcc="$CC" am_compiler_list= + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +$as_echo_n "checking dependency style of $depcc... " >&6; } +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CC_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + am__universal=false + case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvisualcpp | msvcmsys) + # This compiler won't grok `-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CC_dependencies_compiler_type=none +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + + if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then + am__fastdepCC_TRUE= + am__fastdepCC_FALSE='#' +else + am__fastdepCC_TRUE='#' + am__fastdepCC_FALSE= +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 @@ -10257,11 +10312,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:10260: $lt_compile\"" >&5) + (eval echo "\"\$as_me:10315: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:10264: \$? = $ac_status" >&5 + echo "$as_me:10319: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -10596,11 +10651,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:10599: $lt_compile\"" >&5) + (eval echo "\"\$as_me:10654: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:10603: \$? = $ac_status" >&5 + echo "$as_me:10658: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -10701,11 +10756,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:10704: $lt_compile\"" >&5) + (eval echo "\"\$as_me:10759: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:10708: \$? = $ac_status" >&5 + echo "$as_me:10763: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -10756,11 +10811,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:10759: $lt_compile\"" >&5) + (eval echo "\"\$as_me:10814: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:10763: \$? = $ac_status" >&5 + echo "$as_me:10818: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -13123,7 +13178,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 13126 "configure" +#line 13181 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13219,7 +13274,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 13222 "configure" +#line 13277 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -17706,11 +17761,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:17709: $lt_compile\"" >&5) + (eval echo "\"\$as_me:17764: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:17713: \$? = $ac_status" >&5 + echo "$as_me:17768: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -17805,11 +17860,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:17808: $lt_compile\"" >&5) + (eval echo "\"\$as_me:17863: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:17812: \$? = $ac_status" >&5 + echo "$as_me:17867: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -17857,11 +17912,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:17860: $lt_compile\"" >&5) + (eval echo "\"\$as_me:17915: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:17864: \$? = $ac_status" >&5 + echo "$as_me:17919: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -19867,6 +19922,14 @@ LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then + as_fn_error "conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then + as_fn_error "conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi if test -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' @@ -19879,14 +19942,6 @@ if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then as_fn_error "conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi -if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then - as_fn_error "conditional \"AMDEP\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then - as_fn_error "conditional \"am__fastdepCC\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then as_fn_error "conditional \"am__fastdepCXX\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 -- cgit v1.2.3