* 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.
This commit is contained in:
Ian Lance Taylor
1995-11-07 23:47:45 +00:00
parent b2306582e3
commit bfe725ec1d
3 changed files with 135 additions and 15 deletions

View File

@@ -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.