aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@codesourcery.com>2007-02-09 15:14:37 +0000
committerDaniel Jacobowitz <dan@codesourcery.com>2007-02-09 15:14:37 +0000
commita1b0c908f67782a02925a73f7d44b5eb53311a50 (patch)
tree2347e7eec03baaf71419b7253fe2ad78abf5a76c /config
parentb9408e31e8b947f4c222925aada6bc03abed4963 (diff)
* 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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@121751 138bc75d-0d04-0410-961f-82ee72b054a4
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 c4f5ded49a1..aee290ada76 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-07 Bruno Haible <bruno@clisp.org>
PR libgomp/28468
diff --git a/config/acx.m4 b/config/acx.m4
index ac3cd183a2e..c5e7ad0fc14 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