diff options
author | Mike Stump <mikestump@comcast.net> | 2007-07-02 18:06:53 +0000 |
---|---|---|
committer | Mike Stump <mikestump@comcast.net> | 2007-07-02 18:06:53 +0000 |
commit | d058b81b19dc4312567c4245c9e533c9c728e299 (patch) | |
tree | 2fc8db6f62240606cf2f93f903215397d0d9a0d0 /config | |
parent | 5ee15d270da5f1f3a75a2a7631385621d8c2b583 (diff) | |
download | cygnal-d058b81b19dc4312567c4245c9e533c9c728e299.tar.gz cygnal-d058b81b19dc4312567c4245c9e533c9c728e299.tar.bz2 cygnal-d058b81b19dc4312567c4245c9e533c9c728e299.zip |
* acx.m4 (ACX_CHECK_INSTALLED_TARGET_TOOL): Fixup logic for cross
builds.
* acx.m4 (NCN_STRICT_CHECK_TARGET_TOOLS): Fix incremental builds.
(ACX_HAVE_GCC_FOR_TARGET): Likewise.
Diffstat (limited to 'config')
-rw-r--r-- | config/ChangeLog | 10 | ||||
-rw-r--r-- | config/acx.m4 | 6 |
2 files changed, 14 insertions, 2 deletions
diff --git a/config/ChangeLog b/config/ChangeLog index af27fc693..3c43dcde1 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,13 @@ +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. + (ACX_HAVE_GCC_FOR_TARGET): Likewise. + 2007-06-14 Paolo Bonzini <bonzini@gnu.org> * acx.m4 (ACX_CHECK_PROG_VER): Remove duplicate lines. diff --git a/config/acx.m4 b/config/acx.m4 index a70d4077c..c8a32c9f9 100644 --- a/config/acx.m4 +++ b/config/acx.m4 @@ -211,6 +211,8 @@ if test -z "$ac_cv_prog_$1" ; then else $1="${ncn_target_tool_prefix}[$]2" fi], [$1="$3"]) +else + $1="$ac_cv_prog_$1" fi ]) []dnl # NCN_STRICT_CHECK_TARGET_TOOLS @@ -324,8 +326,8 @@ 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= - ac_cv_path_$1=[$]$1 + test [$]$1 = $2 && $1= + test -n "[$]$1" && ac_cv_path_$1=[$]$1 fi fi if test -z "$ac_cv_path_$1" && test -n "$gcc_cv_tool_dirs"; then |