summaryrefslogtreecommitdiffstats
path: root/gl/m4/gnulib-comp.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gl/m4/gnulib-comp.m4')
-rw-r--r--gl/m4/gnulib-comp.m4885
1 files changed, 663 insertions, 222 deletions
diff --git a/gl/m4/gnulib-comp.m4 b/gl/m4/gnulib-comp.m4
index 9a4f502..4764622 100644
--- a/gl/m4/gnulib-comp.m4
+++ b/gl/m4/gnulib-comp.m4
@@ -1,9 +1,9 @@
1# DO NOT EDIT! GENERATED AUTOMATICALLY! 1# DO NOT EDIT! GENERATED AUTOMATICALLY!
2# Copyright (C) 2002-2013 Free Software Foundation, Inc. 2# Copyright (C) 2002-2023 Free Software Foundation, Inc.
3# 3#
4# This file is free software; you can redistribute it and/or modify 4# This file is free software; you can redistribute it and/or modify
5# it under the terms of the GNU General Public License as published by 5# it under the terms of the GNU General Public License as published by
6# the Free Software Foundation; either version 3 of the License, or 6# the Free Software Foundation, either version 3 of the License, or
7# (at your option) any later version. 7# (at your option) any later version.
8# 8#
9# This file is distributed in the hope that it will be useful, 9# This file is distributed in the hope that it will be useful,
@@ -12,7 +12,7 @@
12# GNU General Public License for more details. 12# GNU General Public License for more details.
13# 13#
14# You should have received a copy of the GNU General Public License 14# You should have received a copy of the GNU General Public License
15# along with this file. If not, see <http://www.gnu.org/licenses/>. 15# along with this file. If not, see <https://www.gnu.org/licenses/>.
16# 16#
17# As a special exception to the GNU General Public License, 17# As a special exception to the GNU General Public License,
18# this file may be distributed as part of a program that 18# this file may be distributed as part of a program that
@@ -37,50 +37,91 @@ AC_DEFUN([gl_EARLY],
37 m4_pattern_allow([^gl_ES$])dnl a valid locale name 37 m4_pattern_allow([^gl_ES$])dnl a valid locale name
38 m4_pattern_allow([^gl_LIBOBJS$])dnl a variable 38 m4_pattern_allow([^gl_LIBOBJS$])dnl a variable
39 m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable 39 m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable
40
41 # Pre-early section.
42 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
40 AC_REQUIRE([gl_PROG_AR_RANLIB]) 43 AC_REQUIRE([gl_PROG_AR_RANLIB])
41 AC_REQUIRE([AM_PROG_CC_C_O]) 44
45 # Code from module absolute-header:
42 # Code from module alloca-opt: 46 # Code from module alloca-opt:
43 # Code from module arpa_inet: 47 # Code from module arpa_inet:
48 # Code from module assert-h:
49 # Code from module attribute:
44 # Code from module base64: 50 # Code from module base64:
51 # Code from module basename-lgpl:
45 # Code from module btowc: 52 # Code from module btowc:
46 # Code from module configmake: 53 # Code from module builtin-expect:
47 # Code from module crypto/sha1: 54 # Code from module byteswap:
55 # Code from module c99:
56 # Code from module calloc-gnu:
57 # Code from module calloc-posix:
58 # Code from module cloexec:
59 # Code from module close:
60 # Code from module crypto/af_alg:
61 # Code from module crypto/sha256:
62 # Code from module crypto/sha256-buffer:
48 # Code from module dirname: 63 # Code from module dirname:
49 # Code from module dirname-lgpl: 64 # Code from module dirname-lgpl:
50 # Code from module dosname:
51 # Code from module double-slash-root: 65 # Code from module double-slash-root:
66 # Code from module dup2:
52 # Code from module environ: 67 # Code from module environ:
53 # Code from module errno: 68 # Code from module errno:
54 # Code from module error: 69 # Code from module error:
55 # Code from module exitfail: 70 # Code from module exitfail:
56 # Code from module extensions: 71 # Code from module extensions:
57 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
58 # Code from module extern-inline: 72 # Code from module extern-inline:
73 # Code from module fcntl:
74 # Code from module fcntl-h:
59 # Code from module fd-hook: 75 # Code from module fd-hook:
76 # Code from module fflush:
77 AC_REQUIRE([gl_SET_LARGEFILE_SOURCE])
78 # Code from module filename:
60 # Code from module float: 79 # Code from module float:
61 # Code from module floorf: 80 # Code from module floorf:
81 # Code from module fopen:
82 # Code from module fopen-gnu:
83 # Code from module fpurge:
84 # Code from module freading:
85 # Code from module free-posix:
86 # Code from module fseek:
87 # Code from module fseeko:
88 AC_REQUIRE([gl_SET_LARGEFILE_SOURCE])
89 # Code from module fstat:
62 # Code from module fsusage: 90 # Code from module fsusage:
63 # Code from module full-read: 91 # Code from module ftell:
92 # Code from module ftello:
93 AC_REQUIRE([gl_SET_LARGEFILE_SOURCE])
94 # Code from module gen-header:
64 # Code from module getaddrinfo: 95 # Code from module getaddrinfo:
96 # Code from module getdelim:
97 # Code from module getdtablesize:
65 # Code from module gethostname: 98 # Code from module gethostname:
99 # Code from module getline:
66 # Code from module getloadavg: 100 # Code from module getloadavg:
67 # Code from module getopt-gnu: 101 # Code from module getopt-gnu:
68 # Code from module getopt-posix: 102 # Code from module getopt-posix:
69 # Code from module gettext: 103 # Code from module getprogname:
70 # Code from module gettext-h: 104 # Code from module gettext-h:
71 # Code from module havelib: 105 # Code from module glibc-internal/dynarray:
106 # Code from module hard-locale:
72 # Code from module hostent: 107 # Code from module hostent:
108 # Code from module ialloc:
73 # Code from module idpriv-droptemp: 109 # Code from module idpriv-droptemp:
110 # Code from module idx:
74 # Code from module include_next: 111 # Code from module include_next:
75 # Code from module inet_ntop: 112 # Code from module inet_ntop:
76 # Code from module intprops: 113 # Code from module intprops:
114 # Code from module inttypes-incomplete:
77 # Code from module langinfo: 115 # Code from module langinfo:
78 # Code from module largefile: 116 # Code from module largefile:
79 AC_REQUIRE([AC_SYS_LARGEFILE]) 117 AC_REQUIRE([AC_SYS_LARGEFILE])
118 # Code from module libc-config:
119 # Code from module limits-h:
80 # Code from module localcharset: 120 # Code from module localcharset:
81 # Code from module locale: 121 # Code from module locale:
82 # Code from module localeconv: 122 # Code from module localeconv:
83 # Code from module lock: 123 # Code from module lock:
124 # Code from module lseek:
84 # Code from module malloc-gnu: 125 # Code from module malloc-gnu:
85 # Code from module malloc-posix: 126 # Code from module malloc-posix:
86 # Code from module malloca: 127 # Code from module malloca:
@@ -89,6 +130,7 @@ AC_DEFUN([gl_EARLY],
89 # Code from module mbsinit: 130 # Code from module mbsinit:
90 # Code from module mbtowc: 131 # Code from module mbtowc:
91 # Code from module memchr: 132 # Code from module memchr:
133 # Code from module minmax:
92 # Code from module mktime: 134 # Code from module mktime:
93 # Code from module mktime-internal: 135 # Code from module mktime-internal:
94 # Code from module mountlist: 136 # Code from module mountlist:
@@ -99,11 +141,15 @@ AC_DEFUN([gl_EARLY],
99 # Code from module netinet_in: 141 # Code from module netinet_in:
100 # Code from module nl_langinfo: 142 # Code from module nl_langinfo:
101 # Code from module nocrash: 143 # Code from module nocrash:
102 # Code from module read: 144 # Code from module open:
145 # Code from module pathmax:
146 # Code from module realloc-gnu:
147 # Code from module realloc-posix:
148 # Code from module reallocarray:
103 # Code from module regex: 149 # Code from module regex:
104 # Code from module safe-read:
105 # Code from module servent: 150 # Code from module servent:
106 # Code from module setenv: 151 # Code from module setenv:
152 # Code from module setlocale-null:
107 # Code from module size_max: 153 # Code from module size_max:
108 # Code from module snippet/_Noreturn: 154 # Code from module snippet/_Noreturn:
109 # Code from module snippet/arg-nonnull: 155 # Code from module snippet/arg-nonnull:
@@ -114,8 +160,12 @@ AC_DEFUN([gl_EARLY],
114 # Code from module sockets: 160 # Code from module sockets:
115 # Code from module socklen: 161 # Code from module socklen:
116 # Code from module ssize_t: 162 # Code from module ssize_t:
163 # Code from module stat:
164 # Code from module stat-time:
165 # Code from module std-gnu11:
117 # Code from module stdalign: 166 # Code from module stdalign:
118 # Code from module stdbool: 167 # Code from module stdbool:
168 # Code from module stdckdint:
119 # Code from module stddef: 169 # Code from module stddef:
120 # Code from module stdint: 170 # Code from module stdint:
121 # Code from module stdio: 171 # Code from module stdio:
@@ -128,11 +178,10 @@ AC_DEFUN([gl_EARLY],
128 # Code from module strerror-override: 178 # Code from module strerror-override:
129 # Code from module string: 179 # Code from module string:
130 # Code from module strings: 180 # Code from module strings:
131 # Code from module strndup:
132 # Code from module strnlen:
133 # Code from module strsep: 181 # Code from module strsep:
134 # Code from module strstr-simple: 182 # Code from module strstr-simple:
135 # Code from module sys_socket: 183 # Code from module sys_socket:
184 # Code from module sys_stat:
136 # Code from module sys_types: 185 # Code from module sys_types:
137 # Code from module sys_uio: 186 # Code from module sys_uio:
138 # Code from module threadlib: 187 # Code from module threadlib:
@@ -141,7 +190,9 @@ AC_DEFUN([gl_EARLY],
141 # Code from module time_r: 190 # Code from module time_r:
142 # Code from module timegm: 191 # Code from module timegm:
143 # Code from module unistd: 192 # Code from module unistd:
193 # Code from module unlocked-io-internal:
144 # Code from module unsetenv: 194 # Code from module unsetenv:
195 # Code from module vararrays:
145 # Code from module vasnprintf: 196 # Code from module vasnprintf:
146 # Code from module vasprintf: 197 # Code from module vasprintf:
147 # Code from module verify: 198 # Code from module verify:
@@ -149,11 +200,14 @@ AC_DEFUN([gl_EARLY],
149 # Code from module wchar: 200 # Code from module wchar:
150 # Code from module wcrtomb: 201 # Code from module wcrtomb:
151 # Code from module wctype-h: 202 # Code from module wctype-h:
203 # Code from module windows-mutex:
204 # Code from module windows-once:
205 # Code from module windows-recmutex:
206 # Code from module windows-rwlock:
152 # Code from module xalloc: 207 # Code from module xalloc:
153 # Code from module xalloc-die: 208 # Code from module xalloc-die:
154 # Code from module xalloc-oversized: 209 # Code from module xalloc-oversized:
155 # Code from module xsize: 210 # Code from module xsize:
156 # Code from module xstrndup:
157]) 211])
158 212
159# This macro should be invoked from ./configure.ac, in the section 213# This macro should be invoked from ./configure.ac, in the section
@@ -170,154 +224,300 @@ AC_DEFUN([gl_INIT],
170 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES])) 224 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
171 m4_pushdef([gl_LIBSOURCES_LIST], []) 225 m4_pushdef([gl_LIBSOURCES_LIST], [])
172 m4_pushdef([gl_LIBSOURCES_DIR], []) 226 m4_pushdef([gl_LIBSOURCES_DIR], [])
227 m4_pushdef([GL_MACRO_PREFIX], [gl])
228 m4_pushdef([GL_MODULE_INDICATOR_PREFIX], [GL])
173 gl_COMMON 229 gl_COMMON
174 gl_source_base='gl' 230 gl_source_base='gl'
231 gl_source_base_prefix=
175 gl_FUNC_ALLOCA 232 gl_FUNC_ALLOCA
176 gl_HEADER_ARPA_INET 233 gl_CONDITIONAL_HEADER([alloca.h])
234 AC_PROG_MKDIR_P
235 gl_ARPA_INET_H
236 gl_ARPA_INET_H_REQUIRE_DEFAULTS
237 AC_PROG_MKDIR_P
238 gl_ASSERT_H
239 gl_CONDITIONAL_HEADER([assert.h])
177 AC_PROG_MKDIR_P 240 AC_PROG_MKDIR_P
178 gl_FUNC_BASE64 241 gl_FUNC_BASE64
179 gl_FUNC_BTOWC 242 gl_FUNC_BTOWC
180 if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then 243 gl_CONDITIONAL([GL_COND_OBJ_BTOWC],
181 AC_LIBOBJ([btowc]) 244 [test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1])
245 AM_COND_IF([GL_COND_OBJ_BTOWC], [
182 gl_PREREQ_BTOWC 246 gl_PREREQ_BTOWC
183 fi 247 ])
184 gl_WCHAR_MODULE_INDICATOR([btowc]) 248 gl_WCHAR_MODULE_INDICATOR([btowc])
185 gl_CONFIGMAKE_PREP 249 gl___BUILTIN_EXPECT
186 gl_SHA1 250 gl_BYTESWAP
187 gl_DIRNAME 251 gl_CONDITIONAL_HEADER([byteswap.h])
252 AC_PROG_MKDIR_P
253 gl_FUNC_CALLOC_GNU
254 if test $REPLACE_CALLOC_FOR_CALLOC_GNU = 1; then
255 AC_LIBOBJ([calloc])
256 fi
257 gl_STDLIB_MODULE_INDICATOR([calloc-gnu])
258 gl_FUNC_CALLOC_POSIX
259 if test $REPLACE_CALLOC_FOR_CALLOC_POSIX = 1; then
260 AC_LIBOBJ([calloc])
261 fi
262 gl_STDLIB_MODULE_INDICATOR([calloc-posix])
263 gl_MODULE_INDICATOR_FOR_TESTS([cloexec])
264 gl_FUNC_CLOSE
265 gl_CONDITIONAL([GL_COND_OBJ_CLOSE], [test $REPLACE_CLOSE = 1])
266 gl_UNISTD_MODULE_INDICATOR([close])
267 gl_AF_ALG
268 AC_REQUIRE([AC_C_RESTRICT])
269 gl_SHA256
188 gl_MODULE_INDICATOR([dirname]) 270 gl_MODULE_INDICATOR([dirname])
189 gl_DIRNAME_LGPL
190 gl_DOUBLE_SLASH_ROOT 271 gl_DOUBLE_SLASH_ROOT
272 gl_FUNC_DUP2
273 gl_CONDITIONAL([GL_COND_OBJ_DUP2], [test $REPLACE_DUP2 = 1])
274 AM_COND_IF([GL_COND_OBJ_DUP2], [
275 gl_PREREQ_DUP2
276 ])
277 gl_UNISTD_MODULE_INDICATOR([dup2])
191 gl_ENVIRON 278 gl_ENVIRON
192 gl_UNISTD_MODULE_INDICATOR([environ]) 279 gl_UNISTD_MODULE_INDICATOR([environ])
193 gl_HEADER_ERRNO_H 280 gl_HEADER_ERRNO_H
281 gl_CONDITIONAL_HEADER([errno.h])
282 AC_PROG_MKDIR_P
194 gl_ERROR 283 gl_ERROR
195 if test $ac_cv_lib_error_at_line = no; then 284 gl_CONDITIONAL([GL_COND_OBJ_ERROR], [test "$ac_cv_lib_error_at_line" = no])
196 AC_LIBOBJ([error]) 285 AM_COND_IF([GL_COND_OBJ_ERROR], [
197 gl_PREREQ_ERROR 286 gl_PREREQ_ERROR
198 fi 287 ])
199 m4_ifdef([AM_XGETTEXT_OPTION], 288 m4_ifdef([AM_XGETTEXT_OPTION],
200 [AM_][XGETTEXT_OPTION([--flag=error:3:c-format]) 289 [AM_][XGETTEXT_OPTION([--flag=error:3:c-format])
201 AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])]) 290 AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])])
202 AC_REQUIRE([gl_EXTERN_INLINE]) 291 AC_REQUIRE([gl_EXTERN_INLINE])
292 gl_FUNC_FCNTL
293 gl_CONDITIONAL([GL_COND_OBJ_FCNTL],
294 [test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1])
295 gl_FCNTL_MODULE_INDICATOR([fcntl])
296 gl_FCNTL_H
297 gl_FCNTL_H_REQUIRE_DEFAULTS
298 AC_PROG_MKDIR_P
299 gl_FUNC_FFLUSH
300 gl_CONDITIONAL([GL_COND_OBJ_FFLUSH], [test $REPLACE_FFLUSH = 1])
301 AM_COND_IF([GL_COND_OBJ_FFLUSH], [
302 gl_PREREQ_FFLUSH
303 ])
304 gl_MODULE_INDICATOR([fflush])
305 gl_STDIO_MODULE_INDICATOR([fflush])
203 gl_FLOAT_H 306 gl_FLOAT_H
204 if test $REPLACE_FLOAT_LDBL = 1; then 307 gl_CONDITIONAL_HEADER([float.h])
205 AC_LIBOBJ([float]) 308 AC_PROG_MKDIR_P
206 fi 309 gl_CONDITIONAL([GL_COND_OBJ_FLOAT], [test $REPLACE_FLOAT_LDBL = 1])
207 if test $REPLACE_ITOLD = 1; then 310 gl_CONDITIONAL([GL_COND_OBJ_ITOLD], [test $REPLACE_ITOLD = 1])
208 AC_LIBOBJ([itold])
209 fi
210 gl_FUNC_FLOORF 311 gl_FUNC_FLOORF
211 if test $HAVE_DECL_FLOORF = 0 || test $REPLACE_FLOORF = 1; then 312 gl_CONDITIONAL([GL_COND_OBJ_FLOORF],
212 AC_LIBOBJ([floorf]) 313 [test $HAVE_DECL_FLOORF = 0 || test $REPLACE_FLOORF = 1])
213 fi
214 gl_MATH_MODULE_INDICATOR([floorf]) 314 gl_MATH_MODULE_INDICATOR([floorf])
315 gl_FUNC_FOPEN
316 if test $REPLACE_FOPEN = 1; then
317 AC_LIBOBJ([fopen])
318 gl_PREREQ_FOPEN
319 fi
320 gl_STDIO_MODULE_INDICATOR([fopen])
321 gl_FUNC_FOPEN_GNU
322 if test $REPLACE_FOPEN_FOR_FOPEN_GNU = 1; then
323 AC_LIBOBJ([fopen])
324 gl_PREREQ_FOPEN
325 fi
326 gl_MODULE_INDICATOR([fopen-gnu])
327 gl_STDIO_MODULE_INDICATOR([fopen-gnu])
328 gl_FUNC_FPURGE
329 gl_CONDITIONAL([GL_COND_OBJ_FPURGE],
330 [test $HAVE_FPURGE = 0 || test $REPLACE_FPURGE = 1])
331 gl_STDIO_MODULE_INDICATOR([fpurge])
332 gl_FUNC_FREADING
333 gl_FUNC_FREE
334 gl_CONDITIONAL([GL_COND_OBJ_FREE], [test $REPLACE_FREE = 1])
335 AM_COND_IF([GL_COND_OBJ_FREE], [
336 gl_PREREQ_FREE
337 ])
338 gl_STDLIB_MODULE_INDICATOR([free-posix])
339 gl_FUNC_FSEEK
340 gl_CONDITIONAL([GL_COND_OBJ_FSEEK], [test $REPLACE_FSEEK = 1])
341 gl_STDIO_MODULE_INDICATOR([fseek])
342 gl_FUNC_FSEEKO
343 gl_CONDITIONAL([GL_COND_OBJ_FSEEKO],
344 [test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1])
345 AM_COND_IF([GL_COND_OBJ_FSEEKO], [
346 gl_PREREQ_FSEEKO
347 ])
348 gl_STDIO_MODULE_INDICATOR([fseeko])
349 gl_FUNC_FSTAT
350 gl_CONDITIONAL([GL_COND_OBJ_FSTAT], [test $REPLACE_FSTAT = 1])
351 AM_COND_IF([GL_COND_OBJ_FSTAT], [
352 case "$host_os" in
353 mingw*)
354 AC_LIBOBJ([stat-w32])
355 ;;
356 esac
357 gl_PREREQ_FSTAT
358 ])
359 gl_SYS_STAT_MODULE_INDICATOR([fstat])
215 gl_FSUSAGE 360 gl_FSUSAGE
216 if test $gl_cv_fs_space = yes; then 361 gl_CONDITIONAL([GL_COND_OBJ_FSUSAGE], [test $gl_cv_fs_space = yes])
217 AC_LIBOBJ([fsusage]) 362 AM_COND_IF([GL_COND_OBJ_FSUSAGE], [
218 gl_PREREQ_FSUSAGE_EXTRA 363 gl_PREREQ_FSUSAGE_EXTRA
219 fi 364 ])
365 gl_FUNC_FTELL
366 gl_CONDITIONAL([GL_COND_OBJ_FTELL], [test $REPLACE_FTELL = 1])
367 gl_STDIO_MODULE_INDICATOR([ftell])
368 gl_FUNC_FTELLO
369 gl_CONDITIONAL([GL_COND_OBJ_FTELLO],
370 [test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1])
371 AM_COND_IF([GL_COND_OBJ_FTELLO], [
372 gl_PREREQ_FTELLO
373 ])
374 gl_STDIO_MODULE_INDICATOR([ftello])
220 gl_GETADDRINFO 375 gl_GETADDRINFO
221 if test $HAVE_GETADDRINFO = 0; then 376 gl_CONDITIONAL([GL_COND_OBJ_GETADDRINFO],
222 AC_LIBOBJ([getaddrinfo]) 377 [test $HAVE_GETADDRINFO = 0 || test $REPLACE_GETADDRINFO = 1])
223 fi 378 gl_CONDITIONAL([GL_COND_OBJ_GAI_STRERROR],
224 if test $HAVE_DECL_GAI_STRERROR = 0 || test $REPLACE_GAI_STRERROR = 1; then 379 [test $HAVE_DECL_GAI_STRERROR = 0 || test $REPLACE_GAI_STRERROR = 1])
225 AC_LIBOBJ([gai_strerror])
226 fi
227 gl_NETDB_MODULE_INDICATOR([getaddrinfo]) 380 gl_NETDB_MODULE_INDICATOR([getaddrinfo])
381 gl_FUNC_GETDELIM
382 gl_CONDITIONAL([GL_COND_OBJ_GETDELIM],
383 [test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1])
384 AM_COND_IF([GL_COND_OBJ_GETDELIM], [
385 gl_PREREQ_GETDELIM
386 ])
387 gl_STDIO_MODULE_INDICATOR([getdelim])
388 gl_FUNC_GETDTABLESIZE
389 gl_CONDITIONAL([GL_COND_OBJ_GETDTABLESIZE],
390 [test $HAVE_GETDTABLESIZE = 0 || test $REPLACE_GETDTABLESIZE = 1])
391 AM_COND_IF([GL_COND_OBJ_GETDTABLESIZE], [
392 gl_PREREQ_GETDTABLESIZE
393 ])
394 gl_UNISTD_MODULE_INDICATOR([getdtablesize])
228 gl_FUNC_GETHOSTNAME 395 gl_FUNC_GETHOSTNAME
229 if test $HAVE_GETHOSTNAME = 0; then 396 gl_CONDITIONAL([GL_COND_OBJ_GETHOSTNAME], [test $HAVE_GETHOSTNAME = 0])
230 AC_LIBOBJ([gethostname]) 397 AM_COND_IF([GL_COND_OBJ_GETHOSTNAME], [
231 gl_PREREQ_GETHOSTNAME 398 gl_PREREQ_GETHOSTNAME
232 fi 399 ])
233 gl_UNISTD_MODULE_INDICATOR([gethostname]) 400 gl_UNISTD_MODULE_INDICATOR([gethostname])
401 gl_FUNC_GETLINE
402 gl_CONDITIONAL([GL_COND_OBJ_GETLINE], [test $REPLACE_GETLINE = 1])
403 AM_COND_IF([GL_COND_OBJ_GETLINE], [
404 gl_PREREQ_GETLINE
405 ])
406 gl_STDIO_MODULE_INDICATOR([getline])
407 AC_REQUIRE([AC_CANONICAL_HOST])
234 gl_GETLOADAVG 408 gl_GETLOADAVG
235 if test $HAVE_GETLOADAVG = 0; then 409 gl_CONDITIONAL([GL_COND_OBJ_GETLOADAVG], [test $HAVE_GETLOADAVG = 0])
236 AC_LIBOBJ([getloadavg]) 410 AM_COND_IF([GL_COND_OBJ_GETLOADAVG], [
237 gl_PREREQ_GETLOADAVG 411 gl_PREREQ_GETLOADAVG
238 fi 412 ])
239 gl_STDLIB_MODULE_INDICATOR([getloadavg]) 413 gl_STDLIB_MODULE_INDICATOR([getloadavg])
240 gl_FUNC_GETOPT_GNU 414 gl_FUNC_GETOPT_GNU
241 if test $REPLACE_GETOPT = 1; then 415 dnl Because of the way gl_FUNC_GETOPT_GNU is implemented (the gl_getopt_required
242 AC_LIBOBJ([getopt]) 416 dnl mechanism), there is no need to do any AC_LIBOBJ or AC_SUBST here; they are
243 AC_LIBOBJ([getopt1]) 417 dnl done in the getopt-posix module.
244 gl_PREREQ_GETOPT
245 dnl Arrange for unistd.h to include getopt.h.
246 GNULIB_GL_UNISTD_H_GETOPT=1
247 fi
248 AC_SUBST([GNULIB_GL_UNISTD_H_GETOPT])
249 gl_MODULE_INDICATOR_FOR_TESTS([getopt-gnu])
250 gl_FUNC_GETOPT_POSIX 418 gl_FUNC_GETOPT_POSIX
251 if test $REPLACE_GETOPT = 1; then 419 gl_CONDITIONAL_HEADER([getopt.h])
252 AC_LIBOBJ([getopt]) 420 gl_CONDITIONAL_HEADER([getopt-cdefs.h])
253 AC_LIBOBJ([getopt1]) 421 AC_PROG_MKDIR_P
254 gl_PREREQ_GETOPT 422 gl_CONDITIONAL([GL_COND_OBJ_GETOPT], [test $REPLACE_GETOPT = 1])
255 dnl Arrange for unistd.h to include getopt.h. 423 AM_COND_IF([GL_COND_OBJ_GETOPT], [
256 GNULIB_GL_UNISTD_H_GETOPT=1 424 dnl Define the substituted variable GNULIB_UNISTD_H_GETOPT to 1.
257 fi 425 gl_UNISTD_H_REQUIRE_DEFAULTS
258 AC_SUBST([GNULIB_GL_UNISTD_H_GETOPT]) 426 gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNISTD_H_GETOPT], [1])
259 dnl you must add AM_GNU_GETTEXT([external]) or similar to configure.ac. 427 ])
260 AM_GNU_GETTEXT_VERSION([0.18.1]) 428 gl_UNISTD_MODULE_INDICATOR([getopt-posix])
429 gl_FUNC_GETPROGNAME
261 AC_SUBST([LIBINTL]) 430 AC_SUBST([LIBINTL])
262 AC_SUBST([LTLIBINTL]) 431 AC_SUBST([LTLIBINTL])
432 AC_PROG_MKDIR_P
433 AC_REQUIRE([gl_FUNC_SETLOCALE_NULL])
434 LIB_HARD_LOCALE="$LIB_SETLOCALE_NULL"
435 AC_SUBST([LIB_HARD_LOCALE])
263 gl_HOSTENT 436 gl_HOSTENT
264 gl_IDPRIV 437 gl_IDPRIV
265 gl_FUNC_INET_NTOP 438 gl_FUNC_INET_NTOP
266 if test $HAVE_INET_NTOP = 0 || test $REPLACE_INET_NTOP = 1; then 439 gl_CONDITIONAL([GL_COND_OBJ_INET_NTOP],
267 AC_LIBOBJ([inet_ntop]) 440 [test $HAVE_INET_NTOP = 0 || test $REPLACE_INET_NTOP = 1])
441 AM_COND_IF([GL_COND_OBJ_INET_NTOP], [
268 gl_PREREQ_INET_NTOP 442 gl_PREREQ_INET_NTOP
269 fi 443 ])
270 gl_ARPA_INET_MODULE_INDICATOR([inet_ntop]) 444 gl_ARPA_INET_MODULE_INDICATOR([inet_ntop])
445 gl_INTTYPES_INCOMPLETE
446 gl_INTTYPES_H_REQUIRE_DEFAULTS
447 AC_PROG_MKDIR_P
271 gl_LANGINFO_H 448 gl_LANGINFO_H
449 gl_LANGINFO_H_REQUIRE_DEFAULTS
450 AC_PROG_MKDIR_P
272 AC_REQUIRE([gl_LARGEFILE]) 451 AC_REQUIRE([gl_LARGEFILE])
452 gl___INLINE
453 gl_LIMITS_H
454 gl_CONDITIONAL_HEADER([limits.h])
455 AC_PROG_MKDIR_P
273 gl_LOCALCHARSET 456 gl_LOCALCHARSET
274 LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(abs_top_builddir)/$gl_source_base\"" 457 dnl For backward compatibility. Some packages still use this.
458 LOCALCHARSET_TESTS_ENVIRONMENT=
275 AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT]) 459 AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
276 gl_LOCALE_H 460 gl_LOCALE_H
461 gl_LOCALE_H_REQUIRE_DEFAULTS
462 AC_PROG_MKDIR_P
277 gl_FUNC_LOCALECONV 463 gl_FUNC_LOCALECONV
278 if test $REPLACE_LOCALECONV = 1; then 464 gl_CONDITIONAL([GL_COND_OBJ_LOCALECONV], [test $REPLACE_LOCALECONV = 1])
279 AC_LIBOBJ([localeconv]) 465 AM_COND_IF([GL_COND_OBJ_LOCALECONV], [
280 gl_PREREQ_LOCALECONV 466 gl_PREREQ_LOCALECONV
281 fi 467 ])
282 gl_LOCALE_MODULE_INDICATOR([localeconv]) 468 gl_LOCALE_MODULE_INDICATOR([localeconv])
283 gl_LOCK 469 gl_LOCK
284 gl_MODULE_INDICATOR([lock]) 470 gl_MODULE_INDICATOR([lock])
471 gl_FUNC_LSEEK
472 gl_CONDITIONAL([GL_COND_OBJ_LSEEK], [test $REPLACE_LSEEK = 1])
473 gl_UNISTD_MODULE_INDICATOR([lseek])
285 gl_FUNC_MALLOC_GNU 474 gl_FUNC_MALLOC_GNU
286 if test $REPLACE_MALLOC = 1; then 475 if test $REPLACE_MALLOC_FOR_MALLOC_GNU = 1; then
287 AC_LIBOBJ([malloc]) 476 AC_LIBOBJ([malloc])
288 fi 477 fi
289 gl_MODULE_INDICATOR([malloc-gnu]) 478 gl_STDLIB_MODULE_INDICATOR([malloc-gnu])
290 gl_FUNC_MALLOC_POSIX 479 AC_REQUIRE([gl_FUNC_MALLOC_POSIX])
291 if test $REPLACE_MALLOC = 1; then 480 if test $REPLACE_MALLOC_FOR_MALLOC_POSIX = 1; then
292 AC_LIBOBJ([malloc]) 481 AC_LIBOBJ([malloc])
293 fi 482 fi
294 gl_STDLIB_MODULE_INDICATOR([malloc-posix]) 483 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
295 gl_MALLOCA 484 gl_MALLOCA
296 gl_MATH_H 485 gl_MATH_H
486 gl_MATH_H_REQUIRE_DEFAULTS
487 AC_PROG_MKDIR_P
297 gl_FUNC_MBRTOWC 488 gl_FUNC_MBRTOWC
298 if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then 489 gl_CONDITIONAL([GL_COND_OBJ_MBRTOWC],
299 AC_LIBOBJ([mbrtowc]) 490 [test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1])
491 AM_COND_IF([GL_COND_OBJ_MBRTOWC], [
492 if test $REPLACE_MBSTATE_T = 1; then
493 AC_LIBOBJ([lc-charset-dispatch])
494 AC_LIBOBJ([mbtowc-lock])
495 gl_PREREQ_MBTOWC_LOCK
496 fi
300 gl_PREREQ_MBRTOWC 497 gl_PREREQ_MBRTOWC
301 fi 498 ])
302 gl_WCHAR_MODULE_INDICATOR([mbrtowc]) 499 gl_WCHAR_MODULE_INDICATOR([mbrtowc])
303 gl_FUNC_MBSINIT 500 gl_FUNC_MBSINIT
304 if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then 501 gl_CONDITIONAL([GL_COND_OBJ_MBSINIT],
305 AC_LIBOBJ([mbsinit]) 502 [test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1])
503 AM_COND_IF([GL_COND_OBJ_MBSINIT], [
306 gl_PREREQ_MBSINIT 504 gl_PREREQ_MBSINIT
307 fi 505 ])
308 gl_WCHAR_MODULE_INDICATOR([mbsinit]) 506 gl_WCHAR_MODULE_INDICATOR([mbsinit])
309 gl_FUNC_MBTOWC 507 gl_FUNC_MBTOWC
310 if test $REPLACE_MBTOWC = 1; then 508 gl_CONDITIONAL([GL_COND_OBJ_MBTOWC],
311 AC_LIBOBJ([mbtowc]) 509 [test $HAVE_MBTOWC = 0 || test $REPLACE_MBTOWC = 1])
510 AM_COND_IF([GL_COND_OBJ_MBTOWC], [
312 gl_PREREQ_MBTOWC 511 gl_PREREQ_MBTOWC
313 fi 512 ])
314 gl_STDLIB_MODULE_INDICATOR([mbtowc]) 513 gl_STDLIB_MODULE_INDICATOR([mbtowc])
315 gl_FUNC_MEMCHR 514 gl_FUNC_MEMCHR
316 if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then 515 gl_CONDITIONAL([GL_COND_OBJ_MEMCHR], [test $REPLACE_MEMCHR = 1])
317 AC_LIBOBJ([memchr]) 516 AM_COND_IF([GL_COND_OBJ_MEMCHR], [
318 gl_PREREQ_MEMCHR 517 gl_PREREQ_MEMCHR
319 fi 518 ])
320 gl_STRING_MODULE_INDICATOR([memchr]) 519 gl_STRING_MODULE_INDICATOR([memchr])
520 gl_MINMAX
321 gl_FUNC_MKTIME 521 gl_FUNC_MKTIME
322 if test $REPLACE_MKTIME = 1; then 522 if test $REPLACE_MKTIME = 1; then
323 AC_LIBOBJ([mktime]) 523 AC_LIBOBJ([mktime])
@@ -325,73 +525,162 @@ AC_DEFUN([gl_INIT],
325 fi 525 fi
326 gl_TIME_MODULE_INDICATOR([mktime]) 526 gl_TIME_MODULE_INDICATOR([mktime])
327 gl_FUNC_MKTIME_INTERNAL 527 gl_FUNC_MKTIME_INTERNAL
328 if test $REPLACE_MKTIME = 1; then 528 if test $WANT_MKTIME_INTERNAL = 1; then
329 AC_LIBOBJ([mktime]) 529 AC_LIBOBJ([mktime])
330 gl_PREREQ_MKTIME 530 gl_PREREQ_MKTIME
331 fi 531 fi
332 gl_MOUNTLIST 532 gl_MOUNTLIST
333 if test $gl_cv_list_mounted_fs = yes; then 533 gl_CONDITIONAL([GL_COND_OBJ_MOUNTLIST], [test $gl_cv_list_mounted_fs = yes])
334 AC_LIBOBJ([mountlist]) 534 AM_COND_IF([GL_COND_OBJ_MOUNTLIST], [
335 gl_PREREQ_MOUNTLIST_EXTRA 535 gl_PREREQ_MOUNTLIST_EXTRA
336 fi 536 ])
337 gl_MSVC_INVAL 537 AC_REQUIRE([gl_MSVC_INVAL])
338 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then 538 gl_CONDITIONAL([GL_COND_OBJ_MSVC_INVAL],
339 AC_LIBOBJ([msvc-inval]) 539 [test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1])
340 fi 540 AC_REQUIRE([gl_MSVC_NOTHROW])
341 gl_MSVC_NOTHROW 541 gl_CONDITIONAL([GL_COND_OBJ_MSVC_NOTHROW],
342 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then 542 [test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1])
343 AC_LIBOBJ([msvc-nothrow]) 543 gl_MODULE_INDICATOR([msvc-nothrow])
344 fi
345 gl_MULTIARCH 544 gl_MULTIARCH
346 gl_HEADER_NETDB 545 gl_NETDB_H
546 gl_NETDB_H_REQUIRE_DEFAULTS
547 AC_PROG_MKDIR_P
347 gl_HEADER_NETINET_IN 548 gl_HEADER_NETINET_IN
549 gl_CONDITIONAL_HEADER([netinet/in.h])
348 AC_PROG_MKDIR_P 550 AC_PROG_MKDIR_P
349 gl_FUNC_NL_LANGINFO 551 gl_FUNC_NL_LANGINFO
350 if test $HAVE_NL_LANGINFO = 0 || test $REPLACE_NL_LANGINFO = 1; then 552 gl_CONDITIONAL([GL_COND_OBJ_NL_LANGINFO],
351 AC_LIBOBJ([nl_langinfo]) 553 [test $HAVE_NL_LANGINFO = 0 || test $REPLACE_NL_LANGINFO = 1])
554 gl_CONDITIONAL([GL_COND_OBJ_NL_LANGINFO_LOCK],
555 [test $REPLACE_NL_LANGINFO = 1 && test $NL_LANGINFO_MTSAFE = 0])
556 if test $REPLACE_NL_LANGINFO = 1 && test $NL_LANGINFO_MTSAFE = 0; then
557 gl_PREREQ_NL_LANGINFO_LOCK
352 fi 558 fi
353 gl_LANGINFO_MODULE_INDICATOR([nl_langinfo]) 559 gl_LANGINFO_MODULE_INDICATOR([nl_langinfo])
354 gl_FUNC_READ 560 gl_FUNC_OPEN
355 if test $REPLACE_READ = 1; then 561 gl_CONDITIONAL([GL_COND_OBJ_OPEN], [test $REPLACE_OPEN = 1])
356 AC_LIBOBJ([read]) 562 AM_COND_IF([GL_COND_OBJ_OPEN], [
357 gl_PREREQ_READ 563 gl_PREREQ_OPEN
564 ])
565 gl_FCNTL_MODULE_INDICATOR([open])
566 gl_PATHMAX
567 gl_FUNC_REALLOC_GNU
568 if test $REPLACE_REALLOC_FOR_REALLOC_GNU = 1; then
569 AC_LIBOBJ([realloc])
570 fi
571 gl_STDLIB_MODULE_INDICATOR([realloc-gnu])
572 gl_FUNC_REALLOC_POSIX
573 if test $REPLACE_REALLOC_FOR_REALLOC_POSIX = 1; then
574 AC_LIBOBJ([realloc])
358 fi 575 fi
359 gl_UNISTD_MODULE_INDICATOR([read]) 576 gl_STDLIB_MODULE_INDICATOR([realloc-posix])
577 gl_FUNC_REALLOCARRAY
578 gl_CONDITIONAL([GL_COND_OBJ_REALLOCARRAY],
579 [test $HAVE_REALLOCARRAY = 0 || test $REPLACE_REALLOCARRAY = 1])
580 AM_COND_IF([GL_COND_OBJ_REALLOCARRAY], [
581 gl_PREREQ_REALLOCARRAY
582 ])
583 gl_MODULE_INDICATOR([reallocarray])
584 gl_STDLIB_MODULE_INDICATOR([reallocarray])
360 gl_REGEX 585 gl_REGEX
361 if test $ac_use_included_regex = yes; then 586 gl_CONDITIONAL([GL_COND_OBJ_REGEX], [test $ac_use_included_regex = yes])
362 AC_LIBOBJ([regex]) 587 AM_COND_IF([GL_COND_OBJ_REGEX], [
363 gl_PREREQ_REGEX 588 gl_PREREQ_REGEX
364 fi 589 ])
365 gl_PREREQ_SAFE_READ
366 gl_SERVENT 590 gl_SERVENT
367 gl_FUNC_SETENV 591 gl_FUNC_SETENV
368 if test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1; then 592 gl_CONDITIONAL([GL_COND_OBJ_SETENV],
369 AC_LIBOBJ([setenv]) 593 [test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1])
370 fi
371 gl_STDLIB_MODULE_INDICATOR([setenv]) 594 gl_STDLIB_MODULE_INDICATOR([setenv])
595 gl_FUNC_SETLOCALE_NULL
596 gl_CONDITIONAL([GL_COND_OBJ_SETLOCALE_LOCK],
597 [test $SETLOCALE_NULL_ALL_MTSAFE = 0 || test $SETLOCALE_NULL_ONE_MTSAFE = 0])
598 AM_COND_IF([GL_COND_OBJ_SETLOCALE_LOCK], [
599 gl_PREREQ_SETLOCALE_LOCK
600 ])
601 gl_LOCALE_MODULE_INDICATOR([setlocale_null])
372 gl_SIZE_MAX 602 gl_SIZE_MAX
373 gl_FUNC_SNPRINTF 603 gl_FUNC_SNPRINTF
374 gl_STDIO_MODULE_INDICATOR([snprintf]) 604 gl_STDIO_MODULE_INDICATOR([snprintf])
375 gl_MODULE_INDICATOR([snprintf]) 605 gl_MODULE_INDICATOR([snprintf])
376 gl_SOCKETLIB 606 AC_REQUIRE([gl_SOCKETLIB])
377 gl_SOCKETS 607 AC_REQUIRE([gl_SOCKETS])
378 gl_TYPE_SOCKLEN_T 608 gl_TYPE_SOCKLEN_T
379 gt_TYPE_SSIZE_T 609 gt_TYPE_SSIZE_T
610 gl_FUNC_STAT
611 gl_CONDITIONAL([GL_COND_OBJ_STAT], [test $REPLACE_STAT = 1])
612 AM_COND_IF([GL_COND_OBJ_STAT], [
613 case "$host_os" in
614 mingw*)
615 AC_LIBOBJ([stat-w32])
616 ;;
617 esac
618 gl_PREREQ_STAT
619 ])
620 gl_SYS_STAT_MODULE_INDICATOR([stat])
621 gl_STAT_TIME
622 gl_STAT_BIRTHTIME
380 gl_STDALIGN_H 623 gl_STDALIGN_H
381 AM_STDBOOL_H 624 gl_CONDITIONAL_HEADER([stdalign.h])
625 AC_PROG_MKDIR_P
626 gl_C_BOOL
627 AC_CHECK_HEADERS_ONCE([stdckdint.h])
628 if test $ac_cv_header_stdckdint_h = yes; then
629 GL_GENERATE_STDCKDINT_H=false
630 else
631 GL_GENERATE_STDCKDINT_H=true
632 fi
633 gl_CONDITIONAL_HEADER([stdckdint.h])
634 AC_PROG_MKDIR_P
382 gl_STDDEF_H 635 gl_STDDEF_H
636 gl_STDDEF_H_REQUIRE_DEFAULTS
637 gl_CONDITIONAL_HEADER([stddef.h])
638 AC_PROG_MKDIR_P
383 gl_STDINT_H 639 gl_STDINT_H
640 gl_CONDITIONAL_HEADER([stdint.h])
641 dnl Because of gl_REPLACE_LIMITS_H:
642 gl_CONDITIONAL_HEADER([limits.h])
643 AC_PROG_MKDIR_P
384 gl_STDIO_H 644 gl_STDIO_H
645 gl_STDIO_H_REQUIRE_DEFAULTS
646 AC_PROG_MKDIR_P
647 gl_CONDITIONAL([GL_COND_OBJ_STDIO_READ], [test $REPLACE_STDIO_READ_FUNCS = 1])
648 gl_CONDITIONAL([GL_COND_OBJ_STDIO_WRITE], [test $REPLACE_STDIO_WRITE_FUNCS = 1])
649 dnl No need to create extra modules for these functions. Everyone who uses
650 dnl <stdio.h> likely needs them.
651 gl_STDIO_MODULE_INDICATOR([fscanf])
652 gl_MODULE_INDICATOR([fscanf])
653 gl_STDIO_MODULE_INDICATOR([scanf])
654 gl_MODULE_INDICATOR([scanf])
655 gl_STDIO_MODULE_INDICATOR([fgetc])
656 gl_STDIO_MODULE_INDICATOR([getc])
657 gl_STDIO_MODULE_INDICATOR([getchar])
658 gl_STDIO_MODULE_INDICATOR([fgets])
659 gl_STDIO_MODULE_INDICATOR([fread])
660 dnl No need to create extra modules for these functions. Everyone who uses
661 dnl <stdio.h> likely needs them.
662 gl_STDIO_MODULE_INDICATOR([fprintf])
663 gl_STDIO_MODULE_INDICATOR([printf])
664 gl_STDIO_MODULE_INDICATOR([vfprintf])
665 gl_STDIO_MODULE_INDICATOR([vprintf])
666 gl_STDIO_MODULE_INDICATOR([fputc])
667 gl_STDIO_MODULE_INDICATOR([putc])
668 gl_STDIO_MODULE_INDICATOR([putchar])
669 gl_STDIO_MODULE_INDICATOR([fputs])
670 gl_STDIO_MODULE_INDICATOR([puts])
671 gl_STDIO_MODULE_INDICATOR([fwrite])
385 gl_STDLIB_H 672 gl_STDLIB_H
673 gl_STDLIB_H_REQUIRE_DEFAULTS
674 AC_PROG_MKDIR_P
386 gl_STRCASE 675 gl_STRCASE
387 if test $HAVE_STRCASECMP = 0; then 676 gl_CONDITIONAL([GL_COND_OBJ_STRCASECMP], [test $HAVE_STRCASECMP = 0])
388 AC_LIBOBJ([strcasecmp]) 677 AM_COND_IF([GL_COND_OBJ_STRCASECMP], [
389 gl_PREREQ_STRCASECMP 678 gl_PREREQ_STRCASECMP
390 fi 679 ])
391 if test $HAVE_STRNCASECMP = 0; then 680 gl_CONDITIONAL([GL_COND_OBJ_STRNCASECMP], [test $HAVE_STRNCASECMP = 0])
392 AC_LIBOBJ([strncasecmp]) 681 AM_COND_IF([GL_COND_OBJ_STRNCASECMP], [
393 gl_PREREQ_STRNCASECMP 682 gl_PREREQ_STRNCASECMP
394 fi 683 ])
395 gl_FUNC_STRCASESTR 684 gl_FUNC_STRCASESTR
396 if test $HAVE_STRCASESTR = 0 || test $REPLACE_STRCASESTR = 1; then 685 if test $HAVE_STRCASESTR = 0 || test $REPLACE_STRCASESTR = 1; then
397 AC_LIBOBJ([strcasestr]) 686 AC_LIBOBJ([strcasestr])
@@ -404,68 +693,76 @@ AC_DEFUN([gl_INIT],
404 fi 693 fi
405 gl_STRING_MODULE_INDICATOR([strcasestr]) 694 gl_STRING_MODULE_INDICATOR([strcasestr])
406 gl_FUNC_STRERROR 695 gl_FUNC_STRERROR
407 if test $REPLACE_STRERROR = 1; then 696 gl_CONDITIONAL([GL_COND_OBJ_STRERROR], [test $REPLACE_STRERROR = 1])
408 AC_LIBOBJ([strerror])
409 fi
410 gl_MODULE_INDICATOR([strerror]) 697 gl_MODULE_INDICATOR([strerror])
411 gl_STRING_MODULE_INDICATOR([strerror]) 698 gl_STRING_MODULE_INDICATOR([strerror])
412 AC_REQUIRE([gl_HEADER_ERRNO_H]) 699 AC_REQUIRE([gl_HEADER_ERRNO_H])
413 AC_REQUIRE([gl_FUNC_STRERROR_0]) 700 AC_REQUIRE([gl_FUNC_STRERROR_0])
414 if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then 701 gl_CONDITIONAL([GL_COND_OBJ_STRERROR_OVERRIDE],
415 AC_LIBOBJ([strerror-override]) 702 [test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1])
703 AM_COND_IF([GL_COND_OBJ_STRERROR_OVERRIDE], [
416 gl_PREREQ_SYS_H_WINSOCK2 704 gl_PREREQ_SYS_H_WINSOCK2
417 fi 705 ])
418 gl_HEADER_STRING_H 706 gl_STRING_H
419 gl_HEADER_STRINGS_H 707 gl_STRING_H_REQUIRE_DEFAULTS
420 gl_FUNC_STRNDUP 708 AC_PROG_MKDIR_P
421 if test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1; then 709 gl_STRINGS_H
422 AC_LIBOBJ([strndup]) 710 gl_STRINGS_H_REQUIRE_DEFAULTS
423 fi 711 AC_PROG_MKDIR_P
424 gl_STRING_MODULE_INDICATOR([strndup])
425 gl_FUNC_STRNLEN
426 if test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1; then
427 AC_LIBOBJ([strnlen])
428 gl_PREREQ_STRNLEN
429 fi
430 gl_STRING_MODULE_INDICATOR([strnlen])
431 gl_FUNC_STRSEP 712 gl_FUNC_STRSEP
432 if test $HAVE_STRSEP = 0; then 713 gl_CONDITIONAL([GL_COND_OBJ_STRSEP], [test $HAVE_STRSEP = 0])
433 AC_LIBOBJ([strsep]) 714 AM_COND_IF([GL_COND_OBJ_STRSEP], [
434 gl_PREREQ_STRSEP 715 gl_PREREQ_STRSEP
435 fi 716 ])
436 gl_STRING_MODULE_INDICATOR([strsep]) 717 gl_STRING_MODULE_INDICATOR([strsep])
437 gl_FUNC_STRSTR_SIMPLE 718 gl_FUNC_STRSTR_SIMPLE
438 if test $REPLACE_STRSTR = 1; then 719 if test $REPLACE_STRSTR = 1; then
439 AC_LIBOBJ([strstr]) 720 AC_LIBOBJ([strstr])
440 fi 721 fi
441 gl_STRING_MODULE_INDICATOR([strstr]) 722 gl_STRING_MODULE_INDICATOR([strstr])
442 gl_HEADER_SYS_SOCKET 723 gl_SYS_SOCKET_H
724 gl_SYS_SOCKET_H_REQUIRE_DEFAULTS
725 AC_PROG_MKDIR_P
726 gl_SYS_STAT_H
727 gl_SYS_STAT_H_REQUIRE_DEFAULTS
443 AC_PROG_MKDIR_P 728 AC_PROG_MKDIR_P
444 gl_SYS_TYPES_H 729 gl_SYS_TYPES_H
730 gl_SYS_TYPES_H_REQUIRE_DEFAULTS
731 AC_PROG_MKDIR_P
732 gl_SYS_UIO_H
733 gl_SYS_UIO_H_REQUIRE_DEFAULTS
445 AC_PROG_MKDIR_P 734 AC_PROG_MKDIR_P
446 gl_HEADER_SYS_UIO 735 AC_REQUIRE([gl_THREADLIB])
736 gl_TIME_H
737 gl_TIME_H_REQUIRE_DEFAULTS
447 AC_PROG_MKDIR_P 738 AC_PROG_MKDIR_P
448 gl_THREADLIB
449 gl_HEADER_TIME_H
450 gl_TIME_R 739 gl_TIME_R
451 if test $HAVE_LOCALTIME_R = 0 || test $REPLACE_LOCALTIME_R = 1; then 740 gl_CONDITIONAL([GL_COND_OBJ_TIME_R],
452 AC_LIBOBJ([time_r]) 741 [test $HAVE_LOCALTIME_R = 0 || test $REPLACE_LOCALTIME_R = 1])
742 AM_COND_IF([GL_COND_OBJ_TIME_R], [
453 gl_PREREQ_TIME_R 743 gl_PREREQ_TIME_R
454 fi 744 ])
455 gl_TIME_MODULE_INDICATOR([time_r]) 745 gl_TIME_MODULE_INDICATOR([time_r])
456 gl_FUNC_TIMEGM 746 gl_FUNC_TIMEGM
457 if test $HAVE_TIMEGM = 0 || test $REPLACE_TIMEGM = 1; then 747 gl_CONDITIONAL([GL_COND_OBJ_TIMEGM],
458 AC_LIBOBJ([timegm]) 748 [test $HAVE_TIMEGM = 0 || test $REPLACE_TIMEGM = 1])
749 AM_COND_IF([GL_COND_OBJ_TIMEGM], [
459 gl_PREREQ_TIMEGM 750 gl_PREREQ_TIMEGM
460 fi 751 ])
461 gl_TIME_MODULE_INDICATOR([timegm]) 752 gl_TIME_MODULE_INDICATOR([timegm])
462 gl_UNISTD_H 753 gl_UNISTD_H
754 gl_UNISTD_H_REQUIRE_DEFAULTS
755 AC_PROG_MKDIR_P
756 gl_FUNC_GLIBC_UNLOCKED_IO
463 gl_FUNC_UNSETENV 757 gl_FUNC_UNSETENV
464 if test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1; then 758 gl_CONDITIONAL([GL_COND_OBJ_UNSETENV],
465 AC_LIBOBJ([unsetenv]) 759 [test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1])
760 AM_COND_IF([GL_COND_OBJ_UNSETENV], [
466 gl_PREREQ_UNSETENV 761 gl_PREREQ_UNSETENV
467 fi 762 ])
468 gl_STDLIB_MODULE_INDICATOR([unsetenv]) 763 gl_STDLIB_MODULE_INDICATOR([unsetenv])
764 AC_C_VARARRAYS
765 AC_REQUIRE([AC_C_RESTRICT])
469 gl_FUNC_VASNPRINTF 766 gl_FUNC_VASNPRINTF
470 gl_FUNC_VASPRINTF 767 gl_FUNC_VASPRINTF
471 gl_STDIO_MODULE_INDICATOR([vasprintf]) 768 gl_STDIO_MODULE_INDICATOR([vasprintf])
@@ -475,16 +772,34 @@ AC_DEFUN([gl_INIT],
475 gl_FUNC_VSNPRINTF 772 gl_FUNC_VSNPRINTF
476 gl_STDIO_MODULE_INDICATOR([vsnprintf]) 773 gl_STDIO_MODULE_INDICATOR([vsnprintf])
477 gl_WCHAR_H 774 gl_WCHAR_H
775 gl_WCHAR_H_REQUIRE_DEFAULTS
776 AC_PROG_MKDIR_P
478 gl_FUNC_WCRTOMB 777 gl_FUNC_WCRTOMB
479 if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then 778 gl_CONDITIONAL([GL_COND_OBJ_WCRTOMB],
480 AC_LIBOBJ([wcrtomb]) 779 [test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1])
780 AM_COND_IF([GL_COND_OBJ_WCRTOMB], [
481 gl_PREREQ_WCRTOMB 781 gl_PREREQ_WCRTOMB
482 fi 782 ])
483 gl_WCHAR_MODULE_INDICATOR([wcrtomb]) 783 gl_WCHAR_MODULE_INDICATOR([wcrtomb])
484 gl_WCTYPE_H 784 gl_WCTYPE_H
785 gl_WCTYPE_H_REQUIRE_DEFAULTS
786 AC_PROG_MKDIR_P
787 AC_REQUIRE([AC_CANONICAL_HOST])
788 gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_MUTEX],
789 [case "$host_os" in mingw*) true;; *) false;; esac])
790 AC_REQUIRE([AC_CANONICAL_HOST])
791 gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_ONCE],
792 [case "$host_os" in mingw*) true;; *) false;; esac])
793 AC_REQUIRE([AC_CANONICAL_HOST])
794 gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_RECMUTEX],
795 [case "$host_os" in mingw*) true;; *) false;; esac])
796 AC_REQUIRE([AC_CANONICAL_HOST])
797 gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_RWLOCK],
798 [case "$host_os" in mingw*) true;; *) false;; esac])
485 gl_XALLOC 799 gl_XALLOC
800 gl_MODULE_INDICATOR([xalloc])
801 gl_MODULE_INDICATOR([xalloc-die])
486 gl_XSIZE 802 gl_XSIZE
487 gl_XSTRNDUP
488 # End of code from modules 803 # End of code from modules
489 m4_ifval(gl_LIBSOURCES_LIST, [ 804 m4_ifval(gl_LIBSOURCES_LIST, [
490 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ || 805 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
@@ -497,6 +812,8 @@ AC_DEFUN([gl_INIT],
497 m4_if(m4_sysval, [0], [], 812 m4_if(m4_sysval, [0], [],
498 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) 813 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
499 ]) 814 ])
815 m4_popdef([GL_MODULE_INDICATOR_PREFIX])
816 m4_popdef([GL_MACRO_PREFIX])
500 m4_popdef([gl_LIBSOURCES_DIR]) 817 m4_popdef([gl_LIBSOURCES_DIR])
501 m4_popdef([gl_LIBSOURCES_LIST]) 818 m4_popdef([gl_LIBSOURCES_LIST])
502 m4_popdef([AC_LIBSOURCES]) 819 m4_popdef([AC_LIBSOURCES])
@@ -505,16 +822,28 @@ AC_DEFUN([gl_INIT],
505 AC_CONFIG_COMMANDS_PRE([ 822 AC_CONFIG_COMMANDS_PRE([
506 gl_libobjs= 823 gl_libobjs=
507 gl_ltlibobjs= 824 gl_ltlibobjs=
825 gl_libobjdeps=
508 if test -n "$gl_LIBOBJS"; then 826 if test -n "$gl_LIBOBJS"; then
509 # Remove the extension. 827 # Remove the extension.
828changequote(,)dnl
510 sed_drop_objext='s/\.o$//;s/\.obj$//' 829 sed_drop_objext='s/\.o$//;s/\.obj$//'
830 sed_dirname1='s,//*,/,g'
831 sed_dirname2='s,\(.\)/$,\1,'
832 sed_dirname3='s,^[^/]*$,.,'
833 sed_dirname4='s,\(.\)/[^/]*$,\1,'
834 sed_basename1='s,.*/,,'
835changequote([, ])dnl
511 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do 836 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
512 gl_libobjs="$gl_libobjs $i.$ac_objext" 837 gl_libobjs="$gl_libobjs $i.$ac_objext"
513 gl_ltlibobjs="$gl_ltlibobjs $i.lo" 838 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
839 i_dir=`echo "$i" | sed -e "$sed_dirname1" -e "$sed_dirname2" -e "$sed_dirname3" -e "$sed_dirname4"`
840 i_base=`echo "$i" | sed -e "$sed_basename1"`
841 gl_libobjdeps="$gl_libobjdeps $i_dir/\$(DEPDIR)/$i_base.Po"
514 done 842 done
515 fi 843 fi
516 AC_SUBST([gl_LIBOBJS], [$gl_libobjs]) 844 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
517 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs]) 845 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
846 AC_SUBST([gl_LIBOBJDEPS], [$gl_libobjdeps])
518 ]) 847 ])
519 gltests_libdeps= 848 gltests_libdeps=
520 gltests_ltlibdeps= 849 gltests_ltlibdeps=
@@ -523,8 +852,11 @@ AC_DEFUN([gl_INIT],
523 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES])) 852 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
524 m4_pushdef([gltests_LIBSOURCES_LIST], []) 853 m4_pushdef([gltests_LIBSOURCES_LIST], [])
525 m4_pushdef([gltests_LIBSOURCES_DIR], []) 854 m4_pushdef([gltests_LIBSOURCES_DIR], [])
855 m4_pushdef([GL_MACRO_PREFIX], [gltests])
856 m4_pushdef([GL_MODULE_INDICATOR_PREFIX], [GL])
526 gl_COMMON 857 gl_COMMON
527 gl_source_base='tests' 858 gl_source_base='tests'
859 gl_source_base_prefix=
528changequote(,)dnl 860changequote(,)dnl
529 gltests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS 861 gltests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS
530changequote([, ])dnl 862changequote([, ])dnl
@@ -543,6 +875,8 @@ changequote([, ])dnl
543 m4_if(m4_sysval, [0], [], 875 m4_if(m4_sysval, [0], [],
544 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) 876 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
545 ]) 877 ])
878 m4_popdef([GL_MODULE_INDICATOR_PREFIX])
879 m4_popdef([GL_MACRO_PREFIX])
546 m4_popdef([gltests_LIBSOURCES_DIR]) 880 m4_popdef([gltests_LIBSOURCES_DIR])
547 m4_popdef([gltests_LIBSOURCES_LIST]) 881 m4_popdef([gltests_LIBSOURCES_LIST])
548 m4_popdef([AC_LIBSOURCES]) 882 m4_popdef([AC_LIBSOURCES])
@@ -551,17 +885,30 @@ changequote([, ])dnl
551 AC_CONFIG_COMMANDS_PRE([ 885 AC_CONFIG_COMMANDS_PRE([
552 gltests_libobjs= 886 gltests_libobjs=
553 gltests_ltlibobjs= 887 gltests_ltlibobjs=
888 gltests_libobjdeps=
554 if test -n "$gltests_LIBOBJS"; then 889 if test -n "$gltests_LIBOBJS"; then
555 # Remove the extension. 890 # Remove the extension.
891changequote(,)dnl
556 sed_drop_objext='s/\.o$//;s/\.obj$//' 892 sed_drop_objext='s/\.o$//;s/\.obj$//'
893 sed_dirname1='s,//*,/,g'
894 sed_dirname2='s,\(.\)/$,\1,'
895 sed_dirname3='s,^[^/]*$,.,'
896 sed_dirname4='s,\(.\)/[^/]*$,\1,'
897 sed_basename1='s,.*/,,'
898changequote([, ])dnl
557 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do 899 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
558 gltests_libobjs="$gltests_libobjs $i.$ac_objext" 900 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
559 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo" 901 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
902 i_dir=`echo "$i" | sed -e "$sed_dirname1" -e "$sed_dirname2" -e "$sed_dirname3" -e "$sed_dirname4"`
903 i_base=`echo "$i" | sed -e "$sed_basename1"`
904 gltests_libobjdeps="$gltests_libobjdeps $i_dir/\$(DEPDIR)/$i_base.Po"
560 done 905 done
561 fi 906 fi
562 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs]) 907 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
563 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs]) 908 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
909 AC_SUBST([gltests_LIBOBJDEPS], [$gltests_libobjdeps])
564 ]) 910 ])
911 AC_REQUIRE([gl_CC_GNULIB_WARNINGS])
565 LIBGNU_LIBDEPS="$gl_libdeps" 912 LIBGNU_LIBDEPS="$gl_libdeps"
566 AC_SUBST([LIBGNU_LIBDEPS]) 913 AC_SUBST([LIBGNU_LIBDEPS])
567 LIBGNU_LTLIBDEPS="$gl_ltlibdeps" 914 LIBGNU_LTLIBDEPS="$gl_ltlibdeps"
@@ -625,76 +972,130 @@ AC_DEFUN([gltests_LIBSOURCES], [
625# This macro records the list of files which have been installed by 972# This macro records the list of files which have been installed by
626# gnulib-tool and may be removed by future gnulib-tool invocations. 973# gnulib-tool and may be removed by future gnulib-tool invocations.
627AC_DEFUN([gl_FILE_LIST], [ 974AC_DEFUN([gl_FILE_LIST], [
628 build-aux/config.rpath 975 lib/_Noreturn.h
629 build-aux/snippet/_Noreturn.h 976 lib/af_alg.c
630 build-aux/snippet/arg-nonnull.h 977 lib/af_alg.h
631 build-aux/snippet/c++defs.h
632 build-aux/snippet/warn-on-use.h
633 lib/alloca.in.h 978 lib/alloca.in.h
979 lib/arg-nonnull.h
634 lib/arpa_inet.in.h 980 lib/arpa_inet.in.h
635 lib/asnprintf.c 981 lib/asnprintf.c
636 lib/asprintf.c 982 lib/asprintf.c
983 lib/assert.in.h
984 lib/attribute.h
637 lib/base64.c 985 lib/base64.c
638 lib/base64.h 986 lib/base64.h
639 lib/basename-lgpl.c 987 lib/basename-lgpl.c
988 lib/basename-lgpl.h
640 lib/basename.c 989 lib/basename.c
641 lib/btowc.c 990 lib/btowc.c
642 lib/config.charset 991 lib/byteswap.in.h
992 lib/c++defs.h
993 lib/calloc.c
994 lib/cdefs.h
995 lib/cloexec.c
996 lib/cloexec.h
997 lib/close.c
643 lib/dirname-lgpl.c 998 lib/dirname-lgpl.c
644 lib/dirname.c 999 lib/dirname.c
645 lib/dirname.h 1000 lib/dirname.h
646 lib/dosname.h 1001 lib/dup2.c
1002 lib/dynarray.h
647 lib/errno.in.h 1003 lib/errno.in.h
648 lib/error.c 1004 lib/error.c
649 lib/error.h 1005 lib/error.h
650 lib/exitfail.c 1006 lib/exitfail.c
651 lib/exitfail.h 1007 lib/exitfail.h
1008 lib/fcntl.c
1009 lib/fcntl.in.h
652 lib/fd-hook.c 1010 lib/fd-hook.c
653 lib/fd-hook.h 1011 lib/fd-hook.h
1012 lib/fflush.c
1013 lib/filename.h
654 lib/float+.h 1014 lib/float+.h
655 lib/float.c 1015 lib/float.c
656 lib/float.in.h 1016 lib/float.in.h
657 lib/floor.c 1017 lib/floor.c
658 lib/floorf.c 1018 lib/floorf.c
1019 lib/fopen.c
1020 lib/fpurge.c
1021 lib/freading.c
1022 lib/freading.h
1023 lib/free.c
1024 lib/fseek.c
1025 lib/fseeko.c
1026 lib/fstat.c
659 lib/fsusage.c 1027 lib/fsusage.c
660 lib/fsusage.h 1028 lib/fsusage.h
661 lib/full-read.c 1029 lib/ftell.c
662 lib/full-read.h 1030 lib/ftello.c
663 lib/full-write.c
664 lib/gai_strerror.c 1031 lib/gai_strerror.c
665 lib/getaddrinfo.c 1032 lib/getaddrinfo.c
1033 lib/getdelim.c
1034 lib/getdtablesize.c
666 lib/gethostname.c 1035 lib/gethostname.c
1036 lib/getline.c
667 lib/getloadavg.c 1037 lib/getloadavg.c
1038 lib/getopt-cdefs.in.h
1039 lib/getopt-core.h
1040 lib/getopt-ext.h
1041 lib/getopt-pfx-core.h
1042 lib/getopt-pfx-ext.h
668 lib/getopt.c 1043 lib/getopt.c
669 lib/getopt.in.h 1044 lib/getopt.in.h
670 lib/getopt1.c 1045 lib/getopt1.c
671 lib/getopt_int.h 1046 lib/getopt_int.h
1047 lib/getprogname.c
1048 lib/getprogname.h
672 lib/gettext.h 1049 lib/gettext.h
1050 lib/gl_openssl.h
673 lib/glthread/lock.c 1051 lib/glthread/lock.c
674 lib/glthread/lock.h 1052 lib/glthread/lock.h
675 lib/glthread/threadlib.c 1053 lib/glthread/threadlib.c
1054 lib/hard-locale.c
1055 lib/hard-locale.h
1056 lib/ialloc.c
1057 lib/ialloc.h
676 lib/idpriv-droptemp.c 1058 lib/idpriv-droptemp.c
677 lib/idpriv.h 1059 lib/idpriv.h
1060 lib/idx.h
678 lib/inet_ntop.c 1061 lib/inet_ntop.c
1062 lib/intprops-internal.h
679 lib/intprops.h 1063 lib/intprops.h
1064 lib/inttypes.in.h
680 lib/itold.c 1065 lib/itold.c
681 lib/langinfo.in.h 1066 lib/langinfo.in.h
1067 lib/lc-charset-dispatch.c
1068 lib/lc-charset-dispatch.h
1069 lib/libc-config.h
1070 lib/limits.in.h
682 lib/localcharset.c 1071 lib/localcharset.c
683 lib/localcharset.h 1072 lib/localcharset.h
684 lib/locale.in.h 1073 lib/locale.in.h
685 lib/localeconv.c 1074 lib/localeconv.c
1075 lib/lseek.c
686 lib/malloc.c 1076 lib/malloc.c
1077 lib/malloc/dynarray-skeleton.c
1078 lib/malloc/dynarray.h
1079 lib/malloc/dynarray_at_failure.c
1080 lib/malloc/dynarray_emplace_enlarge.c
1081 lib/malloc/dynarray_finalize.c
1082 lib/malloc/dynarray_resize.c
1083 lib/malloc/dynarray_resize_clear.c
687 lib/malloca.c 1084 lib/malloca.c
688 lib/malloca.h 1085 lib/malloca.h
689 lib/malloca.valgrind
690 lib/math.c 1086 lib/math.c
691 lib/math.in.h 1087 lib/math.in.h
1088 lib/mbrtowc-impl-utf8.h
1089 lib/mbrtowc-impl.h
692 lib/mbrtowc.c 1090 lib/mbrtowc.c
693 lib/mbsinit.c 1091 lib/mbsinit.c
694 lib/mbtowc-impl.h 1092 lib/mbtowc-impl.h
1093 lib/mbtowc-lock.c
1094 lib/mbtowc-lock.h
695 lib/mbtowc.c 1095 lib/mbtowc.c
696 lib/memchr.c 1096 lib/memchr.c
697 lib/memchr.valgrind 1097 lib/memchr.valgrind
1098 lib/minmax.h
698 lib/mktime-internal.h 1099 lib/mktime-internal.h
699 lib/mktime.c 1100 lib/mktime.c
700 lib/mountlist.c 1101 lib/mountlist.c
@@ -705,33 +1106,45 @@ AC_DEFUN([gl_FILE_LIST], [
705 lib/msvc-nothrow.h 1106 lib/msvc-nothrow.h
706 lib/netdb.in.h 1107 lib/netdb.in.h
707 lib/netinet_in.in.h 1108 lib/netinet_in.in.h
1109 lib/nl_langinfo-lock.c
708 lib/nl_langinfo.c 1110 lib/nl_langinfo.c
1111 lib/open.c
1112 lib/pathmax.h
709 lib/printf-args.c 1113 lib/printf-args.c
710 lib/printf-args.h 1114 lib/printf-args.h
711 lib/printf-parse.c 1115 lib/printf-parse.c
712 lib/printf-parse.h 1116 lib/printf-parse.h
713 lib/read.c 1117 lib/realloc.c
714 lib/ref-add.sin 1118 lib/reallocarray.c
715 lib/ref-del.sin
716 lib/regcomp.c 1119 lib/regcomp.c
717 lib/regex.c 1120 lib/regex.c
718 lib/regex.h 1121 lib/regex.h
719 lib/regex_internal.c 1122 lib/regex_internal.c
720 lib/regex_internal.h 1123 lib/regex_internal.h
721 lib/regexec.c 1124 lib/regexec.c
722 lib/safe-read.c
723 lib/safe-read.h
724 lib/setenv.c 1125 lib/setenv.c
725 lib/sha1.c 1126 lib/setlocale-lock.c
726 lib/sha1.h 1127 lib/setlocale_null.c
1128 lib/setlocale_null.h
1129 lib/sha256-stream.c
1130 lib/sha256.c
1131 lib/sha256.h
727 lib/size_max.h 1132 lib/size_max.h
728 lib/snprintf.c 1133 lib/snprintf.c
729 lib/sockets.c 1134 lib/sockets.c
730 lib/sockets.h 1135 lib/sockets.h
1136 lib/stat-time.c
1137 lib/stat-time.h
1138 lib/stat-w32.c
1139 lib/stat-w32.h
1140 lib/stat.c
731 lib/stdalign.in.h 1141 lib/stdalign.in.h
732 lib/stdbool.in.h 1142 lib/stdckdint.in.h
733 lib/stddef.in.h 1143 lib/stddef.in.h
734 lib/stdint.in.h 1144 lib/stdint.in.h
1145 lib/stdio-impl.h
1146 lib/stdio-read.c
1147 lib/stdio-write.c
735 lib/stdio.in.h 1148 lib/stdio.in.h
736 lib/stdlib.in.h 1149 lib/stdlib.in.h
737 lib/str-two-way.h 1150 lib/str-two-way.h
@@ -745,12 +1158,12 @@ AC_DEFUN([gl_FILE_LIST], [
745 lib/strings.in.h 1158 lib/strings.in.h
746 lib/stripslash.c 1159 lib/stripslash.c
747 lib/strncasecmp.c 1160 lib/strncasecmp.c
748 lib/strndup.c
749 lib/strnlen.c
750 lib/strsep.c 1161 lib/strsep.c
751 lib/strstr.c 1162 lib/strstr.c
1163 lib/sys-limits.h
752 lib/sys_socket.c 1164 lib/sys_socket.c
753 lib/sys_socket.in.h 1165 lib/sys_socket.in.h
1166 lib/sys_stat.in.h
754 lib/sys_types.in.h 1167 lib/sys_types.in.h
755 lib/sys_uio.in.h 1168 lib/sys_uio.in.h
756 lib/time.in.h 1169 lib/time.in.h
@@ -758,6 +1171,7 @@ AC_DEFUN([gl_FILE_LIST], [
758 lib/timegm.c 1171 lib/timegm.c
759 lib/unistd.c 1172 lib/unistd.c
760 lib/unistd.in.h 1173 lib/unistd.in.h
1174 lib/unlocked-io.h
761 lib/unsetenv.c 1175 lib/unsetenv.c
762 lib/vasnprintf.c 1176 lib/vasnprintf.c
763 lib/vasnprintf.h 1177 lib/vasnprintf.h
@@ -765,27 +1179,43 @@ AC_DEFUN([gl_FILE_LIST], [
765 lib/verify.h 1179 lib/verify.h
766 lib/vsnprintf.c 1180 lib/vsnprintf.c
767 lib/w32sock.h 1181 lib/w32sock.h
1182 lib/warn-on-use.h
768 lib/wchar.in.h 1183 lib/wchar.in.h
769 lib/wcrtomb.c 1184 lib/wcrtomb.c
770 lib/wctype-h.c 1185 lib/wctype-h.c
771 lib/wctype.in.h 1186 lib/wctype.in.h
1187 lib/windows-initguard.h
1188 lib/windows-mutex.c
1189 lib/windows-mutex.h
1190 lib/windows-once.c
1191 lib/windows-once.h
1192 lib/windows-recmutex.c
1193 lib/windows-recmutex.h
1194 lib/windows-rwlock.c
1195 lib/windows-rwlock.h
772 lib/xalloc-die.c 1196 lib/xalloc-die.c
773 lib/xalloc-oversized.h 1197 lib/xalloc-oversized.h
774 lib/xalloc.h 1198 lib/xalloc.h
775 lib/xmalloc.c 1199 lib/xmalloc.c
776 lib/xsize.c 1200 lib/xsize.c
777 lib/xsize.h 1201 lib/xsize.h
778 lib/xstrndup.c
779 lib/xstrndup.h
780 m4/00gnulib.m4 1202 m4/00gnulib.m4
1203 m4/__inline.m4
1204 m4/absolute-header.m4
1205 m4/af_alg.m4
781 m4/alloca.m4 1206 m4/alloca.m4
782 m4/arpa_inet_h.m4 1207 m4/arpa_inet_h.m4
1208 m4/assert_h.m4
783 m4/base64.m4 1209 m4/base64.m4
784 m4/btowc.m4 1210 m4/btowc.m4
1211 m4/builtin-expect.m4
1212 m4/byteswap.m4
1213 m4/c-bool.m4
1214 m4/calloc.m4
1215 m4/close.m4
785 m4/codeset.m4 1216 m4/codeset.m4
786 m4/configmake.m4
787 m4/dirname.m4
788 m4/double-slash-root.m4 1217 m4/double-slash-root.m4
1218 m4/dup2.m4
789 m4/eealloc.m4 1219 m4/eealloc.m4
790 m4/environ.m4 1220 m4/environ.m4
791 m4/errno_h.m4 1221 m4/errno_h.m4
@@ -794,37 +1224,42 @@ AC_DEFUN([gl_FILE_LIST], [
794 m4/extensions.m4 1224 m4/extensions.m4
795 m4/extern-inline.m4 1225 m4/extern-inline.m4
796 m4/fcntl-o.m4 1226 m4/fcntl-o.m4
1227 m4/fcntl.m4
1228 m4/fcntl_h.m4
1229 m4/fflush.m4
797 m4/float_h.m4 1230 m4/float_h.m4
798 m4/floorf.m4 1231 m4/floorf.m4
1232 m4/fopen.m4
1233 m4/fpurge.m4
1234 m4/freading.m4
1235 m4/free.m4
1236 m4/fseek.m4
1237 m4/fseeko.m4
1238 m4/fstat.m4
799 m4/fstypename.m4 1239 m4/fstypename.m4
800 m4/fsusage.m4 1240 m4/fsusage.m4
1241 m4/ftell.m4
1242 m4/ftello.m4
801 m4/getaddrinfo.m4 1243 m4/getaddrinfo.m4
1244 m4/getdelim.m4
1245 m4/getdtablesize.m4
802 m4/gethostname.m4 1246 m4/gethostname.m4
1247 m4/getline.m4
803 m4/getloadavg.m4 1248 m4/getloadavg.m4
804 m4/getopt.m4 1249 m4/getopt.m4
805 m4/gettext.m4 1250 m4/getprogname.m4
806 m4/glibc2.m4 1251 m4/gl-openssl.m4
807 m4/glibc21.m4
808 m4/gnulib-common.m4 1252 m4/gnulib-common.m4
809 m4/hostent.m4 1253 m4/hostent.m4
810 m4/iconv.m4
811 m4/idpriv.m4 1254 m4/idpriv.m4
812 m4/include_next.m4 1255 m4/include_next.m4
813 m4/inet_ntop.m4 1256 m4/inet_ntop.m4
814 m4/intdiv0.m4
815 m4/intl.m4
816 m4/intldir.m4
817 m4/intlmacosx.m4
818 m4/intmax.m4
819 m4/intmax_t.m4 1257 m4/intmax_t.m4
820 m4/inttypes-pri.m4 1258 m4/inttypes.m4
821 m4/inttypes_h.m4 1259 m4/inttypes_h.m4
822 m4/langinfo_h.m4 1260 m4/langinfo_h.m4
823 m4/largefile.m4 1261 m4/largefile.m4
824 m4/lcmessage.m4 1262 m4/limits-h.m4
825 m4/lib-ld.m4
826 m4/lib-link.m4
827 m4/lib-prefix.m4
828 m4/localcharset.m4 1263 m4/localcharset.m4
829 m4/locale-fr.m4 1264 m4/locale-fr.m4
830 m4/locale-ja.m4 1265 m4/locale-ja.m4
@@ -832,8 +1267,7 @@ AC_DEFUN([gl_FILE_LIST], [
832 m4/locale_h.m4 1267 m4/locale_h.m4
833 m4/localeconv.m4 1268 m4/localeconv.m4
834 m4/lock.m4 1269 m4/lock.m4
835 m4/longlong.m4 1270 m4/lseek.m4
836 m4/ls-mntd-fs.m4
837 m4/malloc.m4 1271 m4/malloc.m4
838 m4/malloca.m4 1272 m4/malloca.m4
839 m4/math_h.m4 1273 m4/math_h.m4
@@ -842,8 +1276,10 @@ AC_DEFUN([gl_FILE_LIST], [
842 m4/mbstate_t.m4 1276 m4/mbstate_t.m4
843 m4/mbtowc.m4 1277 m4/mbtowc.m4
844 m4/memchr.m4 1278 m4/memchr.m4
1279 m4/minmax.m4
845 m4/mktime.m4 1280 m4/mktime.m4
846 m4/mmap-anon.m4 1281 m4/mmap-anon.m4
1282 m4/mode_t.m4
847 m4/mountlist.m4 1283 m4/mountlist.m4
848 m4/msvc-inval.m4 1284 m4/msvc-inval.m4
849 m4/msvc-nothrow.m4 1285 m4/msvc-nothrow.m4
@@ -851,20 +1287,22 @@ AC_DEFUN([gl_FILE_LIST], [
851 m4/netdb_h.m4 1287 m4/netdb_h.m4
852 m4/netinet_in_h.m4 1288 m4/netinet_in_h.m4
853 m4/nl_langinfo.m4 1289 m4/nl_langinfo.m4
854 m4/nls.m4
855 m4/nocrash.m4 1290 m4/nocrash.m4
856 m4/off_t.m4 1291 m4/off_t.m4
857 m4/onceonly.m4 1292 m4/open-cloexec.m4
858 m4/po.m4 1293 m4/open-slash.m4
859 m4/printf-posix.m4 1294 m4/open.m4
1295 m4/pathmax.m4
1296 m4/pid_t.m4
860 m4/printf.m4 1297 m4/printf.m4
861 m4/progtest.m4 1298 m4/pthread_rwlock_rdlock.m4
862 m4/read.m4 1299 m4/realloc.m4
1300 m4/reallocarray.m4
863 m4/regex.m4 1301 m4/regex.m4
864 m4/safe-read.m4
865 m4/servent.m4 1302 m4/servent.m4
866 m4/setenv.m4 1303 m4/setenv.m4
867 m4/sha1.m4 1304 m4/setlocale_null.m4
1305 m4/sha256.m4
868 m4/size_max.m4 1306 m4/size_max.m4
869 m4/snprintf.m4 1307 m4/snprintf.m4
870 m4/socketlib.m4 1308 m4/socketlib.m4
@@ -872,8 +1310,10 @@ AC_DEFUN([gl_FILE_LIST], [
872 m4/socklen.m4 1310 m4/socklen.m4
873 m4/sockpfaf.m4 1311 m4/sockpfaf.m4
874 m4/ssize_t.m4 1312 m4/ssize_t.m4
1313 m4/stat-time.m4
1314 m4/stat.m4
1315 m4/std-gnu11.m4
875 m4/stdalign.m4 1316 m4/stdalign.m4
876 m4/stdbool.m4
877 m4/stddef_h.m4 1317 m4/stddef_h.m4
878 m4/stdint.m4 1318 m4/stdint.m4
879 m4/stdint_h.m4 1319 m4/stdint_h.m4
@@ -884,19 +1324,20 @@ AC_DEFUN([gl_FILE_LIST], [
884 m4/strerror.m4 1324 m4/strerror.m4
885 m4/string_h.m4 1325 m4/string_h.m4
886 m4/strings_h.m4 1326 m4/strings_h.m4
887 m4/strndup.m4
888 m4/strnlen.m4
889 m4/strsep.m4 1327 m4/strsep.m4
890 m4/strstr.m4 1328 m4/strstr.m4
891 m4/sys_socket_h.m4 1329 m4/sys_socket_h.m4
1330 m4/sys_stat_h.m4
892 m4/sys_types_h.m4 1331 m4/sys_types_h.m4
893 m4/sys_uio_h.m4 1332 m4/sys_uio_h.m4
894 m4/threadlib.m4 1333 m4/threadlib.m4
895 m4/time_h.m4 1334 m4/time_h.m4
896 m4/time_r.m4 1335 m4/time_r.m4
897 m4/timegm.m4 1336 m4/timegm.m4
898 m4/uintmax_t.m4 1337 m4/ungetc.m4
899 m4/unistd_h.m4 1338 m4/unistd_h.m4
1339 m4/unlocked-io.m4
1340 m4/vararrays.m4
900 m4/vasnprintf.m4 1341 m4/vasnprintf.m4
901 m4/vasprintf.m4 1342 m4/vasprintf.m4
902 m4/visibility.m4 1343 m4/visibility.m4
@@ -909,5 +1350,5 @@ AC_DEFUN([gl_FILE_LIST], [
909 m4/wint_t.m4 1350 m4/wint_t.m4
910 m4/xalloc.m4 1351 m4/xalloc.m4
911 m4/xsize.m4 1352 m4/xsize.m4
912 m4/xstrndup.m4 1353 m4/zzgnulib.m4
913]) 1354])