diff options
author | Alexander Bokovoy <ab@samba.org> | 2003-05-14 14:38:11 +0000 |
---|---|---|
committer | Alexander Bokovoy <ab@samba.org> | 2003-05-14 14:38:11 +0000 |
commit | 2c01eef4d7ea9ed57ea5f68a0e75559e101fd26f (patch) | |
tree | 98c576bbbae29c213d7da4597b69cfa2a0591d14 /source3/lib/sysquotas.c | |
parent | bc2a3748e9caa8f60f7c2387e7eecd7fb3fae899 (diff) | |
download | samba-2c01eef4d7ea9ed57ea5f68a0e75559e101fd26f.tar.gz samba-2c01eef4d7ea9ed57ea5f68a0e75559e101fd26f.tar.xz samba-2c01eef4d7ea9ed57ea5f68a0e75559e101fd26f.zip |
Evolve quotas configure check more. Patch from Stefan (metze) Metzemacher. Now we are defaulting to --with-quotas=no but anyway trying to test them in configure. This is done to get information about as much quota API variations as possible -- when --with-quotas=no this does not affect build but provides us with more detailed information on build farm.
(This used to be commit 3786695c72e6ff6a52a527382ac77142e236971b)
Diffstat (limited to 'source3/lib/sysquotas.c')
-rw-r--r-- | source3/lib/sysquotas.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/lib/sysquotas.c b/source3/lib/sysquotas.c index ba58e87896b..efc9e65b9de 100644 --- a/source3/lib/sysquotas.c +++ b/source3/lib/sysquotas.c @@ -23,6 +23,7 @@ #include "includes.h" +#ifdef HAVE_SYS_QUOTAS #if defined(HAVE_QUOTACTL_4A) /* long quotactl(int cmd, char *special, qid_t id, caddr_t addr) */ @@ -857,6 +858,12 @@ int sys_set_quota(const char *path, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DI return ret; } +#else /* HAVE_SYS_QUOTAS */ + void dummy_sysquotas_c(void) +{ + return; +} +#endif /* HAVE_SYS_QUOTAS */ #else /* ! AUTOCONF_TEST */ /* this is the autoconf driver to test witch quota system we should use */ |