build: toggle vfs_snapper using --with-shared-modules
authorDavid Disseldorp <ddiss@samba.org>
Wed, 2 Sep 2020 08:50:04 +0000 (10:50 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 4 Sep 2020 12:37:35 +0000 (12:37 +0000)
commitbe07e26807bf3c126a0417f16480ed03ed9776aa
treeeb927333bbddaa7a91d19cf3bf657a4a07dcb7fc
parentdf1ff55deb92827eb502c1857a0039743752c6b3
build: toggle vfs_snapper using --with-shared-modules

7ae03a19b3c ("build: add configure option to control vfs_snapper build")
added new --enable-snapper and --disable-snapper configure parameters to
control whether the vfs_snapper module was built.
The new parameters conflicted with existing
--with-shared-modules=[!]vfs_snapper behaviour.

This change reinstates working --with-shared-modules=[!]vfs_snapper
functionality. vfs_snapper stays enabled by default, but only on Linux.
Linux systems lacking the dbus library and header files should
explicitly disable the module via --with-shared-modules=!vfs_snapper as
documented.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14437

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Björn Jacke <bjacke@samba.org>
Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Wed Sep  2 16:24:50 UTC 2020 on sn-devel-184

(cherry picked from commit b6805d5e0bcf1716f87e84bcbb2fd8f93c38a8a3)

Autobuild-User(v4-13-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-13-test): Fri Sep  4 12:37:35 UTC 2020 on sn-devel-184
source3/wscript