+2005-06-17 Paolo Bonzini <bonzini@gnu.org>
+
+ * aclocal.m4 (gcc_AC_CHECK_TOOL): Do not overwrite the
+ passed variable.
+ * configure.ac: Regenerate.
+
2005-06-17 Jan Hubicka <jh@suse.cz>
* tree-optimize.c (execute_ipa_pass_list): New.
dnl shut up useless "checking for..." messages
dnl we can still read them in config.log
exec AS_MESSAGE_FD([])>/dev/null
-AC_PATH_PROGS($1, $2, , $gcc_cv_tool_dirs)
+if test "x[$]$1" = x; then
+ AC_PATH_PROGS($1, $2, , $gcc_cv_tool_dirs)
+fi
if test "x[$]$1" = x; then
# If the loop above did not find a tool, then use whatever
# one we can find in the users's path. We are looking for a
exec 6>/dev/null
-for ac_prog in as
+if test "x$gcc_cv_as" = x; then
+ for ac_prog in as
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
test -n "$gcc_cv_as" && break
done
+fi
if test "x$gcc_cv_as" = x; then
# If the loop above did not find a tool, then use whatever
# one we can find in the users's path. We are looking for a
exec 6>/dev/null
-for ac_prog in ld
+if test "x$gcc_cv_ld" = x; then
+ for ac_prog in ld
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
test -n "$gcc_cv_ld" && break
done
+fi
if test "x$gcc_cv_ld" = x; then
# If the loop above did not find a tool, then use whatever
# one we can find in the users's path. We are looking for a
exec 6>/dev/null
-for ac_prog in nm
+if test "x$gcc_cv_nm" = x; then
+ for ac_prog in nm
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
test -n "$gcc_cv_nm" && break
done
+fi
if test "x$gcc_cv_nm" = x; then
# If the loop above did not find a tool, then use whatever
# one we can find in the users's path. We are looking for a