diff options
author | Yang Tse <yangsita@gmail.com> | 2008-08-09 17:01:17 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-08-09 17:01:17 +0000 |
commit | 0a44b62ea15199ce3896f6da9a4f70b6fabc6d08 (patch) | |
tree | eedaae21e605d58a8ec598c4655299f1f44d1116 | |
parent | bcca6b4a47b7e5d09debb2648a3109885ad1dda9 (diff) | |
download | c-ares-0a44b62ea15199ce3896f6da9a4f70b6fabc6d08.tar.gz c-ares-0a44b62ea15199ce3896f6da9a4f70b6fabc6d08.tar.bz2 c-ares-0a44b62ea15199ce3896f6da9a4f70b6fabc6d08.zip |
Fix IBM C and DEC/Compaq C compiler detection
-rw-r--r-- | configure.ac | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 3488887..a4361c3 100644 --- a/configure.ac +++ b/configure.ac @@ -213,9 +213,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" @@ -234,7 +232,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 |