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)
committerKarolin Seeger <kseeger@samba.org>
Mon, 29 Mar 2010 07:41:00 +0000 (09:41 +0200)
Michael
(cherry picked from commit 9113e14b291c10c824d2d8ea5cb28ffc0adcb63b)

Fix bug #7231 (vfs_tsmsm not built automatically).
(cherry picked from commit 8087ceb42d72f2a07f70e8ab5462775a08303546)

source3/configure.in

index 0529a6945963954594a402329ab892ca2040d759..f744761d00ab03c8c9f1bddf79be3cd1e650afd6 100644 (file)
@@ -2624,7 +2624,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