* configure.in: Recognize --with-newlib.

(sparc-*-sunos4*): Build sim, dejagnu, expect, tcl if cross target.
	(arc-*-*): Build g++ stuff now.
This commit is contained in:
David Edelsohn 1995-04-12 01:59:39 +00:00
parent 0c0c911b03
commit 99dff294dc
2 changed files with 10 additions and 4 deletions

View file

@ -1,3 +1,8 @@
Tue Apr 11 18:55:40 1995 Doug Evans <dje@canuck.cygnus.com>
* configure.in: Recognize --with-newlib.
(sparc-*-sunos4*): Build sim, dejagnu, expect, tcl if cross target.
Mon Apr 10 14:38:20 1995 Jason Molenda (crash@phydeaux.cygnus.com)
* Makefile.in: move {all,check,install}-gdb from *_MODULES

View file

@ -273,9 +273,12 @@ if [ x"${with_headers}" != x ] && [ x"${with_libs}" != x ]; then
fi
fi
# Recognize --without-newlib.
# Recognize --with-newlib/--without-newlib.
if [ x${with_newlib} = xno ]; then
configdirs=`echo " ${configdirs} " | sed -e 's/ newlib / /'`
elif [ x${with_newlib} = xyes ]; then
configdirs=`echo " ${configdirs} " | sed -e 's/ newlib / /'`
configdirs="${configdirs} newlib"
fi
# Handle ${copy_dirs}
@ -351,8 +354,6 @@ case "${target}" in
;;
# start-sanitize-arc
arc-*-*)
# Leave g++ for later.
noconfigdirs="$noconfigdirs libg++ libstdc++ libio librx"
;;
# end-sanitize-arc
# start-sanitize-psion
@ -451,7 +452,7 @@ case "${target}" in
;;
sparc-*-sunos4*)
if [ x${is_cross_compiler} != xno ] ; then
noconfigdirs="$noconfigdirs gdb gdbtest newlib sim dejagnu expect tcl"
noconfigdirs="$noconfigdirs gdb gdbtest newlib"
else
use_gnu_ld=no
fi