summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.in b/configure.in
index f425b80e1..1822bdc14 100644
--- a/configure.in
+++ b/configure.in
@@ -736,7 +736,7 @@ CPPFLAGS_or_unset=${CPPFLAGS-'(unset)'}
cat >&AC_FD_CC <<EOF
configure:__line__: User:
-ABI=$CC
+ABI=$ABI
CC=$CC
CFLAGS=$CFLAGS_or_unset
CPPFLAGS=$CPPFLAGS_or_unset
@@ -781,8 +781,8 @@ for abi in $abilist; do
if test $abi = $abi_last; then abi2=; else abi2="$abi1"; fi
# Compiler choices under this ABI
- eval cclist_chosen=\"\$cclist$abi1\"
- test -n "$cclist_chosen" || eval cclist_chosen=\"\$cclist$abi2\"
+ eval cclist_abi=\"\$cclist$abi1\"
+ test -n "$cclist_abi" || eval cclist_abi=\"\$cclist$abi2\"
# If there's a user specified $CC then don't use a list for
# $cclist_chosen, just a single value for $ccbase.
@@ -795,7 +795,7 @@ for abi in $abilist; do
for ccbase in $CC; do break; done
ccbase=`echo $ccbase | sed 's:.*/::'`
- # If this $ccbase is in $cclist_chosen then it's a compiler we know and
+ # If this $ccbase is in $cclist_abi then it's a compiler we know and
# we can do flags defaulting with it. If not, then $cclist_chosen is
# set to "unrecognised" so no default flags are used.
#
@@ -806,7 +806,7 @@ for abi in $abilist; do
# unknown compiler.
#
cclist_chosen=unrecognised
- for i in $cclist_per_abi; do
+ for i in $cclist_abi; do
if test "$ccbase" = $i; then
cclist_chosen=$ccbase
break