anchor.diff:      ${if proxySupport then "--enable-proxy" else ""}
       ${if sslSupport then "--enable-ssl --with-ssl=${openssl}" else ""}
       ${if ldapSupport then "--enable-ldap --enable-authnz-ldap" else ""}
  +    --with-mpm=${mpm}
     '';
  +
  +  enableParallelBuilding = true;
   
     postInstall = ''
       echo "removing manual"
  
positive.code:   # passing simply CFLAGS did not help, then I go by NIX_CFLAGS_COMPILE
    NIX_CFLAGS_COMPILE = "-iquote ${apr}/include/apr-1";
  
    configureFlags = ''
      --with-z=${zlib}
      --with-pcre=${pcre}
  
negative.code: , sslSupport, proxySupport ? true
  , apr, aprutil, pcre
  , ldapSupport ? true, openldap
  , # Multi-processing module to use.  This is built into the server and
    # cannot be selected at runtime.
    mpm ? "prefork"
  }:
  
  assert sslSupport -> openssl != null;
  assert ldapSupport -> aprutil.ldapSupport && openldap != null;
  assert mpm == "prefork" || mpm == "worker" || mpm == "event";
  
  stdenv.mkDerivation rec {
    version = "2.2.22";
  