binutils-gdb/configure.in

90 lines
3.0 KiB
Plaintext
Raw Normal View History

1991-04-04 21:01:18 +02:00
# This file is a shell script fragment that supplies the information
# necessary to tailor a template configure script into the configure
# script appropriate for this directory. For more information, check
# any existing configure script.
1992-11-13 18:40:20 +01:00
configdirs="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"
1992-11-06 00:04:38 +01:00
srctrigger=move-if-change
1991-04-04 21:01:18 +02:00
srcname="gnu development package"
# per-host:
1992-10-02 02:00:21 +01:00
case "${host}" in
m68k-apollo-sysv*) host_makefile_frag=config/mh-apollo68 ;;
m68k-apollo-bsd*) host_makefile_frag=config/mh-a68bsd ;;
m88k-motorola-m88kbcs) host_makefile_frag=config/mh-delta88;;
m88k-dg-dgux*) host_makefile_frag=config/mh-dgux ;;
mips-dec-ultrix*) host_makefile_frag=config/mh-decstation ;;
mips-sgi-irix4) host_makefile_frag=config/mh-irix4 ;;
mips-sgi-irix3) host_makefile_frag=config/mh-sysv ;;
i[34]86-ncr-sysv4*) host_makefile_frag=config/mh-ncr3000 ;;
i[34]86-*-sco*) host_makefile_frag=config/mh-sco ;;
i[34]86-*-linux) host_makefile_frag=config/mh-linux ;;
i[34]86-*-solaris2*) host_makefile_frag=config/mh-sysv4 ;;
1992-10-02 02:00:21 +01:00
*-ibm-aix*) host_makefile_frag=config/mh-aix ;;
*-sun-solaris*) host_makefile_frag=config/mh-solaris ;;
*-hp-hpux) host_makefile_frag=config/mh-hpux ;;
*-*sysv4*) host_makefile_frag=config/mh-sysv4 ;;
*-*sysv*) host_makefile_frag=config/mh-sysv ;;
1991-11-13 23:16:12 +01:00
esac
# per-target:
1991-08-25 22:18:21 +02:00
1991-10-23 06:32:55 +01:00
bfd_target=
1992-10-02 02:00:21 +01:00
case "${target}" in
a29k-amd-ebmon) bfd_target="ebmon29k" ;;
a29k-amd-udi) bfd_target="udi29k" ;;
a29k-amd-*) echo "bad target_os for amd" 1>&2
exit 1
;;
1991-10-21 18:06:59 +01:00
esac
# remove various programs from consideration. some of these are not
# reasonable to build for a native compilation (eg newlib). some of these
# aren't built for each cross compiler toolchain (eg emacs).
if [ x"${host}" = x"${target}" ] ; then
# remove from native toolchains
configdirs=`echo ${configdirs} | sed -e 's/newlib//'`
else
# remove from cross compilers in general
configdirs=`echo ${configdirs} | sed -e 's/emacs//;s/ispell//;s/rcs//;s/cvs//'`
fi
# remove more programs from consideration, based on the host or
# target this usually means that a port of the program doesn't
# exist yet.
1992-11-06 00:04:38 +01:00
#case "${host}" in
# hppa*-*-*)
# configdirs=`echo ${configdirs} | sed -e 's/emacs//'`
# ;;
#esac
case "${target}" in
1992-10-02 07:55:20 +01:00
mips-*-*)
configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
;;
rs6000-*-*)
configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
1992-10-02 07:55:20 +01:00
;;
hppa*-*-*)
1992-11-23 03:59:50 +01:00
configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//;s/bfd//;s/gdb//'`
1992-10-02 07:55:20 +01:00
;;
*-*-solaris2)
configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//;s/emacs//'`
1992-10-02 07:55:20 +01:00
;;
1992-02-02 05:53:15 +01:00
esac
target_makefile_frag=config/mt-${bfd_target}
1991-09-17 01:17:02 +02:00
1991-08-25 22:18:21 +02:00
#
# Local Variables:
# fill-column: 131
# End:
#