aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1991-10-10 01:04:42 +0000
committerK. Richard Pixley <rich@cygnus>1991-10-10 01:04:42 +0000
commit50ac10c17a92f03ea1d81f47debce9d1954d031e (patch)
tree67542f582dd3889abf763b0343c800473a4f87b8
parent843b88bafef5e71851cb9adb56457f1383b9ac3c (diff)
downloadgdb-50ac10c17a92f03ea1d81f47debce9d1954d031e.zip
gdb-50ac10c17a92f03ea1d81f47debce9d1954d031e.tar.gz
gdb-50ac10c17a92f03ea1d81f47debce9d1954d031e.tar.bz2
Backed out the "/bin/sh config.sub" change. Fails when config.sub was
on PATH.
-rwxr-xr-xconfigure10
1 files changed, 7 insertions, 3 deletions
diff --git a/configure b/configure
index 55f8594..afa61a1 100755
--- a/configure
+++ b/configure
@@ -274,7 +274,7 @@ for host in ${hosts} ; do
host_alias=${host}
- result=`/bin/sh ${configsub} ${host}`
+ result=`${configsub} ${host}`
host_cpu=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
host_vendor=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
host_os=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
@@ -286,7 +286,7 @@ for host in ${hosts} ; do
for target in ${targets} ; do
target_alias=${target}
- result=`/bin/sh ${configsub} ${target}`
+ result=`${configsub} ${target}`
target_cpu=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
target_vendor=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
target_os=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
@@ -620,7 +620,11 @@ exit 0
#
#
# $Log$
-# Revision 1.53 1991/10/10 00:38:08 rich
+# Revision 1.54 1991/10/10 01:04:42 rich
+# Backed out the "/bin/sh config.sub" change. Fails when config.sub was
+# on PATH.
+#
+# Revision 1.53 1991/10/10 00:38:08 rich
# Call config.sub as "/bin/sh config.sub" instead of directly. This
# protects us from the case where config.sub isn't executable.
#