Hi,
I have noticed that mod_tls does not compile on my machines. The problem is that
mod_tls.c includes <openssl/ssl.h> and config.m4 tries to use
-Imy_openssl_path/include/openssl. That is not coherent!
Find enclosed a patch that fixes the problem, please check it and commit it.
Cheers
Jean-frederic
Index: config.m4
===================================================================
RCS file: /home/cvs/apache/httpd-2.0/modules/tls/config.m4,v
retrieving revision 1.9
diff -u -r1.9 config.m4
--- config.m4 2001/05/08 08:56:39 1.9
+++ config.m4 2001/06/12 16:48:17
@@ -21,14 +21,14 @@
fi
ssl_lib=unknown
for params in \
- "OpenSSL|/include/openssl|/lib|-lssl -lcrypto" \
+ "OpenSSL|/include|/lib|-lssl -lcrypto" \
"SSLC|/inc||-lsslc"
do
prod=`IFS="|"; set -- $params; echo $1`
incdir=`IFS="|"; set -- $params; echo $2`
libdir=`IFS="|"; set -- $params; echo $3`
libs=`IFS="|"; set -- $params; echo $4`
- searchfile="${withval}${incdir}/ssl.h"
+ searchfile="${withval}${incdir}/openssl/ssl.h"
if test -f ${searchfile} ; then
APR_ADDTO(INCLUDES, [-I${withval}${incdir}])
APR_ADDTO(LIBS, [-L${withval}${libdir} ${libs}])