Backed out the "/bin/sh config.sub" change. Fails when config.sub was
on PATH.
This commit is contained in:
parent
843b88bafe
commit
50ac10c17a
1 changed files with 7 additions and 3 deletions
8
configure
vendored
8
configure
vendored
|
@ -274,7 +274,7 @@ for host in ${hosts} ; do
|
||||||
|
|
||||||
host_alias=${host}
|
host_alias=${host}
|
||||||
|
|
||||||
result=`/bin/sh ${configsub} ${host}`
|
result=`${configsub} ${host}`
|
||||||
host_cpu=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
|
host_cpu=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
|
||||||
host_vendor=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
|
host_vendor=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
|
||||||
host_os=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
|
host_os=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
|
||||||
|
@ -286,7 +286,7 @@ for host in ${hosts} ; do
|
||||||
for target in ${targets} ; do
|
for target in ${targets} ; do
|
||||||
|
|
||||||
target_alias=${target}
|
target_alias=${target}
|
||||||
result=`/bin/sh ${configsub} ${target}`
|
result=`${configsub} ${target}`
|
||||||
target_cpu=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
|
target_cpu=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
|
||||||
target_vendor=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
|
target_vendor=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
|
||||||
target_os=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
|
target_os=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
|
||||||
|
@ -620,6 +620,10 @@ exit 0
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# $Log$
|
# $Log$
|
||||||
|
# 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
|
# Revision 1.53 1991/10/10 00:38:08 rich
|
||||||
# Call config.sub as "/bin/sh config.sub" instead of directly. This
|
# Call config.sub as "/bin/sh config.sub" instead of directly. This
|
||||||
# protects us from the case where config.sub isn't executable.
|
# protects us from the case where config.sub isn't executable.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue