Some cleanup.
[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
cedb0c45 6configdirs="autoconf mmalloc libiberty texinfo flex byacc bison opcodes bfd binutils gcc readline glob ld gas gdb emacs ispell make grep diff rcs cvs patch send_pr libg++ newlib gprof gdbtest libm tgas etc tcl expect tk deja-gnu z8ksim"
378fd382 7srctrigger=move-if-change
eb02fd64 8srcname="gnu development package"
0df06ca0
RP
9
10# per-host:
11
cec673a2
DZ
12case "${host}" in
13 m68k-apollo-sysv*) host_makefile_frag=config/mh-apollo68 ;;
14 m68k-apollo-bsd*) host_makefile_frag=config/mh-a68bsd ;;
15 m88k-motorola-m88kbcs) host_makefile_frag=config/mh-delta88;;
16 m88k-dg-dgux*) host_makefile_frag=config/mh-dgux ;;
17 mips-dec-ultrix*) host_makefile_frag=config/mh-decstation ;;
18 mips-sgi-irix4) host_makefile_frag=config/mh-irix4 ;;
19 mips-sgi-irix3) host_makefile_frag=config/mh-sysv ;;
20 i[34]86-ncr-sysv4*) host_makefile_frag=config/mh-ncr3000 ;;
21 i[34]86-*-sco*) host_makefile_frag=config/mh-sco ;;
22 i[34]86-*-linux) host_makefile_frag=config/mh-linux ;;
6845e2da 23 i[34]86-*-solaris2*) host_makefile_frag=config/mh-sysv4 ;;
cec673a2
DZ
24 *-ibm-aix*) host_makefile_frag=config/mh-aix ;;
25 *-sun-solaris*) host_makefile_frag=config/mh-solaris ;;
d10f77c1 26 *-sun-*) host_makefile_frag=config/mh-sun ;;
cec673a2
DZ
27 *-hp-hpux) host_makefile_frag=config/mh-hpux ;;
28 *-*sysv4*) host_makefile_frag=config/mh-sysv4 ;;
29 *-*sysv*) host_makefile_frag=config/mh-sysv ;;
f4bda0ff
SEF
30esac
31
0df06ca0 32# per-target:
bc58b41d 33
e99a90a7
RP
34bfd_target=
35
cec673a2
DZ
36case "${target}" in
37 a29k-amd-ebmon) bfd_target="ebmon29k" ;;
38 a29k-amd-udi) bfd_target="udi29k" ;;
39 a29k-amd-*) echo "bad target_os for amd" 1>&2
40 exit 1
41 ;;
44e4e473
SC
42esac
43
c014d597
DZ
44
45# remove various programs from consideration. some of these are not
46# reasonable to build for a native compilation (eg newlib). some of these
47# aren't built for each cross compiler toolchain (eg emacs).
43557c0a
DZ
48
49if [ x"${host}" = x"${target}" ] ; then
c014d597
DZ
50 # remove from native toolchains
51 configdirs=`echo ${configdirs} | sed -e 's/newlib//'`
43557c0a 52else
c014d597
DZ
53 # remove from cross compilers in general
54 configdirs=`echo ${configdirs} | sed -e 's/emacs//;s/ispell//;s/rcs//;s/cvs//'`
43557c0a
DZ
55fi
56
c014d597 57# remove more programs from consideration, based on the host or
dfa891fc
DZ
58# target this usually means that a port of the program doesn't
59# exist yet.
60
378fd382
DZ
61#case "${host}" in
62# hppa*-*-*)
63# configdirs=`echo ${configdirs} | sed -e 's/emacs//'`
64# ;;
65#esac
dfa891fc 66
43557c0a 67case "${target}" in
15ae586e
DZ
68 mips-*-*)
69 configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
70 ;;
71 rs6000-*-*)
c014d597 72 configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
15ae586e
DZ
73 ;;
74 hppa*-*-*)
4d1e5a4e 75 configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//;s/bfd//;s/gdb//'`
15ae586e
DZ
76 ;;
77 *-*-solaris2)
c676f606 78 configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//;s/emacs//'`
15ae586e 79 ;;
05cd8d98
HS
80esac
81
43557c0a 82
bcdbe02f 83target_makefile_frag=config/mt-${bfd_target}
0e302572 84
bc58b41d
RP
85#
86# Local Variables:
87# fill-column: 131
88# End:
89#
9d3f69fb 90
This page took 0.055846 seconds and 4 git commands to generate.