From 7e140a310aec0c2852514c75484c063628ce9a6f Mon Sep 17 00:00:00 2001 From: Dirk Froemberg Date: Wed, 11 Apr 2001 22:49:42 +0000 Subject: Add option for OpenSSL support. Submitted by: nsayer --- www/mod_php4/scripts/configure.php | 5 +++++ www/mod_php5/scripts/configure.php | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php index 335b731df8fb..a5d1ef18bf77 100644 --- a/www/mod_php4/scripts/configure.php +++ b/www/mod_php4/scripts/configure.php @@ -25,6 +25,7 @@ SybaseCT "Sybase/MS-SQL database support (CT-lib)" OFF \ Interbase "Interbase 6 database support (Firebird)" OFF \ dBase "dBase database support" OFF \ OpenLDAP "OpenLDAP support" OFF \ +OpenSSL "OpenSSL support" OFF \ SNMP "SNMP support" OFF \ XML "XML support" OFF \ FTP "File Transfer Protocol support" OFF \ @@ -151,6 +152,10 @@ while [ "$1" ]; do LIBS="${LIBS} -lkrb -ldes -L\${PREFIX}/lib" fi ;; + \"OpenSSL\") + echo "USE_OPENSSL=yes" + echo "CONFIGURE_ARGS+=--with-openssl=\${OPENSSLBASE}" + ;; \"SNMP\") echo "LIB_DEPENDS+= snmp.4:\${PORTSDIR}/net/net-snmp" echo "CONFIGURE_ARGS+=--with-snmp=\${PREFIX} --enable-ucd-snmp-hack" diff --git a/www/mod_php5/scripts/configure.php b/www/mod_php5/scripts/configure.php index 335b731df8fb..a5d1ef18bf77 100644 --- a/www/mod_php5/scripts/configure.php +++ b/www/mod_php5/scripts/configure.php @@ -25,6 +25,7 @@ SybaseCT "Sybase/MS-SQL database support (CT-lib)" OFF \ Interbase "Interbase 6 database support (Firebird)" OFF \ dBase "dBase database support" OFF \ OpenLDAP "OpenLDAP support" OFF \ +OpenSSL "OpenSSL support" OFF \ SNMP "SNMP support" OFF \ XML "XML support" OFF \ FTP "File Transfer Protocol support" OFF \ @@ -151,6 +152,10 @@ while [ "$1" ]; do LIBS="${LIBS} -lkrb -ldes -L\${PREFIX}/lib" fi ;; + \"OpenSSL\") + echo "USE_OPENSSL=yes" + echo "CONFIGURE_ARGS+=--with-openssl=\${OPENSSLBASE}" + ;; \"SNMP\") echo "LIB_DEPENDS+= snmp.4:\${PORTSDIR}/net/net-snmp" echo "CONFIGURE_ARGS+=--with-snmp=\${PREFIX} --enable-ucd-snmp-hack" -- cgit v1.2.3