From abf98e32899194f6b8ce603e80596f39fee5cc2b Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Fri, 7 Sep 2012 17:35:41 +0200 Subject: s3:sysquota_nfs: fix build on Tru64 et alii the old Unix world put the struct rquota directly into the getquota_rslt struct, the new Unix world puts a getquota_rslt_u union in between and they decided to rename the status struct member. --- source3/configure.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/configure.in') diff --git a/source3/configure.in b/source3/configure.in index 0bae24bead..8495a1f582 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -4672,6 +4672,9 @@ AC_TRY_COMPILE([ if test x"$samba_cv_HAVE_NFS_QUOTAS" = x"yes"; then AC_DEFINE(HAVE_NFS_QUOTAS,1,[NFS quota support is available]) + AC_CHECK_MEMBER(struct getquota_rslt.getquota_rslt_u, + AC_DEFINE(HAVE_GETQUOTA_RSLT_GETQUOTA_RSLT_U, 1, [Defined if struct getquota_rslt has getquota_rslt_u]),, + [#include ]) fi ################################################# -- cgit