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.
6 configdirs="autoconf libgcc mmalloc libiberty texinfo bfd binutils byacc bison flex gcc readline glob ld gas gdb emacs ispell make grep diff rcs cvs patch send_pr libg++ newlib gprof gdbtest libm tgas"
7 srctrigger=cfg-paper.texi
8 srcname="gnu development package"
12 # XXX - FIXME there needs to be a case for mh_dgux
15 aix*) host_makefile_frag=config/mh-aix ;;
16 m88kbcs) host_makefile_frag=config/mh-delta88;;
17 sysv4*) host_makefile_frag=config/mh-sysv4 ;;
18 solaris*) host_makefile_frag=config/mh-solaris ;;
19 sysv* | irix3) host_makefile_frag=config/mh-sysv ;;
20 sco*) host_makefile_frag=config/mh-sco ;;
21 irix4) host_makefile_frag=config/mh-irix4 ;;
22 linux) host_makefile_frag=config/mh-linux ;;
23 hpux) host_makefile_frag=config/mh-hpux ;;
26 mips) host_makefile_frag=config/mh-decstation ;;
30 case "${host_vendor}" in
31 apollo*) case "${host_cpu}" in
34 sysv*) host_makefile_frag=config/mh-apollo68 ;;
35 bsd*) host_makefile_frag=config/mh-a68bsd ;;
38 ncr*) case "${host_os}" in
39 sysv4*) host_makefile_frag=config/mh-ncr3000 ;;
48 case "${target_vendor}" in
50 case "${target_os}" in
51 ebmon) bfd_target="ebmon29k"
53 udi) bfd_target="udi29k"
55 *) echo "bad target_os for amd" 1>&2
60 bfd_target=${target_alias}
64 # remove various programs from consideration, if this is a cross-compiler
65 # (host != target) build, AND if the host is one that has a
66 # "native" environment that we support
68 if [ x"${host}" = x"${target}" ] ; then
69 configdirs=`echo ${configdirs} | sed -e 's/newlib//'`
74 # remove various programs from consideration, based on the host or
75 # target this usually means that a port of the program doesn't
80 configdirs=`echo ${configdirs} | sed -e 's/emacs//'`
83 configdirs=`echo ${configdirs} | sed -e 's/emacs//'`
89 configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
92 configdirs=`echo ${configdirs} | sed -e 's/gas//;s/binutils//;s/ld//;s/libgcc//'`
95 configdirs=`echo ${configdirs} | sed -e 's/gas//;s/bfd//;s/gdb//;s/binutils//;s/gdbtest//;s/ld//;s/libg++//'`
98 configdirs=`echo ${configdirs} | sed -e 's/gas//'`
103 target_makefile_frag=config/mt-${bfd_target}