mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
IBM C/C++ compiler predefined macro check
This commit is contained in:
parent
b5afd53138
commit
513c22df3b
@ -162,7 +162,9 @@ esac
|
||||
|
||||
AC_MSG_CHECKING([whether we are using the IBM C compiler])
|
||||
CURL_CHECK_DEF([__IBMC__], [], [silent])
|
||||
if test "$curl_cv_have_def___IBMC__" = "yes"; then
|
||||
CURL_CHECK_DEF([__IBMCPP__], [], [silent])
|
||||
if test "$curl_cv_have_def___IBMC__" = "yes" ||
|
||||
test "$curl_cv_have_def___IBMCPP__" = "yes"; then
|
||||
AC_MSG_RESULT([yes])
|
||||
dnl Ensure that compiler optimizations are always thread-safe.
|
||||
CFLAGS="$CFLAGS -qthreaded"
|
||||
|
@ -251,7 +251,9 @@ esac
|
||||
|
||||
AC_MSG_CHECKING([whether we are using the IBM C compiler])
|
||||
CURL_CHECK_DEF([__IBMC__], [], [silent])
|
||||
if test "$curl_cv_have_def___IBMC__" = "yes"; then
|
||||
CURL_CHECK_DEF([__IBMCPP__], [], [silent])
|
||||
if test "$curl_cv_have_def___IBMC__" = "yes" ||
|
||||
test "$curl_cv_have_def___IBMCPP__" = "yes"; then
|
||||
AC_MSG_RESULT([yes])
|
||||
dnl Ensure that compiler optimizations are always thread-safe.
|
||||
CFLAGS="$CFLAGS -qthreaded"
|
||||
|
Loading…
Reference in New Issue
Block a user