Extend TLS/SSL detection for use RSAref if necessary.

This commit is contained in:
Kurt Zeilenga 1999-03-02 20:02:29 +00:00
parent e8605dc9f1
commit 3028424f68
2 changed files with 414 additions and 367 deletions

771
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -58,7 +58,7 @@ OL_ARG_WITH(threads,[ --with-threads use threads],
auto, [auto posix mach lwp yes no manual] )
OL_ARG_WITH(yielding_select,[ --with-yielding-select with implicitly yielding select],
auto, [auto yes no manual] )
OL_ARG_WITH(tls,[ --with-tls use tls/ssl],
OL_ARG_WITH(tls,[ --with-tls with TLS/SSL support],
auto, [auto ssleay openssl yes no] )
dnl Server options
@ -458,8 +458,7 @@ dnl
dnl Check for SSL/TLS
dnl
ol_link_tls=no
if test $ol_with_tls = auto -o $ol_with_tls = ssleay \
-o $ol_with_tls = openssl ; then
if test $ol_with_tls != no ; then
AC_CHECK_HEADERS(ssl.h)
@ -467,6 +466,11 @@ if test $ol_with_tls = auto -o $ol_with_tls = ssleay \
AC_CHECK_LIB( ssl, SSLeay_add_ssl_algorithms,
[have_ssleay=yes], [have_ssleay=no], [-lcrypto])
if test $have_ssleay = no ; then
AC_CHECK_LIB( ssl, ssl3_accept,
[have_ssleay=yes], [have_ssleay=no], [-lcrypto -lRSAglue -lrsaref])
fi
if test $have_ssleay = yes ; then
ol_with_tls=found
ol_link_tls=yes