diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-01-16 08:11:43 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-01-16 08:53:56 +0100 |
commit | 26d7f0094aaf5458ab496a8ec84210aab64d63b5 (patch) | |
tree | c1c7284d23e702eaa790615d0948ad2eabb2e653 | |
parent | 16a3307e813fa82776dc265201ffc7dac1c842a7 (diff) | |
download | curl-26d7f0094aaf5458ab496a8ec84210aab64d63b5.tar.gz |
curl-compilers.m4: check for __ibmxl__ to detect xlclang
Follow-up to 2fa0d57e2e3. The __xlc__ symbol is only defined there if a
particular flag is used for legacy macros.
Fixes #3474
Closes #3479
-rw-r--r-- | m4/curl-compilers.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/curl-compilers.m4 b/m4/curl-compilers.m4 index a7eee3788..c64db4bc6 100644 --- a/m4/curl-compilers.m4 +++ b/m4/curl-compilers.m4 @@ -84,8 +84,8 @@ AC_DEFUN([CURL_CHECK_COMPILER_CLANG], [ if test "$curl_cv_have_def___clang__" = "yes"; then AC_MSG_RESULT([yes]) AC_MSG_CHECKING([if compiler is xlclang]) - CURL_CHECK_DEF([__xlc__], [], [silent]) - if test "$curl_cv_have_def___xlc__" = "yes" ; then + CURL_CHECK_DEF([__ibmxl__], [], [silent]) + if test "$curl_cv_have_def___ibmxl__" = "yes" ; then dnl IBM's almost-compatible clang version AC_MSG_RESULT([yes]) compiler_id="XLCLANG" |