cvs: php4 /ext/snmp config.m4

From: Date: Sat, 28 Oct 2000 18:26:45 +0000
Subject: cvs: php4 /ext/snmp config.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-2328@lists.php.net to get a copy of this message
venaas Sat Oct 28 11:26:45 2000 EDT Modified files: /php4/ext/snmp config.m4 Log: Moving --with-openssl to global configure, want OpenSSL for not just snmp Index: php4/ext/snmp/config.m4 diff -u php4/ext/snmp/config.m4:1.15 php4/ext/snmp/config.m4:1.16 --- php4/ext/snmp/config.m4:1.15 Thu Aug 24 20:08:37 2000 +++ php4/ext/snmp/config.m4 Sat Oct 28 11:26:45 2000 @@ -1,29 +1,5 @@ -PHP_ARG_WITH(openssl,for OpenSSL support in SNMP, -[ --with-openssl[=DIR] Include OpenSSL support in SNMP.]) - -AC_DEFUN(PHP_SETUP_OPENSSL,[ - for i in /usr/local/ssl /usr/local /usr /usr/local/openssl $PHP_OPENSSL; do - if test -r $i/include/openssl/evp.h; then - OPENSSL_DIR=$i - OPENSSL_INC=$i/include/openssl - elif test -r $i/include/evp.h; then - OPENSSL_DIR=$i - OPENSSL_INC=$i/include - fi - done - - if test -z "$OPENSSL_DIR"; then - AC_MSG_ERROR(Cannot find OpenSSL's <evp.h>) - fi - - AC_ADD_LIBPATH($OPENSSL_DIR/lib, SNMP_SHARED_LIBADD) - AC_ADD_LIBRARY(ssl, yes, SNMP_SHARED_LIBADD) - AC_ADD_LIBRARY(crypto, yes, SNMP_SHARED_LIBADD) - AC_ADD_INCLUDE($OPENSSL_INC) -]) - PHP_ARG_WITH(snmp,for SNMP support, [ --with-snmp[=DIR] Include SNMP support. DIR is the SNMP base install directory, defaults to searching through

« previous php.cvs (#2328) next »