diff options
author | Mike Stump <mrs@apple.com> | 2007-06-26 00:46:33 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2007-06-26 00:46:33 +0000 |
commit | 3b42a882f17d453869708979416fc00e514b18ee (patch) | |
tree | 40274b9cd3ad56df6652e77302bceb96ecda16c2 /config/acx.m4 | |
parent | 2caf766b63f4ce0b52a9c479ec89427df1faf7cd (diff) | |
download | gcc-3b42a882f17d453869708979416fc00e514b18ee.zip gcc-3b42a882f17d453869708979416fc00e514b18ee.tar.gz gcc-3b42a882f17d453869708979416fc00e514b18ee.tar.bz2 |
acx.m4 (NCN_STRICT_CHECK_TARGET_TOOLS): Fix incremental builds.
* acx.m4 (NCN_STRICT_CHECK_TARGET_TOOLS): Fix incremental builds.
(ACX_HAVE_GCC_FOR_TARGET): Likewise.
From-SVN: r126013
Diffstat (limited to 'config/acx.m4')
-rw-r--r-- | config/acx.m4 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/acx.m4 b/config/acx.m4 index a70d407..1bcf73a 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 @@ -325,7 +327,7 @@ if test -z "$ac_cv_path_$1" ; then 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 -n "[$]$1" && ac_cv_path_$1=[$]$1 fi fi if test -z "$ac_cv_path_$1" && test -n "$gcc_cv_tool_dirs"; then |