aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-04-19 19:36:44 +0000
committerIan Lance Taylor <ian@airs.com>1996-04-19 19:36:44 +0000
commit9a8629d511f92f5414e5e24857d2f2a3ced4485f (patch)
tree1b96a52a7ddf73ebf720edc690f9f7fcd3186084 /configure.in
parent102f473b782e02f9c28286f5145ce08d085e2796 (diff)
downloadgdb-9a8629d511f92f5414e5e24857d2f2a3ced4485f.zip
gdb-9a8629d511f92f5414e5e24857d2f2a3ced4485f.tar.gz
gdb-9a8629d511f92f5414e5e24857d2f2a3ced4485f.tar.bz2
* configure.in: Don't configure libgloss if we are not configuring
newlib.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 48ee9ff..6a90cdb 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