1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

gpfs: Look for gpfs header files also in /usr/lpp/mmfs/include/

That is the default directory for the gpfs header files.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
This commit is contained in:
Christof Schmitt 2015-02-18 10:13:33 -07:00
parent 1264a4efd9
commit f826c86bf1
2 changed files with 4 additions and 2 deletions

View File

@ -279,7 +279,8 @@ bld.SAMBA3_MODULE('vfs_gpfs',
deps='NFS4_ACLS non_posix_acls',
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_gpfs'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_gpfs'))
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_gpfs'),
includes=bld.CONFIG_GET('CPPPATH_GPFS'))
vfs_notify_fam_deps='samba-util '
if bld.CONFIG_SET('SAMBA_FAM_LIBS'):

View File

@ -1492,7 +1492,8 @@ main() {
Logs.warn("pthreadpool support cannot be enabled when pthread support was not found")
conf.undefine('WITH_PTHREADPOOL')
if conf.CHECK_HEADERS('gpfs_fcntl.h'):
conf.env['CPPPATH_GPFS'] = '/usr/lpp/mmfs/include/'
if conf.CHECK_HEADERS('gpfs_fcntl.h', False, False, "gpfs"):
conf.DEFINE('HAVE_GPFS', '1')
if (conf.CHECK_HEADERS('linux/ioctl.h sys/ioctl.h linux/fs.h') and