File: system.m4

package info (click to toggle)
cpio 2.12+dfsg-9
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 10,456 kB
  • sloc: ansic: 41,862; sh: 7,781; yacc: 1,254; makefile: 258; sed: 16
file content (31 lines) | stat: -rw-r--r-- 978 bytes parent folder | download | duplicates (18)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Configuration for paxutils/lib/system.h.

# Copyright (C) 2005, 2006, 2007, 2009 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 \
 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])

  AC_CHECK_HEADERS([sys/buf.h], [], [],
   [#if HAVE_SYS_PARAM_H
#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_REQUIRE([AC_STRUCT_ST_BLOCKS])
  AC_REQUIRE([AC_STRUCT_ST_BLKSIZE])

  AC_CHECK_FUNCS_ONCE(lstat mkfifo setlocale)
  AC_REQUIRE([gl_INTTOSTR])
  AC_REQUIRE([gl_STDINT_H])

  AC_SEARCH_LIBS(gethostbyname, nsl)
])