From: Ian Lance Taylor Date: Fri, 19 Apr 1996 19:36:44 +0000 (+0000) Subject: * configure.in: Don't configure libgloss if we are not configuring X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9a8629d511f92f5414e5e24857d2f2a3ced4485f;p=binutils-gdb.git * configure.in: Don't configure libgloss if we are not configuring newlib. --- diff --git a/configure.in b/configure.in index 48ee9ffb02e..6a90cdbf96d 100644 --- a/configure.in +++ b/configure.in @@ -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