aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2007-06-27 19:53:03 +0000
committerMike Stump <mrs@gcc.gnu.org>2007-06-27 19:53:03 +0000
commit4f4aa936a6f0b386fb5016639a5566260666c3df (patch)
treedb6e9f025dd9b49b02d43c47e990a88472f9ff93 /config
parent531ba5d28584a663a3dced511b35c94f67db398c (diff)
downloadgcc-4f4aa936a6f0b386fb5016639a5566260666c3df.zip
gcc-4f4aa936a6f0b386fb5016639a5566260666c3df.tar.gz
gcc-4f4aa936a6f0b386fb5016639a5566260666c3df.tar.bz2
acx.m4 (ACX_CHECK_INSTALLED_TARGET_TOOL): Fixup logic for cross builds.
* acx.m4 (ACX_CHECK_INSTALLED_TARGET_TOOL): Fixup logic for cross builds. From-SVN: r126060
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 e07a877..3c43dcd 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 1bcf73a..c8a32c9 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