After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 328362 - Build fails to disable shared keys if avahi not found
Build fails to disable shared keys if avahi not found
Status: RESOLVED FIXED
Product: seahorse
Classification: Applications
Component: general
git master
Other All
: Normal critical
: 1.0.0
Assigned To: Seahorse Maintainer
Seahorse Maintainer
Depends on:
Blocks:
 
 
Reported: 2006-01-23 23:52 UTC by Daniel Macks
Modified: 2006-01-24 01:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Daniel Macks 2006-01-23 23:52:23 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.
Comment 1 Adam Schreiber 2006-01-24 00:09:54 UTC
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.
Comment 2 Stef Walter 2006-01-24 00:48:05 UTC
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. 
Comment 3 Adam Schreiber 2006-01-24 00:58:24 UTC
This fixes it for me.
Comment 4 Daniel Macks 2006-01-24 01:50:02 UTC
Yup, it now builds when avahi is missing.