Patch for compilation errors with INN 2.3.2

Katsuhiro Kondou Katsuhiro_Kondou at
Mon Jul 23 23:12:44 UTC 2001

In article <20010720033227.O28448 at>,
	Roman Gollent <roman at> 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

RCS file: /home/kondou/news/inn/repository/inn/,v
retrieving revision
diff -u -r1.163.2.18
---	2001/07/18 14:37:29
+++	2001/07/23 23:00:14
@@ -744,12 +744,12 @@
 	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)
 		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)],

More information about the inn-bugs mailing list