libgsf r1029 - trunk
- From: mortenw svn gnome org
- To: svn-commits-list gnome org
- Subject: libgsf r1029 - trunk
- Date: Thu, 25 Dec 2008 18:45:56 +0000 (UTC)
Author: mortenw
Date: Thu Dec 25 18:45:55 2008
New Revision: 1029
URL: http://svn.gnome.org/viewvc/libgsf?rev=1029&view=rev
Log:
2008-12-25 Morten Welinder <terra gnome org>
* configure.in (statfs): Fix detection for Darwin. Fixes #565603.
Modified:
trunk/ChangeLog
trunk/NEWS
trunk/configure.in
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Thu Dec 25 18:45:55 2008
@@ -7,6 +7,9 @@
* Solaris compilation issue. [#558253]
* Handle non-seekable files in gsf_input_stdio_new. [#154417]
+Paul:
+ * Fix various Mac compilation issues. [#565603] [#565605]
+
Pedro Fragoso:
* Clean up glib includes. [#564004]
Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in (original)
+++ trunk/configure.in Thu Dec 25 18:45:55 2008
@@ -159,13 +159,19 @@
fi
AC_TYPE_MODE_T
-AC_CHECK_HEADERS(fcntl.h malloc.h unistd.h io.h sys/statfs.h)
+AC_CHECK_HEADERS(fcntl.h malloc.h unistd.h io.h sys/statfs.h sys/param.h sys/mount.h)
AC_FUNC_MMAP
AC_MSG_CHECKING([form of statfs])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
[[#ifdef HAVE_SYS_STATFS_H
#include <sys/statfs.h>
+#endif
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
+#ifdef HAVE_SYS_MOUNT_H
+#include <sys/mount.h>
#endif]],
[[struct statfs buf; (void)(2*statfs("xyz",&buf));]])],
[AC_MSG_RESULT([2-arg, linux-style])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]