29k/UDI config stuff.
[external/binutils.git] / configure.in
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.
5
6 configdirs="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"
7 srctrigger=cfg-paper.texi
8 srcname="gnu development package"
9
10 # per-host:
11
12 # XXX - FIXME there needs to be a case for mh_dgux
13
14 case "${host_os}" in
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 sysv* | irix3)  host_makefile_frag=config/mh-sysv ;;
19 sco*)           host_makefile_frag=config/mh-sco ;;
20 irix4)          host_makefile_frag=config/mh-irix4 ;;
21 ultrix*)
22         case "${host_cpu}" in
23         mips)   host_makefile_frag=config/mh-decstation ;;
24         esac
25 esac
26
27 case "${host_vendor}" in
28 apollo*)        case "${host_cpu}" in
29                 m68k*)
30                         case "${host_os}" in
31                         sysv*) host_makefile_frag=config/mh-apollo68 ;;
32                         bsd*) host_makefile_frag=config/mh-a68bsd ;;
33                         esac;;
34                 esac ;;
35 ncr*)           case "${host_os}" in
36                 sysv4*) host_makefile_frag=config/mh-ncr3000 ;;
37                 esac ;;
38                         
39 esac
40
41 # per-target:
42
43 bfd_target=
44
45 case "${target_vendor}" in
46 amd)
47         case "${target_os}" in
48                 ebmon)  bfd_target="ebmon29k" ;;
49                 udi)    bfd_target="udi29k" ;;
50                 *) echo "bad target_os for amd" ;;
51         esac
52         ;;
53 *)
54         bfd_target=${target_alias}
55         ;;
56 esac
57
58 case "${target_cpu}" in
59         mips)  configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
60         ;;
61         rs6000)configdirs=`echo ${configdirs} | sed -e 's/gas//;s/binutils//;s/ld//'`
62 esac
63
64 target_makefile_frag=config/mt-${bfd_target}
65
66 #
67 # Local Variables:
68 # fill-column: 131
69 # End:
70 #
71