openbsd-ports/www/php4/patches/patch-configure_in
avsm f16547aeb1 Add a couple of patches from venaas@php.net to allow PHP-4.0.4 to work
with OpenSSL 0.9.5a, instead of requiring only OpenSSL 0.9.6
These patches detect the revelant version and use the additional return
values in 0.9.6 only if present.

This also unbreaks the SNMP flavor on 2.8-stable, which requires SSL
support, since our UCD-SNMP daemon has OpenSSL compiled into it
(wierd, but thats how the PHP snmp-config.m4 works)

- Add OpenSSL patches
- Add note crypt.c patch that its now in 4.0.5-dev and can be removed soon
- Add --with-openssl to the standard set of configure options
2001-01-07 21:08:11 +00:00

21 lines
642 B
Plaintext

$OpenBSD: patch-configure_in,v 1.1 2001/01/07 21:08:12 avsm Exp $
--- configure.in.orig Sun Jan 7 18:36:11 2001
+++ configure.in Sun Jan 7 18:37:19 2001
@@ -532,13 +532,13 @@ AC_DEFUN(PHP_SETUP_OPENSSL,[
AC_MSG_CHECKING(for OpenSSL version)
AC_EGREP_CPP(yes,[
#include <openssl/opensslv.h>
- #if OPENSSL_VERSION_NUMBER >= 0x0090600fL
+ #if OPENSSL_VERSION_NUMBER >= 0x0090500fL
yes
#endif
],[
- AC_MSG_RESULT(>= 0.9.6)
+ AC_MSG_RESULT(>= 0.9.5)
],[
- AC_MSG_ERROR(OpenSSL version 0.9.6 or greater required.)
+ AC_MSG_ERROR(OpenSSL version 0.9.5 or greater required.)
])
CPPFLAGS=$old_CPPFLAGS