aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1991-12-13 09:38:48 +0000
committerK. Richard Pixley <rich@cygnus>1991-12-13 09:38:48 +0000
commit7da1d334242482f0b7c78ffeb470271d5d965802 (patch)
treedfe287734be7f046a0975acaf23a4084f5a0ebc6
parent89adaa32109628ac7654af6b9492eb927fa24787 (diff)
downloadgdb-7da1d334242482f0b7c78ffeb470271d5d965802.zip
gdb-7da1d334242482f0b7c78ffeb470271d5d965802.tar.gz
gdb-7da1d334242482f0b7c78ffeb470271d5d965802.tar.bz2
find config.subr again
-rw-r--r--ChangeLog3
-rwxr-xr-xconfigure18
2 files changed, 12 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 0d2afac..0135372 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)
diff --git a/configure b/configure
index d764560..a7c5e59 100755
--- a/configure
+++ b/configure
@@ -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=.