1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

source3/wscript: Detect glusterfs-api with *at() calls support

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

Signed-off-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Anoop C S 2022-08-19 12:17:33 +05:30 committed by Jeremy Allison
parent 5f51fa9c07
commit 3425fa0daf

View File

@ -1725,6 +1725,10 @@ main() {
conf.CHECK_CFG(package='glusterfs-api', args='"glusterfs-api >= 7.9" --cflags --libs',
msg='Checking for glusterfs-api >= 7.9',
uselib_store="GFAPI_VER_7_9")
conf.CHECK_CFG(package='glusterfs-api', args='"glusterfs-api >= 7.11" --cflags --libs',
msg='Checking for glusterfs-api >= 7.11',
uselib_store="GFAPI_VER_7_11")
else:
conf.SET_TARGET_TYPE('gfapi', 'EMPTY')
conf.undefine('HAVE_GLUSTERFS')