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