Patch for compilation errors with INN 2.3.2
Katsuhiro Kondou
Katsuhiro_Kondou at isc.org
Mon Jul 23 23:12:44 UTC 2001
In article <20010720033227.O28448 at newbabe.mengwong.com>,
Roman Gollent <roman at pobox.com> wrote;
} I came to the mistaken conclusion that nobody used forte C
} to compile inn since there was a problem getting configure
} to properly detect and link in the appropriate libraries
} when using it and the --with-openssl option (it would seem
} that Forte C is a bit pickier about the order in which the
} libraries are linked in).
As reported at inn-workers, your patch does not work for STABLE.
Could you try attached which should work for you also?
--
Katsuhiro Kondou
Index: configure.in
===================================================================
RCS file: /home/kondou/news/inn/repository/inn/configure.in,v
retrieving revision 1.163.2.18
diff -u -r1.163.2.18 configure.in
--- configure.in 2001/07/18 14:37:29 1.163.2.18
+++ configure.in 2001/07/23 23:00:14
@@ -744,12 +744,12 @@
,,$SSL_LIB)
AC_CHECK_LIB(rsaref, RSAPublicEncrypt,
SSL_LIB="${SSL_LIB} -lRSAglue -lrsaref",,$SSL_LIB)
- AC_CHECK_LIB(ssl, SSL_CTX_new,
- SSL_LIB="${SSL_LIB} -lssl";
- [AC_MSG_ERROR(Can not find OpenSSL)],
- $SSL_LIB)
AC_CHECK_LIB(crypto,BIO_accept,
SSL_LIB="${SSL_LIB} -lcrypto",
+ [AC_MSG_ERROR(Can not find OpenSSL)],
+ $SSL_LIB)
+ AC_CHECK_LIB(ssl, SSL_CTX_new,
+ SSL_LIB="${SSL_LIB} -lssl";
[AC_DEFINE(HAVE_SSL, 1, [Define if OpenSSL is available.])],
[AC_MSG_ERROR(Can not find OpenSSL)],
$SSL_LIB)
More information about the inn-bugs
mailing list