change mh-solaris2 to mh-solaris.
[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="autoconf 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 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 ultrix*)
23         case "${host_cpu}" in
24         mips)   host_makefile_frag=config/mh-decstation ;;
25         esac
26 esac
27
28 case "${host_vendor}" in
29 apollo*)        case "${host_cpu}" in
30                 m68k*)
31                         case "${host_os}" in
32                         sysv*) host_makefile_frag=config/mh-apollo68 ;;
33                         bsd*) host_makefile_frag=config/mh-a68bsd ;;
34                         esac;;
35                 esac ;;
36 ncr*)           case "${host_os}" in
37                 sysv4*) host_makefile_frag=config/mh-ncr3000 ;;
38                 esac ;;
39                         
40 esac
41
42 # per-target:
43
44 bfd_target=
45
46 case "${target_vendor}" in
47 amd)
48         case "${target_os}" in
49                 ebmon)  bfd_target="ebmon29k" ;;
50                 udi)    bfd_target="udi29k" ;;
51                 *) echo "bad target_os for amd" ;;
52         esac
53         ;;
54 *)
55         bfd_target=${target_alias}
56         ;;
57 esac
58
59 case "${target_cpu}" in
60         mips)  configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
61         ;;
62         rs6000)configdirs=`echo ${configdirs} | sed -e 's/gas//;s/binutils//;s/ld//'`
63 esac
64
65 target_makefile_frag=config/mt-${bfd_target}
66
67 #
68 # Local Variables:
69 # fill-column: 131
70 # End:
71 #
72