[glib] Fix statfs/statvfs decision
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [glib] Fix statfs/statvfs decision
- Date: Sat, 13 Aug 2011 19:20:33 +0000 (UTC)
commit 3c504e47656e7d26c0c24465f492b92f673a5cec
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Aug 13 15:07:38 2011 -0400
    Fix statfs/statvfs decision
    
    We want to force use of statvfs when statfs is deficient.
    This does not make any difference on Linux.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=656151
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 8168988..dcb7574 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1015,7 +1015,7 @@ AC_MSG_CHECKING([whether to use statfs or statvfs])
 AS_IF([test x$ac_cv_func_statfs = xyes && test x$ac_cv_func_statvfs = xyes],
    [
    # on solaris and irix, statfs doesn't even have the f_bavail field
-   AS_IF([test x$ac_cv_member_struct_statfs_f_bavail = xyes],
+   AS_IF([test x$ac_cv_member_struct_statfs_f_bavail = xno],
       [ac_cv_func_statfs=no],
    # else, at least on linux, statfs is the actual syscall
       [ac_cv_func_statvfs=no])
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]