mirror of
https://github.com/bjango/istatserverlinux.git
synced 2025-10-21 23:18:07 +00:00
Fixed issue with OpenSSL 1.1+ (#4)
Process monitoring changes for Open/Net/Dragonfly BSD Version bump to 3.02 (104)
This commit is contained in:
10
configure.ac
10
configure.ac
@@ -2,7 +2,7 @@
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ([2.59])
|
||||
AC_INIT([istatserver], [3.01], [http://github.com/bjango/istatserverlinux/issues])
|
||||
AC_INIT([istatserver], [3.02], [http://github.com/bjango/istatserverlinux/issues])
|
||||
AM_INIT_AUTOMAKE([foreign subdir-objects])
|
||||
AM_MAINTAINER_MODE
|
||||
AC_CANONICAL_HOST
|
||||
@@ -122,6 +122,14 @@ AC_CHECK_LIB([ssl],[SSL_library_init], [
|
||||
], [])
|
||||
], [])
|
||||
|
||||
AC_CHECK_LIB([ssl],[OPENSSL_init_ssl], [
|
||||
AC_CHECK_LIB([crypto],[X509_new], [
|
||||
AC_DEFINE_UNQUOTED([HAVE_OPENSSL],1,[Define is openssl is available])
|
||||
LIBS="$LIBS -lssl -lcrypto"
|
||||
use_tls=yes
|
||||
], [])
|
||||
], [])
|
||||
|
||||
if test x"$use_tls" = x"none" ; then
|
||||
AC_MSG_ERROR([openssl/crypto not found or does not support tlsv1. you may need to update openssl or install openssl-dev/libssl-dev or a similar package])
|
||||
fi
|
||||
|
Reference in New Issue
Block a user