diff options
Diffstat (limited to 'Build/source/reautoconf')
-rwxr-xr-x | Build/source/reautoconf | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Build/source/reautoconf b/Build/source/reautoconf index f8b8663cf16..fe42f51fc08 100755 --- a/Build/source/reautoconf +++ b/Build/source/reautoconf @@ -1,5 +1,4 @@ #! /bin/sh - # $Id$ # This "reautoconf" script found at the root of the TeX Live source tree # runs aclocal and autoconf (from PATH) in all relevant directories. @@ -82,13 +81,13 @@ done : ${TL_ACLOCAL=aclocal} echo "$0: using \"$TL_ACLOCAL\" = `$TL_ACLOCAL --version | sed 1q`" -echo "$0: if you want to use a different aclocal, set TL_ACLOCAL." +echo "$0: if you want to use a different aclocal, set TL_ACLOCAL." : ${TL_AUTOCONF=autoconf} echo "$0: using \"$TL_AUTOCONF\" = `$TL_AUTOCONF --version | sed 1q`" -echo "$0: if you want to use a different autoconf, set TL_AUTOCONF." +echo "$0: if you want to use a different autoconf, set TL_AUTOCONF." : ${TL_AUTOHEADER=autoheader} echo "$0: using \"$TL_AUTOHEADER\" = `$TL_AUTOHEADER --version | sed 1q`" -echo "$0: if you want to use a different autoheader, set TL_AUTOHEADER." +echo "$0: if you want to use a different autoheader, set TL_AUTOHEADER." # Give users a chance to quit here # and set TL_ACLOCAL, TL_AUTOCONF and/or TL_AUTOHEADER @@ -129,7 +128,10 @@ fi # Autoconf in all directories for dir in $list; do - if test -f "$dir/configure.in"; then + if test ! -d "$dir"; then + echo "$0: $dir not a directory, skipping." >&2 + continue + elif test -f "$dir/configure.in"; then base=configure.in elif test -f "$dir/configure.ac"; then base=configure.ac |