blob: 658031846992d8d400cab17f3459bb258d662ee3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
--- configure.orig 2013-01-07 08:52:01.000000000 +0100
+++ configure 2013-01-19 02:57:06.000000000 +0100
@@ -631,8 +631,9 @@
BUILD_SOLR_TRUE
CURL_LIBS
CURL_CFLAGS
CURLCONFIG
+QUOTA_LIBS
HAVE_RQUOTA_FALSE
HAVE_RQUOTA_TRUE
RPCGEN
BUILD_ZLIB_PLUGIN_FALSE
@@ -18047,9 +18048,10 @@
for ac_header in strings.h stdint.h unistd.h dirent.h malloc.h inttypes.h \
sys/uio.h sys/sysmacros.h sys/resource.h sys/select.h libgen.h \
- sys/quota.h sys/fs/ufs_quota.h ufs/ufs/quota.h jfs/quota.h sys/fs/quota_common.h \
+ sys/quota.h sys/fs/ufs_quota.h ufs/ufs/quota.h jfs/quota.h \
+ quota.h sys/fs/quota_common.h \
mntent.h sys/mnttab.h sys/event.h sys/time.h sys/mkdev.h linux/dqblk_xfs.h \
xfs/xqm.h execinfo.h ucontext.h malloc_np.h sys/utsname.h sys/vmount.h \
sys/utsname.h glob.h linux/falloc.h ucred.h
do :
@@ -24214,8 +24216,72 @@
HAVE_RQUOTA_FALSE=
fi
+QUOTA_LIBS=""
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing quota_open" >&5
+$as_echo_n "checking for library containing quota_open... " >&6; }
+if ${ac_cv_search_quota_open+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_func_search_save_LIBS=$LIBS
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char quota_open ();
+int
+main ()
+{
+return quota_open ();
+ ;
+ return 0;
+}
+_ACEOF
+for ac_lib in '' quota; do
+ if test -z "$ac_lib"; then
+ ac_res="none required"
+ else
+ ac_res=-l$ac_lib
+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
+ fi
+ if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_search_quota_open=$ac_res
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext
+ if ${ac_cv_search_quota_open+:} false; then :
+ break
+fi
+done
+if ${ac_cv_search_quota_open+:} false; then :
+
+else
+ ac_cv_search_quota_open=no
+fi
+rm conftest.$ac_ext
+LIBS=$ac_func_search_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_quota_open" >&5
+$as_echo "$ac_cv_search_quota_open" >&6; }
+ac_res=$ac_cv_search_quota_open
+if test "$ac_res" != no; then :
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
+
+
+$as_echo "#define HAVE_QUOTA_OPEN /**/" >>confdefs.h
+
+ QUOTA_LIBS="-lquota"
+
+fi
+
+
+
fts=" squat"
not_fts=""
|