[Remove entries to the current 2.0 section below, when backported]
+ *) mod_ssl: Build on RHEL 3. (RedHat bug: 82369.) [Justin Erenkrantz]
+
*) mod_nw_ssl: Added the directive NWSSLUpgradeable to mod_nw_ssl to
allow a non-secure connection to be upgraded to secure connections
[Brad Nicholes]
])
dnl Look for additional, possibly missing headers
AC_CHECK_HEADERS(openssl/engine.h)
+ if test -n "$PKGCONFIG"; then
+ $PKGCONFIG openssl
+ if test $? -eq 0; then
+ ap_ssltk_inc="$ap_ssltk_inc `$PKGCONFIG --cflags-only-I openssl`"
+ CPPFLAGS="$CPPFLAGS $ap_ssltk_inc"
+ fi
+ fi
else
AC_MSG_RESULT([no OpenSSL headers found])
fi
# Put SSL libraries in SSL_LIBS.
if test "$ap_ssltk_type" = "openssl"; then
APR_SETVAR(SSL_LIBS, [-lssl -lcrypto])
+ if test -n "$PKGCONFIG"; then
+ $PKGCONFIG openssl
+ if test $? -eq 0; then
+ ap_ssltk_libdep=`$PKGCONFIG --libs openssl`
+ APR_ADDTO(SSL_LIBS, $ap_ssltk_libdep)
+ fi
+ fi
else
APR_SETVAR(SSL_LIBS, [-lsslc])
fi