]> git.cworth.org Git - tar/blob - m4/fileblocks.m4
5fb631112ee7fb7b2aad240079f79b679e8a531f
[tar] / m4 / fileblocks.m4
1 # fileblocks.m4 serial 4
2 dnl Copyright (C) 2002, 2005, 2006 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.
6
7 AC_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.
17 AC_DEFUN([gl_PREREQ_FILEBLOCKS], [
18   AC_CHECK_HEADERS_ONCE(sys/param.h)
19   :
20 ])