From 8d0b75fe6c81040896363e02972154b5e605d330 Mon Sep 17 00:00:00 2001 From: dirk Date: Thu, 21 Mar 2002 22:29:14 +0000 Subject: - Added bzip2 support - Added XMLRPC support - Added WDDX support PR: ports/36109 Submitted by: Alex Dupre --- www/mod_php4/scripts/configure.php | 24 ++++++++++++++++++++++++ www/mod_php5/scripts/configure.php | 24 ++++++++++++++++++++++++ 2 files changed, 48 insertions(+) (limited to 'www') diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php index bd7b2e38dc16..ee993b3b6dca 100644 --- a/www/mod_php4/scripts/configure.php +++ b/www/mod_php4/scripts/configure.php @@ -19,6 +19,7 @@ else Please select desired options:" -1 -1 16 \ GD "GD library support" OFF \ zlib "zlib library support" ON \ +bzip2 "bzip2 library support" OFF \ mcrypt "Encryption support" OFF \ mhash "Crypto-hashing support" OFF \ pdflib "pdflib support" OFF \ @@ -35,7 +36,9 @@ OpenLDAP2 "OpenLDAP 2.x support" OFF \ OpenSSL "OpenSSL support" OFF \ SNMP "SNMP support" OFF \ XML "XML support" OFF \ +XMLRPC "XMLRPC-EPI support (implies XML)" OFF \ XSLT "Sablotron support (implies XML and iconv)" OFF \ +WDDX "WDDX support (implies XML)" OFF \ DOMXML "DOM support" OFF \ FTP "File Transfer Protocol support" OFF \ CURL "CURL support" OFF \ @@ -93,6 +96,15 @@ while [ "$1" ]; do echo "CONFIGURE_ARGS+=--with-zlib" ZLIB=1 ;; + \"bzip2\") + if [ -x /usr/bin/bzip2 ]; then + BZ2PREFIX=/usr + else + BZ2PREFIX=/usr/local + echo "LIB_DEPENDS+= bz2.1:\${PORTSDIR}/archivers/bzip2" + fi + echo "CONFIGURE_ARGS+=--with-bz2=${BZ2PREFIX}" + ;; \"mcrypt\") echo "LIB_DEPENDS+= mcrypt.6:\${PORTSDIR}/security/libmcrypt" echo "CONFIGURE_ARGS+=--with-mcrypt=\${LOCALBASE}" @@ -213,6 +225,12 @@ while [ "$1" ]; do echo "CONFIGURE_ARGS+=--with-expat-dir=\${LOCALBASE}" XML=1 ;; + \"XMLRPC\") + echo "CONFIGURE_ARGS+=--with-xmlrpc" + if [ -z "$XML" ]; then + set $* \"XML\" + fi + ;; \"XSLT\") echo "LIB_DEPENDS+= sablot.67:\${PORTSDIR}/textproc/sablotron" echo "CONFIGURE_ARGS+=--enable-xslt --with-xslt-sablot" @@ -223,6 +241,12 @@ while [ "$1" ]; do set $* \"iconv\" fi ;; + \"WDDX\") + echo "CONFIGURE_ARGS+=--enable-wddx" + if [ -z "$XML" ]; then + set $* \"XML\" + fi + ;; \"DOMXML\") echo "LIB_DEPENDS+= xml2.5:\${PORTSDIR}/textproc/libxml2" echo "CONFIGURE_ARGS+=--with-dom=\${LOCALBASE}" diff --git a/www/mod_php5/scripts/configure.php b/www/mod_php5/scripts/configure.php index bd7b2e38dc16..ee993b3b6dca 100644 --- a/www/mod_php5/scripts/configure.php +++ b/www/mod_php5/scripts/configure.php @@ -19,6 +19,7 @@ else Please select desired options:" -1 -1 16 \ GD "GD library support" OFF \ zlib "zlib library support" ON \ +bzip2 "bzip2 library support" OFF \ mcrypt "Encryption support" OFF \ mhash "Crypto-hashing support" OFF \ pdflib "pdflib support" OFF \ @@ -35,7 +36,9 @@ OpenLDAP2 "OpenLDAP 2.x support" OFF \ OpenSSL "OpenSSL support" OFF \ SNMP "SNMP support" OFF \ XML "XML support" OFF \ +XMLRPC "XMLRPC-EPI support (implies XML)" OFF \ XSLT "Sablotron support (implies XML and iconv)" OFF \ +WDDX "WDDX support (implies XML)" OFF \ DOMXML "DOM support" OFF \ FTP "File Transfer Protocol support" OFF \ CURL "CURL support" OFF \ @@ -93,6 +96,15 @@ while [ "$1" ]; do echo "CONFIGURE_ARGS+=--with-zlib" ZLIB=1 ;; + \"bzip2\") + if [ -x /usr/bin/bzip2 ]; then + BZ2PREFIX=/usr + else + BZ2PREFIX=/usr/local + echo "LIB_DEPENDS+= bz2.1:\${PORTSDIR}/archivers/bzip2" + fi + echo "CONFIGURE_ARGS+=--with-bz2=${BZ2PREFIX}" + ;; \"mcrypt\") echo "LIB_DEPENDS+= mcrypt.6:\${PORTSDIR}/security/libmcrypt" echo "CONFIGURE_ARGS+=--with-mcrypt=\${LOCALBASE}" @@ -213,6 +225,12 @@ while [ "$1" ]; do echo "CONFIGURE_ARGS+=--with-expat-dir=\${LOCALBASE}" XML=1 ;; + \"XMLRPC\") + echo "CONFIGURE_ARGS+=--with-xmlrpc" + if [ -z "$XML" ]; then + set $* \"XML\" + fi + ;; \"XSLT\") echo "LIB_DEPENDS+= sablot.67:\${PORTSDIR}/textproc/sablotron" echo "CONFIGURE_ARGS+=--enable-xslt --with-xslt-sablot" @@ -223,6 +241,12 @@ while [ "$1" ]; do set $* \"iconv\" fi ;; + \"WDDX\") + echo "CONFIGURE_ARGS+=--enable-wddx" + if [ -z "$XML" ]; then + set $* \"XML\" + fi + ;; \"DOMXML\") echo "LIB_DEPENDS+= xml2.5:\${PORTSDIR}/textproc/libxml2" echo "CONFIGURE_ARGS+=--with-dom=\${LOCALBASE}" -- cgit