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