CPPFLAGS=-I$OPENSSL_INCDIR
AC_MSG_CHECKING([for OpenSSL version])
AC_EGREP_CPP(yes,[
- #include <openssl/opensslv.h>
- #if OPENSSL_VERSION_NUMBER >= 0x0090500fL
+#include <openssl/opensslv.h>
+#if OPENSSL_VERSION_NUMBER >= 0x0090500fL
yes
- #endif
+#endif
],[
AC_MSG_RESULT([>= 0.9.5])
],[
CPPFLAGS=-I$DOMXML_DIR/include$DOMXML_DIR_ADD
AC_MSG_CHECKING(for libxml version)
AC_EGREP_CPP(yes,[
- #include <libxml/xmlversion.h>
- #if LIBXML_VERSION >= 20414
+#include <libxml/xmlversion.h>
+#if LIBXML_VERSION >= 20414
yes
- #endif
+#endif
],[
AC_MSG_RESULT(>= 2.4.14)
],[
CPPFLAGS=-I$DOMXSLT_DIR/include
AC_MSG_CHECKING(for libxslt version)
AC_EGREP_CPP(yes,[
- #include <libxslt/xsltconfig.h>
- #if LIBXSLT_VERSION >= 10003
+#include <libxslt/xsltconfig.h>
+#if LIBXSLT_VERSION >= 10003
yes
- #endif
+#endif
],[
AC_MSG_RESULT(>= 1.0.3)
],[
CPPFLAGS=-I$DOMEXSLT_DIR/include
AC_MSG_CHECKING(for libexslt version)
AC_EGREP_CPP(yes,[
- #include <libexslt/exsltconfig.h>
- #if LIBEXSLT_VERSION >= 600
+#include <libexslt/exsltconfig.h>
+#if LIBEXSLT_VERSION >= 600
yes
- #endif
+#endif
],[
AC_MSG_RESULT(>= 1.0.3)
],[
old_CPPFLAGS=$CPPFLAGS
CPPFLAGS=-I$IMAP_INC_DIR
AC_EGREP_CPP(this_is_true, [
- #include "imap4r1.h"
- #if defined(IMAPSSLPORT)
+#include "imap4r1.h"
+#if defined(IMAPSSLPORT)
this_is_true
- #endif
+#endif
],[
AC_DEFINE(HAVE_IMAP2001, 1, [ ])
],[])
if test "$ac_cv_header_default_store_h" = "yes"; then
AC_MSG_CHECKING(for OpenSSL support in SNMP libraries)
AC_EGREP_CPP(yes,[
- #include <ucd-snmp-config.h>
- #if USE_OPENSSL
+#include <ucd-snmp-config.h>
+#if USE_OPENSSL
yes
- #endif
+#endif
],[
SNMP_SSL=yes
],[