summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/gas
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
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')
-rw-r--r--gnu/usr.bin/binutils/gas/Makefile.in4
-rw-r--r--gnu/usr.bin/binutils/gas/configure10
2 files changed, 7 insertions, 7 deletions
diff --git a/gnu/usr.bin/binutils/gas/Makefile.in b/gnu/usr.bin/binutils/gas/Makefile.in
index ca8fbee20ab..1f0e1298f16 100644
--- a/gnu/usr.bin/binutils/gas/Makefile.in
+++ b/gnu/usr.bin/binutils/gas/Makefile.in
@@ -225,7 +225,7 @@ dvi info install-info clean-info:
make-gas.com: stamp-mk.com
stamp-mk.com: vmsconf.sh Makefile
sh $(srcdir)/vmsconf.sh $(OBJS) > new-make.com
- $(srcdir)/../move-if-change new-make.com $(srcdir)/make-gas.com
+ /bin/sh $(srcdir)/../move-if-change new-make.com $(srcdir)/make-gas.com
touch stamp-mk.com
# Now figure out from those variables how to compile and link.
@@ -328,7 +328,7 @@ config-stamp: Makefile conf
echo '' >> config.new
cat conf >> config.new
echo '#endif /* GAS_VERSION */' >> config.new
- $(srcdir)/../move-if-change config.new config.h
+ /bin/sh $(srcdir)/../move-if-change config.new config.h
touch config-stamp
# Compiling object files from source files.
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