# Configuration for paxutils/lib/system.h. # Copyright (C) 2005, 2006 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. AC_DEFUN([PU_SYSTEM],[ AC_HEADER_STDC AC_CHECK_HEADERS_ONCE([string.h memory.h fcntl.h unistd.h sys/wait.h \ sys/gentape.h sys/tape.h sys/device.h sys/param.h sys/tprintf.h sys/mtio.h \ sgtty.h sys/io/trioctl.h inttypes.h locale.h]) AC_CHECK_HEADERS([sys/buf.h], [], [], [#if HAVE_SYS_PARAM_H #include #endif]) AC_CHECK_HEADERS_ONCE([sys/time.h]) AC_HEADER_TIME AC_CHECK_DECLS_ONCE([time valloc]) AC_CHECK_MEMBERS([struct stat.st_blksize]) dnl instead of AC_STRUCT_ST_BLKSIZE AC_STRUCT_ST_BLOCKS AC_STRUCT_ST_BLKSIZE AC_CHECK_FUNCS_ONCE(lstat mkfifo setlocale) AC_REQUIRE([gl_AC_TYPE_UINTMAX_T]) ])