* remote.c (remote_open): Fix baud rate setting to make -b flag
[deliverable/binutils-gdb.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 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"
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 linux) host_makefile_frag=config/mh-linux ;;
23 hpux) host_makefile_frag=config/mh-hpux ;;
24 ultrix*)
25 case "${host_cpu}" in
26 mips) host_makefile_frag=config/mh-decstation ;;
27 esac
28 esac
29
30 case "${host_vendor}" in
31 apollo*) case "${host_cpu}" in
32 m68k*)
33 case "${host_os}" in
34 sysv*) host_makefile_frag=config/mh-apollo68 ;;
35 bsd*) host_makefile_frag=config/mh-a68bsd ;;
36 esac;;
37 esac ;;
38 ncr*) case "${host_os}" in
39 sysv4*) host_makefile_frag=config/mh-ncr3000 ;;
40 esac ;;
41
42 esac
43
44 # per-target:
45
46 bfd_target=
47
48 case "${target_vendor}" in
49 amd)
50 case "${target_os}" in
51 ebmon) bfd_target="ebmon29k"
52 ;;
53 udi) bfd_target="udi29k"
54 ;;
55 *) echo "bad target_os for amd" 1>&2
56 ;;
57 esac
58 ;;
59 *)
60 bfd_target=${target_alias}
61 ;;
62 esac
63
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
67
68 if [ x"${host}" = x"${target}" ] ; then
69 configdirs=`echo ${configdirs} | sed -e 's/newlib//'`
70 else
71 true
72 fi
73
74 # remove various programs from consideration, based on the host or
75 # target this usually means that a port of the program doesn't
76 # exist yet.
77
78 case "${host}" in
79 hppa*-*-*)
80 configdirs=`echo ${configdirs} | sed -e 's/emacs//'`
81 ;;
82 *-*-solaris2)
83 configdirs=`echo ${configdirs} | sed -e 's/emacs//'`
84 ;;
85 esac
86
87 case "${target}" in
88 mips-*-*)
89 configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
90 ;;
91 rs6000-*-*)
92 configdirs=`echo ${configdirs} | sed -e 's/gas//;s/binutils//;s/ld//;s/libgcc//'`
93 ;;
94 hppa*-*-*)
95 configdirs=`echo ${configdirs} | sed -e 's/gas//;s/bfd//;s/gdb//;s/binutils//;s/gdbtest//;s/ld//;s/libg++//'`
96 ;;
97 *-*-solaris2)
98 configdirs=`echo ${configdirs} | sed -e 's/gas//'`
99 ;;
100 esac
101
102
103 target_makefile_frag=config/mt-${bfd_target}
104
105 #
106 # Local Variables:
107 # fill-column: 131
108 # End:
109 #
110
This page took 0.032099 seconds and 4 git commands to generate.