Third time's the charm. I hope. autoconf can bite me.diff -r1.19 -r1.20 pkgsrc/net/wu-ftpd/distinfo
(dholland)
@@ -1,29 +1,29 @@ | @@ -1,29 +1,29 @@ | |||
1 | $NetBSD: distinfo,v 1.19 2012/04/08 04:49:56 dholland Exp $ | 1 | $NetBSD: distinfo,v 1.20 2012/04/08 05:11:13 dholland Exp $ | |
2 | 2 | |||
3 | SHA1 (wu-ftpd/wu-ftpd-2.6.2.tar.gz) = e39112bd8a67f189b6a8da8dd81ceb00a910e271 | 3 | SHA1 (wu-ftpd/wu-ftpd-2.6.2.tar.gz) = e39112bd8a67f189b6a8da8dd81ceb00a910e271 | |
4 | RMD160 (wu-ftpd/wu-ftpd-2.6.2.tar.gz) = 0b7451c185f80cf9a345f97b9642853e0323e3bd | 4 | RMD160 (wu-ftpd/wu-ftpd-2.6.2.tar.gz) = 0b7451c185f80cf9a345f97b9642853e0323e3bd | |
5 | Size (wu-ftpd/wu-ftpd-2.6.2.tar.gz) = 354784 bytes | 5 | Size (wu-ftpd/wu-ftpd-2.6.2.tar.gz) = 354784 bytes | |
6 | SHA1 (wu-ftpd/realpath.patch) = a935197d880ab1ed4320e57e4790811df82e825e | 6 | SHA1 (wu-ftpd/realpath.patch) = a935197d880ab1ed4320e57e4790811df82e825e | |
7 | RMD160 (wu-ftpd/realpath.patch) = f96c4c6a8739746ddfe56347dbb10351544a6a2f | 7 | RMD160 (wu-ftpd/realpath.patch) = f96c4c6a8739746ddfe56347dbb10351544a6a2f | |
8 | Size (wu-ftpd/realpath.patch) = 533 bytes | 8 | Size (wu-ftpd/realpath.patch) = 533 bytes | |
9 | SHA1 (wu-ftpd/connect-dos.patch) = 8d1131ee3d1bdcb780552ea2d32816989793ae0b | 9 | SHA1 (wu-ftpd/connect-dos.patch) = 8d1131ee3d1bdcb780552ea2d32816989793ae0b | |
10 | RMD160 (wu-ftpd/connect-dos.patch) = 197994b4af91fd1a6c951b245313598eaa99e398 | 10 | RMD160 (wu-ftpd/connect-dos.patch) = 197994b4af91fd1a6c951b245313598eaa99e398 | |
11 | Size (wu-ftpd/connect-dos.patch) = 2307 bytes | 11 | Size (wu-ftpd/connect-dos.patch) = 2307 bytes | |
12 | SHA1 (patch-aa) = 0e11b95eb9ce697d48d3665d3bb5dc903b67d89b | 12 | SHA1 (patch-aa) = 0e11b95eb9ce697d48d3665d3bb5dc903b67d89b | |
13 | SHA1 (patch-ab) = cd2f3f74508c2bd379a64b7ddebbd73015be7662 | 13 | SHA1 (patch-ab) = cd2f3f74508c2bd379a64b7ddebbd73015be7662 | |
14 | SHA1 (patch-ac) = b5f6142045bb092e7dc6b1420d17c15d594d9350 | 14 | SHA1 (patch-ac) = b5f6142045bb092e7dc6b1420d17c15d594d9350 | |
15 | SHA1 (patch-ad) = 3aafdad6da3ae50272d78c605f3bc2285b0ea085 | 15 | SHA1 (patch-ad) = 3aafdad6da3ae50272d78c605f3bc2285b0ea085 | |
16 | SHA1 (patch-ae) = 9abb285c65bb3a764a838f22ee9bdc34371265e4 | 16 | SHA1 (patch-ae) = 9abb285c65bb3a764a838f22ee9bdc34371265e4 | |
17 | SHA1 (patch-af) = 6f9fe289ea5af19ba4c85f63109e8e47e5b21bca | 17 | SHA1 (patch-af) = 6f9fe289ea5af19ba4c85f63109e8e47e5b21bca | |
18 | SHA1 (patch-ag) = 59cc211f4770e5e447b2cd9ca7bd5ab3dc07fc3d | 18 | SHA1 (patch-ag) = 59cc211f4770e5e447b2cd9ca7bd5ab3dc07fc3d | |
19 | SHA1 (patch-ah) = a5305d6b9f8d3e1145e6951eaf37f0cdd5c98edc | 19 | SHA1 (patch-ah) = a5305d6b9f8d3e1145e6951eaf37f0cdd5c98edc | |
20 | SHA1 (patch-ai) = c5b95222c0c82ede156b1795153a920546fec345 | 20 | SHA1 (patch-ai) = c5b95222c0c82ede156b1795153a920546fec345 | |
21 | SHA1 (patch-aj) = cce631c7b6c529de803c114e545dfb1f57aea258 | 21 | SHA1 (patch-aj) = cce631c7b6c529de803c114e545dfb1f57aea258 | |
22 | SHA1 (patch-ak) = 8eca121c737498106a5e829cb166746436a87237 | 22 | SHA1 (patch-ak) = 8eca121c737498106a5e829cb166746436a87237 | |
23 | SHA1 (patch-al) = b537901ac9e267a13247547d621215acd6595502 | 23 | SHA1 (patch-al) = b537901ac9e267a13247547d621215acd6595502 | |
24 | SHA1 (patch-am) = 1b1cdf067382fce0cb6aa5e6ff605c15414b26ff | 24 | SHA1 (patch-am) = 1b1cdf067382fce0cb6aa5e6ff605c15414b26ff | |
25 | SHA1 (patch-an) = fd1d50bd28b283df717c1ce5fe2f0d6f3eab4967 | 25 | SHA1 (patch-an) = fd1d50bd28b283df717c1ce5fe2f0d6f3eab4967 | |
26 | SHA1 (patch-ao) = aa109f9d17e76207c3cae6dc33584c8b70f5092b | 26 | SHA1 (patch-ao) = d64d90ec6d9b3cea66cdfe82e879c7d314551911 | |
27 | SHA1 (patch-ap) = 13067ee5edade37774e406918d48adf1b63c8be2 | 27 | SHA1 (patch-ap) = 993e4dd93b9ff56aac43d3472bca01ae2f890b26 | |
28 | SHA1 (patch-configure_in) = 497232480d162f510ef4c2ad1f8cc91416724ffe | 28 | SHA1 (patch-configure_in) = 98cfb7718201651f7c6d7219c997bd853148435a | |
29 | SHA1 (patch-src_logwtmp_c) = c52a7950793dfed5a474e0d09a90bfc105a6dd4a | 29 | SHA1 (patch-src_logwtmp_c) = c52a7950793dfed5a474e0d09a90bfc105a6dd4a |
@@ -1,41 +1,45 @@ | @@ -1,41 +1,45 @@ | |||
1 | $NetBSD: patch-ao,v 1.2 2012/04/08 04:43:51 dholland Exp $ | 1 | $NetBSD: patch-ao,v 1.3 2012/04/08 05:11:13 dholland Exp $ | |
2 | 2 | |||
3 | - support netbsd-6 libquota API | 3 | - support netbsd-6 libquota API | |
4 | - support dragonfly quotas | 4 | - support dragonfly quotas | |
5 | 5 | |||
6 | caution: the dragonfly patch isn't in the configure.in patch; don't regen | 6 | caution: the dragonfly patch isn't in the configure.in patch; don't regen | |
7 | this patch without thinking. | 7 | this patch without thinking. | |
8 | 8 | |||
9 | --- configure.orig 2001-11-29 23:54:27.000000000 +0000 | 9 | --- configure.orig 2001-11-29 23:54:27.000000000 +0000 | |
10 | +++ configure | 10 | +++ configure | |
11 | @@ -5223,7 +5223,7 @@ EOF | 11 | @@ -5223,7 +5223,7 @@ EOF | |
12 | fi | 12 | fi | |
13 | if test $quota != no; then | 13 | if test $quota != no; then | |
14 | 14 | |||
15 | -for ac_header in sys/quota.h sys/fs/ufs_quota.h ufs/quota.h jfs/quota.h ufs/ufs/quota.h linux/quota.h | 15 | -for ac_header in sys/quota.h sys/fs/ufs_quota.h ufs/quota.h jfs/quota.h ufs/ufs/quota.h linux/quota.h | |
16 | +for ac_header in quota.h sys/quota.h sys/fs/ufs_quota.h ufs/quota.h jfs/quota.h ufs/ufs/quota.h linux/quota.h | 16 | +for ac_header in quota.h sys/quota.h sys/fs/ufs_quota.h ufs/quota.h jfs/quota.h ufs/ufs/quota.h linux/quota.h | |
17 | do | 17 | do | |
18 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 18 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
19 | echo "$as_me:5229: checking for $ac_header" >&5 | 19 | echo "$as_me:5229: checking for $ac_header" >&5 | |
20 | @@ -5271,7 +5271,7 @@ EOF | 20 | @@ -5271,8 +5271,11 @@ EOF | |
21 | fi | 21 | fi | |
22 | done | 22 | done | |
23 | 23 | |||
24 | - if test $ac_cv_header_sys_quota.h = yes -o $ac_cv_header_sys_fs_ufs_quota_h = yes -o $ac_cv_header_ufs_quota_h = yes -o $ac_cv_header_jfs_quota_h = yes -o $ac_cv_header_ufs_ufs_quota_h = yes -o $ac_cv_header_linux_quota_h = yes; then | 24 | - if test $ac_cv_header_sys_quota.h = yes -o $ac_cv_header_sys_fs_ufs_quota_h = yes -o $ac_cv_header_ufs_quota_h = yes -o $ac_cv_header_jfs_quota_h = yes -o $ac_cv_header_ufs_ufs_quota_h = yes -o $ac_cv_header_linux_quota_h = yes; then | |
25 | + if test $ac_cv_header_quota.h = yes -o $ac_cv_header_sys_quota.h = yes -o $ac_cv_header_sys_fs_ufs_quota_h = yes -o $ac_cv_header_ufs_quota_h = yes -o $ac_cv_header_jfs_quota_h = yes -o $ac_cv_header_ufs_ufs_quota_h = yes -o $ac_cv_header_linux_quota_h = yes; then | 25 | + if test $ac_cv_header_quota.h = yes -o $ac_cv_header_sys_quota.h = yes -o $ac_cv_header_sys_fs_ufs_quota_h = yes -o $ac_cv_header_ufs_quota_h = yes -o $ac_cv_header_jfs_quota_h = yes -o $ac_cv_header_ufs_ufs_quota_h = yes -o $ac_cv_header_linux_quota_h = yes; then | |
26 | quota=yes | 26 | quota=yes | |
27 | + if test $ac_cv_header_quota_h = yes; then | |||
28 | + LIBS="$LIBS -lquota" | |||
29 | + fi | |||
27 | else | 30 | else | |
28 | if test $quota = yes; then | 31 | if test $quota = yes; then | |
29 | @@ -5333,6 +5333,12 @@ echo $ECHO_N "checking whether quota sup | 32 | { echo "$as_me:5278: WARNING: QUOTA not supported by OS - disabled" >&5 | |
33 | @@ -5333,6 +5336,12 @@ echo $ECHO_N "checking whether quota sup | |||
30 | #ifdef HAVE_UFS_UFS_QUOTA_H | 34 | #ifdef HAVE_UFS_UFS_QUOTA_H | |
31 | #include <ufs/ufs/quota.h> | 35 | #include <ufs/ufs/quota.h> | |
32 | #endif | 36 | #endif | |
33 | +#if defined(__DragonFly__) | 37 | +#if defined(__DragonFly__) | |
34 | +# include <sys/param.h> | 38 | +# include <sys/param.h> | |
35 | +# if __DragonFly_version >= 160000 | 39 | +# if __DragonFly_version >= 160000 | |
36 | +# define dqblk ufs_dqblk | 40 | +# define dqblk ufs_dqblk | |
37 | +# endif | 41 | +# endif | |
38 | +#endif | 42 | +#endif | |
39 | struct dqblk quota; | 43 | struct dqblk quota; | |
40 | int | 44 | int | |
41 | main () | 45 | main () |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | $NetBSD: patch-ap,v 1.2 2012/04/08 04:43:51 dholland Exp $ | 1 | $NetBSD: patch-ap,v 1.3 2012/04/08 05:11:13 dholland Exp $ | |
2 | 2 | |||
3 | - support netbsd-6 libquota API | 3 | - support netbsd-6 libquota API | |
4 | - avoid build failure on netbsd 5.99 proplib quotas | 4 | - avoid build failure on netbsd 5.99 proplib quotas | |
5 | - support dragonfly quotas | 5 | - support dragonfly quotas | |
6 | 6 | |||
7 | --- src/extensions.c.orig 2000-07-01 18:17:38.000000000 +0000 | 7 | --- src/extensions.c.orig 2000-07-01 18:17:38.000000000 +0000 | |
8 | +++ src/extensions.c | 8 | +++ src/extensions.c | |
9 | @@ -55,7 +55,9 @@ | 9 | @@ -55,7 +55,9 @@ | |
10 | #include <sys/file.h> | 10 | #include <sys/file.h> | |
11 | #include <sys/param.h> | 11 | #include <sys/param.h> | |
12 | 12 | |||
13 | -#ifdef HAVE_SYS_FS_UFS_QUOTA_H | 13 | -#ifdef HAVE_SYS_FS_UFS_QUOTA_H | |
14 | +#if defined(HAVE_QUOTA_H) | 14 | +#if defined(HAVE_QUOTA_H) | |
@@ -23,37 +23,38 @@ $NetBSD: patch-ap,v 1.2 2012/04/08 04:43 | @@ -23,37 +23,38 @@ $NetBSD: patch-ap,v 1.2 2012/04/08 04:43 | |||
23 | 23 | |||
24 | +#ifdef HAVE_QUOTA_H | 24 | +#ifdef HAVE_QUOTA_H | |
25 | +/* NetBSD quota_open() API and library */ | 25 | +/* NetBSD quota_open() API and library */ | |
26 | +#define HAVE_NETBSD_LIBQUOTA | 26 | +#define HAVE_NETBSD_LIBQUOTA | |
27 | +#endif | 27 | +#endif | |
28 | + | 28 | + | |
29 | +#if defined(__DragonFly__) && __DragonFly_version >= 160000 | 29 | +#if defined(__DragonFly__) && __DragonFly_version >= 160000 | |
30 | +#define dqblk ufs_dqblk | 30 | +#define dqblk ufs_dqblk | |
31 | +#endif | 31 | +#endif | |
32 | + | 32 | + | |
33 | #if defined(HAVE_STATVFS) | 33 | #if defined(HAVE_STATVFS) | |
34 | #include <sys/statvfs.h> | 34 | #include <sys/statvfs.h> | |
35 | #elif defined(HAVE_SYS_VFS) | 35 | #elif defined(HAVE_SYS_VFS) | |
36 | @@ -91,8 +102,17 @@ | 36 | @@ -91,8 +102,18 @@ | |
37 | #include "support/ftw.h" | 37 | #include "support/ftw.h" | |
38 | #endif | 38 | #endif | |
39 | 39 | |||
40 | +#if defined(HAVE_UFS_UFS_QUOTA_H) && defined(UFS_QUOTA_ENTRY_NAMES) | 40 | +#if defined(HAVE_UFS_UFS_QUOTA_H) && defined(UFS_QUOTA_ENTRY_NAMES) | |
41 | +/* netbsd 5.99 proplib quota interface (march 2011-january 2012) - punt */ | 41 | +/* netbsd 5.99 proplib quota interface (march 2011-january 2012) - punt */ | |
42 | +#undef QUOTA | 42 | +#undef QUOTA | |
43 | +#endif | 43 | +#endif | |
44 | + | 44 | + | |
45 | #ifdef QUOTA | 45 | #ifdef QUOTA | |
46 | +#ifdef HAVE_NETBSD_LIBQUOTA | 46 | +#ifdef HAVE_NETBSD_LIBQUOTA | |
47 | +#undef QUOTA_DEVICE | |||
47 | +struct quotaval quota_blocks, quota_files; | 48 | +struct quotaval quota_blocks, quota_files; | |
48 | +#else | 49 | +#else | |
49 | struct dqblk quota; | 50 | struct dqblk quota; | |
50 | +#endif | 51 | +#endif | |
51 | char *time_quota(long curstate, long softlimit, long timelimit, char *timeleft); | 52 | char *time_quota(long curstate, long softlimit, long timelimit, char *timeleft); | |
52 | #endif | 53 | #endif | |
53 | 54 | |||
54 | @@ -252,6 +272,11 @@ void msg_massage(const char *inbuf, char | 55 | @@ -252,6 +272,11 @@ void msg_massage(const char *inbuf, char | |
55 | char *outptr = outbuf; | 56 | char *outptr = outbuf; | |
56 | #ifdef QUOTA | 57 | #ifdef QUOTA | |
57 | char timeleft[80]; | 58 | char timeleft[80]; | |
58 | +#ifdef HAVE_NETBSD_LIBQUOTA | 59 | +#ifdef HAVE_NETBSD_LIBQUOTA | |
59 | + uint64_t quotaval; | 60 | + uint64_t quotaval; | |
@@ -194,44 +195,44 @@ $NetBSD: patch-ap,v 1.2 2012/04/08 04:43 | @@ -194,44 +195,44 @@ $NetBSD: patch-ap,v 1.2 2012/04/08 04:43 | |||
194 | 195 | |||
195 | @@ -1888,12 +1949,35 @@ int path_to_device(char *pathname, char | 196 | @@ -1888,12 +1949,35 @@ int path_to_device(char *pathname, char | |
196 | } | 197 | } | |
197 | return 1; | 198 | return 1; | |
198 | } | 199 | } | |
199 | -#endif | 200 | -#endif | |
200 | +#endif /* QUOTA_DEVICE */ | 201 | +#endif /* QUOTA_DEVICE */ | |
201 | 202 | |||
202 | void get_quota(char *fs, int uid) | 203 | void get_quota(char *fs, int uid) | |
203 | { | 204 | { | |
204 | char mnt_fsname[MNTMAXSTR]; | 205 | char mnt_fsname[MNTMAXSTR]; | |
205 | -#ifdef HAS_NO_QUOTACTL | 206 | -#ifdef HAS_NO_QUOTACTL | |
206 | + | 207 | + | |
207 | +#if defined(HAS_NETBSD_LIBQUOTA) | 208 | +#if defined(HAVE_NETBSD_LIBQUOTA) | |
208 | + struct quotahandle *qh; | 209 | + struct quotahandle *qh; | |
209 | + struct quotakey qk; | 210 | + struct quotakey qk; | |
210 | + | 211 | + | |
211 | + qh = quota_open(fs); | 212 | + qh = quota_open(fs); | |
212 | + if (qh == NULL) { | 213 | + if (qh == NULL) { | |
213 | + quotaval_clear("a_blocks); | 214 | + quotaval_clear("a_blocks); | |
214 | + quotaval_clear("a_files); | 215 | + quotaval_clear("a_files); | |
215 | + return; | 216 | + return; | |
216 | + } | 217 | + } | |
217 | + qk.qk_idtype = QUOTA_IDTYPE_USER; | 218 | + qk.qk_idtype = QUOTA_IDTYPE_USER; | |
218 | + qk.qk_id = uid; | 219 | + qk.qk_id = uid; | |
219 | + qk.qk_objtype = QUOTA_OBJTYPE_BLOCKS; | 220 | + qk.qk_objtype = QUOTA_OBJTYPE_BLOCKS; | |
220 | + if (quota_get(qh, "a_blocks)) { | 221 | + if (quota_get(qh, &qk, "a_blocks)) { | |
221 | + quotaval_clear("a_blocks); | 222 | + quotaval_clear("a_blocks); | |
222 | + } | 223 | + } | |
223 | + qk.qk_objtype = QUOTA_OBJTYPE_FILES; | 224 | + qk.qk_objtype = QUOTA_OBJTYPE_FILES; | |
224 | + if (quota_get(qh, "a_files)) { | 225 | + if (quota_get(qh, &qk, "a_files)) { | |
225 | + quotaval_clear("a_files); | 226 | + quotaval_clear("a_files); | |
226 | + } | 227 | + } | |
227 | + quota_close(qh); | 228 | + quota_close(qh); | |
228 | + | 229 | + | |
229 | +#elif defined(HAS_NO_QUOTACTL) | 230 | +#elif defined(HAS_NO_QUOTACTL) | |
230 | int dirfd; | 231 | int dirfd; | |
231 | struct quotctl qp; | 232 | struct quotctl qp; | |
232 | 233 | |||
233 | @@ -1905,19 +1989,18 @@ void get_quota(char *fs, int uid) | 234 | @@ -1905,19 +1989,18 @@ void get_quota(char *fs, int uid) | |
234 | ioctl(dirfd, Q_QUOTACTL, &qp); | 235 | ioctl(dirfd, Q_QUOTACTL, &qp); | |
235 | close(dirfd); | 236 | close(dirfd); | |
236 | } | 237 | } | |
237 | -#else | 238 | -#else |
@@ -1,20 +1,24 @@ | @@ -1,20 +1,24 @@ | |||
1 | $NetBSD: patch-configure_in,v 1.1 2012/04/08 04:43:51 dholland Exp $ | 1 | $NetBSD: patch-configure_in,v 1.2 2012/04/08 05:11:13 dholland Exp $ | |
2 | 2 | |||
3 | - support netbsd-6 libquota API. | 3 | - support netbsd-6 libquota API. | |
4 | 4 | |||
5 | caution: there's a dragonfly patch to configure in patch-ao that isn't | 5 | caution: there's a dragonfly patch to configure in patch-ao that isn't | |
6 | reflected here. don't regen that from this without thinking. | 6 | reflected here. don't regen that from this without thinking. | |
7 | 7 | |||
8 | --- configure.in~ 2001-11-29 17:10:58.000000000 +0000 | 8 | --- configure.in.orig 2001-11-29 17:10:58.000000000 +0000 | |
9 | +++ configure.in | 9 | +++ configure.in | |
10 | @@ -739,8 +739,8 @@ if test $paranoid = yes; then | 10 | @@ -739,9 +739,12 @@ if test $paranoid = yes; then | |
11 | AC_DEFINE(PARANOID) | 11 | AC_DEFINE(PARANOID) | |
12 | fi | 12 | fi | |
13 | if test $quota != no; then | 13 | if test $quota != no; then | |
14 | - AC_CHECK_HEADERS(sys/quota.h sys/fs/ufs_quota.h ufs/quota.h jfs/quota.h ufs/ufs/quota.h linux/quota.h) | 14 | - AC_CHECK_HEADERS(sys/quota.h sys/fs/ufs_quota.h ufs/quota.h jfs/quota.h ufs/ufs/quota.h linux/quota.h) | |
15 | - if test $ac_cv_header_sys_quota.h = yes -o $ac_cv_header_sys_fs_ufs_quota_h = yes -o $ac_cv_header_ufs_quota_h = yes -o $ac_cv_header_jfs_quota_h = yes -o $ac_cv_header_ufs_ufs_quota_h = yes -o $ac_cv_header_linux_quota_h = yes; then | 15 | - if test $ac_cv_header_sys_quota.h = yes -o $ac_cv_header_sys_fs_ufs_quota_h = yes -o $ac_cv_header_ufs_quota_h = yes -o $ac_cv_header_jfs_quota_h = yes -o $ac_cv_header_ufs_ufs_quota_h = yes -o $ac_cv_header_linux_quota_h = yes; then | |
16 | + AC_CHECK_HEADERS(quota.h sys/quota.h sys/fs/ufs_quota.h ufs/quota.h jfs/quota.h ufs/ufs/quota.h linux/quota.h) | 16 | + AC_CHECK_HEADERS(quota.h sys/quota.h sys/fs/ufs_quota.h ufs/quota.h jfs/quota.h ufs/ufs/quota.h linux/quota.h) | |
17 | + if test $ac_cv_header_quota.h = yes -o $ac_cv_header_sys_quota.h = yes -o $ac_cv_header_sys_fs_ufs_quota_h = yes -o $ac_cv_header_ufs_quota_h = yes -o $ac_cv_header_jfs_quota_h = yes -o $ac_cv_header_ufs_ufs_quota_h = yes -o $ac_cv_header_linux_quota_h = yes; then | 17 | + if test $ac_cv_header_quota.h = yes -o $ac_cv_header_sys_quota.h = yes -o $ac_cv_header_sys_fs_ufs_quota_h = yes -o $ac_cv_header_ufs_quota_h = yes -o $ac_cv_header_jfs_quota_h = yes -o $ac_cv_header_ufs_ufs_quota_h = yes -o $ac_cv_header_linux_quota_h = yes; then | |
18 | quota=yes | 18 | quota=yes | |
19 | + if test $ac_cv_header_quota_h = yes; then | |||
20 | + LIBS="$LIBS -lquota" | |||
21 | + fi | |||
19 | else | 22 | else | |
20 | if test $quota = yes; then | 23 | if test $quota = yes; then | |
24 | AC_MSG_WARN(QUOTA not supported by OS - disabled) |