aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2007-06-27 19:53:03 +0000
committerMike Stump <mrs@apple.com>2007-06-27 19:53:03 +0000
commita9064c3a359c2d3ffdc6cd69d865382310f94eeb (patch)
treedb6e9f025dd9b49b02d43c47e990a88472f9ff93 /config
parent431c8994d9b690c25708b50a7f66ca790a45faac (diff)
* acx.m4 (ACX_CHECK_INSTALLED_TARGET_TOOL): Fixup logic for cross
builds. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@126060 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'config')
-rw-r--r--config/ChangeLog5
-rw-r--r--config/acx.m42
2 files changed, 6 insertions, 1 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index e07a8772dd0..3c43dcde1e6 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,8 @@
+2007-06-27 Mike Stump <mrs@apple.com>
+
+ * acx.m4 (ACX_CHECK_INSTALLED_TARGET_TOOL): Fixup logic for cross
+ builds.
+
2007-06-20 Mike Stump <mrs@apple.com>
* acx.m4 (NCN_STRICT_CHECK_TARGET_TOOLS): Fix incremental builds.
diff --git a/config/acx.m4 b/config/acx.m4
index 1bcf73ab061..c8a32c9f9ed 100644
--- a/config/acx.m4
+++ b/config/acx.m4
@@ -326,7 +326,7 @@ if test -z "$ac_cv_path_$1" ; then
fi
elif test $build != $host && test $have_gcc_for_target = yes; then
$1=`$GCC_FOR_TARGET --print-prog-name=$2`
- test [$]$1=$2 && $1=
+ test [$]$1 = $2 && $1=
test -n "[$]$1" && ac_cv_path_$1=[$]$1
fi
fi