Sat Dec 12 15:26:34 1992 Ian Lance Taylor (ian@cygnus.com)
[deliverable/binutils-gdb.git] / configure.in
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
6
7 configdirs="mmalloc libiberty texinfo flex byacc bison opcodes bfd binutils gcc readline glob ld gas gdb make patch send_pr libg++ gprof gdbtest libm tgas etc tcl expect tk deja-gnu z8ksim"
8
9 cross_only_tools="xiberty newlib"
10
11 native_only_tools="m4 autoconf ispell grep diff rcs cvs sed fileutils shellutils textutils wdiff find emacs"
12
13 srctrigger=move-if-change
14 srcname="gnu development package"
15
16 # per-host:
17
18 case "${host}" in
19 m68k-apollo-sysv*) host_makefile_frag=config/mh-apollo68 ;;
20 m68k-apollo-bsd*) host_makefile_frag=config/mh-a68bsd ;;
21 m88k-motorola-m88kbcs) host_makefile_frag=config/mh-delta88;;
22 m88k-dg-dgux*) host_makefile_frag=config/mh-dgux ;;
23 mips-dec-ultrix*) host_makefile_frag=config/mh-decstation ;;
24 mips-sgi-irix4) host_makefile_frag=config/mh-irix4 ;;
25 mips-sgi-irix3) host_makefile_frag=config/mh-sysv ;;
26 i[34]86-ncr-sysv4*) host_makefile_frag=config/mh-ncr3000 ;;
27 i[34]86-*-sco*) host_makefile_frag=config/mh-sco ;;
28 i[34]86-*-linux) host_makefile_frag=config/mh-linux ;;
29 i[34]86-*-solaris2*) host_makefile_frag=config/mh-sysv4 ;;
30 *-ibm-aix*) host_makefile_frag=config/mh-aix ;;
31 *-sun-solaris*) host_makefile_frag=config/mh-solaris ;;
32 *-sun-*) host_makefile_frag=config/mh-sun ;;
33 *-hp-hpux) host_makefile_frag=config/mh-hpux ;;
34 *-*sysv4*) host_makefile_frag=config/mh-sysv4 ;;
35 *-*sysv*) host_makefile_frag=config/mh-sysv ;;
36 esac
37
38 # per-target:
39
40 bfd_target=
41
42 case "${target}" in
43 a29k-amd-ebmon) bfd_target="ebmon29k" ;;
44 a29k-amd-udi) bfd_target="udi29k" ;;
45 a29k-amd-*) echo "bad target_os for amd" 1>&2
46 exit 1
47 ;;
48 esac
49
50
51 # some tools are only suitable for building in a "native" situation.
52 # Those are added when we have a host==target configuration. For cross
53 # toolchains, we add some directories that should only be useful in a
54 # cross-compiler.
55
56 if [ x"${host}" = x"${target}" ] ; then
57 configdirs="${configdirs} ${native_only_tools}"
58 else
59 configdirs="${configdirs} ${cross_only_tools}"
60 fi
61
62 # remove more programs from consideration, based on the host or
63 # target this usually means that a port of the program doesn't
64 # exist yet.
65
66 #case "${host}" in
67 # hppa*-*-*)
68 # configdirs=`echo ${configdirs} | sed -e 's/emacs//'`
69 # ;;
70 #esac
71
72 case "${target}" in
73 mips-*-*)
74 configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
75 ;;
76 rs6000-*-*)
77 configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//;s/tk//'`
78 ;;
79 hppa*-*-*)
80 configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//;s/bfd//;s/gdb//'`
81 ;;
82 *-*-solaris2)
83 configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
84 ;;
85 esac
86
87
88 target_makefile_frag=config/mt-${bfd_target}
89
90 #
91 # Local Variables:
92 # fill-column: 131
93 # End:
94 #
95
This page took 0.030905 seconds and 4 git commands to generate.