aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-11-07 23:47:45 +0000
committerIan Lance Taylor <ian@airs.com>1995-11-07 23:47:45 +0000
commitbfe725ec1de445fa159aba4828be140e98797f58 (patch)
tree5a3aefcbd4a272ba2ea6e8b9c1eb6ce210d07cc4 /configure.in
parentb2306582e366799f8f1a1f4621b01066a98e600c (diff)
downloadgdb-bfe725ec1de445fa159aba4828be140e98797f58.zip
gdb-bfe725ec1de445fa159aba4828be140e98797f58.tar.gz
gdb-bfe725ec1de445fa159aba4828be140e98797f58.tar.bz2
* configure: Default ${build} correctly. Avoid picking up extra
spaces when reading CC and CXX from Makefile. When doing a Canadian Cross, use plausible default values for numerous variables. * configure.in: When doing a Canadian Cross, don't try to configure tools whose configure script can't handle it.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 94f8886..b4b51c6 100644
--- a/configure.in
+++ b/configure.in
@@ -507,6 +507,12 @@ case "${target}" in
;;
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
+ noconfigdirs="$noconfigdirs expect dejagnu make texinfo diff"
+fi
+
# Remove the entries in $skipdirs and $noconfigdirs from $configdirs and
# $target_configdirs.
# If we have the source for $noconfigdirs entries, add them to $notsupp.