* configure.in: Recognize --with-newlib.
authorDavid Edelsohn <dje.gcc@gmail.com>
Wed, 12 Apr 1995 01:59:39 +0000 (01:59 +0000)
committerDavid Edelsohn <dje.gcc@gmail.com>
Wed, 12 Apr 1995 01:59:39 +0000 (01:59 +0000)
(sparc-*-sunos4*): Build sim, dejagnu, expect, tcl if cross target.
(arc-*-*): Build g++ stuff now.

ChangeLog
configure.in

index 762114e..cbfc312 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 
index 48d347f..fce3319 100644 (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