summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/gas/configure
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/gas/configure
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/gas/configure')
-rw-r--r--gnu/usr.bin/binutils/gas/configure10
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/usr.bin/binutils/gas/configure b/gnu/usr.bin/binutils/gas/configure
index 1b2484db4e2..02e1d0c568b 100644
--- a/gnu/usr.bin/binutils/gas/configure
+++ b/gnu/usr.bin/binutils/gas/configure
@@ -596,7 +596,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
@@ -614,7 +614,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/'`
@@ -631,7 +631,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/'`
@@ -648,7 +648,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/'`
@@ -684,7 +684,7 @@ te_file=generic
canon_targets=""
if test -n "$enable_targets" ; then
for t in `echo $enable_targets | sed 's/,/ /g'`; do
- result=`$ac_config_sub $t 2>/dev/null`
+ result=`/bin/sh $ac_config_sub $t 2>/dev/null`
if test -n "$result" ; then
canon_targets="$canon_targets $result"
# else