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/usr.bin/binutils/bfd | |
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/usr.bin/binutils/bfd')
-rw-r--r-- | gnu/usr.bin/binutils/bfd/Makefile.in | 24 | ||||
-rw-r--r-- | gnu/usr.bin/binutils/bfd/configure | 10 |
2 files changed, 17 insertions, 17 deletions
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 |