1 # This file is a shell script fragment that supplies the information
2 # necessary to tailor a template configure script into the configure
3 # script appropriate for this directory. For more information, check
4 # any existing configure script.
7 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"
9 cross_only_tools="xiberty newlib"
11 native_only_tools="m4 autoconf ispell grep diff rcs cvs sed fileutils shellutils textutils wdiff find emacs"
13 srctrigger=move-if-change
14 srcname="gnu development package"
19 m68k-apollo-sysv*) host_makefile_frag=config/mh-apollo68 ;;
20 m68k-apollo-bsd*) host_makefile_frag=config/mh-a68bsd ;;
21 m88k-motorola-m88kbcs) host_makefile_frag=config/mh-delta88;;
22 m88k-dg-dgux*) host_makefile_frag=config/mh-dgux ;;
23 mips-dec-ultrix*) host_makefile_frag=config/mh-decstation ;;
24 mips-sgi-irix4) host_makefile_frag=config/mh-irix4 ;;
25 mips-sgi-irix3) host_makefile_frag=config/mh-sysv ;;
26 i[34]86-ncr-sysv4*) host_makefile_frag=config/mh-ncr3000 ;;
27 i[34]86-*-sco*) host_makefile_frag=config/mh-sco ;;
28 i[34]86-*-linux) host_makefile_frag=config/mh-linux ;;
29 i[34]86-*-solaris2*) host_makefile_frag=config/mh-sysv4 ;;
30 *-ibm-aix*) host_makefile_frag=config/mh-aix ;;
31 *-sun-solaris*) host_makefile_frag=config/mh-solaris ;;
32 *-sun-*) host_makefile_frag=config/mh-sun ;;
33 *-hp-hpux) host_makefile_frag=config/mh-hpux ;;
34 *-*sysv4*) host_makefile_frag=config/mh-sysv4 ;;
35 *-*sysv*) host_makefile_frag=config/mh-sysv ;;
43 a29k-amd-ebmon) bfd_target="ebmon29k" ;;
44 a29k-amd-udi) bfd_target="udi29k" ;;
45 a29k-amd-*) echo "bad target_os for amd" 1>&2
51 # some tools are only suitable for building in a "native" situation.
52 # Those are added when we have a host==target configuration. For cross
53 # toolchains, we add some directories that should only be useful in a
56 if [ x"${host}" = x"${target}" ] ; then
57 configdirs="${configdirs} ${native_only_tools}"
59 configdirs="${configdirs} ${cross_only_tools}"
62 # remove more programs from consideration, based on the host or
63 # target this usually means that a port of the program doesn't
68 # configdirs=`echo ${configdirs} | sed -e 's/emacs//'`
74 configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
77 configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//;s/tk//'`
80 configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//;s/bfd//;s/gdb//'`
83 configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
88 target_makefile_frag=config/mt-${bfd_target}