$OpenBSD: patch-configure_ac,v 1.8 2017/11/02 13:05:52 ajacoutot Exp $

http://permalink.gmane.org/gmane.comp.gnome.desktop/51950
https://bugzilla.gnome.org/show_bug.cgi?id=770758#c3
https://bugzilla.gnome.org/show_bug.cgi?id=766329
https://bugzilla.gnome.org/show_bug.cgi?id=772736 (systemd --user)

Index: configure.ac
--- configure.ac.orig
+++ configure.ac
@@ -421,6 +421,8 @@ PKG_CHECK_MODULES(SHARING,
 		  gio-unix-2.0
 		  $NM_MODULE)
 
+AM_CONDITIONAL(BUILD_SHARING, [test x"$enable_network_manager" = x"yes"])
+
 # ---------------------------------------------------------------------------
 # Enable Profiling
 # ---------------------------------------------------------------------------
