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 opcodes 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 ;;
21 sco*) host_makefile_frag=config/mh-sco ;;
22 irix4) host_makefile_frag=config/mh-irix4 ;;
23 linux) host_makefile_frag=config/mh-linux ;;
24 hpux) host_makefile_frag=config/mh-hpux ;;
27 mips) host_makefile_frag=config/mh-decstation ;;
31 case "${host_vendor}" in
32 apollo*) case "${host_cpu}" in
35 sysv*) host_makefile_frag=config/mh-apollo68 ;;
36 bsd*) host_makefile_frag=config/mh-a68bsd ;;
39 ncr*) case "${host_os}" in
40 sysv4*) host_makefile_frag=config/mh-ncr3000 ;;
49 case "${target_vendor}" in
51 case "${target_os}" in
52 ebmon) bfd_target="ebmon29k"
54 udi) bfd_target="udi29k"
56 *) echo "bad target_os for amd" 1>&2
61 case "${target_alias}" in
69 bfd_target=${target-alias}
74 bfd_target=${target_alias}
78 # remove various programs from consideration, if this is a cross-compiler
79 # (host != target) build, AND if the host is one that has a
80 # "native" environment that we support
82 if [ x"${host}" = x"${target}" ] ; then
83 configdirs=`echo ${configdirs} | sed -e 's/newlib//'`
88 # remove various programs from consideration, based on the host or
89 # target this usually means that a port of the program doesn't
94 configdirs=`echo ${configdirs} | sed -e 's/emacs//'`
97 configdirs=`echo ${configdirs} | sed -e 's/emacs//'`
103 configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
106 configdirs=`echo ${configdirs} | sed -e 's/gas//;s/binutils//;s/ld//;s/libgcc//'`
109 configdirs=`echo ${configdirs} | sed -e 's/gas//;s/bfd//;s/gdb//;s/binutils//;s/gdbtest//;s/ld//;s/libg++//'`
112 configdirs=`echo ${configdirs} | sed -e 's/gas//'`
117 target_makefile_frag=config/mt-${bfd_target}