From 3425fa0daf9e32d09c7716692cdfdffdc09856d7 Mon Sep 17 00:00:00 2001 From: Anoop C S Date: Fri, 19 Aug 2022 12:17:33 +0530 Subject: [PATCH] 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 Reviewed-by: Jeremy Allison --- source3/wscript | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source3/wscript b/source3/wscript index 04c278bbe36..22be17a1a6f 100644 --- a/source3/wscript +++ b/source3/wscript @@ -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')