diff --git a/configure b/configure index 3b850be3c4..6387226050 100755 --- a/configure +++ b/configure @@ -2086,7 +2086,7 @@ TLS_LIBS= ol_aix_threads=no case "$target" in -*-*-aix*) if test -z "CC" ; then +*-*-aix*) if test -z "$CC" ; then case "$ol_with_threads" in auto | yes | posix) ol_aix_threads=yes ;; esac diff --git a/configure.in b/configure.in index 9fc490fe79..1fbf0b2edf 100644 --- a/configure.in +++ b/configure.in @@ -377,7 +377,7 @@ dnl If we do not find cc_r|xlc_r, disable threads ol_aix_threads=no case "$target" in *-*-aix*) dnl all AIX is not a good idea. - if test -z "CC" ; then + if test -z "$CC" ; then case "$ol_with_threads" in auto | yes | posix) ol_aix_threads=yes ;; esac