anchor.diff:      wrapProgram $out/bin/apu-1-config --prefix PATH : "${gnused}/bin"
     '';
   
  -  enableParallelBuilding = true;
  -
     passthru = {
       inherit sslSupport bdbSupport ldapSupport;
     };
  
positive.code:   };
  
    configureFlags = [ "--with-apr=${apr}" "--with-expat=${expat}" ]
      ++ optional (!stdenv.isCygwin) "--with-crypto"
      ++ optional sslSupport "--with-openssl=${openssl}"
      ++ optional bdbSupport "--with-berkeley-db=${db}"
      ++ optional ldapSupport "--with-ldap=ldap"
      ++ optionals stdenv.isCygwin
        [ "--without-pgsql" "--without-sqlite2" "--without-sqlite3"
          "--without-freetds" "--without-berkeley-db" "--without-crypto" ]
      ;
  
    nativeBuildInputs = [ makeWrapper ];
    buildInputs = [ apr expat libiconv ]
      ++ optional sslSupport openssl
      ++ optional bdbSupport db
      ++ optional ldapSupport openldap;
  
negative.code: { stdenv, fetchurl, makeWrapper, apr, expat, gnused
  , sslSupport ? true, openssl
  , bdbSupport ? false, db
  , ldapSupport ? true, openldap
  , cyrus_sasl, autoreconfHook
  }:
  
  