summaryrefslogtreecommitdiff
path: root/m4/prereq.m4
blob: 9d445e6901f6eb39efb1caf16f5fa7e128cb4ec9 (plain)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
#serial 69

dnl We use gl_ for non Autoconf macros.
m4_pattern_forbid([^gl_[ABCDEFGHIJKLMNOPQRSTUVXYZ]])dnl

# These are the prerequisite macros for files in the lib/
# directory of the coreutils package.


# Copyright (C) 1998 2000, 2001, 2003, 2004, 2005, 2006 Free Software
# Foundation, Inc.

# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

# Written by Jim Meyering.


AC_DEFUN([gl_PREREQ],
[
  # We don't yet use c-stack.c.
  # AC_REQUIRE([gl_C_STACK])

  AC_REQUIRE([AM_STDBOOL_H])
  AC_REQUIRE([gl_ALLOCSA])
  AC_REQUIRE([gl_BACKUPFILE])
  AC_REQUIRE([gl_BASENAME])
  AC_REQUIRE([gl_C_STRTOD])
  AC_REQUIRE([gl_C_STRTOLD])
  AC_REQUIRE([gl_CANON_HOST])
  AC_REQUIRE([gl_CLOEXEC])
  AC_REQUIRE([gl_CLOSE_STREAM])
  AC_REQUIRE([gl_CLOSEOUT])
  AC_REQUIRE([gl_DIRNAME])
  AC_REQUIRE([gl_ERROR])
  AC_REQUIRE([gl_EXCLUDE])
  AC_REQUIRE([gl_EXITFAIL])
  AC_REQUIRE([gl_FCNTL_SAFER])
  AC_REQUIRE([gl_FD_REOPEN])
  AC_REQUIRE([gl_FILEBLOCKS])
  AC_REQUIRE([gl_FILEMODE])
  AC_REQUIRE([gl_FILE_NAME_CONCAT])
  AC_REQUIRE([gl_FILE_TYPE])
  AC_REQUIRE([gl_FSUSAGE])
  AC_REQUIRE([gl_FUNC_ALLOCA])
  AC_REQUIRE([gl_FUNC_ATEXIT])
  AC_REQUIRE([gl_FUNC_DUP2])
  AC_REQUIRE([gl_FUNC_FNMATCH_GNU])
  AC_REQUIRE([gl_FUNC_GETHOSTNAME])
  AC_REQUIRE([gl_FUNC_GETLINE])
  AC_REQUIRE([AC_FUNC_GETLOADAVG])
  AC_REQUIRE([gl_FUNC_GETPASS_GNU])
  AC_REQUIRE([gl_FUNC_GETUSERSHELL])
  AC_REQUIRE([gl_FUNC_LSTAT])
  AC_REQUIRE([gl_FUNC_MEMCHR])
  AC_REQUIRE([gl_FUNC_MEMCPY])
  AC_REQUIRE([gl_FUNC_MEMMOVE])
  AC_REQUIRE([gl_FUNC_MEMPCPY])
  AC_REQUIRE([gl_FUNC_MEMRCHR])
  AC_REQUIRE([gl_FUNC_MEMSET])
  AC_REQUIRE([gl_FUNC_MKDIR_TRAILING_SLASH])
  AC_REQUIRE([gl_FUNC_MKTIME])
  AC_REQUIRE([gl_FUNC_MKSTEMP])
  AC_REQUIRE([gl_FUNC_NONREENTRANT_EUIDACCESS])
  AC_REQUIRE([gl_FUNC_READLINK])
  AC_REQUIRE([gl_FUNC_RMDIR])
  AC_REQUIRE([gl_FUNC_RPMATCH])
  AC_REQUIRE([gt_FUNC_SETENV])
  AC_REQUIRE([gl_FUNC_SIG2STR])
  AC_REQUIRE([gl_FUNC_STPCPY])
  AC_REQUIRE([gl_FUNC_STRCSPN])
  AC_REQUIRE([gl_FUNC_STRDUP])
  AC_REQUIRE([gl_FUNC_STRNDUP])
  AC_REQUIRE([gl_FUNC_STRNLEN])
  AC_REQUIRE([gl_FUNC_STRPBRK])
  AC_REQUIRE([gl_FUNC_STRSTR])
  AC_REQUIRE([gl_FUNC_STRTOD])
  AC_REQUIRE([gl_FUNC_STRTOIMAX])
  AC_REQUIRE([gl_FUNC_STRTOLL])
  AC_REQUIRE([gl_FUNC_STRTOL])
  AC_REQUIRE([gl_FUNC_STRTOULL])
  AC_REQUIRE([gl_FUNC_STRTOUL])
  AC_REQUIRE([gl_FUNC_STRTOUMAX])
  AC_REQUIRE([gl_FUNC_STRVERSCMP])
  AC_REQUIRE([gl_FUNC_TZSET_CLOBBER])
  AC_REQUIRE([gl_FUNC_VASNPRINTF])
  AC_REQUIRE([gl_FUNC_VASPRINTF])
  AC_REQUIRE([gl_FUNC_WCWIDTH])
  AC_REQUIRE([gl_GETDATE])
  AC_REQUIRE([gl_GETHRXTIME])
  AC_REQUIRE([gl_GETNDELIM2])
  AC_REQUIRE([gl_GETOPT])
  AC_REQUIRE([gl_GETPAGESIZE])
  AC_REQUIRE([gl_GETTIME])
  AC_REQUIRE([gl_GETUGROUPS])
  AC_REQUIRE([gl_HARD_LOCALE])
  AC_REQUIRE([gl_HASH])
  AC_REQUIRE([gl_HASH_PJW])
  AC_REQUIRE([gl_HUMAN])
  AC_REQUIRE([gl_IDCACHE])
  AC_REQUIRE([gl_INTTOSTR])
  AC_REQUIRE([gl_LINEBUFFER])
  AC_REQUIRE([gl_LOCALCHARSET])
  AC_REQUIRE([gl_LONG_OPTIONS])
  AC_REQUIRE([gl_MBCHAR])
  AC_REQUIRE([gl_MBITER])
  AC_REQUIRE([gl_MBSWIDTH])
  AC_REQUIRE([gl_MD5])
  AC_REQUIRE([gl_MEMCOLL])
  AC_REQUIRE([gl_MEMXFRM])
  AC_REQUIRE([gl_MKANCESDIRS])
  AC_REQUIRE([gl_MKDIR_PARENTS])
  AC_REQUIRE([gl_MODECHANGE])
  AC_REQUIRE([gl_MOUNTLIST])
  AC_REQUIRE([gl_OBSTACK])
  AC_REQUIRE([gl_PATHMAX])
  AC_REQUIRE([gl_PHYSMEM])
  AC_REQUIRE([gl_POSIXTM])
  AC_REQUIRE([gl_POSIXVER])
  AC_REQUIRE([gl_QUOTEARG])
  AC_REQUIRE([gl_QUOTE])
  AC_REQUIRE([gl_RANDINT])
  AC_REQUIRE([gl_RANDPERM])
  AC_REQUIRE([gl_RANDREAD])
  AC_REQUIRE([gl_READTOKENS])
  AC_REQUIRE([gl_READUTMP])
  AC_REQUIRE([gl_REGEX])
  AC_REQUIRE([gl_SAFE_READ])
  AC_REQUIRE([gl_SAFE_WRITE])
  AC_REQUIRE([gl_SAME])
  AC_REQUIRE([gl_SAVEDIR])
  AC_REQUIRE([gl_SAVE_CWD])
  AC_REQUIRE([gl_SETTIME])
  AC_REQUIRE([gl_SHA1])
  AC_REQUIRE([gl_SHA256])
  AC_REQUIRE([gl_SHA512])
  AC_REQUIRE([gl_STAT_MACROS])
  AC_REQUIRE([gl_STAT_TIME])
  AC_REQUIRE([gl_STDINT_H])
  AC_REQUIRE([gl_STDIO_SAFER])
  AC_REQUIRE([gl_STDLIB_SAFER])
  AC_REQUIRE([gl_STRCASE])
  AC_REQUIRE([gl_STRINTCMP])
  AC_REQUIRE([gl_STRNUMCMP])
  AC_REQUIRE([gl_STRIPSLASH])
  AC_REQUIRE([gl_TIMESPEC])
  AC_REQUIRE([gl_TIME_R])
  AC_REQUIRE([gl_UNICODEIO])
  AC_REQUIRE([gl_UNISTD_SAFER])
  AC_REQUIRE([gl_UNLINKDIR])
  AC_REQUIRE([gl_USERSPEC])
  AC_REQUIRE([gl_UTIMECMP])
  AC_REQUIRE([gl_UTIMENS])
  AC_REQUIRE([gl_XALLOC])
  AC_REQUIRE([gl_XGETCWD])
  AC_REQUIRE([gl_XNANOSLEEP])
  AC_REQUIRE([gl_XREADLINK])
  AC_REQUIRE([gl_XSTRTOD])
  AC_REQUIRE([gl_XSTRTOL])
  AC_REQUIRE([gl_XSTRTOLD])
  AC_REQUIRE([gl_YESNO])
  AC_REQUIRE([AC_FUNC_CALLOC])
  AC_REQUIRE([gl_FUNC_GLIBC_UNLOCKED_IO])
  AC_REQUIRE([gl_FUNC_GNU_STRFTIME])
  AC_REQUIRE([AC_FUNC_MALLOC])
  AC_REQUIRE([gl_FUNC_MEMCMP])
  AC_REQUIRE([gl_FUNC_NANOSLEEP])
  AC_REQUIRE([gl_FUNC_PUTENV])
  AC_REQUIRE([AC_FUNC_REALLOC])
  AC_REQUIRE([gl_FUNC_UTIME])
  AC_REQUIRE([gl_XSTRTOIMAX])
  AC_REQUIRE([gl_XSTRTOUMAX])
  AC_REQUIRE([vb_FUNC_RENAME])
  AC_REQUIRE([gl_FUNC_FTS])
  AC_REQUIRE([gl_MEMCASECMP])
  AC_REQUIRE([gl_STRIPSLASH])
  AC_REQUIRE([gl_LINEBUFFER])
  AC_REQUIRE([gl_ARGMATCH])
  AC_REQUIRE([gl_CYCLE_CHECK])
  AC_REQUIRE([gl_EUIDACCESS_STAT])
])