diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-12-20 14:01:46 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-12-20 14:01:46 +0000 |
commit | 06d21c58758f922977955cec0ed8d14a90977ce1 (patch) | |
tree | 928040362c674fd066668196c1a22be2a7655efd | |
parent | c785eb610adb0fb3232c04c9a704a244b6325a7c (diff) | |
download | zsh-06d21c58758f922977955cec0ed8d14a90977ce1.tar.gz zsh-06d21c58758f922977955cec0ed8d14a90977ce1.tar.xz zsh-06d21c58758f922977955cec0ed8d14a90977ce1.zip |
Initial revision
-rwxr-xr-x | .preconfig | 7 | ||||
-rwxr-xr-x | Util/preconfig | 14 |
2 files changed, 21 insertions, 0 deletions
diff --git a/.preconfig b/.preconfig new file mode 100755 index 000000000..f9729bd97 --- /dev/null +++ b/.preconfig @@ -0,0 +1,7 @@ +#! /bin/sh + +set -e + +autoconf +autoheader +echo > stamp-h.in diff --git a/Util/preconfig b/Util/preconfig new file mode 100755 index 000000000..469115a9d --- /dev/null +++ b/Util/preconfig @@ -0,0 +1,14 @@ +#! /bin/sh + +find . \( -name '*.*' -prune \) -o \( -name .preconfig -print \) | ( + while read pre; do + cmd=`echo $pre | sed 's,^,cd ,;s,/\([^/]*\)$, \&\& ./\1,'` + echo >&2 "$cmd" + if ( eval "$cmd" ); then :; else + echo "$0: $pre failed (status $?)" + exit 1 + fi + done +) + +exit 0 |