diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index d490c7bdf74..0c8820a0e72 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2003-08-28 Alan Modra + + * configure.ac: Test $with_cross_host against $build_alias, not $build. + * configure: Regenerate. + 2003-08-27 Petur Runolfsson * testsuite/27_io/objects/wchar_t/10.cc: Move wcout stuff... diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index 69152778649..bd222ff37f5 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 8c4c16afdff..9a612cf8d14 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