/[svn]/hopm/branches/1.1.x/m4/ax_arg_openssl.m4
ViewVC logotype

Diff of /hopm/branches/1.1.x/m4/ax_arg_openssl.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 8572 by michael, Thu Jul 2 13:10:18 2015 UTC revision 8573 by michael, Sun Oct 14 08:34:10 2018 UTC
# Line 61  else Line 61  else
61  fi  fi
62    
63  AS_IF([test "$cf_enable_openssl" != "no"],  AS_IF([test "$cf_enable_openssl" != "no"],
64   [AC_MSG_CHECKING(for LibreSSL or OpenSSL 0.9.8o and above)   [AC_MSG_CHECKING(for LibreSSL or OpenSSL 1.0.1d and above)
65    AC_RUN_IFELSE([    AC_RUN_IFELSE([
66      AC_LANG_PROGRAM([      AC_LANG_PROGRAM([
67      #include <openssl/opensslv.h>      #include <openssl/opensslv.h>
68      #include <stdlib.h>],      #include <stdlib.h>],
69      [[ exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL)); ]])],      [[ exit(!(OPENSSL_VERSION_NUMBER >= 0x1000104fL)); ]])],
70    [cf_openssl_version_ok=yes],    [cf_openssl_version_ok=yes],
71    [cf_openssl_version_ok=no],    [cf_openssl_version_ok=no],
72    [cf_openssl_version_ok=no])    [cf_openssl_version_ok=no])
# Line 79  AS_IF([test "$cf_enable_openssl" != "no" Line 79  AS_IF([test "$cf_enable_openssl" != "no"
79        [AC_CHECK_LIB(ssl, SSL_connect)])        [AC_CHECK_LIB(ssl, SSL_connect)])
80      ],[AC_MSG_RESULT(no - LibreSSL/OpenSSL support disabled)      ],[AC_MSG_RESULT(no - LibreSSL/OpenSSL support disabled)
81      cf_enable_openssl="no"])])      cf_enable_openssl="no"])])
   
 AM_CONDITIONAL(ENABLE_SSL, [test "$ac_cv_lib_ssl_SSL_connect" = yes])  
82  ])  ])

Legend:
Removed from v.8572  
changed lines
  Added in v.8573

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28