[glib] configure: Fix statvfs/statfs detection



commit b3111f87e2f340f45106f24b640ba2ac68b9086b
Author: Colin Walters <walters verbum org>
Date:   Sat Aug 6 09:22:44 2011 -0400

    configure: Fix statvfs/statfs detection
    
    Add missing 'x' as pointed out by declanw is bbc co uk
    
    https://bugzilla.gnome.org/show_bug.cgi?id=656048

 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 38d9379..3dbe42a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1012,10 +1012,10 @@ AS_IF([test $ac_cv_header_sys_statfs_h  = yes], [AC_CHECK_FUNCS([statfs])])
 
 AC_MSG_CHECKING([whether to use statfs or statvfs])
 # Some systems have both statfs and statvfs, pick the most "native" for these
-AS_IF([test x$ac_cv_func_statfs = xyes && test x$ac_cv_func_statvfs = yes],
+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 $ac_cv_member_struct_statfs_f_bavail = yes],
+   AS_IF([test x$ac_cv_member_struct_statfs_f_bavail = xyes],
       [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]