aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2005-06-17 14:49:38 +0000
committerPaolo Bonzini <bonzini@gcc.gnu.org>2005-06-17 14:49:38 +0000
commita2eafc7685e37c0077d9a4c4598b76bab9bec5d2 (patch)
treef4ad2b15cbbf7fddc3ed03ff8cf6c098da647fd9 /gcc/configure
parent79748d710383e205e3c045b55ceda1b3e15ba945 (diff)
downloadgcc-a2eafc7685e37c0077d9a4c4598b76bab9bec5d2.zip
gcc-a2eafc7685e37c0077d9a4c4598b76bab9bec5d2.tar.gz
gcc-a2eafc7685e37c0077d9a4c4598b76bab9bec5d2.tar.bz2
aclocal.m4 (gcc_AC_CHECK_TOOL): Do not overwrite the passed variable.
2005-06-17 Paolo Bonzini <bonzini@gnu.org> * aclocal.m4 (gcc_AC_CHECK_TOOL): Do not overwrite the passed variable. From-SVN: r101127
Diffstat (limited to 'gcc/configure')
-rwxr-xr-xgcc/configure12
1 files changed, 9 insertions, 3 deletions
diff --git a/gcc/configure b/gcc/configure
index a5e04ec..f557c2d 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -12895,7 +12895,8 @@ fi
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
@@ -12939,6 +12940,7 @@ fi
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
@@ -13065,7 +13067,8 @@ fi
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
@@ -13109,6 +13112,7 @@ fi
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
@@ -13201,7 +13205,8 @@ fi
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
@@ -13245,6 +13250,7 @@ fi
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