Mac OS X: provide alternate implementation of posix_fallocate.
[libguestfs.git] / configure.ac
index b13eaf9..cfad704 100644 (file)
@@ -134,6 +134,9 @@ AC_DEFINE_UNQUOTED([host_cpu],["$host_cpu"],[Host architecture.])
 dnl Headers.
 AC_CHECK_HEADERS([errno.h sys/types.h sys/un.h sys/wait.h sys/socket.h endian.h byteswap.h])
 
+dnl Functions.
+AC_CHECK_FUNCS([posix_fallocate])
+
 dnl Build the daemon?
 AC_MSG_CHECKING([if we should build the daemon])
 AC_ARG_ENABLE([daemon],