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 /configure | |
parent | 89adaa32109628ac7654af6b9492eb927fa24787 (diff) | |
download | gdb-7da1d334242482f0b7c78ffeb470271d5d965802.zip gdb-7da1d334242482f0b7c78ffeb470271d5d965802.tar.gz gdb-7da1d334242482f0b7c78ffeb470271d5d965802.tar.bz2 |
find config.subr again
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -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=. |