aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libstdc++-v3/ChangeLog5
-rwxr-xr-xlibstdc++-v3/configure2
-rw-r--r--libstdc++-v3/configure.ac2
3 files changed, 7 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index d490c7b..0c8820a 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2003-08-28 Alan Modra <amodra@bigpond.net.au>
+
+ * configure.ac: Test $with_cross_host against $build_alias, not $build.
+ * configure: Regenerate.
+
2003-08-27 Petur Runolfsson <peturr02@ru.is>
* testsuite/27_io/objects/wchar_t/10.cc: Move wcout stuff...
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
index 6915277..bd222ff 100755
--- a/libstdc++-v3/configure
+++ b/libstdc++-v3/configure
@@ -27308,7 +27308,7 @@ else
# If Canadian cross, then don't pick up tools from the build directory.
# Used only in GLIBCXX_EXPORT_INCLUDES.
if test -n "$with_cross_host" &&
- test x"$build" != x"$with_cross_host" &&
+ test x"$build_alias" != x"$with_cross_host" &&
test x"$build" != x"$target";
then
CANADIAN=yes
diff --git a/libstdc++-v3/configure.ac b/libstdc++-v3/configure.ac
index 8c4c16a..9a612cf 100644
--- a/libstdc++-v3/configure.ac
+++ b/libstdc++-v3/configure.ac
@@ -165,7 +165,7 @@ else
# If Canadian cross, then don't pick up tools from the build directory.
# Used only in GLIBCXX_EXPORT_INCLUDES.
if test -n "$with_cross_host" &&
- test x"$build" != x"$with_cross_host" &&
+ test x"$build_alias" != x"$with_cross_host" &&
test x"$build" != x"$target";
then
CANADIAN=yes