I've attached it. If I'm reading it correctly, once it's applied, you pass --without-avahi to disable the relevant code.
I updated the patch for the tqt framework. I tested with avahi/avahi-tqt installed and not installed. Looks great. I'll push to git.
Note to all: the defaults remain the same. As mentioned, --disable- avahi must be explicitly defined in the configuration. Otherwise nothing changes --- even the configuration warnings remain the same when avahi is not found and will not be compiled.
Thanks!
Darrell