summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/gprof/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/gprof/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/gprof/configure')
-rw-r--r--gnu/usr.bin/binutils/gprof/configure8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/usr.bin/binutils/gprof/configure b/gnu/usr.bin/binutils/gprof/configure
index 9e786db7463..da791e3e8eb 100644
--- a/gnu/usr.bin/binutils/gprof/configure
+++ b/gnu/usr.bin/binutils/gprof/configure
@@ -772,7 +772,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
@@ -790,7 +790,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/'`
@@ -807,7 +807,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/'`
@@ -824,7 +824,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/'`