GNOME Bugzilla – Bug 328362
Build fails to disable shared keys if avahi not found
Last modified: 2006-01-24 01:50:02 UTC
If no special flags are passed to enable or disable key-sharing, configure checks for avahi (apparently required for the sharing functionality). However, it then *always* sets WITH_SHARING config.h to true, which means that libseahorse/seahorse-util.h tries to include the avahi headers even if configure found that avahi was not present. The bug is in configure.in, line 435, where AC_DEFINE_UNQUOTED for WITH_SHARING always sets it to 1 instead of basing the value on enable_sharing.
Note: This is the same bug I reported to the list earlier today. Even adding --disable-sharing to my ./autogen.sh options doesn't fix it.
Thanks. My bad. I've committed a fix. I can't uninstall avahi on my system (without a whole lot of packages going with it). So it's hard for me to test. I hope that this fixes the problem.
This fixes it for me.
Yup, it now builds when avahi is missing.