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}
;;
# start-sanitize-arc
arc-*-*)
- # Leave g++ for later.
- noconfigdirs="$noconfigdirs libg++ libstdc++ libio librx"
;;
# end-sanitize-arc
# start-sanitize-psion
;;
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