]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- no static mods, all goes in
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 7 Dec 2009 19:00:16 +0000 (19:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-php-requires.php -> 1.11

rpm-php-requires.php

index cdba59770cd1560d79f1987a18c5a8bbedb03991..1c233a1216fe868eebd4b360c9bc29a86d9c27b9 100644 (file)
@@ -118,23 +118,13 @@ function extdeps($files) {
 
        if (version_compare($res['version'], '5.0.0', 'ge')) {
                $epoch = 4;
-               // session, pcre are statically compiled in
-               // date, SPL, SimpleXML are internal for php
-               // sapi_apache?
-               $staticmods = array('standard', 'ereg', 'date');
        } else {
                $epoch = 3;
-               // session has always been compiled in
-               $staticmods = array('standard', 'ereg');
        }
        echo "php-common >= ", $epoch, ":", $res['version'], "\n";
 
        // process extensions
        foreach ($res['extensions'] as $ext) {
-               if (in_array($ext, $staticmods)) {
-                       continue;
-               }
-
                echo "php(", $ext, ")\n";
        }
 }
This page took 0.040128 seconds and 4 git commands to generate.