diff options
Diffstat (limited to 'am/system.m4')
-rw-r--r-- | am/system.m4 | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/am/system.m4 b/am/system.m4 index bafedda..2dbac5c 100644 --- a/am/system.m4 +++ b/am/system.m4 @@ -1,14 +1,12 @@ # Configuration for paxutils/lib/system.h. -# Copyright (C) 2005, 2006, 2007, 2009 Free Software Foundation, Inc. +# Copyright (C) 2005-2022 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_REQUIRE([AC_HEADER_STDC]) - - AC_CHECK_HEADERS_ONCE([string.h memory.h fcntl.h sys/wait.h \ + AC_CHECK_HEADERS_ONCE([string.h memory.h fcntl.h sys/time.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 locale.h pwd.h grp.h]) @@ -17,11 +15,8 @@ AC_DEFUN([PU_SYSTEM],[ #include <sys/param.h> #endif]) - AC_REQUIRE([AC_HEADER_TIME]) - - AC_CHECK_MEMBERS([struct stat.st_blksize]) dnl instead of AC_STRUCT_ST_BLKSIZE + AC_CHECK_MEMBERS([struct stat.st_blksize]) AC_REQUIRE([AC_STRUCT_ST_BLOCKS]) - AC_REQUIRE([AC_STRUCT_ST_BLKSIZE]) AC_CHECK_FUNCS_ONCE(lstat mkfifo setlocale) AC_REQUIRE([gl_INTTOSTR]) |