Fix error spotted by Francois Pinard (pinard@iro.umontreal.ca): several
[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
10 # per-host:
11
12 gas_host=generic
13
14 case "${host_cpu}" in
15 a29k | rs6000 | vax) gas_host=${host_cpu} ;;
16 mips)
17 case "${host_os}" in
18 ultrix) gas_host=decstation ;;
19 esac
20 ;;
21 *)
22 case "${host_os}" in
23 ansi | ultrix | hpux | sysv*) gas_host=${host_os} ;;
24 *)
25 case "${host_vendor}" in
26 sun)
27 case "${host_cpu}" in
28 m68k) gas_host=sun3 ;;
29 i386) gas_host=sun386 ;;
30 sparc) gas_host=sun4 ;;
31 esac
32 ;;
33 esac
34 ;;
35 esac
36 ;;
37 esac
38
39 # per-target:
40
41 # assign cpu type
42 emulation=generic
43
44 cpu_type=${target_cpu}
45
46 # assign object format
47 case ${target_os} in
48 sysv* | -coff*)
49 obj_format=coff
50 ;;
51 bout*)
52 obj_format=bout
53 ;;
54 bsd* | sunos* | *)
55 obj_format=aout
56 ;;
57 generic)
58 obj_format=generic
59 ;;
60 esac
61
62 # assign floating point type
63 case ${target_cpu} in
64 vax)
65 atof=vax
66 ;;
67 *)
68 atof=ieee
69 ;;
70 esac
71
72 files="config/ho-${gas_host}.h config/tc-${cpu_type}.c \
73 config/tc-${cpu_type}.h config/te-${emulation}.h \
74 config/obj-${obj_format}.h config/obj-${obj_format}.c \
75 config/atof-${atof}.c"
76
77 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.030992 seconds and 4 git commands to generate.