summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2012-09-07 17:35:41 +0200
committerBjörn Jacke <bj@sernet.de>2012-09-07 17:56:08 +0200
commitabf98e32899194f6b8ce603e80596f39fee5cc2b (patch)
treed2ed2ec4b71964fa7a17ef85cbe1a7fcb8916daa /source3/configure.in
parent0c0441bd4550adb864baa0c36a201d273a24b75e (diff)
downloadsamba-abf98e32899194f6b8ce603e80596f39fee5cc2b.tar.gz
samba-abf98e32899194f6b8ce603e80596f39fee5cc2b.tar.bz2
samba-abf98e32899194f6b8ce603e80596f39fee5cc2b.zip
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.
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in3
1 files changed, 3 insertions, 0 deletions
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 <rpcsvc/rquota.h>])
fi
#################################################