aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-02-09 15:15:38 +0000
committerDaniel Jacobowitz <drow@false.org>2007-02-09 15:15:38 +0000
commitc6b750e16cc8d4bd7d4c9df5bfe76207bca0f6d8 (patch)
tree338e49ba5d5a9731ebc673d8a4c04067eb89e375 /config
parentedd515d9f2077ebb9b2e7ccc625182be76325f12 (diff)
downloadgdb-c6b750e16cc8d4bd7d4c9df5bfe76207bca0f6d8.zip
gdb-c6b750e16cc8d4bd7d4c9df5bfe76207bca0f6d8.tar.gz
gdb-c6b750e16cc8d4bd7d4c9df5bfe76207bca0f6d8.tar.bz2
* 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 97a8f6c..99107af 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 826f6ba..5712ab2 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