correct typo
[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
3ad0ef37 6configdirs="autoconf libgcc mmalloc libiberty texinfo 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 ;;
59*)
e99a90a7 60 bfd_target=${target_alias}
44e4e473
SC
61 ;;
62esac
63
43557c0a
DZ
64#
65# remove various programs from consideration, based on the target
66# this usually means that a port of the program doesn't exist yet.
67
68if [ x"${host}" = x"${target}" ] ; then
69 configdirs=`echo ${configdirs} | sed -e 's/newlib//;s/libgcc//'`
70else
71 true
72fi
73
74case "${target}" in
75mips-*-*)
76 configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
77 ;;
78rs6000-*-*)
79 configdirs=`echo ${configdirs} | sed -e 's/gas//;s/binutils//;s/ld//'`
80 ;;
81hppa*-*-*)
82 configdirs=`echo ${configdirs} | sed -e 's/gas//;s/bfd//;s/gdb//;s/binutils//;s/gdbtest//;s/ld//;s/emacs//'`
83 ;;
84*-*-solaris2)
85 configdirs=`echo ${configdirs} | sed -e 's/gas//'`
05cd8d98
HS
86 ;;
87esac
88
43557c0a 89
bcdbe02f 90target_makefile_frag=config/mt-${bfd_target}
0e302572 91
bc58b41d
RP
92#
93# Local Variables:
94# fill-column: 131
95# End:
96#
9d3f69fb 97
This page took 0.049171 seconds and 4 git commands to generate.