source3/wscript: Detect glusterfs-api with *at() calls support
authorAnoop C S <anoopcs@samba.org>
Fri, 19 Aug 2022 06:47:33 +0000 (12:17 +0530)
committerJeremy Allison <jra@samba.org>
Fri, 26 Aug 2022 16:31:37 +0000 (16:31 +0000)
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>
source3/wscript

index 04c278bbe36ee5220b819d44150fc6f16a55ada0..22be17a1a6fd11268e59468ae229644398c21b6d 100644 (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')