diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-06-15 15:14:49 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-06-15 15:14:49 +0000 |
commit | fa4a6e52817931e2231cf5804bbe700c759fd420 (patch) | |
tree | 01ee07f7ec7d907331b9f9caaedf1e113f9961d5 /Build/source/configure | |
parent | aa5c6d6d8dd6d2d7e34150060ef7ed5c23139efa (diff) |
regenerate
git-svn-id: svn://tug.org/texlive/trunk@13755 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/configure')
-rwxr-xr-x | Build/source/configure | 214 |
1 files changed, 174 insertions, 40 deletions
diff --git a/Build/source/configure b/Build/source/configure index 58f1f694d1a..3badb21b4eb 100755 --- a/Build/source/configure +++ b/Build/source/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.63 for TeX Live 2009-05-29. +# Generated by GNU Autoconf 2.63 for TeX Live 2009-06-12. # # Report bugs to <tex-k@tug.org>. # @@ -745,8 +745,8 @@ SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='TeX Live' PACKAGE_TARNAME='tex-live' -PACKAGE_VERSION='2009-05-29' -PACKAGE_STRING='TeX Live 2009-05-29' +PACKAGE_VERSION='2009-06-12' +PACKAGE_STRING='TeX Live 2009-06-12' PACKAGE_BUGREPORT='tex-k@tug.org' ac_unique_file="m4/kpse-pkgs.m4" @@ -797,6 +797,7 @@ build_kpathsea_TRUE PKG_CONFIG FT2_CONFIG CXXCPP +WARNING_CXXFLAGS am__fastdepCXX_FALSE am__fastdepCXX_TRUE CXXDEPMODE @@ -808,6 +809,7 @@ X_LIBS X_PRE_LIBS X_CFLAGS XMKMF +WARNING_CFLAGS CPP OTOOL64 OTOOL @@ -1046,6 +1048,7 @@ enable_dependency_tracking with_gnu_ld enable_libtool_lock enable_largefile +enable_compiler_warnings with_x with_ln_s ' @@ -1615,7 +1618,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures TeX Live 2009-05-29 to adapt to many kinds of systems. +\`configure' configures TeX Live 2009-06-12 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1689,7 +1692,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of TeX Live 2009-05-29:";; + short | recursive ) echo "Configuration of TeX Live 2009-06-12:";; esac cat <<\_ACEOF @@ -1791,8 +1794,7 @@ Optional Features: do not run mktextfm if TFM file missing --disable-mkocp-default do not run mkocp if OCP file missing --disable-mkofm-default do not run mkofm if OFM file missing - --disable-mktexfmt-default - do not run mktexfmt if format file missing + --enable-mktexfmt-default run mktexfmt if format file missing --enable-mktextex-default run mktextex if TeX source missing --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer @@ -1804,6 +1806,9 @@ Optional Features: --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] + Turn on compiler warnings [default: yes if + maintainer-mode, min otherwise] Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] @@ -1944,7 +1949,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -TeX Live configure 2009-05-29 +TeX Live configure 2009-06-12 generated by GNU Autoconf 2.63 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @@ -1958,7 +1963,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by TeX Live $as_me 2009-05-29, which was +It was created by TeX Live $as_me 2009-06-12, which was generated by GNU Autoconf 2.63. Invocation command line was $ $0 $@ @@ -2475,13 +2480,28 @@ esac ac_configure_args="$ac_configure_args '--enable-cxx-runtime-hack'" ;; esac - case $enable_shared in - yes | no) : ;; +fi +case $enable_shared in + no) : ;; + yes ) if test "x$enable_native_texlive_build" = xyes; then + { { $as_echo "$as_me:$LINENO: error: you can not use a shared Kpathsea library for a native TeX Live build" >&5 +$as_echo "$as_me: error: you can not use a shared Kpathsea library for a native TeX Live build" >&2;} + { (exit 1); exit 1; }; } +fi + ;; *) enable_shared=no - ac_configure_args="$ac_configure_args '--disable-shared'" ;; + ac_configure_args="$ac_configure_args '--disable-shared'" ;; +esac + +case $enable_texlive_build in + yes) : ;; + no) { { $as_echo "$as_me:$LINENO: error: you can not configure the TeX Live tree with \`--disable-texlive-build'" >&5 +$as_echo "$as_me: error: you can not configure the TeX Live tree with \`--disable-texlive-build'" >&2;} + { (exit 1); exit 1; }; } ;; + *) enable_texlive_build=yes + ac_configure_args="$ac_configure_args '--enable-texlive-build'" ;; esac -fi # Check whether --enable-multiplatform was given. if test "${enable_multiplatform+set}" = set; then enableval=$enable_multiplatform; @@ -3504,9 +3524,8 @@ $as_echo "$as_me: Using \`kpathsea' headers and library from TL tree" >&6;} fi fi -## texk/kpathsea/ac/web2c.ac: configure.ac fragment for the TeX Live -## subdirectory texk/kpathsea. -## configure defaults for mktexfmt & Co. +## texk/kpathsea/ac/web2c.ac: configure.ac fragment for the TeX Live subdirectory texk/kpathsea/ +## configure options for mktextmf-default & Co # Check whether --enable-mktexmf-default was given. if test "${enable_mktexmf_default+set}" = set; then enableval=$enable_mktexmf_default; @@ -3553,7 +3572,7 @@ if test "${enable_mktexfmt_default+set}" = set; then fi case $enable_mktexfmt_default in yes|no) : ;; - *) enable_mktexfmt_default=yes ;; + *) enable_mktexfmt_default=no ;; esac # Check whether --enable-mktextex-default was given. if test "${enable_mktextex_default+set}" = set; then @@ -6174,13 +6193,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:6177: $ac_compile\"" >&5) + (eval echo "\"\$as_me:6196: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 - (eval echo "\"\$as_me:6180: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval echo "\"\$as_me:6199: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 - (eval echo "\"\$as_me:6183: output\"" >&5) + (eval echo "\"\$as_me:6202: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" @@ -7386,7 +7405,7 @@ ia64-*-hpux*) ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 7389 "configure"' > conftest.$ac_ext + echo '#line 7408 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -8741,6 +8760,21 @@ fi done +# Check whether --enable-compiler-warnings was given. +if test "${enable_compiler_warnings+set}" = set; then + enableval=$enable_compiler_warnings; +fi +case $enable_compiler_warnings in + no | min | yes | max) : ;; + *) if test "x$enable_maintainer_mode" = xyes; then + enable_compiler_warnings=yes +else + enable_compiler_warnings=min +fi + ;; +esac + + if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output @@ -8766,7 +8800,7 @@ fi # Define the identity of the package. PACKAGE='tex-live' - VERSION='2009-05-29' + VERSION='2009-06-12' cat >>confdefs.h <<_ACEOF @@ -9332,11 +9366,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:9335: $lt_compile\"" >&5) + (eval echo "\"\$as_me:9369: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:9339: \$? = $ac_status" >&5 + echo "$as_me:9373: \$? = $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. @@ -9671,11 +9705,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:9674: $lt_compile\"" >&5) + (eval echo "\"\$as_me:9708: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:9678: \$? = $ac_status" >&5 + echo "$as_me:9712: \$? = $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. @@ -9776,11 +9810,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:9779: $lt_compile\"" >&5) + (eval echo "\"\$as_me:9813: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:9783: \$? = $ac_status" >&5 + echo "$as_me:9817: \$? = $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 @@ -9831,11 +9865,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:9834: $lt_compile\"" >&5) + (eval echo "\"\$as_me:9868: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:9838: \$? = $ac_status" >&5 + echo "$as_me:9872: \$? = $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 @@ -12631,7 +12665,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12634 "configure" +#line 12668 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12727,7 +12761,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12730 "configure" +#line 12764 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -14730,6 +14764,42 @@ cat >>confdefs.h <<\_ACEOF _ACEOF fi +{ $as_echo "$as_me:$LINENO: checking what warning flags to pass to the C compiler" >&5 +$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; } +if test "${kpse_cv_warning_cflags+set}" = set; then + $as_echo_n "(cached) " >&6 +else + if test "x$enable_compiler_warnings" = xno; then + kpse_cv_warning_cflags= +elif test "x$GCC" = xyes; then + kpse_cv_warning_cflags="-Wall -Wunused" + if test "x$enable_compiler_warnings" != xmin; then + kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations" + case `$CC -dumpversion` in + 3.4.* | 4.*) kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; +esac + + if test "x$enable_compiler_warnings" != xyes; then + kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wimplicit -Wparentheses -Wreturn-type" + kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wswitch -Wtrigraphs -Wshadow -Wpointer-arith" + kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings" + case `$CC -dumpversion` in + 3.4.* | 4.*) kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; +esac + + fi + fi +else + : # FIXME: warning flags for non-gcc compilers +fi +fi +{ $as_echo "$as_me:$LINENO: result: $kpse_cv_warning_cflags" >&5 +$as_echo "$kpse_cv_warning_cflags" >&6; } +WARNING_CFLAGS=$kpse_cv_warning_cflags + + + + { $as_echo "$as_me:$LINENO: checking for X" >&5 @@ -17110,6 +17180,30 @@ else am__fastdepCXX_FALSE= fi +{ $as_echo "$as_me:$LINENO: checking what warning flags to pass to the C++ compiler" >&5 +$as_echo_n "checking what warning flags to pass to the C++ compiler... " >&6; } +if test "${kpse_cv_warning_cxxflags+set}" = set; then + $as_echo_n "(cached) " >&6 +else + if test "x$enable_compiler_warnings" = xno; then + kpse_cv_warning_cxxflags= +elif test "x$GXX" = xyes; then + kpse_cv_warning_cxxflags="-Wall -Wunused" + if test "x$enable_compiler_warnings" != xmin; then + if test "x$enable_compiler_warnings" != xyes; then + kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wimplicit -Wparentheses -Wreturn-type" + kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wswitch -Wtrigraphs -Wshadow -Wpointer-arith" + kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wcast-qual -Wcast-align -Wwrite-strings" + fi + fi +else + : # FIXME: warning flags for non-g++ compilers +fi +fi +{ $as_echo "$as_me:$LINENO: result: $kpse_cv_warning_cxxflags" >&5 +$as_echo "$kpse_cv_warning_cxxflags" >&6; } +WARNING_CXXFLAGS=$kpse_cv_warning_cxxflags + if test -n "$CXX" && ( test "X$CXX" != "Xno" && ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || @@ -19161,11 +19255,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:19164: $lt_compile\"" >&5) + (eval echo "\"\$as_me:19258: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:19168: \$? = $ac_status" >&5 + echo "$as_me:19262: \$? = $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. @@ -19260,11 +19354,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:19263: $lt_compile\"" >&5) + (eval echo "\"\$as_me:19357: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:19267: \$? = $ac_status" >&5 + echo "$as_me:19361: \$? = $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 @@ -19312,11 +19406,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:19315: $lt_compile\"" >&5) + (eval echo "\"\$as_me:19409: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:19319: \$? = $ac_status" >&5 + echo "$as_me:19413: \$? = $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 @@ -20276,6 +20370,30 @@ 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 +{ $as_echo "$as_me:$LINENO: checking what warning flags to pass to the C++ compiler" >&5 +$as_echo_n "checking what warning flags to pass to the C++ compiler... " >&6; } +if test "${kpse_cv_warning_cxxflags+set}" = set; then + $as_echo_n "(cached) " >&6 +else + if test "x$enable_compiler_warnings" = xno; then + kpse_cv_warning_cxxflags= +elif test "x$GXX" = xyes; then + kpse_cv_warning_cxxflags="-Wall -Wunused" + if test "x$enable_compiler_warnings" != xmin; then + if test "x$enable_compiler_warnings" != xyes; then + kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wimplicit -Wparentheses -Wreturn-type" + kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wswitch -Wtrigraphs -Wshadow -Wpointer-arith" + kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wcast-qual -Wcast-align -Wwrite-strings" + fi + fi +else + : # FIXME: warning flags for non-g++ compilers +fi +fi +{ $as_echo "$as_me:$LINENO: result: $kpse_cv_warning_cxxflags" >&5 +$as_echo "$kpse_cv_warning_cxxflags" >&6; } +WARNING_CXXFLAGS=$kpse_cv_warning_cxxflags + { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 @@ -20349,6 +20467,7 @@ kpse_save_CPPFLAGS=$CPPFLAGS kpse_save_LIBS=$LIBS syslib_status=yes +syslib_used=no if test "x$with_zlib_includes" != x && test "x$with_zlib_includes" != xyes; then ZLIB_INCLUDES="-I$with_zlib_includes" fi @@ -20881,6 +21000,7 @@ fi done + syslib_used=yes fi @@ -21147,6 +21267,7 @@ fi done + syslib_used=yes fi @@ -21414,6 +21535,7 @@ fi done + syslib_used=yes fi @@ -21680,6 +21802,7 @@ fi done + syslib_used=yes fi @@ -21946,6 +22069,7 @@ fi done + syslib_used=yes fi @@ -22212,6 +22336,7 @@ fi done + syslib_used=yes fi @@ -22478,6 +22603,7 @@ fi done + syslib_used=yes fi @@ -22749,6 +22875,7 @@ fi done + syslib_used=yes fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -23020,6 +23147,7 @@ fi done + syslib_used=yes fi @@ -23287,6 +23415,7 @@ fi done + syslib_used=yes fi @@ -23295,6 +23424,11 @@ if test "x$syslib_status" = xno; then $as_echo "$as_me: error: some requested system libraries failed" >&2;} { (exit 1); exit 1; }; } fi +if test "x$syslib_used:$enable_native_texlive_build" = xyes:yes; then + { { $as_echo "$as_me:$LINENO: error: you can not use system libraries for a native TeX Live build" >&5 +$as_echo "$as_me: error: you can not use system libraries for a native TeX Live build" >&2;} + { (exit 1); exit 1; }; } +fi CPPFLAGS=$kpse_save_CPPFLAGS LIBS=$kpse_save_LIBS @@ -23828,7 +23962,7 @@ exec 6>&1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by TeX Live $as_me 2009-05-29, which was +This file was extended by TeX Live $as_me 2009-06-12, which was generated by GNU Autoconf 2.63. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -23882,7 +24016,7 @@ Report bugs to <bug-autoconf@gnu.org>." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_version="\\ -TeX Live config.status 2009-05-29 +TeX Live config.status 2009-06-12 configured by $0, generated by GNU Autoconf 2.63, with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |