summaryrefslogtreecommitdiffstats
path: root/daemon/m4
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-11-25 13:07:05 +0000
committerRichard Jones <rjones@redhat.com>2009-11-25 16:28:26 +0000
commit579465ec1f4fdb1789bf94ac7356a3c961f3ae93 (patch)
tree78fa2984ec1704281ed919d2cdf639976696515c /daemon/m4
parent63516f39a0b1381ef3d06d9eb55141bf6c4466b0 (diff)
downloadlibguestfs-579465ec1f4fdb1789bf94ac7356a3c961f3ae93.tar.gz
libguestfs-579465ec1f4fdb1789bf94ac7356a3c961f3ae93.tar.xz
libguestfs-579465ec1f4fdb1789bf94ac7356a3c961f3ae93.zip
daemon/Win32: Implement statvfs using GetDiskFreeSpaceEx.
At the time of writing Gnulib didn't support Win32 for its fsusage API. Therefore this patch uses GetDiskFreeSpaceEx if it's available (on Windows) otherwise falls back to using Gnulib fsusage.
Diffstat (limited to 'daemon/m4')
-rw-r--r--daemon/m4/gnulib-cache.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/daemon/m4/gnulib-cache.m4 b/daemon/m4/gnulib-cache.m4
index 2b632582..a9b19e94 100644
--- a/daemon/m4/gnulib-cache.m4
+++ b/daemon/m4/gnulib-cache.m4
@@ -15,12 +15,13 @@
# Specification in the form of a command-line invocation:
-# gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --with-tests --no-libtool --macro-prefix=gl c-ctype futimens getline glob hash ignore-value manywarnings mkdtemp netdb openat readlink select sleep strchrnul strndup sys_select sys_wait vasprintf warnings
+# gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --with-tests --no-libtool --macro-prefix=gl c-ctype fsusage futimens getline glob hash ignore-value manywarnings mkdtemp netdb openat readlink select sleep strchrnul strndup sys_select sys_wait vasprintf warnings
# Specification in the form of a few gnulib-tool.m4 macro invocations:
gl_LOCAL_DIR([])
gl_MODULES([
c-ctype
+ fsusage
futimens
getline
glob