diff options
author | Thomas Graichen <graichen@cvs.openbsd.org> | 1997-04-23 15:40:03 +0000 |
---|---|---|
committer | Thomas Graichen <graichen@cvs.openbsd.org> | 1997-04-23 15:40:03 +0000 |
commit | 661f9153af046f17b18404425b365e2e1ba33574 (patch) | |
tree | ffc3d03337474b14b15d234df014a498ccc6ab1a /gnu | |
parent | 74568dffac788c7812e22fabcdd6830ce3b672c4 (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')
21 files changed, 92 insertions, 92 deletions
diff --git a/gnu/usr.bin/binutils/Makefile.in b/gnu/usr.bin/binutils/Makefile.in index 21e0cfc7a5b..71f4e7c0cc9 100644 --- a/gnu/usr.bin/binutils/Makefile.in +++ b/gnu/usr.bin/binutils/Makefile.in @@ -45,7 +45,7 @@ GDB_NLM_DEPS = SHELL = /bin/sh -INSTALL = $$s/install.sh -c +INSTALL = /bin/sh $$s/install.sh -c INSTALL_PROGRAM = $(INSTALL) INSTALL_DATA = $(INSTALL) -m 644 INSTALL_XFORM = $(INSTALL) -t='$(program_transform_name)' diff --git a/gnu/usr.bin/binutils/bfd/Makefile.in b/gnu/usr.bin/binutils/bfd/Makefile.in index da4241b90e8..35b0ba1c0c3 100644 --- a/gnu/usr.bin/binutils/bfd/Makefile.in +++ b/gnu/usr.bin/binutils/bfd/Makefile.in @@ -498,7 +498,7 @@ stamp-ofiles: Makefile esac ; \ done ; \ echo $$f > tofiles - $(srcdir)/../move-if-change tofiles ofiles + /bin/sh $(srcdir)/../move-if-change tofiles ofiles touch stamp-ofiles ofiles: stamp-ofiles ; @true @@ -516,7 +516,7 @@ stamp-piclist: ofiles else \ cp ofiles tpiclist; \ fi - $(srcdir)/../move-if-change tpiclist piclist + /bin/sh $(srcdir)/../move-if-change tpiclist piclist touch stamp-piclist piclist: stamp-piclist ; @true @@ -740,7 +740,7 @@ config.status: configure configure.host config.bfd VERSION $(DEP) -f .dep2a $(ALL_CFLAGS) $? sed -e '/DO NOT DELETE/d' -e '/^$$/d' < .dep2a >> .dep2 rm -f .dep2a - $(srcdir)/../move-if-change .dep2 .dep1 + /bin/sh $(srcdir)/../move-if-change .dep2 .dep1 dep.sed: dep-in.sed config.status sed <$(srcdir)/dep-in.sed >dep.sed \ @@ -751,12 +751,12 @@ dep.sed: dep-in.sed config.status dep: .dep sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile cat .dep >> tmp-Makefile - $(srcdir)/../move-if-change tmp-Makefile Makefile + /bin/sh $(srcdir)/../move-if-change tmp-Makefile Makefile dep-in: .dep sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in cat .dep >> tmp-Makefile.in - $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in + /bin/sh $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in host-aout.o: Makefile @@ -774,7 +774,7 @@ $(BFD_H): stmp-bfd.h ; @true stmp-bfd.h: bfd-in3.h rm -f bfd-tmp.h cp bfd-in3.h bfd-tmp.h - $(srcdir)/../move-if-change bfd-tmp.h $(BFD_H) + /bin/sh $(srcdir)/../move-if-change bfd-tmp.h $(BFD_H) rm -f bfd-tmp.h touch stmp-bfd.h @@ -785,26 +785,26 @@ bfd-in3.h: bfd-in2.h config.status headers: (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS)) cp $(docdir)/bfd.h bfd-in2.h-new - $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h + /bin/sh $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h cp $(docdir)/libbfd.h libbfd.h-new - $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h + /bin/sh $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h cp $(docdir)/libcoff.h libcoff.h-new - $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h + /bin/sh $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h # The rules for the generated header files are here so that people can # type `make bfd-in2.h' if they remove it. They are not run by default. $(srcdir)/bfd-in2.h: (cd $(docdir); $(MAKE) bfd.h $(FLAGS_TO_PASS)) cp $(docdir)/bfd.h bfd-in2.h-new - $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h + /bin/sh $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h $(srcdir)/libbfd.h: (cd $(docdir); $(MAKE) libbfd.h $(FLAGS_TO_PASS)) cp $(docdir)/libbfd.h libbfd.h-new - $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h + /bin/sh $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h $(srcdir)/libcoff.h: (cd $(docdir); $(MAKE) libcoff.h $(FLAGS_TO_PASS)) cp $(docdir)/libcoff.h libcoff.h-new - $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h + /bin/sh $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h bfd.info: (cd $(docdir); $(MAKE) bfd.info $(FLAGS_TO_PASS)) diff --git a/gnu/usr.bin/binutils/bfd/configure b/gnu/usr.bin/binutils/bfd/configure index d0e575e252d..2bc9946b426 100644 --- a/gnu/usr.bin/binutils/bfd/configure +++ b/gnu/usr.bin/binutils/bfd/configure @@ -619,7 +619,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 @@ -637,7 +637,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/'` @@ -654,7 +654,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/'` @@ -671,7 +671,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/'` @@ -1885,7 +1885,7 @@ fi if test -n "$enable_targets" ; then for targ in `echo $enable_targets | sed 's/,/ /g'` do - result=`$ac_config_sub $targ 2>/dev/null` + result=`/bin/sh $ac_config_sub $targ 2>/dev/null` if test -n "$result" ; then canon_targets="$canon_targets $result" else diff --git a/gnu/usr.bin/binutils/binutils/Makefile.in b/gnu/usr.bin/binutils/binutils/Makefile.in index f0489ba60e5..2fb59a81c51 100644 --- a/gnu/usr.bin/binutils/binutils/Makefile.in +++ b/gnu/usr.bin/binutils/binutils/Makefile.in @@ -274,7 +274,7 @@ underscore.c: stamp-under ; @true stamp-under: Makefile echo '/*WARNING: This file is automatically generated!*/' >underscore.t echo "int prepends_underscore = @UNDERSCORE@;" >>underscore.t - $(srcdir)/../move-if-change underscore.t underscore.c + /bin/sh $(srcdir)/../move-if-change underscore.t underscore.c touch stamp-under version.o: version.c Makefile @@ -419,7 +419,7 @@ $(NLMCONV_PROG): nlmconv.o nlmheader.o $(ADDL_DEPS) rm -f .dep2 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2 $(DEP) -f .dep2 $(ALL_CFLAGS) $? - $(srcdir)/../move-if-change .dep2 .dep1 + /bin/sh $(srcdir)/../move-if-change .dep2 .dep1 dep.sed: dep-in.sed config.status sed <$(srcdir)/dep-in.sed >dep.sed \ @@ -430,12 +430,12 @@ dep.sed: dep-in.sed config.status dep: .dep sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile cat .dep >> tmp-Makefile - $(srcdir)/../move-if-change tmp-Makefile Makefile + /bin/sh $(srcdir)/../move-if-change tmp-Makefile Makefile dep-in: .dep sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in cat .dep >> tmp-Makefile.in - $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in + /bin/sh $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in .PHONY: dep dep-in diff --git a/gnu/usr.bin/binutils/binutils/configure b/gnu/usr.bin/binutils/binutils/configure index 54cee1f6a02..10ac87526bf 100644 --- a/gnu/usr.bin/binutils/binutils/configure +++ b/gnu/usr.bin/binutils/binutils/configure @@ -585,7 +585,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 @@ -603,7 +603,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/'` @@ -620,7 +620,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/'` @@ -637,7 +637,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/'` @@ -1744,7 +1744,7 @@ esac if test -n "$enable_targets"; then for targ in `echo $enable_targets | sed 's/,/ /g'` do - result=`$ac_config_sub $targ 2>/dev/null` + result=`/bin/sh $ac_config_sub $targ 2>/dev/null` if test -n "$result"; then canon_targets="$canon_targets $result" else diff --git a/gnu/usr.bin/binutils/configure b/gnu/usr.bin/binutils/configure index ce8994da61a..115eed5e896 100644 --- a/gnu/usr.bin/binutils/configure +++ b/gnu/usr.bin/binutils/configure @@ -80,7 +80,7 @@ subdirs= target_alias=NOTARGET target_makefile_frag= undefs=NOUNDEFS -version="$Revision: 1.4 $" +version="$Revision: 1.5 $" x11=default ### we might need to use some other shell than /bin/sh for running subshells @@ -1205,7 +1205,7 @@ ${progname}" ${arguments} " if [ -r ${subdir}/config.back ] ; then mv -f ${subdir}/config.back ${subdir}/config.status fi - ${moveifchange} ${subdir}/config.new ${subdir}/config.status + ${config_shell} ${moveifchange} ${subdir}/config.new ${subdir}/config.status ;; *) rm -f ${Makefile} ${subdir}/config.status ${links} ;; 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 diff --git a/gnu/usr.bin/binutils/gdb/configure b/gnu/usr.bin/binutils/gdb/configure index 5aa7e7d2c2b..b707f377937 100644 --- a/gnu/usr.bin/binutils/gdb/configure +++ b/gnu/usr.bin/binutils/gdb/configure @@ -843,7 +843,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 @@ -861,7 +861,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/'` @@ -878,7 +878,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/'` @@ -895,7 +895,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/'` diff --git a/gnu/usr.bin/binutils/gdb/testsuite/configure b/gnu/usr.bin/binutils/gdb/testsuite/configure index 854314fca93..3ede412805d 100644 --- a/gnu/usr.bin/binutils/gdb/testsuite/configure +++ b/gnu/usr.bin/binutils/gdb/testsuite/configure @@ -559,7 +559,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 @@ -577,7 +577,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/'` @@ -594,7 +594,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/'` @@ -611,7 +611,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/'` diff --git a/gnu/usr.bin/binutils/gdb/testsuite/gdb.base/configure b/gnu/usr.bin/binutils/gdb/testsuite/gdb.base/configure index 015989cd70d..c27fe407124 100644 --- a/gnu/usr.bin/binutils/gdb/testsuite/gdb.base/configure +++ b/gnu/usr.bin/binutils/gdb/testsuite/gdb.base/configure @@ -557,8 +557,8 @@ esac # Make sure we can run config.sub. -if $ac_config_sub sun4 >/dev/null 2>&1; then : -else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } +if /bin/sh $ac_config_sub sun4 >/dev/null 2>&1; then : +else { echo "configure: error: can not run /bin/sh $ac_config_sub" 1>&2; exit 1; } fi echo $ac_n "checking host system type""... $ac_c" 1>&6 @@ -575,7 +575,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/'` @@ -592,7 +592,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/'` @@ -609,7 +609,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/'` diff --git a/gnu/usr.bin/binutils/gdb/testsuite/gdb.c++/configure b/gnu/usr.bin/binutils/gdb/testsuite/gdb.c++/configure index 08e7237a728..698acc9de70 100644 --- a/gnu/usr.bin/binutils/gdb/testsuite/gdb.c++/configure +++ b/gnu/usr.bin/binutils/gdb/testsuite/gdb.c++/configure @@ -557,8 +557,8 @@ esac # Make sure we can run config.sub. -if $ac_config_sub sun4 >/dev/null 2>&1; then : -else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } +if /bin/sh $ac_config_sub sun4 >/dev/null 2>&1; then : +else { echo "configure: error: can not run /bin/sh $ac_config_sub" 1>&2; exit 1; } fi echo $ac_n "checking host system type""... $ac_c" 1>&6 @@ -575,7 +575,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/'` @@ -592,7 +592,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/'` @@ -609,7 +609,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/'` diff --git a/gnu/usr.bin/binutils/gdb/testsuite/gdb.chill/configure b/gnu/usr.bin/binutils/gdb/testsuite/gdb.chill/configure index 37501216984..702f2d5a9df 100644 --- a/gnu/usr.bin/binutils/gdb/testsuite/gdb.chill/configure +++ b/gnu/usr.bin/binutils/gdb/testsuite/gdb.chill/configure @@ -557,8 +557,8 @@ esac # Make sure we can run config.sub. -if $ac_config_sub sun4 >/dev/null 2>&1; then : -else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } +if /bin/sh $ac_config_sub sun4 >/dev/null 2>&1; then : +else { echo "configure: error: can not run /bin/sh $ac_config_sub" 1>&2; exit 1; } fi echo $ac_n "checking host system type""... $ac_c" 1>&6 @@ -575,7 +575,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/'` @@ -592,7 +592,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/'` @@ -609,7 +609,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/'` diff --git a/gnu/usr.bin/binutils/gdb/testsuite/gdb.disasm/configure b/gnu/usr.bin/binutils/gdb/testsuite/gdb.disasm/configure index 0fa9a526863..802398afd2a 100644 --- a/gnu/usr.bin/binutils/gdb/testsuite/gdb.disasm/configure +++ b/gnu/usr.bin/binutils/gdb/testsuite/gdb.disasm/configure @@ -557,8 +557,8 @@ esac # Make sure we can run config.sub. -if $ac_config_sub sun4 >/dev/null 2>&1; then : -else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } +if /bin/sh $ac_config_sub sun4 >/dev/null 2>&1; then : +else { echo "configure: error: can not run /bin/sh $ac_config_sub" 1>&2; exit 1; } fi echo $ac_n "checking host system type""... $ac_c" 1>&6 @@ -575,7 +575,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/'` @@ -592,7 +592,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/'` @@ -609,7 +609,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/'` diff --git a/gnu/usr.bin/binutils/gdb/testsuite/gdb.stabs/configure b/gnu/usr.bin/binutils/gdb/testsuite/gdb.stabs/configure index 399565d0bd4..9f5505c1a57 100644 --- a/gnu/usr.bin/binutils/gdb/testsuite/gdb.stabs/configure +++ b/gnu/usr.bin/binutils/gdb/testsuite/gdb.stabs/configure @@ -557,8 +557,8 @@ esac # Make sure we can run config.sub. -if $ac_config_sub sun4 >/dev/null 2>&1; then : -else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } +if /bin/sh $ac_config_sub sun4 >/dev/null 2>&1; then : +else { echo "configure: error: can not run /bin/sh $ac_config_sub" 1>&2; exit 1; } fi echo $ac_n "checking host system type""... $ac_c" 1>&6 @@ -575,7 +575,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/'` @@ -592,7 +592,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/'` @@ -609,7 +609,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/'` diff --git a/gnu/usr.bin/binutils/gdb/testsuite/gdb.threads/configure b/gnu/usr.bin/binutils/gdb/testsuite/gdb.threads/configure index 1741d587177..ff7aee6290c 100644 --- a/gnu/usr.bin/binutils/gdb/testsuite/gdb.threads/configure +++ b/gnu/usr.bin/binutils/gdb/testsuite/gdb.threads/configure @@ -558,8 +558,8 @@ esac # Make sure we can run config.sub. -if $ac_config_sub sun4 >/dev/null 2>&1; then : -else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } +if /bin/sh $ac_config_sub sun4 >/dev/null 2>&1; then : +else { echo "configure: error: can not run /bin/sh $ac_config_sub" 1>&2; exit 1; } fi echo $ac_n "checking host system type""... $ac_c" 1>&6 @@ -576,7 +576,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/'` @@ -593,7 +593,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/'` @@ -610,7 +610,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/'` 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/'` 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 diff --git a/gnu/usr.bin/binutils/libiberty/config.table b/gnu/usr.bin/binutils/libiberty/config.table index 5fb24793eef..0583142ec99 100644 --- a/gnu/usr.bin/binutils/libiberty/config.table +++ b/gnu/usr.bin/binutils/libiberty/config.table @@ -67,4 +67,4 @@ for frag in ${frags}; do done frag=xhost-mkfrag -${moveifchange} temp-frag xhost-mkfrag +${config_shell} ${moveifchange} temp-frag xhost-mkfrag diff --git a/gnu/usr.bin/binutils/mmalloc/configure b/gnu/usr.bin/binutils/mmalloc/configure index c44030e4711..fa827af17cd 100644 --- a/gnu/usr.bin/binutils/mmalloc/configure +++ b/gnu/usr.bin/binutils/mmalloc/configure @@ -716,7 +716,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' # 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 @@ -734,7 +734,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/'` @@ -751,7 +751,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/'` diff --git a/gnu/usr.bin/binutils/opcodes/configure b/gnu/usr.bin/binutils/opcodes/configure index 819a7072e0e..426fea71bd0 100644 --- a/gnu/usr.bin/binutils/opcodes/configure +++ b/gnu/usr.bin/binutils/opcodes/configure @@ -610,7 +610,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 @@ -628,7 +628,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/'` @@ -645,7 +645,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/'` @@ -662,7 +662,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/'` @@ -1131,7 +1131,7 @@ done if test -n "$enable_targets" ; then for targ in `echo $enable_targets | sed 's/,/ /g'` do - result=`$ac_config_sub $targ 2>/dev/null` + result=`/bin/sh $ac_config_sub $targ 2>/dev/null` if test -n "$result" ; then canon_targets="$canon_targets $result" else |