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 fileutils shellutils
- textutils wdiff find emacs uudecode hello tar gzip indent
- recode release sed utils newlib"
+ textutils wdiff find emacs emacs19 uudecode hello tar gzip indent
+ recode release sed utils"
# these libraries are built for the target environment, and are built after
# the host libraries and the host tools (which may be a cross compiler)
#
-target_libs="libm xiberty newlib libio libg++"
+target_libs="libm xiberty newlib libio librx libg++"
# these tools are built using the target libs, and are intended to run only
-# in the target environment. we currently have none.
+# in the target environment
#
# note: any program that *uses* libraries that are in the "target_libs"
# list belongs in this list. those programs are also very likely
# candidates for the "native_only" list which follows
#
-target_tools="groff"
+target_tools="examples groff"
################################################################################
# directories to be built in the native environment only
#
-native_only="autoconf cvs emacs fileutils find grep groff gzip hello indent
+native_only="autoconf cvs emacs emacs19 fileutils find grep groff gzip hello indent
ispell m4 rcs recode sed shellutils tar textutils gash tk uudecode wdiff
gprof"
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;;
m88k-dg-dgux*) host_makefile_frag=config/mh-dgux ;;
+ m88k-harris-cxux*) host_makefile_frag=config/mh-cxux ;;
+ m88k-motorola-sysv*) host_makefile_frag=config/mh-delta88;;
mips*-dec-ultrix*) host_makefile_frag=config/mh-decstation ;;
mips*-sgi-irix5*) host_makefile_frag=config/mh-irix5 ;;
mips*-sgi-irix4*) host_makefile_frag=config/mh-irix4 ;;
esac
fi
+# The Solaris /usr/ucb/cc compiler does not appear to work.
+case "${host}" in
+ sparc-sun-solaris2*)
+ if [ "`/usr/bin/which ${CC-cc}`" = "/usr/ucb/cc" ] ; then
+ could_use=
+ [ -d /opt/SUNWspro/bin ] && could_use="/opt/SUNWspro/bin"
+ if [ -d /opt/cygnus/bin ] ; then
+ if [ "$could_use" == "" ] ; then
+ could_use="/opt/cygnus/bin"
+ else
+ could_use="$could_use or /opt/cygnus/bin"
+ fi
+ fi
+ if [ "$could_use" = "" ] ; then
+ echo "Warning: compilation may fail because you're using"
+ echo "/usr/ucb/cc. You should change your PATH or CC "
+ echo "variable and rerun configure."
+ else
+ echo "Warning: compilation may fail because you're using"
+ echo "/usr/ucb/cc, when you should use the C compiler from"
+ echo "$could_use. You should change your"
+ echo "PATH or CC variable and rerun configure."
+ fi
+ fi
+ ;;
+esac
+
# per-target:
case "${target}" in
case "${target}" in
alpha-dec-osf1*)
- noconfigdirs="$noconfigdirs emacs fileutils grep newlib"
+ noconfigdirs="$noconfigdirs emacs emacs19 fileutils grep newlib"
;;
alpha*-*-*)
noconfigdirs="$noconfigdirs newlib"
;;
h8300*-*-* | \
h8500-*-*)
- noconfigdirs="$noconfigdirs libg++ libio"
+ noconfigdirs="$noconfigdirs libg++ libio librx"
;;
hppa*-*-*elf*)
# Do configure ld/binutils/gas for this case.
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).
+ # whatever they want. FIXME, emacs emacs19).
case "${CC}" in
- "" | cc*) noconfigdirs="$noconfigdirs emacs" ;;
+ "" | cc*) noconfigdirs="$noconfigdirs emacs emacs19" ;;
*) ;;
esac
noconfigdirs="$noconfigdirs ld shellutils"
# add the go32 support tools to the list
# but don't build gdb
configdirs=`echo go32 ${configdirs}`
- noconfigdirs="$noconfigdirs gdb libg++ libio"
+ noconfigdirs="$noconfigdirs gdb libg++ libio librx"
;;
i[34]86-*-sco*)
noconfigdirs="$noconfigdirs gprof"
i[34]86-*-sysv4*)
# The SYSV4 C compiler doesn't handle Emacs correctly
case "${CC}" in
- "" | cc*) noconfigdirs="$noconfigdirs emacs" ;;
+ "" | cc*) noconfigdirs="$noconfigdirs emacs emacs19" ;;
*) ;;
esac
# but that's okay since emacs doesn't work anyway
- noconfigdirs="$noconfigdirs emacs"
+ noconfigdirs="$noconfigdirs emacs emacs19"
;;
powerpc-*-aix*)
# copied from rs6000-*-* entry