summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/ld
diff options
context:
space:
mode:
authorThomas Graichen <graichen@cvs.openbsd.org>1997-04-23 15:40:03 +0000
committerThomas Graichen <graichen@cvs.openbsd.org>1997-04-23 15:40:03 +0000
commit661f9153af046f17b18404425b365e2e1ba33574 (patch)
treeffc3d03337474b14b15d234df014a498ccc6ab1a /gnu/usr.bin/binutils/ld
parent74568dffac788c7812e22fabcdd6830ce3b672c4 (diff)
add a lot of /bin/sh before calling scripts like config.guess and so
on - this way now the whole tree builds without requiring any file being executable (binutils was the last which required it) - now ctm -> cvs checkout -> make build works just fine (aside from other bugs in the source tree :-)
Diffstat (limited to 'gnu/usr.bin/binutils/ld')
-rw-r--r--gnu/usr.bin/binutils/ld/configure10
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/usr.bin/binutils/ld/configure b/gnu/usr.bin/binutils/ld/configure
index b485162ddc4..777ec6aaf74 100644
--- a/gnu/usr.bin/binutils/ld/configure
+++ b/gnu/usr.bin/binutils/ld/configure
@@ -595,7 +595,7 @@ esac
# Make sure we can run config.sub.
-if $ac_config_sub sun4 >/dev/null 2>&1; then :
+if /bin/sh $ac_config_sub sun4 >/dev/null 2>&1; then :
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
fi
@@ -613,7 +613,7 @@ NONE)
esac ;;
esac
-host=`$ac_config_sub $host_alias`
+host=`/bin/sh $ac_config_sub $host_alias`
host_cpu=`echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
host_vendor=`echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
host_os=`echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
@@ -630,7 +630,7 @@ NONE)
esac ;;
esac
-target=`$ac_config_sub $target_alias`
+target=`/bin/sh $ac_config_sub $target_alias`
target_cpu=`echo $target | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
target_vendor=`echo $target | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
target_os=`echo $target | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
@@ -647,7 +647,7 @@ NONE)
esac ;;
esac
-build=`$ac_config_sub $build_alias`
+build=`/bin/sh $ac_config_sub $build_alias`
build_cpu=`echo $build | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
build_vendor=`echo $build | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
build_os=`echo $build | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
@@ -1337,7 +1337,7 @@ do
all_targets=true
else
# Canonicalize the secondary target names.
- result=`$ac_config_sub $targ_alias 2>/dev/null`
+ result=`/bin/sh $ac_config_sub $targ_alias 2>/dev/null`
if test -n "$result"; then
targ=$result
else