from p3: +0.0 is a small integer, at least for moveq
[deliverable/binutils-gdb.git] / configure.in
CommitLineData
eb02fd64
RP
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
868ebe79 6configdirs="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 "
079399f6 7srctrigger=cfg-paper.texi
eb02fd64 8srcname="gnu development package"
0df06ca0
RP
9
10# per-host:
11
0c6087dd 12# XXX - FIXME there needs to be a case for mh_dgux
0e302572
SG
13
14case "${host_os}" in
b4e2a59b 15aix*) host_makefile_frag=config/mh-aix ;;
99823b66 16m88kbcs) host_makefile_frag=config/mh-delta88;;
5f32984e 17sysv4*) host_makefile_frag=config/mh-sysv4 ;;
bbc7590a 18solaris*) host_makefile_frag=config/mh-solaris ;;
407a8389 19sysv* | irix3) host_makefile_frag=config/mh-sysv ;;
27c28d61 20sco*) host_makefile_frag=config/mh-sco ;;
407a8389 21irix4) host_makefile_frag=config/mh-irix4 ;;
4da05fa0 22linux) host_makefile_frag=config/mh-linux ;;
0ddd7b50 23hpux) host_makefile_frag=config/mh-hpux ;;
3b2cf8e8
JG
24ultrix*)
25 case "${host_cpu}" in
26 mips) host_makefile_frag=config/mh-decstation ;;
27 esac
0e302572
SG
28esac
29
f4bda0ff 30case "${host_vendor}" in
dd16baba
SEF
31apollo*) case "${host_cpu}" in
32 m68k*)
68cd7865
SEF
33 case "${host_os}" in
34 sysv*) host_makefile_frag=config/mh-apollo68 ;;
35 bsd*) host_makefile_frag=config/mh-a68bsd ;;
36 esac;;
dd16baba 37 esac ;;
c4fb14b7
FF
38ncr*) case "${host_os}" in
39 sysv4*) host_makefile_frag=config/mh-ncr3000 ;;
40 esac ;;
41
f4bda0ff
SEF
42esac
43
0df06ca0 44# per-target:
bc58b41d 45
e99a90a7
RP
46bfd_target=
47
44e4e473
SC
48case "${target_vendor}" in
49amd)
50 case "${target_os}" in
43557c0a
DZ
51 ebmon) bfd_target="ebmon29k"
52 ;;
53 udi) bfd_target="udi29k"
54 ;;
55 *) echo "bad target_os for amd" 1>&2
56 ;;
44e4e473
SC
57 esac
58 ;;
afba2b22
ILT
59ericsson)
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 ;;
44e4e473 72*)
e99a90a7 73 bfd_target=${target_alias}
44e4e473
SC
74 ;;
75esac
76
dfa891fc
DZ
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
43557c0a
DZ
80
81if [ x"${host}" = x"${target}" ] ; then
dfa891fc 82 configdirs=`echo ${configdirs} | sed -e 's/newlib//'`
43557c0a
DZ
83else
84 true
85fi
86
dfa891fc
DZ
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
91case "${host}" in
92hppa*-*-*)
93 configdirs=`echo ${configdirs} | sed -e 's/emacs//'`
94 ;;
95*-*-solaris2)
96 configdirs=`echo ${configdirs} | sed -e 's/emacs//'`
97 ;;
98esac
99
43557c0a
DZ
100case "${target}" in
101mips-*-*)
102 configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
103 ;;
104rs6000-*-*)
dfa891fc 105 configdirs=`echo ${configdirs} | sed -e 's/gas//;s/binutils//;s/ld//;s/libgcc//'`
43557c0a
DZ
106 ;;
107hppa*-*-*)
dfa891fc 108 configdirs=`echo ${configdirs} | sed -e 's/gas//;s/bfd//;s/gdb//;s/binutils//;s/gdbtest//;s/ld//;s/libg++//'`
43557c0a
DZ
109 ;;
110*-*-solaris2)
111 configdirs=`echo ${configdirs} | sed -e 's/gas//'`
05cd8d98
HS
112 ;;
113esac
114
43557c0a 115
bcdbe02f 116target_makefile_frag=config/mt-${bfd_target}
0e302572 117
bc58b41d
RP
118#
119# Local Variables:
120# fill-column: 131
121# End:
122#
9d3f69fb 123
This page took 0.075131 seconds and 4 git commands to generate.