* configure.in: handle some programs as cross-only, and others as

native only
	* test-build.mk: handle partial holes in a more generic manner
	* Makefile.in: m4 depends on libiberty

also updated dates in test-build.mk and build-all.mk
This commit is contained in:
David D. Zuhn
1992-12-12 04:20:03 +00:00
parent 491a12058f
commit ba4513e74f
2 changed files with 16 additions and 11 deletions

View File

@ -15,7 +15,7 @@ TREE = devo
NATIVE = native NATIVE = native
DATE = 921203 DATE = 921208
TAG = latest-$(DATE) TAG = latest-$(DATE)

View File

@ -3,7 +3,13 @@
# script appropriate for this directory. For more information, check # script appropriate for this directory. For more information, check
# any existing configure script. # any existing configure script.
configdirs="m4 autoconf mmalloc libiberty texinfo flex byacc bison opcodes bfd binutils gcc readline glob ld gas gdb emacs ispell make grep diff rcs cvs patch send_pr libg++ newlib gprof gdbtest libm tgas etc tcl expect tk deja-gnu z8ksim sed fileutils shellutils textutils time wdiff find"
configdirs="mmalloc libiberty texinfo flex byacc bison opcodes bfd binutils gcc readline glob ld gas gdb make patch send_pr libg++ gprof gdbtest libm tgas etc tcl expect tk deja-gnu z8ksim"
cross_only_tools="xiberty newlib"
native_only_tools="m4 autoconf ispell grep diff rcs cvs sed fileutils shellutils textutils wdiff find emacs"
srctrigger=move-if-change srctrigger=move-if-change
srcname="gnu development package" srcname="gnu development package"
@ -42,16 +48,15 @@ case "${target}" in
esac esac
# remove various programs from consideration. some of these are not # some tools are only suitable for building in a "native" situation.
# reasonable to build for a native compilation (eg newlib). some of these # Those are added when we have a host==target configuration. For cross
# aren't built for each cross compiler toolchain (eg emacs). # toolchains, we add some directories that should only be useful in a
# cross-compiler.
if [ x"${host}" = x"${target}" ] ; then if [ x"${host}" = x"${target}" ] ; then
# remove from native toolchains configdirs="${configdirs} ${native_only_tools}"
configdirs=`echo ${configdirs} | sed -e 's/newlib//'`
else else
# remove from cross compilers in general configdirs="${configdirs} ${cross_only_tools}"
configdirs=`echo ${configdirs} | sed -e 's/emacs//;s/ispell//;s/rcs//;s/cvs//'`
fi fi
# remove more programs from consideration, based on the host or # remove more programs from consideration, based on the host or
@ -69,13 +74,13 @@ case "${target}" in
configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'` configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
;; ;;
rs6000-*-*) rs6000-*-*)
configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'` configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//;s/tk//'`
;; ;;
hppa*-*-*) hppa*-*-*)
configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//;s/bfd//;s/gdb//'` configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//;s/bfd//;s/gdb//'`
;; ;;
*-*-solaris2) *-*-solaris2)
configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//;s/emacs//'` configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
;; ;;
esac esac