binutils-gdb/configure.in
David D. Zuhn ba4513e74f * 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
1992-12-12 04:20:03 +00:00

96 lines
3.0 KiB
Plaintext

# This file is a shell script fragment that supplies the information
# necessary to tailor a template configure script into the configure
# script appropriate for this directory. For more information, check
# any existing configure script.
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
srcname="gnu development package"
# per-host:
case "${host}" in
m68k-apollo-sysv*) host_makefile_frag=config/mh-apollo68 ;;
m68k-apollo-bsd*) host_makefile_frag=config/mh-a68bsd ;;
m88k-motorola-m88kbcs) host_makefile_frag=config/mh-delta88;;
m88k-dg-dgux*) host_makefile_frag=config/mh-dgux ;;
mips-dec-ultrix*) host_makefile_frag=config/mh-decstation ;;
mips-sgi-irix4) host_makefile_frag=config/mh-irix4 ;;
mips-sgi-irix3) host_makefile_frag=config/mh-sysv ;;
i[34]86-ncr-sysv4*) host_makefile_frag=config/mh-ncr3000 ;;
i[34]86-*-sco*) host_makefile_frag=config/mh-sco ;;
i[34]86-*-linux) host_makefile_frag=config/mh-linux ;;
i[34]86-*-solaris2*) host_makefile_frag=config/mh-sysv4 ;;
*-ibm-aix*) host_makefile_frag=config/mh-aix ;;
*-sun-solaris*) host_makefile_frag=config/mh-solaris ;;
*-sun-*) host_makefile_frag=config/mh-sun ;;
*-hp-hpux) host_makefile_frag=config/mh-hpux ;;
*-*sysv4*) host_makefile_frag=config/mh-sysv4 ;;
*-*sysv*) host_makefile_frag=config/mh-sysv ;;
esac
# per-target:
bfd_target=
case "${target}" in
a29k-amd-ebmon) bfd_target="ebmon29k" ;;
a29k-amd-udi) bfd_target="udi29k" ;;
a29k-amd-*) echo "bad target_os for amd" 1>&2
exit 1
;;
esac
# some tools are only suitable for building in a "native" situation.
# Those are added when we have a host==target configuration. For cross
# toolchains, we add some directories that should only be useful in a
# cross-compiler.
if [ x"${host}" = x"${target}" ] ; then
configdirs="${configdirs} ${native_only_tools}"
else
configdirs="${configdirs} ${cross_only_tools}"
fi
# remove more programs from consideration, based on the host or
# target this usually means that a port of the program doesn't
# exist yet.
#case "${host}" in
# hppa*-*-*)
# configdirs=`echo ${configdirs} | sed -e 's/emacs//'`
# ;;
#esac
case "${target}" in
mips-*-*)
configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
;;
rs6000-*-*)
configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//;s/tk//'`
;;
hppa*-*-*)
configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//;s/bfd//;s/gdb//'`
;;
*-*-solaris2)
configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
;;
esac
target_makefile_frag=config/mt-${bfd_target}
#
# Local Variables:
# fill-column: 131
# End:
#