diff options
author | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-06-27 19:53:03 +0000 |
---|---|---|
committer | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-06-27 19:53:03 +0000 |
commit | 33b38d894e4bd1527f5b8a5f0cf4b259f2c3f385 (patch) | |
tree | db6e9f025dd9b49b02d43c47e990a88472f9ff93 /config | |
parent | d40c9fd1bd3b9420c8d68090adf39e97458257be (diff) | |
download | gcc-33b38d894e4bd1527f5b8a5f0cf4b259f2c3f385.tar.gz |
* acx.m4 (ACX_CHECK_INSTALLED_TARGET_TOOL): Fixup logic for cross
builds.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126060 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'config')
-rw-r--r-- | config/ChangeLog | 5 | ||||
-rw-r--r-- | config/acx.m4 | 2 |
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 |