aboutsummaryrefslogtreecommitdiff
path: root/gcc/aclocal.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/aclocal.m4')
-rw-r--r--gcc/aclocal.m45
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/aclocal.m4 b/gcc/aclocal.m4
index 0cec464e2aa..9859468942f 100644
--- a/gcc/aclocal.m4
+++ b/gcc/aclocal.m4
@@ -306,10 +306,7 @@ procedure conftest is begin null; end conftest;
EOF
gcc_cv_prog_adac=no
# Have to do ac_tool_prefix and user overrides by hand.
-user_adac=$ADAC
-user_cc=$CC
-for cand in ${ac_tool_prefix}$user_adac $user_adac \
- ${ac_tool_prefix}$user_cc $user_cc \
+for cand in ${ADAC+"$ADAC"} ${CC+"$CC"} \
${ac_tool_prefix}gcc gcc \
${ac_tool_prefix}cc cc \
${ac_tool_prefix}gnatgcc gnatgcc \