Add declaration of free() to config/ho-generic.h
[deliverable/binutils-gdb.git] / gas / 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=as.c
7 srcname="gas"
8 targetdependent=true
9 need_bfd=
10 target_dependent=true
11
12 # per-host:
13
14 gas_host=generic
15
16 case "${host_cpu}" in
17 a29k | rs6000 | vax) gas_host=${host_cpu} ;;
18 mips)
19 case "${host_os}" in
20 ultrix) gas_host=decstation ;;
21 esac
22 ;;
23 *)
24 case "${host_os}" in
25 ansi | ultrix | hpux | sysv*) gas_host=${host_os} ;;
26 *)
27 case "${host_vendor}" in
28 sun)
29 case "${host_cpu}" in
30 m68k) gas_host=sun3 ;;
31 i386) gas_host=sun386 ;;
32 sparc) gas_host=sun4 ;;
33 esac
34 ;;
35 esac
36 ;;
37 esac
38 ;;
39 esac
40
41 # per-target:
42
43 # assign cpu type
44 emulation=generic
45
46 cpu_type=${target_cpu}
47
48 # assign object format
49 case ${target_os} in
50 bout*) obj_format=bout ;;
51 nindy*) obj_format=bout ;;
52 bsd* | sunos*) obj_format=aout ;;
53
54 ebmon-old)
55 obj_format=coff
56 need_bfd="$(unsubdir)/../bfd$(subdir)/libbfd.a"
57 target_cpu=ebmon29k
58 ;;
59
60 ebmon)
61 obj_format=coff-bfd
62 need_bfd="$(unsubdir)/../bfd$(subdir)/libbfd.a"
63 target_cpu=ebmon29k
64 ;;
65
66 generic) obj_format=generic ;;
67
68 hds)
69 obj_format=coff-bfd
70 need_bfd="$(unsubdir)/../bfd$(subdir)/libbfd.a"
71 ;;
72
73 sysv32)
74 obj_format=coff
75 emulation=sysv32
76 ;;
77
78 coff* | sysv*)
79 obj_format=coff
80
81 case ${target_vendor} in
82 bull) emulation=dpx2 ;;
83 sco) emulation=sco386 ;;
84 sun) emulation=sun3 ;;
85 *)
86 esac
87 ;;
88 *)
89 case ${target_vendor} in
90 aout) obj_format=aout ;;
91 bout) obj_format=bout ;;
92 coff)
93 obj_format=coff
94 case ${target_cpu} in
95 i960) emulation=ic960 ;;
96 esac
97 ;;
98 *) obj_format=aout ;;
99 esac
100 ;;
101
102 esac
103
104 # assign floating point type
105 case ${target_cpu} in
106 vax) atof=vax ;;
107 *) atof=ieee ;;
108 esac
109
110 # and target makefile frag
111
112 target_makefile_frag=config/mt-${target_cpu}
113
114 files="config/ho-${gas_host}.h config/tc-${cpu_type}.c \
115 config/tc-${cpu_type}.h config/te-${emulation}.h \
116 config/obj-${obj_format}.h config/obj-${obj_format}.c \
117 config/atof-${atof}.c"
118
119 links="host.h targ-cpu.c targ-cpu.h targ-env.h obj-format.h obj-format.c atof-targ.c"
This page took 0.031213 seconds and 4 git commands to generate.