anchor.diff:  , enableProfiling ? true
   , enableMDNS ? false, avahi
   , enableDomainController ? false, gpgme, lmdb
  -, enableKerberos ? true, krb5Full
   , enableRegedit ? true, ncurses
   , enableCephFS ? false, libceph
   , enableGlusterFS ? false, glusterfs, libuuid
  
positive.code:     "--sysconfdir=/etc"
      "--localstatedir=/var"
      "--disable-rpath"
    ] ++ singleton (if enableDomainController
           then "--with-experimental-mit-ad-dc"
           else "--without-ad-dc")
      ++ optionals enableKerberos [
      "--with-system-mitkrb5"
      "--with-system-mitkdc=${krb5Full}"
    ] ++ optionals (!enableLDAP) [
      "--without-ldap"
      "--without-ads"
    ] ++ optional enableProfiling "--with-profiling-data"
  
negative.code:     ++ optional (enablePrinting && stdenv.isLinux) cups
      ++ optional enableMDNS avahi
      ++ optionals enableDomainController [ gpgme lmdb ]
      ++ optional enableRegedit ncurses
      ++ optional (enableCephFS && stdenv.isLinux) libceph
      ++ optionals (enableGlusterFS && stdenv.isLinux) [ glusterfs libuuid ]
  