From 513c22df3bbc319104901c32a71c4d4487628839 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 1 Jul 2008 10:29:25 +0000 Subject: IBM C/C++ compiler predefined macro check --- ares/configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ares') diff --git a/ares/configure.ac b/ares/configure.ac index d90d70b0c..12b61514f 100644 --- a/ares/configure.ac +++ b/ares/configure.ac @@ -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" -- cgit v1.2.3