anchor.diff:  , attr
   , libelf
   , libffi
  +, libselinux
   , pcre
   , util-linux_lib
   , zlib
  
positive.code: 
    configureFlags = [
      "--disable-maintainer-mode"
      "--disable-debug"
      "--disable-gc-friendly"
      #"--enable-mem-pools"
      "--enable-rebuilds"
      "--disable-installed-tests"
      "--disable-always-build-tests"
      "--enable-largefile"
      "--disable-included-printf"
      "--disable-selinux"
      "--disable-fam"
      "--${boolEn (attr != null)}-xattr"
      "--${boolEn (libelf != null)}-libelf"
      (if versionAtLeast channel "2.50" then
        "--${boolEn (util-linux_lib != null)}-libmount"
       else
         null)
      "--disable-gtk-doc"
      "--disable-gtk-doc-html"
      "--disable-gtk-doc-pdf"
  
negative.code:   inherit (stdenv.lib)
      boolEn
      optionals
      optionalString;
  
    # Some packages don't get "Cflags" from pkgconfig correctly
    # and then fail to build when directly including like <glib/...>.
  