[dovecot-cvs] dovecot configure.in,1.277.2.38,1.277.2.39
tss at dovecot.org
tss at dovecot.org
Fri Nov 3 14:04:51 UTC 2006
Update of /var/lib/cvs/dovecot
In directory talvi:/tmp/cvs-serv23116
Modified Files:
Tag: branch_1_0
configure.in
Log Message:
Added support for statvfs(), which is what the newer BSDs use.
Index: configure.in
===================================================================
RCS file: /var/lib/cvs/dovecot/configure.in,v
retrieving revision 1.277.2.38
retrieving revision 1.277.2.39
diff -u -d -r1.277.2.38 -r1.277.2.39
--- configure.in 15 Oct 2006 23:31:22 -0000 1.277.2.38
+++ configure.in 3 Nov 2006 14:04:49 -0000 1.277.2.39
@@ -1124,6 +1124,23 @@
AC_MSG_RESULT(no)
])
+dnl * Check if statvfs() can be used to find out block device for files
+AC_MSG_CHECKING([if statvfs.f_mntfromname exists])
+AC_TRY_COMPILE([
+ #include <sys/types.h>
+ #include <sys/statvfs.h>
+], [
+ struct statvfs buf;
+ char *p = buf.f_mntfromname;
+
+ statvfs(".", &buf);
+], [
+ AC_DEFINE(HAVE_STATVFS_MNTFROMNAME,, Define if you have statvfs.f_mntfromname)
+ AC_MSG_RESULT(yes)
+], [
+ AC_MSG_RESULT(no)
+])
+
dnl * Check if statfs() can be used to find out block device for files
AC_MSG_CHECKING([if statfs.f_mntfromname exists])
AC_TRY_COMPILE([
More information about the dovecot-cvs
mailing list