s3:build: Fix automatic building of vfs_tsmsm if gpfs and dmapi are present.
authorMichael Adam <obnox@samba.org>
Mon, 8 Mar 2010 21:32:41 +0000 (22:32 +0100)
committerMichael Adam <obnox@samba.org>
Wed, 10 Mar 2010 12:23:45 +0000 (13:23 +0100)
Michael

source3/configure.in

index 68e0ea79d063618df4aa2263e641536847d4c35c..9b1f3fa8b29afc4bcd2bad8f4b9a11003e37fba4 100644 (file)
@@ -2445,7 +2445,7 @@ SMB_CHECK_DMAPI([], AC_MSG_NOTICE(DMAPI support not present) )
 
 # 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