z8kgen: temp file to generate z8k-opc.h from
[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 ;;
f68be6f0 20scout) ;;
27c28d61 21sco*) host_makefile_frag=config/mh-sco ;;
407a8389 22irix4) host_makefile_frag=config/mh-irix4 ;;
4da05fa0 23linux) host_makefile_frag=config/mh-linux ;;
0ddd7b50 24hpux) host_makefile_frag=config/mh-hpux ;;
3b2cf8e8
JG
25ultrix*)
26 case "${host_cpu}" in
27 mips) host_makefile_frag=config/mh-decstation ;;
28 esac
0e302572
SG
29esac
30
f4bda0ff 31case "${host_vendor}" in
dd16baba
SEF
32apollo*) case "${host_cpu}" in
33 m68k*)
68cd7865
SEF
34 case "${host_os}" in
35 sysv*) host_makefile_frag=config/mh-apollo68 ;;
36 bsd*) host_makefile_frag=config/mh-a68bsd ;;
37 esac;;
dd16baba 38 esac ;;
c4fb14b7
FF
39ncr*) case "${host_os}" in
40 sysv4*) host_makefile_frag=config/mh-ncr3000 ;;
41 esac ;;
42
f4bda0ff
SEF
43esac
44
0df06ca0 45# per-target:
bc58b41d 46
e99a90a7
RP
47bfd_target=
48
44e4e473
SC
49case "${target_vendor}" in
50amd)
51 case "${target_os}" in
43557c0a
DZ
52 ebmon) bfd_target="ebmon29k"
53 ;;
54 udi) bfd_target="udi29k"
55 ;;
56 *) echo "bad target_os for amd" 1>&2
57 ;;
44e4e473
SC
58 esac
59 ;;
afba2b22
ILT
60ericsson)
61 case "${target_alias}" in
62 OSE68000 | ose68000)
63 bfd_target="ose68000"
64 ;;
65 OSE68k | ose68k)
66 bfd_target="ose68k"
67 ;;
68 *)
69 bfd_target=${target-alias}
70 ;;
71 esac
72 ;;
44e4e473 73*)
e99a90a7 74 bfd_target=${target_alias}
44e4e473
SC
75 ;;
76esac
77
dfa891fc
DZ
78# remove various programs from consideration, if this is a cross-compiler
79# (host != target) build, AND if the host is one that has a
80# "native" environment that we support
43557c0a
DZ
81
82if [ x"${host}" = x"${target}" ] ; then
dfa891fc 83 configdirs=`echo ${configdirs} | sed -e 's/newlib//'`
43557c0a
DZ
84else
85 true
86fi
87
dfa891fc
DZ
88# remove various programs from consideration, based on the host or
89# target this usually means that a port of the program doesn't
90# exist yet.
91
92case "${host}" in
93hppa*-*-*)
94 configdirs=`echo ${configdirs} | sed -e 's/emacs//'`
95 ;;
96*-*-solaris2)
97 configdirs=`echo ${configdirs} | sed -e 's/emacs//'`
98 ;;
99esac
100
43557c0a
DZ
101case "${target}" in
102mips-*-*)
103 configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
104 ;;
105rs6000-*-*)
dfa891fc 106 configdirs=`echo ${configdirs} | sed -e 's/gas//;s/binutils//;s/ld//;s/libgcc//'`
43557c0a
DZ
107 ;;
108hppa*-*-*)
dfa891fc 109 configdirs=`echo ${configdirs} | sed -e 's/gas//;s/bfd//;s/gdb//;s/binutils//;s/gdbtest//;s/ld//;s/libg++//'`
43557c0a
DZ
110 ;;
111*-*-solaris2)
112 configdirs=`echo ${configdirs} | sed -e 's/gas//'`
05cd8d98
HS
113 ;;
114esac
115
43557c0a 116
bcdbe02f 117target_makefile_frag=config/mt-${bfd_target}
0e302572 118
bc58b41d
RP
119#
120# Local Variables:
121# fill-column: 131
122# End:
123#
9d3f69fb 124
This page took 0.055058 seconds and 4 git commands to generate.