check for getfsquota() in libquota. If it's there, use getfsquota() and quota_check_limit() from libquota instead of local getnfsquota or direct calls to quotactl(). Tested on NetBSD-current and NetBSD 5.1. OK agc@
25 lines
795 B
Text
25 lines
795 B
Text
$NetBSD: patch-ae,v 1.10 2011/03/26 13:46:19 bouyer Exp $
|
|
|
|
--- config.h.in.orig 2010-09-20 10:35:13.000000000 +0200
|
|
+++ config.h.in 2011-03-23 21:46:02.000000000 +0100
|
|
@@ -293,8 +293,8 @@
|
|
/* Define to 1 if you have the `gettimeofday' function. */
|
|
#undef HAVE_GETTIMEOFDAY
|
|
|
|
-/* Define to 1 if you have the `getusershell' function. */
|
|
-#undef HAVE_GETUSERSHELL
|
|
+/* Define to 1 if you have the `getifaddrs' function. */
|
|
+#undef HAVE_GETIFADDRS
|
|
|
|
/* Define to 1 if you have the `getxattr' function. */
|
|
#undef HAVE_GETXATTR
|
|
@@ -476,6 +476,9 @@
|
|
/* Define to 1 if you have the `rmdir' function. */
|
|
#undef HAVE_RMDIR
|
|
|
|
+/* Define to 1 if you have the NetBSD quota library */
|
|
+#undef HAVE_LIBQUOTA
|
|
+
|
|
/* Define to 1 if you have the <rpcsvc/rquota.h> header file. */
|
|
#undef HAVE_RPCSVC_RQUOTA_H
|
|
|