vfs:glusterfs_fuse: build only if we have setmntent()
authorMichael Adam <obnox@samba.org>
Wed, 31 Jul 2019 22:47:29 +0000 (00:47 +0200)
committerAmitay Isaacs <amitay@samba.org>
Thu, 1 Aug 2019 09:49:04 +0000 (09:49 +0000)
commitf258cfaa1d07af6ac6e996006f6e59955cfe34ce
tree2f8d0fb2b8ee8a4584aa40887e146e97055647f1
parent464fef34d1d047d73be347cd446b74e0f5eb2370
vfs:glusterfs_fuse: build only if we have setmntent()

FreeBSD and other platforms that don't have setmntent() and friends can
not compile this module. This patch lets changes the build to only
compile this module if the setmntent() function is found.

This is the a follow-up fix to the actual fix for bug #13972.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13972

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Thu Aug  1 09:49:04 UTC 2019 on sn-devel-184
source3/wscript