lstat64:: use Posix st_mode defines
[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_LINUX_PRCTL_H],
20   [ AC_CHECK_HEADERS([sys/prctl.h], [ have_prctl=true ], [ have_prctl=false ])
21     AC_SUBST(have_prctl)
22   ])
23
24 AC_DEFUN([AC_PACKAGE_WANT_LINUX_FS_H],
25   [ AC_CHECK_HEADER([linux/fs.h])
26   ])
27
28 AC_DEFUN([AC_PACKAGE_WANT_FALLOCATE],
29   [ AC_MSG_CHECKING([for fallocate])
30     AC_TRY_LINK([
31 #define _GNU_SOURCE
32 #define _FILE_OFFSET_BITS 64
33 #include <fcntl.h>
34 #include <linux/falloc.h> ],
35       [ fallocate(0, 0, 0, 0); ],
36       [ have_fallocate=true; AC_MSG_RESULT(yes) ],
37       [ have_fallocate=false; AC_MSG_RESULT(no) ])
38     AC_SUBST(have_fallocate)
39   ])
40 m4_include([m4/multilib.m4])
41 m4_include([m4/package_acldev.m4])
42 m4_include([m4/package_aiodev.m4])
43 m4_include([m4/package_attrdev.m4])
44 m4_include([m4/package_dmapidev.m4])
45 m4_include([m4/package_gdbmdev.m4])
46 m4_include([m4/package_globals.m4])
47 m4_include([m4/package_ssldev.m4])
48 m4_include([m4/package_utilies.m4])
49 m4_include([m4/package_uuiddev.m4])
50 m4_include([m4/package_xfslibs.m4])