1 # Configuration for paxutils/lib/system.h.
3 # Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
4 # This file is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
9 AC_REQUIRE([AC_HEADER_STDC])
11 AC_CHECK_HEADERS_ONCE([string.h memory.h fcntl.h sys/wait.h \
12 sys/gentape.h sys/tape.h sys/device.h sys/param.h sys/tprintf.h sys/mtio.h \
13 sgtty.h sys/io/trioctl.h locale.h pwd.h grp.h])
15 AC_CHECK_HEADERS([sys/buf.h], [], [],
17 #include <sys/param.h>
20 AC_REQUIRE([AC_HEADER_TIME])
22 AC_CHECK_MEMBERS([struct stat.st_blksize]) dnl instead of AC_STRUCT_ST_BLKSIZE
23 AC_REQUIRE([AC_STRUCT_ST_BLOCKS])
24 AC_REQUIRE([AC_STRUCT_ST_BLKSIZE])
26 AC_CHECK_FUNCS_ONCE(lstat mkfifo setlocale)
27 AC_REQUIRE([gl_INTTYPES_H])
28 AC_REQUIRE([gl_STDINT_H])