1 # fileblocks.m4 serial 5
2 dnl Copyright (C) 2002, 2005-2006, 2009-2011 Free Software Foundation, Inc.
3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved.
7 AC_DEFUN([gl_FILEBLOCKS],
10 dnl Note: AC_STRUCT_ST_BLOCKS does AC_LIBOBJ([fileblocks]).
11 dnl The stat-size module depends on this one and also assumes that
12 dnl HAVE_STRUCT_STAT_ST_BLOCKS is correctly defined. So if you
13 dnl remove the call above, please make sure that this does not
14 dnl introduce a bug into lib/stat-size.h.
15 if test $ac_cv_member_struct_stat_st_blocks = no; then
20 # Prerequisites of lib/fileblocks.c.
21 AC_DEFUN([gl_PREREQ_FILEBLOCKS], [
22 AC_CHECK_HEADERS_ONCE([sys/param.h])