anchor.diff:        ( if scpSupport then "--with-libssh2=${libssh2}" else "--without-libssh2" )
       ]
       ++ stdenv.lib.optional c-aresSupport "--enable-ares=${c-ares}"
  -    ++ stdenv.lib.optional gssSupport "--with-gssapi=${gss}"
  -    ++ stdenv.lib.optionals linkStatic [ "--enable-static" "--disable-shared" ]
  -  ;
  +    ++ stdenv.lib.optional gssSupport "--with-gssapi=${gss}";
   
  -  dontDisableStatic = linkStatic;
  -
  -  LDFLAGS = if linkStatic then "-static" else "";
     CXX = "g++";
     CXXCPP = "g++ -E";
  -
  -  # libtool hack to get a static binary. Notice that to 'configure' I passed
  -  # other LDFLAGS, because it doesn't use libtool for linking in the tests.
  -  makeFlags = if linkStatic then "LDFLAGS=-all-static" else "";
   
     crossAttrs = {
       # We should refer to the cross built openssl
  
positive.code:     configureFlags = [
          ( if sslSupport then "--with-ssl=${openssl.crossDrv}" else "--without-ssl" )
          "--with-random /dev/urandom"
        ]
        ++ stdenv.lib.optionals linkStatic [ "--enable-static" "--disable-shared" ]
      ;
    };
  
    passthru = {
  
negative.code: , scpSupport ? false, libssh2 ? null
  , gssSupport ? false, gss ? null
  , c-aresSupport ? false, c-ares ? null
  }:
  
  assert zlibSupport -> zlib != null;
  