diff options
author | Karl Berry <karl@freefriends.org> | 2023-12-21 18:43:50 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-12-21 18:43:50 +0000 |
commit | 474f0288d2ba3c8ff94654a7507659e37fa7824c (patch) | |
tree | e8a43cb693d50718eeb3db5d18c7a8c419dc4540 /Build/source/reautoconf | |
parent | 28b035d1f87953021845b4ca5341dab7c5642642 (diff) |
abort reautoconf if an autoreconf fails; adapt lcdf-typetools
git-svn-id: svn://tug.org/texlive/trunk@69183 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/reautoconf')
-rwxr-xr-x | Build/source/reautoconf | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Build/source/reautoconf b/Build/source/reautoconf index 71c96cd989f..f31baf7fc4e 100755 --- a/Build/source/reautoconf +++ b/Build/source/reautoconf @@ -3,7 +3,7 @@ # This "reautoconf" script at the root of the TeX Live source tree # runs autoreconf (from PATH) in all relevant TL directories. # -# Copyright 2008-2021 Karl Berry. +# Copyright 2008-2023 Karl Berry. # Copyright 2004-2009 Peter Breitenlohner. # Copyright 2005 Olaf Weber. # @@ -29,7 +29,7 @@ usage="Usage: $0 [OPTION]... [DIR]... By default, also pass -Wno-obsolete, because Autoconf 2.70 and later deprecated many widely used macros. See Build/m4/README for a lengthy discussion of this. To see the obsolete warnings (perhaps - because you want to spend time fixing them), use --warn-obsolete here. + because you want to spend time fixing them), use --warn-obsolete. Options: -h, --help display this help and exit successfully @@ -104,10 +104,12 @@ ACLOCAL=$TL_ACLOCAL export AUTOCONF AUTOHEADER AUTOMAKE ACLOCAL do_it () { + test x"$do_say" = x: || printf "\f " $do_say "$0: running \"$@\"" $do_cmd "$@" if test $? -ne 0; then - echo "exit status of $*: $?" >&2 + echo "$0: goodbye, exit status of $*: $?" >&2 + exit 1 fi } @@ -116,7 +118,7 @@ if test "x$list" = x; then `find libs utils texk -type d -name ac | sed 's,/ac\$,,'`" fi -# Autoreconf in all directories +# Run autoreconf in all directories. for dir in $list; do if test ! -d "$dir"; then |