* configure.in: Don't configure libgloss if we are not configuring

newlib.
This commit is contained in:
Ian Lance Taylor 1996-04-19 19:36:44 +00:00
parent 102f473b78
commit 9a8629d511
1 changed files with 7 additions and 0 deletions

View 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