diff options
author | K. Richard Pixley <rich@cygnus> | 1991-12-13 09:38:48 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1991-12-13 09:38:48 +0000 |
commit | 7da1d334242482f0b7c78ffeb470271d5d965802 (patch) | |
tree | dfe287734be7f046a0975acaf23a4084f5a0ebc6 | |
parent | 89adaa32109628ac7654af6b9492eb927fa24787 (diff) | |
download | gdb-7da1d334242482f0b7c78ffeb470271d5d965802.zip gdb-7da1d334242482f0b7c78ffeb470271d5d965802.tar.gz gdb-7da1d334242482f0b7c78ffeb470271d5d965802.tar.bz2 |
find config.subr again
-rw-r--r-- | ChangeLog | 3 | ||||
-rwxr-xr-x | configure | 18 |
2 files changed, 12 insertions, 9 deletions
@@ -1,5 +1,8 @@ Fri Dec 13 01:17:06 1991 K. Richard Pixley (rich at cygnus.com) + * configure: find config.subr again now that configuration "none" + has gone. + * config.subr: resync from rms. Wed Dec 11 22:25:20 1991 K. Richard Pixley (rich at rtl.cygnus.com) @@ -117,15 +117,6 @@ else PATH=$PATH:${PWD} ; export PATH fi -configsubr=`echo ${progname} | sed 's/configure$/config.subr/'` - -if ${configsubr} none >/dev/null 2>&1 ; then - true -else - echo '***' cannot find config.subr. - echo 1 -fi - for arg in $*; do # handle things that might have args following as separate words @@ -363,6 +354,15 @@ if [ -n "${fatal}" -o "${hosts}" = "help" ] ; then exit 1 fi +configsubr=`echo ${progname} | sed 's/configure$/config.subr/'` + +if (${configsubr} `echo ${hosts} | sed -e 's/ .*//'`) >/dev/null 2>&1 ; then + true +else + echo '***' cannot find config.subr. + exit 1 +fi + if [ -z "${srcdir}" ] ; then if [ -r configure.in ] ; then srcdir=. |