diff options
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2010-04-08 01:11:46 (GMT) |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2010-04-13 01:26:35 (GMT) |
commit | 74da141e618ef99959d509cb2e7be35a348a39db (patch) | |
tree | 88ebc38b381a1021fc2d74864a71e230ae591c3d /gl/m4/gnulib-comp.m4 | |
parent | c63a4f726a0b6ad8cf6040f947754a81fd4683bb (diff) | |
download | monitoring-plugins-74da141e618ef99959d509cb2e7be35a348a39db.tar.gz |
Sync with the latest Gnulib code (177f525)
Signed-off-by: Thomas Guyot-Sionnest <dermoth@aei.ca>
Diffstat (limited to 'gl/m4/gnulib-comp.m4')
-rw-r--r-- | gl/m4/gnulib-comp.m4 | 305 |
1 files changed, 290 insertions, 15 deletions
diff --git a/gl/m4/gnulib-comp.m4 b/gl/m4/gnulib-comp.m4 index 005cc4e..4a956e4 100644 --- a/gl/m4/gnulib-comp.m4 +++ b/gl/m4/gnulib-comp.m4 | |||
@@ -1,5 +1,5 @@ | |||
1 | # DO NOT EDIT! GENERATED AUTOMATICALLY! | 1 | # DO NOT EDIT! GENERATED AUTOMATICALLY! |
2 | # Copyright (C) 2002-2009 Free Software Foundation, Inc. | 2 | # Copyright (C) 2002-2010 Free Software Foundation, Inc. |
3 | # | 3 | # |
4 | # This file is free software, distributed under the terms of the GNU | 4 | # This file is free software, distributed under the terms of the GNU |
5 | # General Public License. As a special exception to the GNU General | 5 | # General Public License. As a special exception to the GNU General |
@@ -25,7 +25,108 @@ AC_DEFUN([gl_EARLY], | |||
25 | m4_pattern_allow([^gl_LIBOBJS$])dnl a variable | 25 | m4_pattern_allow([^gl_LIBOBJS$])dnl a variable |
26 | m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable | 26 | m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable |
27 | AC_REQUIRE([AC_PROG_RANLIB]) | 27 | AC_REQUIRE([AC_PROG_RANLIB]) |
28 | # Code from module alignof: | ||
29 | # Code from module alloca: | ||
30 | # Code from module alloca-opt: | ||
31 | # Code from module arg-nonnull: | ||
32 | # Code from module arpa_inet: | ||
33 | # Code from module base64: | ||
34 | # Code from module btowc: | ||
35 | # Code from module c++defs: | ||
36 | # Code from module c-strtod: | ||
37 | # Code from module cloexec: | ||
38 | # Code from module close-hook: | ||
39 | # Code from module configmake: | ||
40 | # Code from module dirname: | ||
41 | # Code from module dirname-lgpl: | ||
42 | # Code from module double-slash-root: | ||
43 | # Code from module dup2: | ||
44 | # Code from module errno: | ||
45 | # Code from module error: | ||
46 | # Code from module exitfail: | ||
47 | # Code from module extensions: | ||
28 | AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) | 48 | AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) |
49 | # Code from module fcntl: | ||
50 | # Code from module fcntl-h: | ||
51 | # Code from module fcntl-safer: | ||
52 | # Code from module float: | ||
53 | # Code from module floorf: | ||
54 | # Code from module fsusage: | ||
55 | # Code from module full-read: | ||
56 | # Code from module full-write: | ||
57 | # Code from module getaddrinfo: | ||
58 | # Code from module getdtablesize: | ||
59 | # Code from module gethostname: | ||
60 | # Code from module getloadavg: | ||
61 | # Code from module getopt: | ||
62 | # Code from module getopt-gnu: | ||
63 | # Code from module getopt-posix: | ||
64 | # Code from module gettext: | ||
65 | # Code from module gettext-h: | ||
66 | # Code from module havelib: | ||
67 | # Code from module hostent: | ||
68 | # Code from module include_next: | ||
69 | # Code from module inet_ntop: | ||
70 | # Code from module inline: | ||
71 | # Code from module intprops: | ||
72 | # Code from module langinfo: | ||
73 | # Code from module localcharset: | ||
74 | # Code from module locale: | ||
75 | # Code from module malloc: | ||
76 | # Code from module malloc-posix: | ||
77 | # Code from module math: | ||
78 | # Code from module mbrtowc: | ||
79 | # Code from module mbsinit: | ||
80 | # Code from module memchr: | ||
81 | # Code from module mktime: | ||
82 | # Code from module mountlist: | ||
83 | # Code from module multiarch: | ||
84 | # Code from module netdb: | ||
85 | # Code from module netinet_in: | ||
86 | # Code from module nl_langinfo: | ||
87 | # Code from module open: | ||
88 | # Code from module regex: | ||
89 | # Code from module safe-read: | ||
90 | # Code from module safe-write: | ||
91 | # Code from module servent: | ||
92 | # Code from module size_max: | ||
93 | # Code from module snprintf: | ||
94 | # Code from module sockets: | ||
95 | # Code from module socklen: | ||
96 | # Code from module ssize_t: | ||
97 | # Code from module stat: | ||
98 | # Code from module stdbool: | ||
99 | # Code from module stddef: | ||
100 | # Code from module stdint: | ||
101 | # Code from module stdio: | ||
102 | # Code from module stdlib: | ||
103 | # Code from module strdup-posix: | ||
104 | # Code from module streq: | ||
105 | # Code from module strerror: | ||
106 | # Code from module string: | ||
107 | # Code from module strndup: | ||
108 | # Code from module strnlen: | ||
109 | # Code from module strstr-simple: | ||
110 | # Code from module sys_socket: | ||
111 | # Code from module sys_stat: | ||
112 | # Code from module time: | ||
113 | # Code from module time_r: | ||
114 | # Code from module timegm: | ||
115 | # Code from module unistd: | ||
116 | # Code from module unistd-safer: | ||
117 | # Code from module vasnprintf: | ||
118 | # Code from module vasprintf: | ||
119 | # Code from module verify: | ||
120 | # Code from module vsnprintf: | ||
121 | # Code from module warn-on-use: | ||
122 | # Code from module wchar: | ||
123 | # Code from module wcrtomb: | ||
124 | # Code from module wctype: | ||
125 | # Code from module write: | ||
126 | # Code from module xalloc: | ||
127 | # Code from module xalloc-die: | ||
128 | # Code from module xsize: | ||
129 | # Code from module xstrndup: | ||
29 | ]) | 130 | ]) |
30 | 131 | ||
31 | # This macro should be invoked from ./configure.in, in the section | 132 | # This macro should be invoked from ./configure.in, in the section |
@@ -36,6 +137,7 @@ AC_DEFUN([gl_INIT], | |||
36 | gl_cond_libtool=false | 137 | gl_cond_libtool=false |
37 | gl_libdeps= | 138 | gl_libdeps= |
38 | gl_ltlibdeps= | 139 | gl_ltlibdeps= |
140 | gl_m4_base='gl/m4' | ||
39 | m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ])) | 141 | m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ])) |
40 | m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS])) | 142 | m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS])) |
41 | m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES])) | 143 | m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES])) |
@@ -43,111 +145,239 @@ AC_DEFUN([gl_INIT], | |||
43 | m4_pushdef([gl_LIBSOURCES_DIR], []) | 145 | m4_pushdef([gl_LIBSOURCES_DIR], []) |
44 | gl_COMMON | 146 | gl_COMMON |
45 | gl_source_base='gl' | 147 | gl_source_base='gl' |
148 | # Code from module alignof: | ||
149 | # Code from module alloca: | ||
150 | # Code from module alloca-opt: | ||
46 | gl_FUNC_ALLOCA | 151 | gl_FUNC_ALLOCA |
152 | # Code from module arg-nonnull: | ||
153 | # Code from module arpa_inet: | ||
47 | gl_HEADER_ARPA_INET | 154 | gl_HEADER_ARPA_INET |
48 | AC_PROG_MKDIR_P | 155 | AC_PROG_MKDIR_P |
156 | # Code from module base64: | ||
49 | gl_FUNC_BASE64 | 157 | gl_FUNC_BASE64 |
158 | # Code from module btowc: | ||
50 | gl_FUNC_BTOWC | 159 | gl_FUNC_BTOWC |
51 | gl_WCHAR_MODULE_INDICATOR([btowc]) | 160 | gl_WCHAR_MODULE_INDICATOR([btowc]) |
161 | # Code from module c++defs: | ||
162 | # Code from module c-strtod: | ||
52 | gl_C_STRTOD | 163 | gl_C_STRTOD |
164 | # Code from module cloexec: | ||
53 | gl_CLOEXEC | 165 | gl_CLOEXEC |
166 | gl_MODULE_INDICATOR_FOR_TESTS([cloexec]) | ||
167 | # Code from module close-hook: | ||
168 | # Code from module configmake: | ||
169 | # Code from module dirname: | ||
54 | gl_DIRNAME | 170 | gl_DIRNAME |
171 | gl_MODULE_INDICATOR([dirname]) | ||
172 | # Code from module dirname-lgpl: | ||
173 | gl_DIRNAME_LGPL | ||
174 | # Code from module double-slash-root: | ||
55 | gl_DOUBLE_SLASH_ROOT | 175 | gl_DOUBLE_SLASH_ROOT |
176 | # Code from module dup2: | ||
177 | gl_FUNC_DUP2 | ||
178 | gl_UNISTD_MODULE_INDICATOR([dup2]) | ||
179 | # Code from module errno: | ||
56 | gl_HEADER_ERRNO_H | 180 | gl_HEADER_ERRNO_H |
181 | # Code from module error: | ||
57 | gl_ERROR | 182 | gl_ERROR |
58 | m4_ifdef([AM_XGETTEXT_OPTION], | 183 | m4_ifdef([AM_XGETTEXT_OPTION], |
59 | [AM_XGETTEXT_OPTION([--flag=error:3:c-format]) | 184 | [AM_][XGETTEXT_OPTION([--flag=error:3:c-format]) |
60 | AM_XGETTEXT_OPTION([--flag=error_at_line:5:c-format])]) | 185 | AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])]) |
61 | gl_EXITFAIL | 186 | # Code from module exitfail: |
187 | # Code from module extensions: | ||
188 | # Code from module fcntl: | ||
189 | gl_FUNC_FCNTL | ||
190 | gl_FCNTL_MODULE_INDICATOR([fcntl]) | ||
191 | # Code from module fcntl-h: | ||
62 | gl_FCNTL_H | 192 | gl_FCNTL_H |
193 | # Code from module fcntl-safer: | ||
63 | gl_FCNTL_SAFER | 194 | gl_FCNTL_SAFER |
64 | gl_MODULE_INDICATOR([fcntl-safer]) | 195 | gl_MODULE_INDICATOR([fcntl-safer]) |
196 | # Code from module float: | ||
65 | gl_FLOAT_H | 197 | gl_FLOAT_H |
198 | # Code from module floorf: | ||
66 | gl_FUNC_FLOORF | 199 | gl_FUNC_FLOORF |
67 | gl_MATH_MODULE_INDICATOR([floorf]) | 200 | gl_MATH_MODULE_INDICATOR([floorf]) |
201 | # Code from module fsusage: | ||
68 | gl_FSUSAGE | 202 | gl_FSUSAGE |
203 | # Code from module full-read: | ||
204 | # Code from module full-write: | ||
205 | # Code from module getaddrinfo: | ||
69 | gl_GETADDRINFO | 206 | gl_GETADDRINFO |
70 | gl_NETDB_MODULE_INDICATOR([getaddrinfo]) | 207 | gl_NETDB_MODULE_INDICATOR([getaddrinfo]) |
208 | # Code from module getdtablesize: | ||
209 | gl_FUNC_GETDTABLESIZE | ||
210 | gl_UNISTD_MODULE_INDICATOR([getdtablesize]) | ||
211 | # Code from module gethostname: | ||
71 | gl_FUNC_GETHOSTNAME | 212 | gl_FUNC_GETHOSTNAME |
72 | gl_UNISTD_MODULE_INDICATOR([gethostname]) | 213 | gl_UNISTD_MODULE_INDICATOR([gethostname]) |
214 | # Code from module getloadavg: | ||
73 | gl_GETLOADAVG([$gl_source_base]) | 215 | gl_GETLOADAVG([$gl_source_base]) |
74 | gl_STDLIB_MODULE_INDICATOR([getloadavg]) | 216 | gl_STDLIB_MODULE_INDICATOR([getloadavg]) |
75 | gl_GETOPT | 217 | # Code from module getopt: |
218 | # Code from module getopt-gnu: | ||
219 | gl_FUNC_GETOPT_GNU | ||
220 | gl_MODULE_INDICATOR_FOR_TESTS([getopt-gnu]) | ||
221 | # Code from module getopt-posix: | ||
222 | gl_FUNC_GETOPT_POSIX | ||
223 | # Code from module gettext: | ||
76 | dnl you must add AM_GNU_GETTEXT([external]) or similar to configure.ac. | 224 | dnl you must add AM_GNU_GETTEXT([external]) or similar to configure.ac. |
77 | AM_GNU_GETTEXT_VERSION([0.17]) | 225 | AM_GNU_GETTEXT_VERSION([0.17]) |
226 | # Code from module gettext-h: | ||
78 | AC_SUBST([LIBINTL]) | 227 | AC_SUBST([LIBINTL]) |
79 | AC_SUBST([LTLIBINTL]) | 228 | AC_SUBST([LTLIBINTL]) |
229 | # Code from module havelib: | ||
230 | # Code from module hostent: | ||
80 | gl_HOSTENT | 231 | gl_HOSTENT |
81 | gl_INET_NTOP | 232 | # Code from module include_next: |
233 | # Code from module inet_ntop: | ||
234 | gl_FUNC_INET_NTOP | ||
82 | gl_ARPA_INET_MODULE_INDICATOR([inet_ntop]) | 235 | gl_ARPA_INET_MODULE_INDICATOR([inet_ntop]) |
236 | # Code from module inline: | ||
83 | gl_INLINE | 237 | gl_INLINE |
238 | # Code from module intprops: | ||
239 | # Code from module langinfo: | ||
240 | gl_LANGINFO_H | ||
241 | # Code from module localcharset: | ||
84 | gl_LOCALCHARSET | 242 | gl_LOCALCHARSET |
85 | LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\"" | 243 | LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\"" |
86 | AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT]) | 244 | AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT]) |
245 | # Code from module locale: | ||
246 | gl_LOCALE_H | ||
247 | # Code from module malloc: | ||
87 | AC_FUNC_MALLOC | 248 | AC_FUNC_MALLOC |
88 | AC_DEFINE([GNULIB_MALLOC_GNU], 1, [Define to indicate the 'malloc' module.]) | 249 | AC_DEFINE([GNULIB_MALLOC_GNU], 1, [Define to indicate the 'malloc' module.]) |
250 | # Code from module malloc-posix: | ||
89 | gl_FUNC_MALLOC_POSIX | 251 | gl_FUNC_MALLOC_POSIX |
90 | gl_STDLIB_MODULE_INDICATOR([malloc-posix]) | 252 | gl_STDLIB_MODULE_INDICATOR([malloc-posix]) |
253 | # Code from module math: | ||
91 | gl_MATH_H | 254 | gl_MATH_H |
255 | # Code from module mbrtowc: | ||
92 | gl_FUNC_MBRTOWC | 256 | gl_FUNC_MBRTOWC |
93 | gl_WCHAR_MODULE_INDICATOR([mbrtowc]) | 257 | gl_WCHAR_MODULE_INDICATOR([mbrtowc]) |
258 | # Code from module mbsinit: | ||
94 | gl_FUNC_MBSINIT | 259 | gl_FUNC_MBSINIT |
95 | gl_WCHAR_MODULE_INDICATOR([mbsinit]) | 260 | gl_WCHAR_MODULE_INDICATOR([mbsinit]) |
261 | # Code from module memchr: | ||
262 | gl_FUNC_MEMCHR | ||
263 | gl_STRING_MODULE_INDICATOR([memchr]) | ||
264 | # Code from module mktime: | ||
96 | gl_FUNC_MKTIME | 265 | gl_FUNC_MKTIME |
266 | gl_TIME_MODULE_INDICATOR([mktime]) | ||
267 | # Code from module mountlist: | ||
97 | gl_MOUNTLIST | 268 | gl_MOUNTLIST |
269 | # Code from module multiarch: | ||
98 | gl_MULTIARCH | 270 | gl_MULTIARCH |
271 | # Code from module netdb: | ||
99 | gl_HEADER_NETDB | 272 | gl_HEADER_NETDB |
273 | # Code from module netinet_in: | ||
100 | gl_HEADER_NETINET_IN | 274 | gl_HEADER_NETINET_IN |
101 | AC_PROG_MKDIR_P | 275 | AC_PROG_MKDIR_P |
276 | # Code from module nl_langinfo: | ||
277 | gl_FUNC_NL_LANGINFO | ||
278 | gl_LANGINFO_MODULE_INDICATOR([nl_langinfo]) | ||
279 | # Code from module open: | ||
102 | gl_FUNC_OPEN | 280 | gl_FUNC_OPEN |
103 | gl_MODULE_INDICATOR([open]) | ||
104 | gl_FCNTL_MODULE_INDICATOR([open]) | 281 | gl_FCNTL_MODULE_INDICATOR([open]) |
282 | # Code from module regex: | ||
105 | gl_REGEX | 283 | gl_REGEX |
284 | # Code from module safe-read: | ||
106 | gl_SAFE_READ | 285 | gl_SAFE_READ |
286 | # Code from module safe-write: | ||
107 | gl_SAFE_WRITE | 287 | gl_SAFE_WRITE |
288 | # Code from module servent: | ||
108 | gl_SERVENT | 289 | gl_SERVENT |
290 | # Code from module size_max: | ||
109 | gl_SIZE_MAX | 291 | gl_SIZE_MAX |
292 | # Code from module snprintf: | ||
110 | gl_FUNC_SNPRINTF | 293 | gl_FUNC_SNPRINTF |
111 | gl_STDIO_MODULE_INDICATOR([snprintf]) | 294 | gl_STDIO_MODULE_INDICATOR([snprintf]) |
295 | # Code from module sockets: | ||
296 | gl_SOCKETS | ||
297 | # Code from module socklen: | ||
112 | gl_TYPE_SOCKLEN_T | 298 | gl_TYPE_SOCKLEN_T |
299 | # Code from module ssize_t: | ||
113 | gt_TYPE_SSIZE_T | 300 | gt_TYPE_SSIZE_T |
301 | # Code from module stat: | ||
302 | gl_FUNC_STAT | ||
303 | gl_SYS_STAT_MODULE_INDICATOR([stat]) | ||
304 | # Code from module stdbool: | ||
114 | AM_STDBOOL_H | 305 | AM_STDBOOL_H |
306 | # Code from module stddef: | ||
307 | gl_STDDEF_H | ||
308 | # Code from module stdint: | ||
115 | gl_STDINT_H | 309 | gl_STDINT_H |
310 | # Code from module stdio: | ||
116 | gl_STDIO_H | 311 | gl_STDIO_H |
312 | # Code from module stdlib: | ||
117 | gl_STDLIB_H | 313 | gl_STDLIB_H |
314 | # Code from module strdup-posix: | ||
118 | gl_FUNC_STRDUP_POSIX | 315 | gl_FUNC_STRDUP_POSIX |
119 | gl_STRING_MODULE_INDICATOR([strdup]) | 316 | gl_STRING_MODULE_INDICATOR([strdup]) |
317 | # Code from module streq: | ||
318 | # Code from module strerror: | ||
120 | gl_FUNC_STRERROR | 319 | gl_FUNC_STRERROR |
121 | gl_STRING_MODULE_INDICATOR([strerror]) | 320 | gl_STRING_MODULE_INDICATOR([strerror]) |
321 | # Code from module string: | ||
122 | gl_HEADER_STRING_H | 322 | gl_HEADER_STRING_H |
323 | # Code from module strndup: | ||
123 | gl_FUNC_STRNDUP | 324 | gl_FUNC_STRNDUP |
124 | gl_STRING_MODULE_INDICATOR([strndup]) | 325 | gl_STRING_MODULE_INDICATOR([strndup]) |
326 | # Code from module strnlen: | ||
125 | gl_FUNC_STRNLEN | 327 | gl_FUNC_STRNLEN |
126 | gl_STRING_MODULE_INDICATOR([strnlen]) | 328 | gl_STRING_MODULE_INDICATOR([strnlen]) |
329 | # Code from module strstr-simple: | ||
330 | gl_FUNC_STRSTR_SIMPLE | ||
331 | gl_STRING_MODULE_INDICATOR([strstr]) | ||
332 | # Code from module sys_socket: | ||
127 | gl_HEADER_SYS_SOCKET | 333 | gl_HEADER_SYS_SOCKET |
128 | AC_PROG_MKDIR_P | 334 | AC_PROG_MKDIR_P |
335 | # Code from module sys_stat: | ||
336 | gl_HEADER_SYS_STAT_H | ||
337 | AC_PROG_MKDIR_P | ||
338 | # Code from module time: | ||
129 | gl_HEADER_TIME_H | 339 | gl_HEADER_TIME_H |
340 | # Code from module time_r: | ||
130 | gl_TIME_R | 341 | gl_TIME_R |
342 | gl_TIME_MODULE_INDICATOR([time_r]) | ||
343 | # Code from module timegm: | ||
131 | gl_FUNC_TIMEGM | 344 | gl_FUNC_TIMEGM |
345 | gl_TIME_MODULE_INDICATOR([timegm]) | ||
346 | # Code from module unistd: | ||
132 | gl_UNISTD_H | 347 | gl_UNISTD_H |
348 | # Code from module unistd-safer: | ||
133 | gl_UNISTD_SAFER | 349 | gl_UNISTD_SAFER |
350 | # Code from module vasnprintf: | ||
134 | gl_FUNC_VASNPRINTF | 351 | gl_FUNC_VASNPRINTF |
352 | # Code from module vasprintf: | ||
135 | gl_FUNC_VASPRINTF | 353 | gl_FUNC_VASPRINTF |
136 | gl_STDIO_MODULE_INDICATOR([vasprintf]) | 354 | gl_STDIO_MODULE_INDICATOR([vasprintf]) |
137 | m4_ifdef([AM_XGETTEXT_OPTION], | 355 | m4_ifdef([AM_XGETTEXT_OPTION], |
138 | [AM_XGETTEXT_OPTION([--flag=asprintf:2:c-format]) | 356 | [AM_][XGETTEXT_OPTION([--flag=asprintf:2:c-format]) |
139 | AM_XGETTEXT_OPTION([--flag=vasprintf:2:c-format])]) | 357 | AM_][XGETTEXT_OPTION([--flag=vasprintf:2:c-format])]) |
358 | # Code from module verify: | ||
359 | # Code from module vsnprintf: | ||
140 | gl_FUNC_VSNPRINTF | 360 | gl_FUNC_VSNPRINTF |
141 | gl_STDIO_MODULE_INDICATOR([vsnprintf]) | 361 | gl_STDIO_MODULE_INDICATOR([vsnprintf]) |
362 | # Code from module warn-on-use: | ||
363 | # Code from module wchar: | ||
142 | gl_WCHAR_H | 364 | gl_WCHAR_H |
365 | # Code from module wcrtomb: | ||
143 | gl_FUNC_WCRTOMB | 366 | gl_FUNC_WCRTOMB |
144 | gl_WCHAR_MODULE_INDICATOR([wcrtomb]) | 367 | gl_WCHAR_MODULE_INDICATOR([wcrtomb]) |
368 | # Code from module wctype: | ||
145 | gl_WCTYPE_H | 369 | gl_WCTYPE_H |
370 | # Code from module write: | ||
146 | gl_FUNC_WRITE | 371 | gl_FUNC_WRITE |
147 | gl_UNISTD_MODULE_INDICATOR([write]) | 372 | gl_UNISTD_MODULE_INDICATOR([write]) |
373 | # Code from module xalloc: | ||
148 | gl_XALLOC | 374 | gl_XALLOC |
375 | # Code from module xalloc-die: | ||
376 | # Code from module xsize: | ||
149 | gl_XSIZE | 377 | gl_XSIZE |
378 | # Code from module xstrndup: | ||
150 | gl_XSTRNDUP | 379 | gl_XSTRNDUP |
380 | # End of code from modules | ||
151 | m4_ifval(gl_LIBSOURCES_LIST, [ | 381 | m4_ifval(gl_LIBSOURCES_LIST, [ |
152 | m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ || | 382 | m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ || |
153 | for gl_file in ]gl_LIBSOURCES_LIST[ ; do | 383 | for gl_file in ]gl_LIBSOURCES_LIST[ ; do |
@@ -170,7 +400,7 @@ AC_DEFUN([gl_INIT], | |||
170 | if test -n "$gl_LIBOBJS"; then | 400 | if test -n "$gl_LIBOBJS"; then |
171 | # Remove the extension. | 401 | # Remove the extension. |
172 | sed_drop_objext='s/\.o$//;s/\.obj$//' | 402 | sed_drop_objext='s/\.o$//;s/\.obj$//' |
173 | for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do | 403 | for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do |
174 | gl_libobjs="$gl_libobjs $i.$ac_objext" | 404 | gl_libobjs="$gl_libobjs $i.$ac_objext" |
175 | gl_ltlibobjs="$gl_ltlibobjs $i.lo" | 405 | gl_ltlibobjs="$gl_ltlibobjs $i.lo" |
176 | done | 406 | done |
@@ -187,6 +417,13 @@ AC_DEFUN([gl_INIT], | |||
187 | m4_pushdef([gltests_LIBSOURCES_DIR], []) | 417 | m4_pushdef([gltests_LIBSOURCES_DIR], []) |
188 | gl_COMMON | 418 | gl_COMMON |
189 | gl_source_base='tests' | 419 | gl_source_base='tests' |
420 | changequote(,)dnl | ||
421 | 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 | ||
422 | changequote([, ])dnl | ||
423 | AC_SUBST([gltests_WITNESS]) | ||
424 | gl_module_indicator_condition=$gltests_WITNESS | ||
425 | m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition]) | ||
426 | m4_popdef([gl_MODULE_INDICATOR_CONDITION]) | ||
190 | m4_ifval(gltests_LIBSOURCES_LIST, [ | 427 | m4_ifval(gltests_LIBSOURCES_LIST, [ |
191 | m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ || | 428 | m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ || |
192 | for gl_file in ]gltests_LIBSOURCES_LIST[ ; do | 429 | for gl_file in ]gltests_LIBSOURCES_LIST[ ; do |
@@ -209,7 +446,7 @@ AC_DEFUN([gl_INIT], | |||
209 | if test -n "$gltests_LIBOBJS"; then | 446 | if test -n "$gltests_LIBOBJS"; then |
210 | # Remove the extension. | 447 | # Remove the extension. |
211 | sed_drop_objext='s/\.o$//;s/\.obj$//' | 448 | sed_drop_objext='s/\.o$//;s/\.obj$//' |
212 | for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do | 449 | for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do |
213 | gltests_libobjs="$gltests_libobjs $i.$ac_objext" | 450 | gltests_libobjs="$gltests_libobjs $i.$ac_objext" |
214 | gltests_ltlibobjs="$gltests_ltlibobjs $i.lo" | 451 | gltests_ltlibobjs="$gltests_ltlibobjs $i.lo" |
215 | done | 452 | done |
@@ -280,8 +517,10 @@ AC_DEFUN([gltests_LIBSOURCES], [ | |||
280 | # This macro records the list of files which have been installed by | 517 | # This macro records the list of files which have been installed by |
281 | # gnulib-tool and may be removed by future gnulib-tool invocations. | 518 | # gnulib-tool and may be removed by future gnulib-tool invocations. |
282 | AC_DEFUN([gl_FILE_LIST], [ | 519 | AC_DEFUN([gl_FILE_LIST], [ |
520 | build-aux/arg-nonnull.h | ||
521 | build-aux/c++defs.h | ||
283 | build-aux/config.rpath | 522 | build-aux/config.rpath |
284 | build-aux/link-warning.h | 523 | build-aux/warn-on-use.h |
285 | lib/alignof.h | 524 | lib/alignof.h |
286 | lib/alloca.c | 525 | lib/alloca.c |
287 | lib/alloca.in.h | 526 | lib/alloca.in.h |
@@ -290,17 +529,22 @@ AC_DEFUN([gl_FILE_LIST], [ | |||
290 | lib/asprintf.c | 529 | lib/asprintf.c |
291 | lib/base64.c | 530 | lib/base64.c |
292 | lib/base64.h | 531 | lib/base64.h |
532 | lib/basename-lgpl.c | ||
293 | lib/basename.c | 533 | lib/basename.c |
294 | lib/btowc.c | 534 | lib/btowc.c |
295 | lib/c-strtod.c | 535 | lib/c-strtod.c |
296 | lib/c-strtod.h | 536 | lib/c-strtod.h |
297 | lib/cloexec.c | 537 | lib/cloexec.c |
298 | lib/cloexec.h | 538 | lib/cloexec.h |
539 | lib/close-hook.c | ||
540 | lib/close-hook.h | ||
299 | lib/config.charset | 541 | lib/config.charset |
300 | lib/creat-safer.c | 542 | lib/creat-safer.c |
543 | lib/dirname-lgpl.c | ||
301 | lib/dirname.c | 544 | lib/dirname.c |
302 | lib/dirname.h | 545 | lib/dirname.h |
303 | lib/dup-safer.c | 546 | lib/dup-safer.c |
547 | lib/dup2.c | ||
304 | lib/errno.in.h | 548 | lib/errno.in.h |
305 | lib/error.c | 549 | lib/error.c |
306 | lib/error.h | 550 | lib/error.h |
@@ -308,6 +552,7 @@ AC_DEFUN([gl_FILE_LIST], [ | |||
308 | lib/exitfail.h | 552 | lib/exitfail.h |
309 | lib/fcntl--.h | 553 | lib/fcntl--.h |
310 | lib/fcntl-safer.h | 554 | lib/fcntl-safer.h |
555 | lib/fcntl.c | ||
311 | lib/fcntl.in.h | 556 | lib/fcntl.in.h |
312 | lib/fd-safer.c | 557 | lib/fd-safer.c |
313 | lib/float+.h | 558 | lib/float+.h |
@@ -322,6 +567,7 @@ AC_DEFUN([gl_FILE_LIST], [ | |||
322 | lib/full-write.h | 567 | lib/full-write.h |
323 | lib/gai_strerror.c | 568 | lib/gai_strerror.c |
324 | lib/getaddrinfo.c | 569 | lib/getaddrinfo.c |
570 | lib/getdtablesize.c | ||
325 | lib/gethostname.c | 571 | lib/gethostname.c |
326 | lib/getloadavg.c | 572 | lib/getloadavg.c |
327 | lib/getopt.c | 573 | lib/getopt.c |
@@ -331,17 +577,23 @@ AC_DEFUN([gl_FILE_LIST], [ | |||
331 | lib/gettext.h | 577 | lib/gettext.h |
332 | lib/inet_ntop.c | 578 | lib/inet_ntop.c |
333 | lib/intprops.h | 579 | lib/intprops.h |
580 | lib/langinfo.in.h | ||
334 | lib/localcharset.c | 581 | lib/localcharset.c |
335 | lib/localcharset.h | 582 | lib/localcharset.h |
583 | lib/locale.in.h | ||
336 | lib/malloc.c | 584 | lib/malloc.c |
337 | lib/math.in.h | 585 | lib/math.in.h |
338 | lib/mbrtowc.c | 586 | lib/mbrtowc.c |
339 | lib/mbsinit.c | 587 | lib/mbsinit.c |
588 | lib/memchr.c | ||
589 | lib/memchr.valgrind | ||
590 | lib/mktime-internal.h | ||
340 | lib/mktime.c | 591 | lib/mktime.c |
341 | lib/mountlist.c | 592 | lib/mountlist.c |
342 | lib/mountlist.h | 593 | lib/mountlist.h |
343 | lib/netdb.in.h | 594 | lib/netdb.in.h |
344 | lib/netinet_in.in.h | 595 | lib/netinet_in.in.h |
596 | lib/nl_langinfo.c | ||
345 | lib/open-safer.c | 597 | lib/open-safer.c |
346 | lib/open.c | 598 | lib/open.c |
347 | lib/pipe-safer.c | 599 | lib/pipe-safer.c |
@@ -363,11 +615,16 @@ AC_DEFUN([gl_FILE_LIST], [ | |||
363 | lib/safe-write.h | 615 | lib/safe-write.h |
364 | lib/size_max.h | 616 | lib/size_max.h |
365 | lib/snprintf.c | 617 | lib/snprintf.c |
618 | lib/sockets.c | ||
619 | lib/sockets.h | ||
620 | lib/stat.c | ||
366 | lib/stdbool.in.h | 621 | lib/stdbool.in.h |
622 | lib/stddef.in.h | ||
367 | lib/stdint.in.h | 623 | lib/stdint.in.h |
368 | lib/stdio-write.c | 624 | lib/stdio-write.c |
369 | lib/stdio.in.h | 625 | lib/stdio.in.h |
370 | lib/stdlib.in.h | 626 | lib/stdlib.in.h |
627 | lib/str-two-way.h | ||
371 | lib/strdup.c | 628 | lib/strdup.c |
372 | lib/streq.h | 629 | lib/streq.h |
373 | lib/strerror.c | 630 | lib/strerror.c |
@@ -375,7 +632,9 @@ AC_DEFUN([gl_FILE_LIST], [ | |||
375 | lib/stripslash.c | 632 | lib/stripslash.c |
376 | lib/strndup.c | 633 | lib/strndup.c |
377 | lib/strnlen.c | 634 | lib/strnlen.c |
635 | lib/strstr.c | ||
378 | lib/sys_socket.in.h | 636 | lib/sys_socket.in.h |
637 | lib/sys_stat.in.h | ||
379 | lib/time.in.h | 638 | lib/time.in.h |
380 | lib/time_r.c | 639 | lib/time_r.c |
381 | lib/timegm.c | 640 | lib/timegm.c |
@@ -387,6 +646,7 @@ AC_DEFUN([gl_FILE_LIST], [ | |||
387 | lib/vasprintf.c | 646 | lib/vasprintf.c |
388 | lib/verify.h | 647 | lib/verify.h |
389 | lib/vsnprintf.c | 648 | lib/vsnprintf.c |
649 | lib/w32sock.h | ||
390 | lib/wchar.in.h | 650 | lib/wchar.in.h |
391 | lib/wcrtomb.c | 651 | lib/wcrtomb.c |
392 | lib/wctype.in.h | 652 | lib/wctype.in.h |
@@ -408,17 +668,20 @@ AC_DEFUN([gl_FILE_LIST], [ | |||
408 | m4/dirname.m4 | 668 | m4/dirname.m4 |
409 | m4/dos.m4 | 669 | m4/dos.m4 |
410 | m4/double-slash-root.m4 | 670 | m4/double-slash-root.m4 |
671 | m4/dup2.m4 | ||
411 | m4/errno_h.m4 | 672 | m4/errno_h.m4 |
412 | m4/error.m4 | 673 | m4/error.m4 |
413 | m4/exitfail.m4 | ||
414 | m4/extensions.m4 | 674 | m4/extensions.m4 |
675 | m4/fcntl-o.m4 | ||
415 | m4/fcntl-safer.m4 | 676 | m4/fcntl-safer.m4 |
677 | m4/fcntl.m4 | ||
416 | m4/fcntl_h.m4 | 678 | m4/fcntl_h.m4 |
417 | m4/float_h.m4 | 679 | m4/float_h.m4 |
418 | m4/floorf.m4 | 680 | m4/floorf.m4 |
419 | m4/fstypename.m4 | 681 | m4/fstypename.m4 |
420 | m4/fsusage.m4 | 682 | m4/fsusage.m4 |
421 | m4/getaddrinfo.m4 | 683 | m4/getaddrinfo.m4 |
684 | m4/getdtablesize.m4 | ||
422 | m4/gethostname.m4 | 685 | m4/gethostname.m4 |
423 | m4/getloadavg.m4 | 686 | m4/getloadavg.m4 |
424 | m4/getopt.m4 | 687 | m4/getopt.m4 |
@@ -439,6 +702,7 @@ AC_DEFUN([gl_FILE_LIST], [ | |||
439 | m4/intmax_t.m4 | 702 | m4/intmax_t.m4 |
440 | m4/inttypes-pri.m4 | 703 | m4/inttypes-pri.m4 |
441 | m4/inttypes_h.m4 | 704 | m4/inttypes_h.m4 |
705 | m4/langinfo_h.m4 | ||
442 | m4/lcmessage.m4 | 706 | m4/lcmessage.m4 |
443 | m4/lib-ld.m4 | 707 | m4/lib-ld.m4 |
444 | m4/lib-link.m4 | 708 | m4/lib-link.m4 |
@@ -447,6 +711,7 @@ AC_DEFUN([gl_FILE_LIST], [ | |||
447 | m4/locale-fr.m4 | 711 | m4/locale-fr.m4 |
448 | m4/locale-ja.m4 | 712 | m4/locale-ja.m4 |
449 | m4/locale-zh.m4 | 713 | m4/locale-zh.m4 |
714 | m4/locale_h.m4 | ||
450 | m4/lock.m4 | 715 | m4/lock.m4 |
451 | m4/longlong.m4 | 716 | m4/longlong.m4 |
452 | m4/ls-mntd-fs.m4 | 717 | m4/ls-mntd-fs.m4 |
@@ -455,11 +720,15 @@ AC_DEFUN([gl_FILE_LIST], [ | |||
455 | m4/mbrtowc.m4 | 720 | m4/mbrtowc.m4 |
456 | m4/mbsinit.m4 | 721 | m4/mbsinit.m4 |
457 | m4/mbstate_t.m4 | 722 | m4/mbstate_t.m4 |
723 | m4/memchr.m4 | ||
458 | m4/mktime.m4 | 724 | m4/mktime.m4 |
725 | m4/mmap-anon.m4 | ||
726 | m4/mode_t.m4 | ||
459 | m4/mountlist.m4 | 727 | m4/mountlist.m4 |
460 | m4/multiarch.m4 | 728 | m4/multiarch.m4 |
461 | m4/netdb_h.m4 | 729 | m4/netdb_h.m4 |
462 | m4/netinet_in_h.m4 | 730 | m4/netinet_in_h.m4 |
731 | m4/nl_langinfo.m4 | ||
463 | m4/nls.m4 | 732 | m4/nls.m4 |
464 | m4/onceonly.m4 | 733 | m4/onceonly.m4 |
465 | m4/open.m4 | 734 | m4/open.m4 |
@@ -473,10 +742,13 @@ AC_DEFUN([gl_FILE_LIST], [ | |||
473 | m4/servent.m4 | 742 | m4/servent.m4 |
474 | m4/size_max.m4 | 743 | m4/size_max.m4 |
475 | m4/snprintf.m4 | 744 | m4/snprintf.m4 |
745 | m4/sockets.m4 | ||
476 | m4/socklen.m4 | 746 | m4/socklen.m4 |
477 | m4/sockpfaf.m4 | 747 | m4/sockpfaf.m4 |
478 | m4/ssize_t.m4 | 748 | m4/ssize_t.m4 |
749 | m4/stat.m4 | ||
479 | m4/stdbool.m4 | 750 | m4/stdbool.m4 |
751 | m4/stddef_h.m4 | ||
480 | m4/stdint.m4 | 752 | m4/stdint.m4 |
481 | m4/stdint_h.m4 | 753 | m4/stdint_h.m4 |
482 | m4/stdio_h.m4 | 754 | m4/stdio_h.m4 |
@@ -486,7 +758,9 @@ AC_DEFUN([gl_FILE_LIST], [ | |||
486 | m4/string_h.m4 | 758 | m4/string_h.m4 |
487 | m4/strndup.m4 | 759 | m4/strndup.m4 |
488 | m4/strnlen.m4 | 760 | m4/strnlen.m4 |
761 | m4/strstr.m4 | ||
489 | m4/sys_socket_h.m4 | 762 | m4/sys_socket_h.m4 |
763 | m4/sys_stat_h.m4 | ||
490 | m4/threadlib.m4 | 764 | m4/threadlib.m4 |
491 | m4/time_h.m4 | 765 | m4/time_h.m4 |
492 | m4/time_r.m4 | 766 | m4/time_r.m4 |
@@ -498,10 +772,11 @@ AC_DEFUN([gl_FILE_LIST], [ | |||
498 | m4/vasprintf.m4 | 772 | m4/vasprintf.m4 |
499 | m4/visibility.m4 | 773 | m4/visibility.m4 |
500 | m4/vsnprintf.m4 | 774 | m4/vsnprintf.m4 |
501 | m4/wchar.m4 | 775 | m4/warn-on-use.m4 |
776 | m4/wchar_h.m4 | ||
502 | m4/wchar_t.m4 | 777 | m4/wchar_t.m4 |
503 | m4/wcrtomb.m4 | 778 | m4/wcrtomb.m4 |
504 | m4/wctype.m4 | 779 | m4/wctype_h.m4 |
505 | m4/wint_t.m4 | 780 | m4/wint_t.m4 |
506 | m4/write.m4 | 781 | m4/write.m4 |
507 | m4/xalloc.m4 | 782 | m4/xalloc.m4 |