diff --git a/source3/configure.in b/source3/configure.in index 436f708c79e..f0dabbf4440 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -2700,7 +2700,7 @@ fi # Add TSM SM VFS module only if there are both GPFS and DMAPI support # Theoretically it should work with AIX JFS2 too but this needs testing -if test x"$samba_cv_HAVE_GPFS" = x"yes" && test x"$samba_dmapi_libs" != x"" ; then +if test x"$ac_cv_header_gpfs_gpl_h" = x"yes" && test x"$samba_dmapi_libs" != x"" ; then default_shared_modules="$default_shared_modules vfs_tsmsm" fi