added zlib support to PHP

svn path=/nixpkgs/trunk/; revision=10703
This commit is contained in:
Marc Weber 2008-02-15 11:12:56 +00:00
parent 4b009da5fd
commit 4122366233
2 changed files with 3 additions and 1 deletions

View File

@ -411,6 +411,7 @@ args:
# Extensions
zlib = { cfgOption = "--with-zlib=${args.zlib}"; pass = "zlib"; };
libxml2 = { cfgOption = "--with-libxml-dir=\$libxml2";
pass = { inherit (args) libxml2; };
@ -459,7 +460,7 @@ args:
};
defaults = [ "mysql" "mysqli" "pdo_mysql" "libxml2" "apxs2" ];
optionals = [ "libxml2" "gettext" "postgresql"];
optionals = [ "libxml2" "gettext" "postgresql" "zlib"];
# Don't konw wether they should be default.. I use them - Marc

View File

@ -1648,6 +1648,7 @@ rec {
inherit fetchurl flex bison apacheHttpd mysql; # gettext;
inherit libxml2;
inherit postgresql;
inherit zlib;
flags = [ "xdebug" "mysql" "mysqli" "pdo_mysql" "libxml2" "apxs2" ];
};