* configure.in: Don't configure libgloss if we are not configuring
authorIan Lance Taylor <ian@airs.com>
Fri, 19 Apr 1996 19:36:44 +0000 (19:36 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 19 Apr 1996 19:36:44 +0000 (19:36 +0000)
newlib.

configure.in

index 48ee9ffb02ea2dae2aec027c283be70f1f3db3f1..6a90cdbf96de13dcca660ca1576d698f7f6c3243 100644 (file)
@@ -535,6 +535,13 @@ case "${target}" in
     ;;
 esac
 
+# If we aren't building newlib, then don't build libgloss, since libgloss
+# depends upon some newlib header files.
+case "${noconfigdirs}" in
+  *target-libgloss*) ;;
+  *target-newlib*) noconfigdirs="$noconfigdirs target-libgloss" ;;
+esac
+
 # If we are building a Canadian Cross, discard tools that can not be built
 # using a cross compiler.  FIXME: These tools should be fixed.
 if [ "${build}" != "${host}" ]; then