glib r7352 - trunk
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r7352 - trunk
- Date: Thu, 14 Aug 2008 03:01:24 +0000 (UTC)
Author: matthiasc
Date: Thu Aug 14 03:01:23 2008
New Revision: 7352
URL: http://svn.gnome.org/viewvc/glib?rev=7352&view=rev
Log:
2008-08-13 Matthias Clasen <mclasen redhat com>
Bug 547637 â unconditional #include of sys/statfs.h in configure
impedes detection of statfs things if non-existant
* configure.in: Protect the statfs.h include by guards.
Modified:
trunk/ChangeLog
trunk/configure.in
Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in (original)
+++ trunk/configure.in Thu Aug 14 03:01:23 2008
@@ -858,7 +858,9 @@
AC_CHECK_MEMBERS([struct stat.st_blksize, struct stat.st_blocks, struct statfs.f_fstypename, struct statfs.f_bavail],,, [#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
+#ifdef HAVE_SYS_STATFS_H
#include <sys/statfs.h>
+#endif
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]