summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2011-09-16 09:12:07 -0600
committerEric Blake <eblake@redhat.com>2011-09-16 17:42:28 -0600
commit1726a736fbb59b74118e1181043b0a356c8bfd5b (patch)
treef6e7fdbd90a41cf64b11f242e527bbf0ffddb807 /bootstrap.conf
parentPrevent crash from dlclose() of libvirt.so (diff)
downloadlibvirt-1726a736fbb59b74118e1181043b0a356c8bfd5b.tar.gz
libvirt-1726a736fbb59b74118e1181043b0a356c8bfd5b.tar.bz2
libvirt-1726a736fbb59b74118e1181043b0a356c8bfd5b.zip
build: work around lack of MacOS fdatasync
Mingw lacks fsync, but gnulib provides that. Meanwhile, gnulib does not (yet) provide fdatasync, so this is a quick hack to fake that function on MacOS X; we can revert this configure change once gnulib gives us a real module. We have been implicitly relying on gnulib's largefile module being pulled in by other modules, but it's better to make that explicit. * bootstrap.conf (gnulib_modules): Add fsync. Make largefile use explicit. * configure.ac (AC_CHECK_FUNCS_ONCE): Check for fdatasync, and fake it with fsync when not present.
Diffstat (limited to 'bootstrap.conf')
-rw-r--r--bootstrap.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/bootstrap.conf b/bootstrap.conf
index 94af05134..d029253d3 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -42,6 +42,7 @@ fcntl
fcntl-h
ffs
fnmatch
+fsync
func
getaddrinfo
getcwd-lgpl
@@ -57,6 +58,7 @@ ignore-value
inet_pton
intprops
ioctl
+largefile
listen
maintainer-makefile
manywarnings