1# fileblocks.m4 serial 4
2dnl Copyright (C) 2002, 2005, 2006 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved.
6
7AC_DEFUN([gl_FILEBLOCKS],
8[
9  AC_STRUCT_ST_BLOCKS
10  dnl Note: AC_STRUCT_ST_BLOCKS does AC_LIBOBJ(fileblocks).
11  if test $ac_cv_member_struct_stat_st_blocks = no; then
12    gl_PREREQ_FILEBLOCKS
13  fi
14])
15
16# Prerequisites of lib/fileblocks.c.
17AC_DEFUN([gl_PREREQ_FILEBLOCKS], [
18  AC_CHECK_HEADERS_ONCE(sys/param.h)
19  :
20])
21