Index: mn10200/ChangeLog
[deliverable/binutils-gdb.git] / configure.in
index a42a1c51d252a76068c3927b6bc4d45490352585..4ec0d21a9e12d2d88ecaa2d134ce70a44c522ee6 100644 (file)
@@ -585,8 +585,13 @@ case "${target}" in
   *-*-cygwin*)
     target_configdirs="$target_configdirs target-libtermcap target-winsup"
     noconfigdirs="$noconfigdirs target-gperf target-libgloss ${libgcj}"
-    # always build newlib.
-    skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
+    # always build newlib if winsup directory is present.
+    if test -d "$srcdir/winsup"
+    then
+      skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
+    else
+      echo "Warning: winsup is missing so newlib can't be built."
+    fi
 
     # Can't build gdb for Cygwin if not native.
     case "${host}" in
This page took 0.023549 seconds and 4 git commands to generate.