Structural changes for Info file only (no effect on printed manual),
[deliverable/binutils-gdb.git] / binutils / configure.in
1 # This file is a shell script that supplies the information necessary
2 # to tailor a template configure script into the configure script
3 # appropriate for this directory. For more information, check any
4 # existing configure script.
5
6 srctrigger=ar.c
7 srcname="Binutils"
8
9 # per-host:
10
11 case "${host_cpu}" in
12
13 rs6000) my_host=rs6000
14 ;;
15
16 mips)
17 case "${host_vendor}" in
18 dec) my_host=decstation ;;
19 sgi) my_host=irix3 ;;
20 esac
21 ;;
22
23 m88k)
24 case "${host_vendor}" in
25 motorola)
26 my_host=delta88 ;;
27 *)
28 case "${host_os}" in
29 dgux) my_host=dgux ;;
30 esac
31 ;;
32 esac
33 ;;
34
35 m68k)
36 case "${host_vendor}" in
37 cbm)
38 case ${host_os} in
39 amigados) my_host=amigados ;;
40 svr4) my_host=amix ;;
41 esac
42 ;;
43 hp)
44 case "${host_os}" in
45 hpux) my_host=hp9000 ;;
46 bsd) my_host=hp300bsd ;;
47 esac
48 ;;
49 sony) my_host=news ;;
50 sun) my_host=sun3 ;;
51 apollo)
52 case "${host_os}" in
53 sysv*) my_host=apollov68 ;;
54 bsd*) my_host=apollo68 ;;
55 esac
56 ;;
57 esac
58 ;;
59
60 i386)
61 case "${host_vendor}" in
62 *)
63 case "${host_os}" in
64 go32) my_host=go32 ;;
65 sco*) my_host=i386v ;;
66 sysv) my_host=i386v ;;
67 mach) my_host=i386mach ;;
68 msdos) my_host=dose ;;
69 esac
70 ;;
71 esac
72 ;;
73
74 sparc)
75 case "${host_os}" in
76 sunos64) my_host=sparc-ll ;;
77 *) my_host=sparc ;;
78 esac
79 ;;
80
81 romp) my_host=rtbsd
82 ;;
83
84 a29k) my_host=ultra3
85 ;;
86
87 tahoe)
88 my_host=tahoe
89 ;;
90
91 vax)
92 case "${host_os}" in
93 ultrix) my_host=vaxult ;;
94 *) my_host=vaxbsd ;;
95 esac
96 ;;
97 esac
98
99 # Set up to make a link between the host's include file and "sysdep.h".
100 files="../bfd/hosts/${my_host}.h"
101
102 links="sysdep.h"
103
104 if [ ! -f ${srcdir}/${files} ] ; then
105 if [ -n "${my_host}" ] ; then
106 echo '***' No file ${srcdir}/${files}
107 fi
108 echo '***' ${srcname} does not support host ${host}
109 exit 1
110 fi
111
112 host_makefile_frag=
113 if [ -f ${srcdir}/../bfd/config/${my_host}.mh ] ; then
114 host_makefile_frag=../bfd/config/${my_host}.mh
115 fi
116
117 # per-target:
This page took 0.034816 seconds and 4 git commands to generate.