summaryrefslogtreecommitdiff
path: root/net/wu-ftpd/patches/patch-configure_in
diff options
context:
space:
mode:
Diffstat (limited to 'net/wu-ftpd/patches/patch-configure_in')
-rw-r--r--net/wu-ftpd/patches/patch-configure_in10
1 files changed, 7 insertions, 3 deletions
diff --git a/net/wu-ftpd/patches/patch-configure_in b/net/wu-ftpd/patches/patch-configure_in
index 812846fbc04..3136ac6b950 100644
--- a/net/wu-ftpd/patches/patch-configure_in
+++ b/net/wu-ftpd/patches/patch-configure_in
@@ -1,13 +1,13 @@
-$NetBSD: patch-configure_in,v 1.1 2012/04/08 04:43:51 dholland Exp $
+$NetBSD: patch-configure_in,v 1.2 2012/04/08 05:11:13 dholland Exp $
- support netbsd-6 libquota API.
caution: there's a dragonfly patch to configure in patch-ao that isn't
reflected here. don't regen that from this without thinking.
---- configure.in~ 2001-11-29 17:10:58.000000000 +0000
+--- configure.in.orig 2001-11-29 17:10:58.000000000 +0000
+++ configure.in
-@@ -739,8 +739,8 @@ if test $paranoid = yes; then
+@@ -739,9 +739,12 @@ if test $paranoid = yes; then
AC_DEFINE(PARANOID)
fi
if test $quota != no; then
@@ -16,5 +16,9 @@ reflected here. don't regen that from this without thinking.
+ 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)
+ 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
quota=yes
++ if test $ac_cv_header_quota_h = yes; then
++ LIBS="$LIBS -lquota"
++ fi
else
if test $quota = yes; then
+ AC_MSG_WARN(QUOTA not supported by OS - disabled)