anchor.diff:    }:
   
       let
  -      mysqlBuildInputs = optional (!mysqlndSupport) libmysqlclient;
         libmcrypt' = libmcrypt.override { disablePosixThreads = true; };
       in stdenv.mkDerivation {
   
  
positive.code:         ++ optional postgresqlSupport postgresql
          ++ optional pdo_odbcSupport unixODBC
          ++ optional pdo_pgsqlSupport postgresql
          ++ optionals pdo_mysqlSupport mysqlBuildInputs
          ++ optionals mysqliSupport mysqlBuildInputs
          ++ optional gmpSupport gmp
          ++ optional gettextSupport gettext
          ++ optional intlSupport icu
  
negative.code:   , ldapSupport ? config.php.ldap or true
    , mhashSupport ? config.php.mhash or false
    , mysqlndSupport ? config.php.mysqlnd or true
    , mysqliSupport ? (config.php.mysqli or true) && (mysqlndSupport)
    , pdo_mysqlSupport ? (config.php.pdo_mysql or true) && (mysqlndSupport)
    , libxml2Support ? config.php.libxml2 or true
    , apxs2Support ? config.php.apxs2 or (!stdenv.isDarwin)
    , embedSupport ? config.php.embed or false
  