summaryrefslogtreecommitdiff
path: root/packages/netatalk/netatalk-2.0.3/netatalk-2.0.3-xfs.patch
blob: e91ebcebd225161657ad764cf0e2560d10e661c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Index: netatalk-2.0.3/configure.in
===================================================================
--- netatalk-2.0.3.orig/configure.in
+++ netatalk-2.0.3/configure.in
@@ -694,12 +694,16 @@ fi
 #		AC_MSG_RESULT([enabling quotactl wrapper])
 #	)
 
+AC_ARG_WITH([xfs],
+	AS_HELP_STRING([--without-xfs], [Build without XFS filesystem quota support]))
+
+if test "x$with_xfs" != "xno"; then
         # For quotas on Linux XFS filesystems
         AC_CHECK_HEADERS(linux/xqm.h linux/xfs_fs.h)
         AC_CHECK_HEADERS(xfs/libxfs.h xfs/xqm.h xfs/xfs_fs.h)
         # For linux > 2.5.56
         AC_CHECK_HEADERS(linux/dqblk_xfs.h)
-
+fi
 
 	dnl ----- as far as I can tell, dbtob always does the wrong thing
 	dnl ----- on every single version of linux I've ever played with.