Resolve someone else's CVS update conflict.
[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 ericsson)
60 case "${target_alias}" in
61 OSE68000 | ose68000)
62 bfd_target="ose68000"
63 ;;
64 OSE68k | ose68k)
65 bfd_target="ose68k"
66 ;;
67 *)
68 bfd_target=${target-alias}
69 ;;
70 esac
71 ;;
72 *)
73 bfd_target=${target_alias}
74 ;;
75 esac
76
77 # remove various programs from consideration, if this is a cross-compiler
78 # (host != target) build, AND if the host is one that has a
79 # "native" environment that we support
80
81 if [ x"${host}" = x"${target}" ] ; then
82 configdirs=`echo ${configdirs} | sed -e 's/newlib//'`
83 else
84 true
85 fi
86
87 # remove various programs from consideration, based on the host or
88 # target this usually means that a port of the program doesn't
89 # exist yet.
90
91 case "${host}" in
92 hppa*-*-*)
93 configdirs=`echo ${configdirs} | sed -e 's/emacs//'`
94 ;;
95 *-*-solaris2)
96 configdirs=`echo ${configdirs} | sed -e 's/emacs//'`
97 ;;
98 esac
99
100 case "${target}" in
101 mips-*-*)
102 configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
103 ;;
104 rs6000-*-*)
105 configdirs=`echo ${configdirs} | sed -e 's/gas//;s/binutils//;s/ld//;s/libgcc//'`
106 ;;
107 hppa*-*-*)
108 configdirs=`echo ${configdirs} | sed -e 's/gas//;s/bfd//;s/gdb//;s/binutils//;s/gdbtest//;s/ld//;s/libg++//'`
109 ;;
110 *-*-solaris2)
111 configdirs=`echo ${configdirs} | sed -e 's/gas//'`
112 ;;
113 esac
114
115
116 target_makefile_frag=config/mt-${bfd_target}
117
118 #
119 # Local Variables:
120 # fill-column: 131
121 # End:
122 #
123
This page took 0.033663 seconds and 4 git commands to generate.