summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2007-02-09 15:15:38 +0000
committerDaniel Jacobowitz <dan@debian.org>2007-02-09 15:15:38 +0000
commit673975abf8220058cfafc04d4e48584102a9ad4d (patch)
tree406cb0c60c707f1c6a7c6f014800ec8448a6b716 /config
parent0abb243c556cf6d970840d677b6a0729e4be8ebc (diff)
downloadgdb-673975abf8220058cfafc04d4e48584102a9ad4d.tar.gz
* Makefile.tpl (build_alias, host_alias, target_alias): Use
noncanonical equivalents. * configure.in: Rename to... * configure.ac: ...this. Update AC_PREREQ. Prevent error for AS_FOR_TARGET. Set build_noncanonical, host_noncanonical, and target_noncanonical. Use them. Rewrite removal of configure arguments for autoconf 2.59. Discard variable settings. Force program_transform_name for native tools. * Makefile.in: Regenerated. * configure: Regenerated with autoconf 2.59. * src-release (DEVO_SUPPORT, do-proto-toplev): Expect configure.ac. * acx.m4 (ACX_CHECK_INSTALLED_TARGET_TOOL): Avoid AC_PATH_PROG with an empty path.
Diffstat (limited to 'config')
-rw-r--r--config/ChangeLog5
-rw-r--r--config/acx.m42
2 files changed, 6 insertions, 1 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index 97a8f6c6230..99107af4e56 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,8 @@
+2007-02-09 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * acx.m4 (ACX_CHECK_INSTALLED_TARGET_TOOL): Avoid AC_PATH_PROG
+ with an empty path.
+
2007-02-05 Dave Brolley <brolley@redhat.com>
* mt-mep: New.
diff --git a/config/acx.m4 b/config/acx.m4
index 826f6ba3ccc..5712ab21a64 100644
--- a/config/acx.m4
+++ b/config/acx.m4
@@ -300,7 +300,7 @@ if test -z "$ac_cv_path_$1" ; then
ac_cv_path_$1=[$]$1
fi
fi
-if test -z "$ac_cv_path_$1" ; then
+if test -z "$ac_cv_path_$1" && test -n "$gcc_cv_tool_dirs"; then
AC_PATH_PROG([$1], [$2], [], [$gcc_cv_tool_dirs])
fi
if test -z "$ac_cv_path_$1" ; then