From 4f4aa936a6f0b386fb5016639a5566260666c3df Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Wed, 27 Jun 2007 19:53:03 +0000 Subject: 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 --- config/ChangeLog | 5 +++++ config/acx.m4 | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'config') 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 + + * acx.m4 (ACX_CHECK_INSTALLED_TARGET_TOOL): Fixup logic for cross + builds. + 2007-06-20 Mike Stump * 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 -- cgit v1.1