summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c')
-rw-r--r--Build/source/texk/web2c/Makefile.am4
-rw-r--r--Build/source/texk/web2c/Makefile.in3
-rwxr-xr-xBuild/source/texk/web2c/bibtex.test3
-rwxr-xr-xBuild/source/texk/web2c/configure85
-rw-r--r--Build/source/texk/web2c/configure.ac3
-rwxr-xr-xBuild/source/texk/web2c/ctiedir/ctie.test3
-rwxr-xr-xBuild/source/texk/web2c/cwebdir/cweave.test3
-rw-r--r--Build/source/texk/web2c/doc/Makefile.in1
-rwxr-xr-xBuild/source/texk/web2c/dvicopy.test13
-rwxr-xr-xBuild/source/texk/web2c/dvitomp.test17
-rwxr-xr-xBuild/source/texk/web2c/dvitype.test3
-rwxr-xr-xBuild/source/texk/web2c/etexdir/etrip.test3
-rwxr-xr-xBuild/source/texk/web2c/gftodvi.test3
-rwxr-xr-xBuild/source/texk/web2c/gftopk.test3
-rwxr-xr-xBuild/source/texk/web2c/gftype.test3
-rw-r--r--Build/source/texk/web2c/lib/Makefile.in1
-rwxr-xr-xBuild/source/texk/web2c/libmd5/md5.test3
-rwxr-xr-xBuild/source/texk/web2c/luatexdir/luatangle.test3
-rw-r--r--Build/source/texk/web2c/man/Makefile.in1
-rwxr-xr-xBuild/source/texk/web2c/mft.test3
-rw-r--r--Build/source/texk/web2c/mpware/Makefile.in1
-rw-r--r--Build/source/texk/web2c/omegafonts/Makefile.in1
-rwxr-xr-xBuild/source/texk/web2c/omegaware/otangle.test3
-rw-r--r--Build/source/texk/web2c/otps/Makefile.in1
-rwxr-xr-xBuild/source/texk/web2c/patgen.test3
-rwxr-xr-xBuild/source/texk/web2c/pktogf.test3
-rwxr-xr-xBuild/source/texk/web2c/pktype.test3
-rwxr-xr-xBuild/source/texk/web2c/pltotf.test3
-rwxr-xr-xBuild/source/texk/web2c/pooltype.test3
-rwxr-xr-xBuild/source/texk/web2c/tangle.test3
-rwxr-xr-xBuild/source/texk/web2c/tftopl.test3
-rwxr-xr-xBuild/source/texk/web2c/tiedir/tie.test3
-rwxr-xr-xBuild/source/texk/web2c/trap.test3
-rwxr-xr-xBuild/source/texk/web2c/trip.test3
-rwxr-xr-xBuild/source/texk/web2c/vftovp.test3
-rwxr-xr-xBuild/source/texk/web2c/vptovf.test3
-rwxr-xr-xBuild/source/texk/web2c/weave.test3
-rw-r--r--Build/source/texk/web2c/window/Makefile.in1
38 files changed, 177 insertions, 30 deletions
diff --git a/Build/source/texk/web2c/Makefile.am b/Build/source/texk/web2c/Makefile.am
index 1faeb33326b..1b8169e1378 100644
--- a/Build/source/texk/web2c/Makefile.am
+++ b/Build/source/texk/web2c/Makefile.am
@@ -101,10 +101,10 @@ ctangle = $(buildenv) $(CTANGLE)
ctangleboot = $(buildenv) $(CTANGLEBOOT)
tie = WEBINPUTS=.:$(srcdir) $(buildenv) $(TIE)
-## For trip and trap tests
+## For trip, trap, and other tests
DIFF = diff
DIFFFLAGS =
-TESTS_ENVIRONMENT = DIFF='$(DIFF)' DIFFFLAGS='$(DIFFFLAGS)' LN_S='$(LN_S)'
+TESTS_ENVIRONMENT = DIFF='$(DIFF)' DIFFFLAGS='$(DIFFFLAGS)' LN_S='$(LN_S)' KPSEWHICH='$(KPSEWHICH)'
## The environment for making dumps.
## No need to specify TEXMF, as ../kpathsea/texmf.cnf should contain
diff --git a/Build/source/texk/web2c/Makefile.in b/Build/source/texk/web2c/Makefile.in
index ec4109f6088..07f17469c9c 100644
--- a/Build/source/texk/web2c/Makefile.in
+++ b/Build/source/texk/web2c/Makefile.in
@@ -865,6 +865,7 @@ KPATHSEA_DEPEND = @KPATHSEA_DEPEND@
KPATHSEA_INCLUDES = @KPATHSEA_INCLUDES@
KPATHSEA_LIBS = @KPATHSEA_LIBS@
KPATHSEA_PATHS_H = @KPATHSEA_PATHS_H@
+KPSEWHICH = @KPSEWHICH@
LD = @LD@
LDFLAGS = @LDFLAGS@
LEX = @LEX@
@@ -1261,7 +1262,7 @@ ctangleboot = $(buildenv) $(CTANGLEBOOT)
tie = WEBINPUTS=.:$(srcdir) $(buildenv) $(TIE)
DIFF = diff
DIFFFLAGS =
-TESTS_ENVIRONMENT = DIFF='$(DIFF)' DIFFFLAGS='$(DIFFFLAGS)' LN_S='$(LN_S)'
+TESTS_ENVIRONMENT = DIFF='$(DIFF)' DIFFFLAGS='$(DIFFFLAGS)' LN_S='$(LN_S)' KPSEWHICH='$(KPSEWHICH)'
dumpenv = TEXMFCNF=../kpathsea
nodist_tangle_SOURCES = tangle.c tangle.h
nodist_tangleboot_SOURCES = tangleboot.c tangleboot.h
diff --git a/Build/source/texk/web2c/bibtex.test b/Build/source/texk/web2c/bibtex.test
index 26379019f64..828467b0fda 100755
--- a/Build/source/texk/web2c/bibtex.test
+++ b/Build/source/texk/web2c/bibtex.test
@@ -1,5 +1,8 @@
#! /bin/sh
+# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
test -d tests || mkdir -p tests
cp $srcdir/tests/exampl.aux tests/xexampl.aux
diff --git a/Build/source/texk/web2c/configure b/Build/source/texk/web2c/configure
index bd55f38654b..e30e7424d58 100755
--- a/Build/source/texk/web2c/configure
+++ b/Build/source/texk/web2c/configure
@@ -899,6 +899,7 @@ MINGW32_FALSE
MINGW32_TRUE
WIN32_FALSE
WIN32_TRUE
+KPSEWHICH
CXX_HACK_LIBS
CXX_HACK_DEPS
CXXLD
@@ -4402,13 +4403,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:4405: $ac_compile\"" >&5)
+ (eval echo "\"\$as_me:4406: $ac_compile\"" >&5)
(eval "$ac_compile" 2>conftest.err)
cat conftest.err >&5
- (eval echo "\"\$as_me:4408: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
+ (eval echo "\"\$as_me:4409: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
cat conftest.err >&5
- (eval echo "\"\$as_me:4411: output\"" >&5)
+ (eval echo "\"\$as_me:4412: output\"" >&5)
cat conftest.out >&5
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
lt_cv_nm_interface="MS dumpbin"
@@ -5614,7 +5615,7 @@ ia64-*-hpux*)
;;
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 5617 "configure"' > conftest.$ac_ext
+ echo '#line 5618 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -7661,11 +7662,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:7664: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:7665: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:7668: \$? = $ac_status" >&5
+ echo "$as_me:7669: \$? = $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.
@@ -8000,11 +8001,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:8003: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:8004: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:8007: \$? = $ac_status" >&5
+ echo "$as_me:8008: \$? = $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.
@@ -8105,11 +8106,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:8108: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:8109: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:8112: \$? = $ac_status" >&5
+ echo "$as_me:8113: \$? = $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
@@ -8160,11 +8161,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:8163: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:8164: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:8167: \$? = $ac_status" >&5
+ echo "$as_me:8168: \$? = $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
@@ -10960,7 +10961,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 10963 "configure"
+#line 10964 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11056,7 +11057,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11059 "configure"
+#line 11060 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -16072,11 +16073,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:16075: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:16076: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:16079: \$? = $ac_status" >&5
+ echo "$as_me:16080: \$? = $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.
@@ -16171,11 +16172,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:16175: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:16178: \$? = $ac_status" >&5
+ echo "$as_me:16179: \$? = $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
@@ -16223,11 +16224,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:16226: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:16227: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:16230: \$? = $ac_status" >&5
+ echo "$as_me:16231: \$? = $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
@@ -17619,6 +17620,50 @@ if test "${enable_web_progs+set}" = set; then
fi
+for ac_prog in kpsewhich
+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:$LINENO: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_KPSEWHICH+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$KPSEWHICH"; then
+ ac_cv_prog_KPSEWHICH="$KPSEWHICH" # 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_KPSEWHICH="$ac_prog"
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+KPSEWHICH=$ac_cv_prog_KPSEWHICH
+if test -n "$KPSEWHICH"; then
+ { $as_echo "$as_me:$LINENO: result: $KPSEWHICH" >&5
+$as_echo "$KPSEWHICH" >&6; }
+else
+ { $as_echo "$as_me:$LINENO: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$KPSEWHICH" && break
+done
+test -n "$KPSEWHICH" || KPSEWHICH="false"
+
+
{ $as_echo "$as_me:$LINENO: checking whether gcc asm needs underscore" >&5
$as_echo_n "checking whether gcc asm needs underscore... " >&6; }
if test "${pb_cv_asm_underscore+set}" = set; then
diff --git a/Build/source/texk/web2c/configure.ac b/Build/source/texk/web2c/configure.ac
index 573ff4b30c5..e1e277f6f4d 100644
--- a/Build/source/texk/web2c/configure.ac
+++ b/Build/source/texk/web2c/configure.ac
@@ -44,6 +44,9 @@ dnl Include additional code for web2c.
KPSE_WEB2C_PREPARE
m4_include([ac/web2c.ac])
+dnl For tests
+AC_CHECK_PROGS([KPSEWHICH], [kpsewhich], [false])
+
KPSE_ASM_UNDERSCORE
AS_CASE([$with_editor],
diff --git a/Build/source/texk/web2c/ctiedir/ctie.test b/Build/source/texk/web2c/ctiedir/ctie.test
index 21e3b856200..fe1f1d46200 100755
--- a/Build/source/texk/web2c/ctiedir/ctie.test
+++ b/Build/source/texk/web2c/ctiedir/ctie.test
@@ -1,5 +1,8 @@
#! /bin/sh
+# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
TEXMFCNF=$srcdir/../kpathsea \
CWEBINPUTS=$srcdir/ctiedir \
./ctie -c ctie.outc ctie.tie ctie.cf1 ctie.cf2 ctie.cf3 || exit 1
diff --git a/Build/source/texk/web2c/cwebdir/cweave.test b/Build/source/texk/web2c/cwebdir/cweave.test
index d8ca91bdd5f..c4d505174f0 100755
--- a/Build/source/texk/web2c/cwebdir/cweave.test
+++ b/Build/source/texk/web2c/cwebdir/cweave.test
@@ -1,5 +1,8 @@
#! /bin/sh
+# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
TEXMFCNF=$srcdir/../kpathsea \
CWEBINPUTS=$srcdir/cwebdir ./cweave common.w || exit 1
diff --git a/Build/source/texk/web2c/doc/Makefile.in b/Build/source/texk/web2c/doc/Makefile.in
index 58f8ad7d375..b3f1ea140ab 100644
--- a/Build/source/texk/web2c/doc/Makefile.in
+++ b/Build/source/texk/web2c/doc/Makefile.in
@@ -142,6 +142,7 @@ KPATHSEA_DEPEND = @KPATHSEA_DEPEND@
KPATHSEA_INCLUDES = @KPATHSEA_INCLUDES@
KPATHSEA_LIBS = @KPATHSEA_LIBS@
KPATHSEA_PATHS_H = @KPATHSEA_PATHS_H@
+KPSEWHICH = @KPSEWHICH@
LD = @LD@
LDFLAGS = @LDFLAGS@
LEX = @LEX@
diff --git a/Build/source/texk/web2c/dvicopy.test b/Build/source/texk/web2c/dvicopy.test
index fee7675391f..67825f804ad 100755
--- a/Build/source/texk/web2c/dvicopy.test
+++ b/Build/source/texk/web2c/dvicopy.test
@@ -1,10 +1,17 @@
#! /bin/sh
+# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
test -d tests || mkdir -p tests
-TEXMFCNF=$srcdir/../kpathsea \
- ./dvicopy $srcdir/tests/story tests/xstory.dvi ## || exit 1
-## failed with: TFM: font 1 = cmbx10(That was a fatal error, my friend.)
+if tfmpath=`$KPSEWHICH cmbx10.tfm`; then
+
+ TEXMFCNF=$srcdir/../kpathsea \
+ TFMFONTS=`dirname $tfmpath` \
+ ./dvicopy $srcdir/tests/story tests/xstory.dvi || exit 1
+
+fi
# Redirect stderr so the terminal output will end up in the log file.
(TEXMFCNF=$srcdir/../kpathsea \
diff --git a/Build/source/texk/web2c/dvitomp.test b/Build/source/texk/web2c/dvitomp.test
index ee783e16424..834c0f42c14 100755
--- a/Build/source/texk/web2c/dvitomp.test
+++ b/Build/source/texk/web2c/dvitomp.test
@@ -1,12 +1,21 @@
#! /bin/sh
+# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
test -d tests || mkdir -p tests
-TEXMFCNF=$srcdir/../kpathsea \
- ./dvitomp $srcdir/tests/story.dvi tests/xstory.mpx ## || exit 1
-## fails with: ./dvitomp: fatal: tfm file `cmbx10' not found.
+if tfmpath=`$KPSEWHICH cmbx10.tfm`; then
+
+ TEXMFCNF=$srcdir/../kpathsea \
+ TFMFONTS=`dirname $tfmpath` \
+ ./dvitomp $srcdir/tests/story.dvi tests/xstory.mpx || exit 1
-TEXMFCNF=$srcdir/../kpathsea TFMFONTS=$srcdir/tests VFFONTS=$srcdir/tests: \
+fi
+
+TEXMFCNF=$srcdir/../kpathsea \
+ TFMFONTS=$srcdir/tests \
+ VFFONTS=$srcdir/tests: \
./dvitomp $srcdir/tests/ptmr && \
mv ptmr.mpx tests/xptmr.mpx || exit 1
diff --git a/Build/source/texk/web2c/dvitype.test b/Build/source/texk/web2c/dvitype.test
index 00fa51ca243..fb38b461044 100755
--- a/Build/source/texk/web2c/dvitype.test
+++ b/Build/source/texk/web2c/dvitype.test
@@ -1,5 +1,8 @@
#! /bin/sh
+# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
test -d tests || mkdir -p tests
TEXMFCNF=$srcdir/../kpathsea \
diff --git a/Build/source/texk/web2c/etexdir/etrip.test b/Build/source/texk/web2c/etexdir/etrip.test
index d40fa9528bb..da2fe891c32 100755
--- a/Build/source/texk/web2c/etexdir/etrip.test
+++ b/Build/source/texk/web2c/etexdir/etrip.test
@@ -1,5 +1,8 @@
#! /bin/sh
+# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
testdir=$srcdir/triptrap
etestdir=$srcdir/etexdir/etrip
diff --git a/Build/source/texk/web2c/gftodvi.test b/Build/source/texk/web2c/gftodvi.test
index 6364268c4a5..8d55b622fa4 100755
--- a/Build/source/texk/web2c/gftodvi.test
+++ b/Build/source/texk/web2c/gftodvi.test
@@ -1,5 +1,8 @@
#! /bin/sh
+# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
test -d tests || mkdir -p tests
TEXMFCNF=$srcdir/../kpathsea \
diff --git a/Build/source/texk/web2c/gftopk.test b/Build/source/texk/web2c/gftopk.test
index a7eb42bd6e9..6713e55e7b0 100755
--- a/Build/source/texk/web2c/gftopk.test
+++ b/Build/source/texk/web2c/gftopk.test
@@ -1,5 +1,8 @@
#! /bin/sh
+# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
test -d tests || mkdir -p tests
TEXMFCNF=$srcdir/../kpathsea \
diff --git a/Build/source/texk/web2c/gftype.test b/Build/source/texk/web2c/gftype.test
index 8f0615ecba7..941cb8f0c81 100755
--- a/Build/source/texk/web2c/gftype.test
+++ b/Build/source/texk/web2c/gftype.test
@@ -1,5 +1,8 @@
#! /bin/sh
+# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
test -d tests || mkdir -p tests
TEXMFCNF=$srcdir/../kpathsea \
diff --git a/Build/source/texk/web2c/lib/Makefile.in b/Build/source/texk/web2c/lib/Makefile.in
index a6b6badfd56..d0925ce3fd3 100644
--- a/Build/source/texk/web2c/lib/Makefile.in
+++ b/Build/source/texk/web2c/lib/Makefile.in
@@ -147,6 +147,7 @@ KPATHSEA_DEPEND = @KPATHSEA_DEPEND@
KPATHSEA_INCLUDES = @KPATHSEA_INCLUDES@
KPATHSEA_LIBS = @KPATHSEA_LIBS@
KPATHSEA_PATHS_H = @KPATHSEA_PATHS_H@
+KPSEWHICH = @KPSEWHICH@
LD = @LD@
LDFLAGS = @LDFLAGS@
LEX = @LEX@
diff --git a/Build/source/texk/web2c/libmd5/md5.test b/Build/source/texk/web2c/libmd5/md5.test
index 8cdfb2d4650..4c226a95107 100755
--- a/Build/source/texk/web2c/libmd5/md5.test
+++ b/Build/source/texk/web2c/libmd5/md5.test
@@ -1,4 +1,7 @@
#! /bin/sh
+# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
./md5main --test || exit 1
diff --git a/Build/source/texk/web2c/luatexdir/luatangle.test b/Build/source/texk/web2c/luatexdir/luatangle.test
index fdc546679a2..99f6d090f20 100755
--- a/Build/source/texk/web2c/luatexdir/luatangle.test
+++ b/Build/source/texk/web2c/luatexdir/luatangle.test
@@ -1,5 +1,8 @@
#! /bin/sh
+# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
TEXMFCNF=$srcdir/../kpathsea WEBINPUTS=$srcdir/cftests \
./luatangle cftest cftest || exit 1
diff --git a/Build/source/texk/web2c/man/Makefile.in b/Build/source/texk/web2c/man/Makefile.in
index 4a2535a5d9c..f7034095024 100644
--- a/Build/source/texk/web2c/man/Makefile.in
+++ b/Build/source/texk/web2c/man/Makefile.in
@@ -137,6 +137,7 @@ KPATHSEA_DEPEND = @KPATHSEA_DEPEND@
KPATHSEA_INCLUDES = @KPATHSEA_INCLUDES@
KPATHSEA_LIBS = @KPATHSEA_LIBS@
KPATHSEA_PATHS_H = @KPATHSEA_PATHS_H@
+KPSEWHICH = @KPSEWHICH@
LD = @LD@
LDFLAGS = @LDFLAGS@
LEX = @LEX@
diff --git a/Build/source/texk/web2c/mft.test b/Build/source/texk/web2c/mft.test
index ba86719d90f..6262f8d526d 100755
--- a/Build/source/texk/web2c/mft.test
+++ b/Build/source/texk/web2c/mft.test
@@ -1,5 +1,8 @@
#! /bin/sh
+# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
test -d tests || mkdir -p tests
TEXMFCNF=$srcdir/../kpathsea \
diff --git a/Build/source/texk/web2c/mpware/Makefile.in b/Build/source/texk/web2c/mpware/Makefile.in
index 30a7926c894..b6872892133 100644
--- a/Build/source/texk/web2c/mpware/Makefile.in
+++ b/Build/source/texk/web2c/mpware/Makefile.in
@@ -157,6 +157,7 @@ KPATHSEA_DEPEND = @KPATHSEA_DEPEND@
KPATHSEA_INCLUDES = @KPATHSEA_INCLUDES@
KPATHSEA_LIBS = @KPATHSEA_LIBS@
KPATHSEA_PATHS_H = @KPATHSEA_PATHS_H@
+KPSEWHICH = @KPSEWHICH@
LD = @LD@
LDFLAGS = @LDFLAGS@
LEX = @LEX@
diff --git a/Build/source/texk/web2c/omegafonts/Makefile.in b/Build/source/texk/web2c/omegafonts/Makefile.in
index 654e8ce472d..f5b64c2aa03 100644
--- a/Build/source/texk/web2c/omegafonts/Makefile.in
+++ b/Build/source/texk/web2c/omegafonts/Makefile.in
@@ -163,6 +163,7 @@ KPATHSEA_DEPEND = @KPATHSEA_DEPEND@
KPATHSEA_INCLUDES = @KPATHSEA_INCLUDES@
KPATHSEA_LIBS = @KPATHSEA_LIBS@
KPATHSEA_PATHS_H = @KPATHSEA_PATHS_H@
+KPSEWHICH = @KPSEWHICH@
LD = @LD@
LDFLAGS = @LDFLAGS@
LEX = @LEX@
diff --git a/Build/source/texk/web2c/omegaware/otangle.test b/Build/source/texk/web2c/omegaware/otangle.test
index e045d106582..edc0fcf3759 100755
--- a/Build/source/texk/web2c/omegaware/otangle.test
+++ b/Build/source/texk/web2c/omegaware/otangle.test
@@ -1,5 +1,8 @@
#! /bin/sh
+# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
TEXMFCNF=$srcdir/../kpathsea WEBINPUTS=$srcdir/cftests \
./otangle cftest cftest || exit 1
diff --git a/Build/source/texk/web2c/otps/Makefile.in b/Build/source/texk/web2c/otps/Makefile.in
index 13efcbd2c6d..d6458c64b1d 100644
--- a/Build/source/texk/web2c/otps/Makefile.in
+++ b/Build/source/texk/web2c/otps/Makefile.in
@@ -165,6 +165,7 @@ KPATHSEA_DEPEND = @KPATHSEA_DEPEND@
KPATHSEA_INCLUDES = @KPATHSEA_INCLUDES@
KPATHSEA_LIBS = @KPATHSEA_LIBS@
KPATHSEA_PATHS_H = @KPATHSEA_PATHS_H@
+KPSEWHICH = @KPSEWHICH@
LD = @LD@
LDFLAGS = @LDFLAGS@
LEX = @LEX@
diff --git a/Build/source/texk/web2c/patgen.test b/Build/source/texk/web2c/patgen.test
index ce4fe582ac7..c365740c206 100755
--- a/Build/source/texk/web2c/patgen.test
+++ b/Build/source/texk/web2c/patgen.test
@@ -1,5 +1,8 @@
#! /bin/sh
+# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
test -d tests || mkdir -p tests
./patgen $srcdir/tests/dict $srcdir/tests/patterns tests/xpatout \
diff --git a/Build/source/texk/web2c/pktogf.test b/Build/source/texk/web2c/pktogf.test
index bd9fcd72045..064e2f1d38b 100755
--- a/Build/source/texk/web2c/pktogf.test
+++ b/Build/source/texk/web2c/pktogf.test
@@ -1,5 +1,8 @@
#! /bin/sh
+# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
test -d tests || mkdir -p tests
TEXMFCNF=$srcdir/../kpathsea \
diff --git a/Build/source/texk/web2c/pktype.test b/Build/source/texk/web2c/pktype.test
index 85bbfc52dca..ac29bd62d93 100755
--- a/Build/source/texk/web2c/pktype.test
+++ b/Build/source/texk/web2c/pktype.test
@@ -1,5 +1,8 @@
#! /bin/sh
+# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
test -d tests || mkdir -p tests
TEXMFCNF=$srcdir/../kpathsea \
diff --git a/Build/source/texk/web2c/pltotf.test b/Build/source/texk/web2c/pltotf.test
index 38946d211db..eb3a0f67cd2 100755
--- a/Build/source/texk/web2c/pltotf.test
+++ b/Build/source/texk/web2c/pltotf.test
@@ -1,5 +1,8 @@
#! /bin/sh
+# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
test -d tests || mkdir -p tests
./pltotf -verbose $srcdir/tests/cmr10 tests/xcmr10 || exit 1
diff --git a/Build/source/texk/web2c/pooltype.test b/Build/source/texk/web2c/pooltype.test
index f223c205783..e49959d6b82 100755
--- a/Build/source/texk/web2c/pooltype.test
+++ b/Build/source/texk/web2c/pooltype.test
@@ -1,5 +1,8 @@
#! /bin/sh
+# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
test -d tests || mkdir -p tests
./pooltype tex.pool >tests/xtexpool.typ || exit 1
diff --git a/Build/source/texk/web2c/tangle.test b/Build/source/texk/web2c/tangle.test
index 12fff9d3c6f..74d24fb7dd9 100755
--- a/Build/source/texk/web2c/tangle.test
+++ b/Build/source/texk/web2c/tangle.test
@@ -1,5 +1,8 @@
#! /bin/sh
+# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
TEXMFCNF=$srcdir/../kpathsea WEBINPUTS=$srcdir/cftests \
./tangle cftest cftest || exit 1
diff --git a/Build/source/texk/web2c/tftopl.test b/Build/source/texk/web2c/tftopl.test
index 7dfa5a35928..ee217b73f9b 100755
--- a/Build/source/texk/web2c/tftopl.test
+++ b/Build/source/texk/web2c/tftopl.test
@@ -1,5 +1,8 @@
#! /bin/sh
+# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
test -d tests || mkdir -p tests
TEXMFCNF=$srcdir/../kpathsea \
diff --git a/Build/source/texk/web2c/tiedir/tie.test b/Build/source/texk/web2c/tiedir/tie.test
index e2aff6abe5a..bf04e1612e2 100755
--- a/Build/source/texk/web2c/tiedir/tie.test
+++ b/Build/source/texk/web2c/tiedir/tie.test
@@ -1,5 +1,8 @@
#! /bin/sh
+# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
TEXMFCNF=$srcdir/../kpathsea \
WEBINPUTS=$srcdir/tiedir \
./tie -c tie.outc tie.tie tie.cf1 tie.cf2 tie.cf3 || exit 1
diff --git a/Build/source/texk/web2c/trap.test b/Build/source/texk/web2c/trap.test
index 2c496189a26..53024b35a85 100755
--- a/Build/source/texk/web2c/trap.test
+++ b/Build/source/texk/web2c/trap.test
@@ -1,5 +1,8 @@
#! /bin/sh
+# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
testdir=$srcdir/triptrap
TEXMFCNF=$testdir; export TEXMFCNF
diff --git a/Build/source/texk/web2c/trip.test b/Build/source/texk/web2c/trip.test
index dd79d9f4813..b8317191623 100755
--- a/Build/source/texk/web2c/trip.test
+++ b/Build/source/texk/web2c/trip.test
@@ -1,5 +1,8 @@
#! /bin/sh
+# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
testdir=$srcdir/triptrap
TEXMFCNF=$testdir; export TEXMFCNF
diff --git a/Build/source/texk/web2c/vftovp.test b/Build/source/texk/web2c/vftovp.test
index 123385d2dbe..433b7fdc971 100755
--- a/Build/source/texk/web2c/vftovp.test
+++ b/Build/source/texk/web2c/vftovp.test
@@ -1,5 +1,8 @@
#! /bin/sh
+# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
test -d tests || mkdir -p tests
TEXMFCNF=$srcdir/../kpathsea \
diff --git a/Build/source/texk/web2c/vptovf.test b/Build/source/texk/web2c/vptovf.test
index a419756af35..7bf466ac764 100755
--- a/Build/source/texk/web2c/vptovf.test
+++ b/Build/source/texk/web2c/vptovf.test
@@ -1,5 +1,8 @@
#! /bin/sh
+# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
test -d tests || mkdir -p tests
TEXMFCNF=$srcdir/../kpathsea \
diff --git a/Build/source/texk/web2c/weave.test b/Build/source/texk/web2c/weave.test
index ec5b638b5ed..e9b7e0bcde4 100755
--- a/Build/source/texk/web2c/weave.test
+++ b/Build/source/texk/web2c/weave.test
@@ -1,5 +1,8 @@
#! /bin/sh
+# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
test -d tests || mkdir -p tests
TEXMFCNF=$srcdir/../kpathsea WEBINPUTS=$srcdir \
diff --git a/Build/source/texk/web2c/window/Makefile.in b/Build/source/texk/web2c/window/Makefile.in
index 33450bdd1cf..6c8c8a9bbb3 100644
--- a/Build/source/texk/web2c/window/Makefile.in
+++ b/Build/source/texk/web2c/window/Makefile.in
@@ -152,6 +152,7 @@ KPATHSEA_DEPEND = @KPATHSEA_DEPEND@
KPATHSEA_INCLUDES = @KPATHSEA_INCLUDES@
KPATHSEA_LIBS = @KPATHSEA_LIBS@
KPATHSEA_PATHS_H = @KPATHSEA_PATHS_H@
+KPSEWHICH = @KPSEWHICH@
LD = @LD@
LDFLAGS = @LDFLAGS@
LEX = @LEX@