./configure with OpenSSL (fwd)
Jeffrey M. Vinocur
jeff at litech.org
Sat Mar 3 06:50:10 UTC 2001
The attached patch appears to handle the "have openssl and rsaref but
openssl is not compiled with rsaref" case properly.
--
Jeffrey M. Vinocur
jeff at litech.org
---------- Forwarded message ----------
Date: Sat, 03 Mar 2001 13:42:46 +0900
From: Kenichi Okada <okada at opaopa.org>
To: "inn-workers at isc.org" <inn-workers at isc.org>
Subject: Re: ./configure with OpenSSL
In the message "<sgy9untrtl.wl at opaopa.org>"
Kenichi Okada <okada at opaopa.org> wrote:
> If you have librsaref.a and do not have libRSAglue.a,
> you should recompile OpenSSL with rsaref.
Or try next patch. :)
--
Kenichi Okada
mailto:okada at opaopa.org
*** configure.in-ORIG Sat Mar 3 13:14:56 2001
--- configure.in Sat Mar 3 13:40:58 2001
***************
*** 358,364 ****
AC_MSG_RESULT($OPENSSL_DIR)
SSL_LIB="-L${OPENSSL_DIR}/lib"
AC_CHECK_LIB(rsaref, RSAPublicEncrypt,
! SSL_LIB="${SSL_LIB} -lRSAglue -lrsaref",,$SSL_LIB)
AC_CHECK_LIB(crypto,BIO_accept,
SSL_LIB="-lcrypto ${SSL_LIB}",
[AC_MSG_ERROR(Can not find OpenSSL)],
--- 358,366 ----
AC_MSG_RESULT($OPENSSL_DIR)
SSL_LIB="-L${OPENSSL_DIR}/lib"
AC_CHECK_LIB(rsaref, RSAPublicEncrypt,
! [AC_CHECK_LIB(RSAglue,RSAPublicEncrypt,
! SSL_LIB="-lRSAglue -lrsaref ${SSL_LIB}",,-lrsaref $SSL_LIB)]
! ,,$SSL_LIB)
AC_CHECK_LIB(crypto,BIO_accept,
SSL_LIB="-lcrypto ${SSL_LIB}",
[AC_MSG_ERROR(Can not find OpenSSL)],
More information about the inn-patches
mailing list