Line | |
---|
1 | # Configuration for paxutils/lib/system.h.
|
---|
2 |
|
---|
3 | # Copyright (C) 2005, 2006 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.
|
---|
7 |
|
---|
8 | AC_DEFUN([PU_SYSTEM],[
|
---|
9 | AC_REQUIRE([AC_HEADER_STDC])
|
---|
10 |
|
---|
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])
|
---|
14 |
|
---|
15 | AC_CHECK_HEADERS([sys/buf.h], [], [],
|
---|
16 | [#if HAVE_SYS_PARAM_H
|
---|
17 | #include <sys/param.h>
|
---|
18 | #endif])
|
---|
19 |
|
---|
20 | AC_REQUIRE([AC_HEADER_TIME])
|
---|
21 |
|
---|
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])
|
---|
25 |
|
---|
26 | AC_CHECK_FUNCS_ONCE(lstat mkfifo setlocale)
|
---|
27 | AC_REQUIRE([gl_INTTYPES_H])
|
---|
28 | AC_REQUIRE([gl_STDINT_H])
|
---|
29 | ])
|
---|
Note:
See
TracBrowser
for help on using the repository browser.