Add script for determining the set of symbols to export from a library.
[gnulib.git] / m4 / fileblocks.m4
blob17b5f8d775bef96e25fcd742e5a8295f8694ac8e
1 # fileblocks.m4 serial 6
2 dnl Copyright (C) 2002, 2005-2006, 2009-2019 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],
9   m4_pushdef([AC_LIBOBJ], [:])
10   dnl Note: AC_STRUCT_ST_BLOCKS does AC_LIBOBJ([fileblocks]).
11   AC_STRUCT_ST_BLOCKS
12   m4_popdef([AC_LIBOBJ])
13   dnl The stat-size module depends on this one and also assumes that
14   dnl HAVE_STRUCT_STAT_ST_BLOCKS is correctly defined.  So if you
15   dnl remove the call above, please make sure that this does not
16   dnl introduce a bug into lib/stat-size.h.
19 # Prerequisites of lib/fileblocks.c.
20 AC_DEFUN([gl_PREREQ_FILEBLOCKS], [
21   AC_CHECK_HEADERS_ONCE([sys/param.h])
22   :