xfstests 240: test non-aligned AIO hole-filling
[xfstests-dev.git] / aclocal.m4
1 # generated automatically by aclocal 1.11 -*- Autoconf -*-
2
3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4 # 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
5 # This file is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 AC_DEFUN([AC_PACKAGE_WANT_LINUX_FIEMAP_H],
15   [ AC_CHECK_HEADERS([linux/fiemap.h], [ have_fiemap=true ], [ have_fiemap=false ])
16     AC_SUBST(have_fiemap)
17   ])
18
19 AC_DEFUN([AC_PACKAGE_WANT_FALLOCATE],
20   [ AC_MSG_CHECKING([for fallocate])
21     AC_TRY_LINK([
22 #define _GNU_SOURCE
23 #define _FILE_OFFSET_BITS 64
24 #include <fcntl.h>
25 #include <linux/falloc.h>
26     ], [
27          fallocate(0, 0, 0, 0);
28     ], have_fallocate=yes
29        AC_MSG_RESULT(yes),
30        AC_MSG_RESULT(no))
31     AC_SUBST(have_fallocate)
32   ])
33 m4_include([m4/multilib.m4])
34 m4_include([m4/package_acldev.m4])
35 m4_include([m4/package_aiodev.m4])
36 m4_include([m4/package_attrdev.m4])
37 m4_include([m4/package_dmapidev.m4])
38 m4_include([m4/package_gdbmdev.m4])
39 m4_include([m4/package_globals.m4])
40 m4_include([m4/package_utilies.m4])
41 m4_include([m4/package_uuiddev.m4])
42 m4_include([m4/package_xfslibs.m4])