aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2007-06-26 00:46:33 +0000
committerMike Stump <mrs@apple.com>2007-06-26 00:46:33 +0000
commitf95bcf3085e99f3a19581d4121818e49da3c5d15 (patch)
tree40274b9cd3ad56df6652e77302bceb96ecda16c2 /config
parent15635d51ae630a4b9808256e89a40fb451849a2f (diff)
* acx.m4 (NCN_STRICT_CHECK_TARGET_TOOLS): Fix incremental builds.
(ACX_HAVE_GCC_FOR_TARGET): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@126013 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'config')
-rw-r--r--config/ChangeLog5
-rw-r--r--config/acx.m44
2 files changed, 8 insertions, 1 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index af27fc69396..e07a8772dd0 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,8 @@
+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 a70d4077c33..1bcf73ab061 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