diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-06-01 16:23:36 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-06-01 16:23:36 +0000 |
commit | 0ae54f85adbb6ff900fe820410b9552a9c8efd9b (patch) | |
tree | 33965ca3bf3017f21a079858e33070281b907041 /Build | |
parent | b9798f7c80243bac8584d2d9c02fcee65ef8ae05 (diff) |
implement the configure option --with-tex-banner
git-svn-id: svn://tug.org/texlive/trunk@13561 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/README.config | 35 | ||||
-rwxr-xr-x | Build/source/configure | 47 | ||||
-rwxr-xr-x | Build/source/libs/configure | 7 | ||||
-rwxr-xr-x | Build/source/texk/configure | 7 | ||||
-rw-r--r-- | Build/source/texk/web2c/ChangeLog | 9 | ||||
-rw-r--r-- | Build/source/texk/web2c/ac/web2c.ac | 3 | ||||
-rwxr-xr-x | Build/source/texk/web2c/configure | 90 | ||||
-rw-r--r-- | Build/source/texk/web2c/configure.ac | 9 | ||||
-rwxr-xr-x | Build/source/utils/configure | 7 |
9 files changed, 148 insertions, 66 deletions
diff --git a/Build/source/README.config b/Build/source/README.config index 543bab8f5f8..ef3b2047092 100644 --- a/Build/source/README.config +++ b/Build/source/README.config @@ -77,42 +77,61 @@ clisp and others). 2.3. Configure options for texk/web2c/ -------------------------------------- -2.3.1. --enable-auto-core +2.3.1. --with-tex-banner=STR + +Specify the version string STR appended to banner lines, replacing the current +default `Web2C 2009'; the string STR must contain the current Web2C version. + +The Build script for a TL native build currently uses the default +`--with-tex-banner="TeX Live 2009"', whereas when buildind for a distro one +might specify, e.g., `--with-tex-banner="TeX Live 2009/Debian"' + +2.3.1. --with-editor=CMD + +Specify the command CMD to invoke from the `e' option, replacing the default +`vi +%d %s'. + +2.3.3. --enable-auto-core This option causes TeX & MF to produce a core dump when a particular filename is encountered. -2.3.2. --disable-dump-share +2.3.4. --disable-dump-share Make the fmt/base/mem dump files architecture dependend (somewhat faster on little-endian architectures). -2.3.3. --enable-ipc +2.3.5. --disable-ipc If enabled (by default) allow TeX's '--ipc' option. -2.3.4. --disable-tex, --enable-etex, --disable-aleph, --disable-pdftex, +2.3.6. --disable-tex, --enable-etex, --disable-aleph, --disable-pdftex, --disable-luatex, --disable-xetex, --disable-mf, --disable-mp Do or do not build the various TeX, METAFONT, and MetaPost engines. -2.3.5. --with-mf-x-toolkit +2.3.7. --with-mf-x-toolkit Use the X toolkit (libXt) for METAFONT (default is yes). -2.3.6. --enable-*win +2.3.8. --enable-*win Include various types of window support for METAFONT. -2.3.7. --disable-mf-nowin +2.3.9. --disable-mf-nowin Do not build a separate non-windows-capable METAFONT. -2.3.8. --disable-web-progs +2.3.10. --disable-web-progs Do not build the WEB programs bibtex ... weave, e.g., when you just have to rebuid some engines. +2.3.11. --disable-omfonts + +Build the Web2C versions of the omega font utilies (ofm2opl, opl2ofm, +ovf2ovp, and ovp2ovf) instead of the C version omfonts. + 2.4. Configure options for texk/xdvik/ -------------------------------------- diff --git a/Build/source/configure b/Build/source/configure index ebb24e5cebe..5fd720b0e1b 100755 --- a/Build/source/configure +++ b/Build/source/configure @@ -934,6 +934,7 @@ enable_xindy_rules enable_xindy_docs with_xindy_recode enable_web2c +with_tex_banner with_editor enable_auto_core enable_dump_share @@ -1808,6 +1809,7 @@ Optional Packages: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-xindy-recode For `xindy': use `recode' instead of `iconv' (default is NO) + --with-tex-banner=STR version string appended to banner lines [Web2C YEAR] --with-editor=CMD invoke CMD from the `e' option [vi +%d %s] --without-mf-x-toolkit do not use X toolkit for METAFONT --with-gs=/PATH/TO/gs Hard-wire the location of GhostScript @@ -2681,6 +2683,11 @@ test "x$enable_web2c" = xno || { ## 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 + # Check whether --with-editor was given. if test "${with_editor+set}" = set; then withval=$with_editor; @@ -6165,13 +6172,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:6168: $ac_compile\"" >&5) + (eval echo "\"\$as_me:6175: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 - (eval echo "\"\$as_me:6171: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval echo "\"\$as_me:6178: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 - (eval echo "\"\$as_me:6174: output\"" >&5) + (eval echo "\"\$as_me:6181: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" @@ -7377,7 +7384,7 @@ ia64-*-hpux*) ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 7380 "configure"' > conftest.$ac_ext + echo '#line 7387 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -9323,11 +9330,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:9326: $lt_compile\"" >&5) + (eval echo "\"\$as_me:9333: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:9330: \$? = $ac_status" >&5 + echo "$as_me:9337: \$? = $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. @@ -9662,11 +9669,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:9665: $lt_compile\"" >&5) + (eval echo "\"\$as_me:9672: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:9669: \$? = $ac_status" >&5 + echo "$as_me:9676: \$? = $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. @@ -9767,11 +9774,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:9770: $lt_compile\"" >&5) + (eval echo "\"\$as_me:9777: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:9774: \$? = $ac_status" >&5 + echo "$as_me:9781: \$? = $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 @@ -9822,11 +9829,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:9825: $lt_compile\"" >&5) + (eval echo "\"\$as_me:9832: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:9829: \$? = $ac_status" >&5 + echo "$as_me:9836: \$? = $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 @@ -12622,7 +12629,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12625 "configure" +#line 12632 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12718,7 +12725,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12721 "configure" +#line 12728 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -19152,11 +19159,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:19155: $lt_compile\"" >&5) + (eval echo "\"\$as_me:19162: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:19159: \$? = $ac_status" >&5 + echo "$as_me:19166: \$? = $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. @@ -19251,11 +19258,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:19254: $lt_compile\"" >&5) + (eval echo "\"\$as_me:19261: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:19258: \$? = $ac_status" >&5 + echo "$as_me:19265: \$? = $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 @@ -19303,11 +19310,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:19306: $lt_compile\"" >&5) + (eval echo "\"\$as_me:19313: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:19310: \$? = $ac_status" >&5 + echo "$as_me:19317: \$? = $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 diff --git a/Build/source/libs/configure b/Build/source/libs/configure index 95aac015872..14963c76bd3 100755 --- a/Build/source/libs/configure +++ b/Build/source/libs/configure @@ -697,6 +697,7 @@ enable_xindy_rules enable_xindy_docs with_xindy_recode enable_web2c +with_tex_banner with_editor enable_auto_core enable_dump_share @@ -1549,6 +1550,7 @@ Optional Packages: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-xindy-recode For `xindy': use `recode' instead of `iconv' (default is NO) + --with-tex-banner=STR version string appended to banner lines [Web2C YEAR] --with-editor=CMD invoke CMD from the `e' option [vi +%d %s] --without-mf-x-toolkit do not use X toolkit for METAFONT --with-gs=/PATH/TO/gs Hard-wire the location of GhostScript @@ -2400,6 +2402,11 @@ test "x$enable_web2c" = xno || { ## 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 + # Check whether --with-editor was given. if test "${with_editor+set}" = set; then withval=$with_editor; diff --git a/Build/source/texk/configure b/Build/source/texk/configure index 7f8741bf04a..53ed22ddf99 100755 --- a/Build/source/texk/configure +++ b/Build/source/texk/configure @@ -697,6 +697,7 @@ enable_xindy_rules enable_xindy_docs with_xindy_recode enable_web2c +with_tex_banner with_editor enable_auto_core enable_dump_share @@ -1567,6 +1568,7 @@ Optional Packages: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-xindy-recode For `xindy': use `recode' instead of `iconv' (default is NO) + --with-tex-banner=STR version string appended to banner lines [Web2C YEAR] --with-editor=CMD invoke CMD from the `e' option [vi +%d %s] --without-mf-x-toolkit do not use X toolkit for METAFONT --with-gs=/PATH/TO/gs Hard-wire the location of GhostScript @@ -2418,6 +2420,11 @@ test "x$enable_web2c" = xno || { ## 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 + # Check whether --with-editor was given. if test "${with_editor+set}" = set; then withval=$with_editor; diff --git a/Build/source/texk/web2c/ChangeLog b/Build/source/texk/web2c/ChangeLog index e41bdfea405..1429d5fce8b 100644 --- a/Build/source/texk/web2c/ChangeLog +++ b/Build/source/texk/web2c/ChangeLog @@ -1,3 +1,12 @@ +2009-06-01 Peter Breitenlohner <peb@mppmu.mpg.de> + + * Update version number to 2009. + + * configure.ac, ac/web2c.ac (--with-tex-banner): + allow to specify the string appended to banner lines instead of + the current default 'Web2C 2009'. + This string must contain the current Web2C version number. + 2009-05-29 Peter Breitenlohner <peb@mppmu.mpg.de> * configure.ac, ac/web2c.ac (enable_omfonts): allow to choose diff --git a/Build/source/texk/web2c/ac/web2c.ac b/Build/source/texk/web2c/ac/web2c.ac index 9e99a22e63e..e7d13dae9ff 100644 --- a/Build/source/texk/web2c/ac/web2c.ac +++ b/Build/source/texk/web2c/ac/web2c.ac @@ -5,6 +5,9 @@ dnl You may freely use, modify and/or distribute this file. dnl ## configure options for TeX and MF m4_define_default([kpse_indent_26], [26])[]dnl +AC_ARG_WITH([tex-banner], + AS_HELP_STRING([--with-tex-banner=STR], + [version string appended to banner lines @<:@Web2C YEAR@:>@]))[]dnl AC_ARG_WITH([editor], AS_HELP_STRING([--with-editor=CMD], [invoke CMD from the `e' option @<:@vi +%d %s@:>@]))[]dnl diff --git a/Build/source/texk/web2c/configure b/Build/source/texk/web2c/configure index a269ffb959a..36bc3c4167e 100755 --- a/Build/source/texk/web2c/configure +++ b/Build/source/texk/web2c/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.63 for Web2C 7.5.7. +# Generated by GNU Autoconf 2.63 for Web2C 2009. # # Report bugs to <tex-k@tug.org>. # @@ -745,8 +745,8 @@ SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='Web2C' PACKAGE_TARNAME='web2c' -PACKAGE_VERSION='7.5.7' -PACKAGE_STRING='Web2C 7.5.7' +PACKAGE_VERSION='2009' +PACKAGE_STRING='Web2C 2009' PACKAGE_BUGREPORT='tex-k@tug.org' ac_unique_file="cpascal.h" @@ -1033,6 +1033,7 @@ with_gnu_ld enable_libtool_lock enable_largefile enable_cxx_runtime_hack +with_tex_banner with_editor enable_auto_core enable_dump_share @@ -1646,7 +1647,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures Web2C 7.5.7 to adapt to many kinds of systems. +\`configure' configures Web2C 2009 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1720,7 +1721,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of Web2C 7.5.7:";; + short | recursive ) echo "Configuration of Web2C 2009:";; esac cat <<\_ACEOF @@ -1769,6 +1770,7 @@ Optional Packages: --with-pic try to use only PIC/non-PIC objects [default=use both] --with-gnu-ld assume the C compiler uses GNU ld [default=no] + --with-tex-banner=STR version string appended to banner lines [Web2C YEAR] --with-editor=CMD invoke CMD from the `e' option [vi +%d %s] --without-mf-x-toolkit do not use X toolkit for METAFONT --with-fontconfig-includes=DIR @@ -1890,7 +1892,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -Web2C configure 7.5.7 +Web2C configure 2009 generated by GNU Autoconf 2.63 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @@ -1904,7 +1906,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 Web2C $as_me 7.5.7, which was +It was created by Web2C $as_me 2009, which was generated by GNU Autoconf 2.63. Invocation command line was $ $0 $@ @@ -2307,11 +2309,7 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. -WEB2CVERSION=7.5.7 - -cat >>confdefs.h <<_ACEOF -#define WEB2CVERSION " (Web2C $WEB2CVERSION)" -_ACEOF +WEB2CVERSION=2009 am__api_version='1.11' @@ -4564,13 +4562,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:4567: $ac_compile\"" >&5) + (eval echo "\"\$as_me:4565: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 - (eval echo "\"\$as_me:4570: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval echo "\"\$as_me:4568: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 - (eval echo "\"\$as_me:4573: output\"" >&5) + (eval echo "\"\$as_me:4571: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" @@ -5776,7 +5774,7 @@ ia64-*-hpux*) ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 5779 "configure"' > conftest.$ac_ext + echo '#line 5777 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -7156,7 +7154,7 @@ fi # Define the identity of the package. PACKAGE='web2c' - VERSION='7.5.7' + VERSION='2009' cat >>confdefs.h <<_ACEOF @@ -7722,11 +7720,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:7725: $lt_compile\"" >&5) + (eval echo "\"\$as_me:7723: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:7729: \$? = $ac_status" >&5 + echo "$as_me:7727: \$? = $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. @@ -8061,11 +8059,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:8064: $lt_compile\"" >&5) + (eval echo "\"\$as_me:8062: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:8068: \$? = $ac_status" >&5 + echo "$as_me:8066: \$? = $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. @@ -8166,11 +8164,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:8169: $lt_compile\"" >&5) + (eval echo "\"\$as_me:8167: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:8173: \$? = $ac_status" >&5 + echo "$as_me:8171: \$? = $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 @@ -8221,11 +8219,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:8224: $lt_compile\"" >&5) + (eval echo "\"\$as_me:8222: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:8228: \$? = $ac_status" >&5 + echo "$as_me:8226: \$? = $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 @@ -11021,7 +11019,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11024 "configure" +#line 11022 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11117,7 +11115,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11120 "configure" +#line 11118 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -16171,11 +16169,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:16174: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16172: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:16178: \$? = $ac_status" >&5 + echo "$as_me:16176: \$? = $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. @@ -16270,11 +16268,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:16273: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16271: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:16277: \$? = $ac_status" >&5 + echo "$as_me:16275: \$? = $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 @@ -16322,11 +16320,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:16325: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16323: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:16329: \$? = $ac_status" >&5 + echo "$as_me:16327: \$? = $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 @@ -17574,6 +17572,11 @@ fi ## 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 + # Check whether --with-editor was given. if test "${with_editor+set}" = set; then withval=$with_editor; @@ -17722,6 +17725,21 @@ if test "${enable_web_progs+set}" = set; then fi +case $with_tex_banner in + ''|yes|no) with_tex_banner="Web2C $WEB2CVERSION" ;; + *) if test -z `echo "$with_tex_banner" | sed -n "/ $WEB2CVERSION/p"`; then + { { $as_echo "$as_me:$LINENO: error: Bad \`--with-tex-banner=$with_tex_banner' version string (must contain \` $WEB2CVERSION')" >&5 +$as_echo "$as_me: error: Bad \`--with-tex-banner=$with_tex_banner' version string (must contain \` $WEB2CVERSION')" >&2;} + { (exit 1); exit 1; }; } +fi + ;; +esac + +cat >>confdefs.h <<_ACEOF +#define WEB2CVERSION " ($with_tex_banner)" +_ACEOF + + for ac_prog in kpsewhich do # Extract the first word of "$ac_prog", so it can be a program name with args. @@ -22657,7 +22675,7 @@ Usage: $0 [OPTIONS] Report bugs to <bug-libtool@gnu.org>." lt_cl_version="\ -Web2C config.lt 7.5.7 +Web2C config.lt 2009 configured by $0, generated by GNU Autoconf 2.63. Copyright (C) 2008 Free Software Foundation, Inc. @@ -25340,7 +25358,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 Web2C $as_me 7.5.7, which was +This file was extended by Web2C $as_me 2009, which was generated by GNU Autoconf 2.63. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -25403,7 +25421,7 @@ Report bugs to <bug-autoconf@gnu.org>." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_version="\\ -Web2C config.status 7.5.7 +Web2C config.status 2009 configured by $0, generated by GNU Autoconf 2.63, with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" diff --git a/Build/source/texk/web2c/configure.ac b/Build/source/texk/web2c/configure.ac index fe23be2bb2b..1bb30f4d901 100644 --- a/Build/source/texk/web2c/configure.ac +++ b/Build/source/texk/web2c/configure.ac @@ -19,7 +19,7 @@ dnl get these features if you are willing to hack the sources. If not, dnl it'll take a good argument to convince me to invest the time to make dnl them configurable. dnl -m4_define([web2_version], [7.5.7]) +m4_define([web2_version], [2009]) AC_INIT([Web2C], web2_version(), [tex-k@tug.org]) AC_PREREQ([2.63]) dnl @@ -32,7 +32,6 @@ AC_CONFIG_MACRO_DIR([../../m4]) WEB2CVERSION=web2_version() AC_SUBST([WEB2CVERSION]) -AC_DEFINE_UNQUOTED([WEB2CVERSION], [" (Web2C $WEB2CVERSION)"]) dnl Common code for all programs using libkpathsea. KPSE_COMMON([web2c programs]) @@ -44,6 +43,12 @@ dnl Include additional code for web2c. KPSE_WEB2C_PREPARE m4_include([ac/web2c.ac]) +AS_CASE([$with_tex_banner], + [''|yes|no], [with_tex_banner="Web2C $WEB2CVERSION"], + [AS_IF([test -z `echo "$with_tex_banner" | sed -n "/ $WEB2CVERSION/p"`], + [AC_MSG_ERROR([Bad `--with-tex-banner=$with_tex_banner' version string (must contain ` $WEB2CVERSION')])])]) +AC_DEFINE_UNQUOTED([WEB2CVERSION], [" ($with_tex_banner)"]) + dnl For tests AC_CHECK_PROGS([KPSEWHICH], [kpsewhich], [false]) diff --git a/Build/source/utils/configure b/Build/source/utils/configure index 5aed784beec..ac6d004c655 100755 --- a/Build/source/utils/configure +++ b/Build/source/utils/configure @@ -697,6 +697,7 @@ enable_xindy_rules enable_xindy_docs with_xindy_recode enable_web2c +with_tex_banner with_editor enable_auto_core enable_dump_share @@ -1546,6 +1547,7 @@ Optional Packages: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-xindy-recode For `xindy': use `recode' instead of `iconv' (default is NO) + --with-tex-banner=STR version string appended to banner lines [Web2C YEAR] --with-editor=CMD invoke CMD from the `e' option [vi +%d %s] --without-mf-x-toolkit do not use X toolkit for METAFONT --with-gs=/PATH/TO/gs Hard-wire the location of GhostScript @@ -2397,6 +2399,11 @@ test "x$enable_web2c" = xno || { ## 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 + # Check whether --with-editor was given. if test "${with_editor+set}" = set; then withval=$with_editor; |