./configure with OpenSSL

Kenichi Okada okada at opaopa.org
Sat Mar 3 04:42:46 UTC 2001


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-workers mailing list