]> git.pld-linux.org Git - packages/php.git/blobdiff - dep-tests.sh
drop php-filter-shared.patch; no longer needed
[packages/php.git] / dep-tests.sh
index 974732bdb39312f42f995ba1abd6ead422a568e6..3d1a3983661e80ef308689363121d27303d3d3ea 100755 (executable)
@@ -7,8 +7,9 @@ dep_spl="pcre simplexml"
 dep_session="spl $dep_spl"
 dep_filter='pcre'
 dep_eaccelerator='session'
-dep_mysql="$with_mysqlnd"
-dep_mysqli="$dep_spl spl $with_mysqlnd"
+dep_mysqlnd='hash'
+dep_mysql="$dep_mysqlnd $with_mysqlnd"
+dep_mysqli="$dep_spl spl $dep_mysqlnd $with_mysqlnd"
 dep_pdo="$dep_spl spl"
 dep_pdo_sqlite="$dep_pdo pdo"
 dep_pdo_pgsql="$dep_pdo pdo"
@@ -16,10 +17,10 @@ dep_pdo_oci="$dep_pdo pdo"
 dep_pdo_odbc="$dep_pdo pdo"
 dep_pdo_firebird="$dep_pdo pdo"
 dep_pdo_dblib="$dep_pdo pdo"
-dep_pdo_mysql="$dep_pdo pdo $with_mysqlnd"
+dep_pdo_mysql="$dep_pdo pdo $dep_mysqlnd $with_mysqlnd"
 dep_simplexml="$dep_spl spl"
 dep_imap="pcre"
-dep_phar="$dep_spl spl"
+dep_phar="$dep_spl spl hash"
 dep_sqlite="$dep_pdo pdo"
 dep_fileinfo="pcre"
 dep_wddx='xml'
@@ -27,6 +28,7 @@ dep_xmlreader='dom'
 dep_xmlrpc='xml'
 dep_xsl='dom'
 dep_snmp="$dep_spl spl snmp"
+dep_opcache='pcre'
 
 php=${PHP:-$(php-config --php-binary)}
 ext_dir=${EXTENSION_DIR:-$(php-config --extension-dir)}
@@ -47,7 +49,7 @@ for ext in ${*:-$ext_dir/*.so}; do
        # special: opcache is listed as "Zend Opcache"
        [ "$ext" = "opcache" ] && ext="zend opcache"
 
-       grep -rlE '^(zend_)?extension=('$(echo "${deps# }" | tr ' ' '|')').so$' $conf_dir | LC_CTYPE=C LC_ALL= sort | xargs cat > $tmpini
+       grep -rlE '^(zend_)?extension=('$(echo "${deps# }" | tr ' ' '|')').so$' $conf_dir | LC_ALL=C sort | xargs cat > $tmpini
        $php -n -d extension_dir=$ext_dir -c $tmpini -r "exit(extension_loaded('${ext}') ? 0 : 1);"
        rc=$?
        if [ $rc = 0 ]; then
This page took 0.063387 seconds and 4 git commands to generate.