#include "includes.h"
#include "smbd/smbd.h"
#include <stdio.h>
-#include "api/glfs.h"
+#include <glusterfs/api/glfs.h>
#include "lib/util/dlinklist.h"
#include "lib/util/tevent_unix.h"
#include "smbd/globals.h"
if Options.options.with_glusterfs:
conf.CHECK_CFG(package='glusterfs-api', args='"glusterfs-api >= 4" --cflags --libs',
msg='Checking for glusterfs-api >= 4', uselib_store="GFAPI")
- conf.CHECK_HEADERS('api/glfs.h', lib='gfapi')
+ conf.CHECK_HEADERS('glusterfs/api/glfs.h', lib='gfapi')
conf.CHECK_LIB('gfapi', shlib=True)
- if conf.CONFIG_SET('HAVE_API_GLFS_H'):
+ if conf.CONFIG_SET('HAVE_GLUSTERFS_API_GLFS_H'):
if Options.options.with_acl_support:
conf.DEFINE('HAVE_GLUSTERFS', '1')
else: