aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-08-09 17:01:17 +0000
committerYang Tse <yangsita@gmail.com>2008-08-09 17:01:17 +0000
commit63818f84889addb3685cd0ab260d1ca21d2138a3 (patch)
tree45ef8aae3e99de505496bad4dc74bdb181f7a1ee /configure.ac
parent8af61cdb669a791d64675701c830affb06b975cd (diff)
Fix IBM C and DEC/Compaq C compiler detection
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 2 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 2c150038e..afc8db445 100644
--- a/configure.ac
+++ b/configure.ac
@@ -280,9 +280,7 @@ esac
AC_MSG_CHECKING([whether we are using the IBM C compiler])
CURL_CHECK_DEF([__IBMC__], [], [silent])
-CURL_CHECK_DEF([__IBMCPP__], [], [silent])
-if test "$curl_cv_have_def___IBMC__" = "yes" ||
- test "$curl_cv_have_def___IBMCPP__" = "yes"; then
+if test "$curl_cv_have_def___IBMC__" = "yes"; then
AC_MSG_RESULT([yes])
dnl Ensure that compiler optimizations are always thread-safe.
CFLAGS="$CFLAGS -qthreaded"
@@ -301,7 +299,7 @@ fi
AC_MSG_CHECKING([whether we are using the DEC/Compaq C compiler])
CURL_CHECK_DEF([__DECC], [], [silent])
CURL_CHECK_DEF([__DECC_VER], [], [silent])
-if test "$curl_cv_have_def___DECC" = "yes" ||
+if test "$curl_cv_have_def___DECC" = "yes" &&
test "$curl_cv_have_def___DECC_VER" = "yes"; then
AC_MSG_RESULT([yes])
dnl Select strict ANSI C compiler mode