diff options
author | Mike Stump <mrs@apple.com> | 2007-06-27 19:53:03 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2007-06-27 19:53:03 +0000 |
commit | 4f4aa936a6f0b386fb5016639a5566260666c3df (patch) | |
tree | db6e9f025dd9b49b02d43c47e990a88472f9ff93 /config/acx.m4 | |
parent | 531ba5d28584a663a3dced511b35c94f67db398c (diff) | |
download | gcc-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/acx.m4')
-rw-r--r-- | config/acx.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
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 |