annotate m4/unistd_h.m4 @ 446:194787ce2a77 3.0

Adjusted listings to convert tabs to spaces; assume 8 space tabs
author lost@l-w.ca
date Thu, 04 Nov 2010 22:40:57 -0600
parents b8bf63962a99
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
434
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
1 # unistd_h.m4 serial 36
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
2 dnl Copyright (C) 2006-2010 Free Software Foundation, Inc.
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
3 dnl This file is free software; the Free Software Foundation
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
4 dnl gives unlimited permission to copy and/or distribute it,
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
5 dnl with or without modifications, as long as this notice is preserved.
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
6
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
7 dnl Written by Simon Josefsson, Bruno Haible.
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
8
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
9 AC_DEFUN([gl_UNISTD_H],
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
10 [
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
11 dnl Use AC_REQUIRE here, so that the default behavior below is expanded
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
12 dnl once only, before all statements that occur in other macros.
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
13 AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
14
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
15 gl_CHECK_NEXT_HEADERS([unistd.h])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
16
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
17 AC_CHECK_HEADERS_ONCE([unistd.h])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
18 if test $ac_cv_header_unistd_h = yes; then
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
19 HAVE_UNISTD_H=1
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
20 else
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
21 HAVE_UNISTD_H=0
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
22 fi
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
23 AC_SUBST([HAVE_UNISTD_H])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
24 ])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
25
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
26 AC_DEFUN([gl_UNISTD_MODULE_INDICATOR],
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
27 [
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
28 dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
29 AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
30 GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
31 ])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
32
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
33 AC_DEFUN([gl_UNISTD_H_DEFAULTS],
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
34 [
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
35 GNULIB_CHOWN=0; AC_SUBST([GNULIB_CHOWN])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
36 GNULIB_CLOSE=0; AC_SUBST([GNULIB_CLOSE])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
37 GNULIB_DUP2=0; AC_SUBST([GNULIB_DUP2])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
38 GNULIB_DUP3=0; AC_SUBST([GNULIB_DUP3])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
39 GNULIB_ENVIRON=0; AC_SUBST([GNULIB_ENVIRON])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
40 GNULIB_EUIDACCESS=0; AC_SUBST([GNULIB_EUIDACCESS])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
41 GNULIB_FACCESSAT=0; AC_SUBST([GNULIB_FACCESSAT])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
42 GNULIB_FCHDIR=0; AC_SUBST([GNULIB_FCHDIR])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
43 GNULIB_FCHOWNAT=0; AC_SUBST([GNULIB_FCHOWNAT])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
44 GNULIB_FSYNC=0; AC_SUBST([GNULIB_FSYNC])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
45 GNULIB_FTRUNCATE=0; AC_SUBST([GNULIB_FTRUNCATE])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
46 GNULIB_GETCWD=0; AC_SUBST([GNULIB_GETCWD])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
47 GNULIB_GETDOMAINNAME=0; AC_SUBST([GNULIB_GETDOMAINNAME])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
48 GNULIB_GETDTABLESIZE=0; AC_SUBST([GNULIB_GETDTABLESIZE])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
49 GNULIB_GETGROUPS=0; AC_SUBST([GNULIB_GETGROUPS])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
50 GNULIB_GETHOSTNAME=0; AC_SUBST([GNULIB_GETHOSTNAME])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
51 GNULIB_GETLOGIN_R=0; AC_SUBST([GNULIB_GETLOGIN_R])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
52 GNULIB_GETPAGESIZE=0; AC_SUBST([GNULIB_GETPAGESIZE])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
53 GNULIB_GETUSERSHELL=0; AC_SUBST([GNULIB_GETUSERSHELL])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
54 GNULIB_LCHOWN=0; AC_SUBST([GNULIB_LCHOWN])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
55 GNULIB_LINK=0; AC_SUBST([GNULIB_LINK])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
56 GNULIB_LINKAT=0; AC_SUBST([GNULIB_LINKAT])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
57 GNULIB_LSEEK=0; AC_SUBST([GNULIB_LSEEK])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
58 GNULIB_PIPE2=0; AC_SUBST([GNULIB_PIPE2])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
59 GNULIB_PREAD=0; AC_SUBST([GNULIB_PREAD])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
60 GNULIB_READLINK=0; AC_SUBST([GNULIB_READLINK])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
61 GNULIB_READLINKAT=0; AC_SUBST([GNULIB_READLINKAT])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
62 GNULIB_RMDIR=0; AC_SUBST([GNULIB_RMDIR])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
63 GNULIB_SLEEP=0; AC_SUBST([GNULIB_SLEEP])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
64 GNULIB_SYMLINK=0; AC_SUBST([GNULIB_SYMLINK])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
65 GNULIB_SYMLINKAT=0; AC_SUBST([GNULIB_SYMLINKAT])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
66 GNULIB_UNISTD_H_GETOPT=0; AC_SUBST([GNULIB_UNISTD_H_GETOPT])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
67 GNULIB_UNISTD_H_SIGPIPE=0; AC_SUBST([GNULIB_UNISTD_H_SIGPIPE])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
68 GNULIB_UNLINK=0; AC_SUBST([GNULIB_UNLINK])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
69 GNULIB_UNLINKAT=0; AC_SUBST([GNULIB_UNLINKAT])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
70 GNULIB_USLEEP=0; AC_SUBST([GNULIB_USLEEP])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
71 GNULIB_WRITE=0; AC_SUBST([GNULIB_WRITE])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
72 dnl Assume proper GNU behavior unless another module says otherwise.
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
73 HAVE_CHOWN=1; AC_SUBST([HAVE_CHOWN])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
74 HAVE_DUP2=1; AC_SUBST([HAVE_DUP2])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
75 HAVE_DUP3=1; AC_SUBST([HAVE_DUP3])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
76 HAVE_EUIDACCESS=1; AC_SUBST([HAVE_EUIDACCESS])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
77 HAVE_FACCESSAT=1; AC_SUBST([HAVE_FACCESSAT])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
78 HAVE_FCHOWNAT=1; AC_SUBST([HAVE_FCHOWNAT])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
79 HAVE_FSYNC=1; AC_SUBST([HAVE_FSYNC])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
80 HAVE_FTRUNCATE=1; AC_SUBST([HAVE_FTRUNCATE])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
81 HAVE_GETDOMAINNAME=1; AC_SUBST([HAVE_GETDOMAINNAME])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
82 HAVE_GETDTABLESIZE=1; AC_SUBST([HAVE_GETDTABLESIZE])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
83 HAVE_GETGROUPS=1; AC_SUBST([HAVE_GETGROUPS])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
84 HAVE_GETHOSTNAME=1; AC_SUBST([HAVE_GETHOSTNAME])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
85 HAVE_GETPAGESIZE=1; AC_SUBST([HAVE_GETPAGESIZE])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
86 HAVE_GETUSERSHELL=1; AC_SUBST([HAVE_GETUSERSHELL])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
87 HAVE_LCHOWN=1; AC_SUBST([HAVE_LCHOWN])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
88 HAVE_LINK=1; AC_SUBST([HAVE_LINK])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
89 HAVE_LINKAT=1; AC_SUBST([HAVE_LINKAT])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
90 HAVE_PIPE2=1; AC_SUBST([HAVE_PIPE2])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
91 HAVE_PREAD=1; AC_SUBST([HAVE_PREAD])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
92 HAVE_READLINK=1; AC_SUBST([HAVE_READLINK])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
93 HAVE_READLINKAT=1; AC_SUBST([HAVE_READLINKAT])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
94 HAVE_SLEEP=1; AC_SUBST([HAVE_SLEEP])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
95 HAVE_SYMLINK=1; AC_SUBST([HAVE_SYMLINK])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
96 HAVE_SYMLINKAT=1; AC_SUBST([HAVE_SYMLINKAT])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
97 HAVE_DECL_ENVIRON=1; AC_SUBST([HAVE_DECL_ENVIRON])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
98 HAVE_DECL_GETLOGIN_R=1; AC_SUBST([HAVE_DECL_GETLOGIN_R])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
99 HAVE_OS_H=0; AC_SUBST([HAVE_OS_H])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
100 HAVE_SYS_PARAM_H=0; AC_SUBST([HAVE_SYS_PARAM_H])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
101 HAVE_UNLINKAT=1; AC_SUBST([HAVE_UNLINKAT])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
102 HAVE_USLEEP=1; AC_SUBST([HAVE_USLEEP])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
103 REPLACE_CHOWN=0; AC_SUBST([REPLACE_CHOWN])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
104 REPLACE_CLOSE=0; AC_SUBST([REPLACE_CLOSE])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
105 REPLACE_DUP=0; AC_SUBST([REPLACE_DUP])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
106 REPLACE_DUP2=0; AC_SUBST([REPLACE_DUP2])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
107 REPLACE_FCHDIR=0; AC_SUBST([REPLACE_FCHDIR])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
108 REPLACE_FCHOWNAT=0; AC_SUBST([REPLACE_FCHOWNAT])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
109 REPLACE_GETCWD=0; AC_SUBST([REPLACE_GETCWD])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
110 REPLACE_GETGROUPS=0; AC_SUBST([REPLACE_GETGROUPS])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
111 REPLACE_GETPAGESIZE=0; AC_SUBST([REPLACE_GETPAGESIZE])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
112 REPLACE_LCHOWN=0; AC_SUBST([REPLACE_LCHOWN])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
113 REPLACE_LINK=0; AC_SUBST([REPLACE_LINK])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
114 REPLACE_LINKAT=0; AC_SUBST([REPLACE_LINKAT])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
115 REPLACE_LSEEK=0; AC_SUBST([REPLACE_LSEEK])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
116 REPLACE_PREAD=0; AC_SUBST([REPLACE_PREAD])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
117 REPLACE_READLINK=0; AC_SUBST([REPLACE_READLINK])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
118 REPLACE_RMDIR=0; AC_SUBST([REPLACE_RMDIR])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
119 REPLACE_SLEEP=0; AC_SUBST([REPLACE_SLEEP])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
120 REPLACE_SYMLINK=0; AC_SUBST([REPLACE_SYMLINK])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
121 REPLACE_UNLINK=0; AC_SUBST([REPLACE_UNLINK])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
122 REPLACE_UNLINKAT=0; AC_SUBST([REPLACE_UNLINKAT])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
123 REPLACE_USLEEP=0; AC_SUBST([REPLACE_USLEEP])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
124 REPLACE_WRITE=0; AC_SUBST([REPLACE_WRITE])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
125 UNISTD_H_HAVE_WINSOCK2_H=0; AC_SUBST([UNISTD_H_HAVE_WINSOCK2_H])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
126 UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0;
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
127 AC_SUBST([UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
128 ])