#
host_tools="texinfo byacc flex bison binutils ld gas gcc gdb make patch
prms send-pr gprof gdbtest tgas etc expect dejagnu sim
- m4 autoconf ispell grep diff rcs cvs dosutils fileutils shellutils
+ m4 autoconf ispell grep diff rcs cvs fileutils shellutils
textutils wdiff find emacs uudecode hello tar gzip indent
- recode release"
+ recode release sed utils"
# these libraries are built for the target environment, and are built after
m68k-apollo-bsd*) host_makefile_frag=config/mh-a68bsd ;;
m88k-motorola-sysv*) 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 ;;
- mips-*-sysv*) host_makefile_frag=config/mh-riscos ;;
+ 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 ;;
+ mips*-*-sysv*) host_makefile_frag=config/mh-riscos ;;
i[34]86-ncr-sysv4*) host_makefile_frag=config/mh-ncr3000 ;;
i[34]86-*-sco*) host_makefile_frag=config/mh-sco ;;
i[34]86-*-isc*) host_makefile_frag=config/mh-sysv ;;
*-sun-*) host_makefile_frag=config/mh-sun ;;
*-hp-hpux) host_makefile_frag=config/mh-hpux ;;
*-*-hiux*) host_makefile_frag=config/mh-hpux ;;
- *-*-lynxos*) host_makefile_frag=config/mh-lynxos ;;
+ *-*-lynxos*) host_makefile_frag=config/mh-lynxos
+ cross_only="xiberty" ;;
*-*-sysv4*) host_makefile_frag=config/mh-sysv4 ;;
*-*-sysv*) host_makefile_frag=config/mh-sysv ;;
esac
# complain if the target or host isn't supported.
case "${host}" in
- alpha-dec-osf1)
+ alpha-dec-osf1*)
configdirs=`echo ${configdirs} | sed -e 's/gdb//'`
;;
i[34]86-*-go32)
esac
case "${target}" in
- alpha-dec-osf1)
- configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas //'`
+ alpha-dec-osf1*)
+ configdirs=`echo ${configdirs} | sed -e 's/gas //'`
configdirs=`echo ${configdirs} | sed -e 's/gdb//;s/emacs//;s/fileutils//'`
configdirs=`echo ${configdirs} | sed -e 's/grep//;s/libg++//;s/libio//'`
;;
hppa*-*-osf)
# Do configure ld/binutils/gas for this case.
;;
+ m68k-hp-hpux*)
+ configdirs=`echo ${configdirs} | sed -e 's/emacs//'`
+ ;;
hppa*-*-*)
+ # HP's C compiler doesn't handle Emacs correctly (but on BSD and Mach
+ # cc is gcc, and on any system a user should be able to link cc to
+ # whatever they want. FIXME, emacs).
+ case "${CC}" in
+ "" | cc*) configdirs=`echo ${configdirs} | sed -e 's/emacs//'` ;;
+ *) echo "building emacs" ;;
+ esac
configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas /pagas /;s/shellutils//'`
gasdir=pagas
;;
# add the go32 support tools to the list
configdirs=`echo go32 ${configdirs}`
;;
+ i[34]86-*-sysv4*)
+ # The SYSV4 C compiler doesn't handle Emacs correctly
+ case "${CC}" in
+ "" | cc*) configdirs=`echo ${configdirs} | sed -e 's/emacs//'` ;;
+ *) ;;
+ esac
+ # but that's okay since emacs doesn't work anyway
+ configdirs=`echo ${configdirs} | sed -e 's/emacs//'`
+ ;;
rs6000-*-*)
- configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas //;s/gprof//'`
+ # a gcc built textutils will cause the linker to hang on 'join'
+ configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas //;s/gprof//;s/textutils//'`
;;
mips-*-*)
configdirs=`echo ${configdirs} | sed -e 's/gprof//'`
sparc-*-sunos4*)
use_gnu_ld=no
;;
+ sparc-*-solaris2*)
+ configdirs=`echo ${configdirs} | sed -e 's/ld//'`
+ ;;
i[34]86-*-sco*)
configdirs=`echo ${configdirs} | sed -e 's/gprof//'`
;;