summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2009-08-09 10:21:00 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2009-08-09 10:21:00 +0200
commitf64196e879103151f3b90ba423dc74ef61ea8c76 (patch)
tree198b565124e4d9d5cc4cdc724b3dcd380196b5f4 /configure.in
parent6e2525a1d9c0930fea9fa65514d7b813f27997f0 (diff)
[cmdline/apt-get.cc] check for availability ofstatfs.f_type
Patch from Robert Millan, thanks! (Closes: #509313)
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 9131e2fbe..0dd1beb1a 100644
--- a/configure.in
+++ b/configure.in
@@ -112,6 +112,10 @@ if test x"$HAVE_STATVFS" != x"yes"; then
])
fi
+AC_CHECK_MEMBERS([struct statfs.f_type],,,
+ [$ac_includes_default
+ #include <sys/vfs.h>])
+
dnl We should use the real timegm function if we have it.
AC_CHECK_FUNC(timegm,AC_DEFINE(HAVE_TIMEGM))
AC_SUBST(HAVE_TIMEGM)