# per-host:
case "${host}" in
- m68k-hp-hpux) host_makefile_frag=config/mh-hp300 ;;
+ m68k-hp-hpux*) host_makefile_frag=config/mh-hp300 ;;
m68k-apollo-sysv*) host_makefile_frag=config/mh-apollo68 ;;
m68k-apollo-bsd*) host_makefile_frag=config/mh-a68bsd ;;
m88k-motorola-sysv*) host_makefile_frag=config/mh-delta88;;
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 ;;
- i[34]86-*-linux) host_makefile_frag=config/mh-linux ;;
+ i[34]86-*-linux*) host_makefile_frag=config/mh-linux ;;
i[34]86-*-solaris2*) host_makefile_frag=config/mh-sysv4 ;;
i[34]86-*-aix*) host_makefile_frag=config/mh-aix386 ;;
vax-*-ultrix2*) host_makefile_frag=config/mh-vaxult2 ;;
*-*-solaris2*) host_makefile_frag=config/mh-solaris ;;
m68k-sun-*) host_makefile_frag=config/mh-sun3 ;;
*-sun-*) host_makefile_frag=config/mh-sun ;;
- *-hp-hpux) host_makefile_frag=config/mh-hpux ;;
+ *-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
use_gnu_as=
case "${target}" in
- hppa*-hp-hpux) target_makefile_frag=config/mt-hppa ;;
+ hppa*-hp-hpux*) target_makefile_frag=config/mt-hppa ;;
esac
# some tools are so dependent upon X11 that if we're not building with X,
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
+ # 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