anchor.diff:  , perlPackages
   , expat
   , gettext
  -, intltool
   , glib
   , libiconv
   , libevent
  
positive.code:   '';
  
    postInstall =
      # Maintain compat for mdnsresponder and howl
      lib.optionalString withLibdnssdCompat ''
        ln -s avahi-compat-libdns_sd/dns_sd.h "$out/include/dns_sd.h"
      '';
    /*  # these don't exist (anymore?)
      ln -s avahi-compat-howl $out/include/howl
      ln -s avahi-compat-howl.pc $out/lib/pkgconfig/howl.pc
    */
  
    passthru.tests = {
      smoke-test = nixosTests.avahi;
  
negative.code:   ]);
  
    configureFlags = [
      "--disable-gdbm"
      "--disable-mono"
      "--with-dbus-sys=${placeholder "out"}/share/dbus-1/system.d"
      (lib.enableFeature gtk3Support "gtk3")
      (lib.enableFeature qt4Support "qt4")
  