1 # DO NOT EDIT! GENERATED AUTOMATICALLY!
2 # Copyright (C) 2002-2011 Free Software Foundation, Inc.
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
6 # Public License, this file may be distributed as part of a program
7 # that contains a configuration script generated by Autoconf, under
8 # the same distribution terms as the rest of that program.
10 # Generated by gnulib-tool.
12 # This file represents the compiled summary of the specification in
13 # gnulib-cache.m4. It lists the computed macro invocations that need
14 # to be invoked from configure.ac.
15 # In projects that use version control, this file can be treated like
19 # This macro should be invoked from ./configure.ac, in the section
20 # "Checks for programs", right after AC_PROG_CC, and certainly before
21 # any checks for libraries, header files, types and library functions.
24 m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace
25 m4_pattern_allow([^gl_ES$])dnl a valid locale name
26 m4_pattern_allow([^gl_LIBOBJS$])dnl a variable
27 m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable
28 AC_REQUIRE([AC_PROG_RANLIB])
29 AC_REQUIRE([AM_PROG_CC_C_O])
30 # Code from module accept:
31 # Code from module alignof:
32 # Code from module alloca-opt:
33 # Code from module announce-gen:
34 # Code from module arg-nonnull:
35 # Code from module arpa_inet:
36 # Code from module autobuild:
38 # Code from module bind:
39 # Code from module byteswap:
40 # Code from module c++defs:
41 # Code from module c-ctype:
42 # Code from module c-strcase:
43 # Code from module c-strcaseeq:
44 # Code from module canonicalize-lgpl:
45 # Code from module close:
46 # Code from module close-hook:
47 # Code from module connect:
48 # Code from module duplocale:
49 # Code from module environ:
50 # Code from module errno:
51 # Code from module extensions:
52 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
53 # Code from module fclose:
54 # Code from module float:
55 # Code from module flock:
56 # Code from module fpieee:
57 AC_REQUIRE([gl_FP_IEEE])
58 # Code from module full-read:
59 # Code from module full-write:
60 # Code from module func:
61 # Code from module gendocs:
62 # Code from module getaddrinfo:
63 # Code from module getpeername:
64 # Code from module getsockname:
65 # Code from module getsockopt:
66 # Code from module gettext-h:
67 # Code from module git-version-gen:
68 # Code from module gitlog-to-changelog:
69 # Code from module gnu-web-doc-update:
70 # Code from module gnumakefile:
71 # Code from module gnupload:
72 # Code from module gperf:
73 # Code from module havelib:
74 # Code from module hostent:
75 # Code from module iconv:
76 # Code from module iconv-h:
77 # Code from module iconv_open:
78 # Code from module iconv_open-utf:
79 # Code from module include_next:
80 # Code from module inet_ntop:
81 # Code from module inet_pton:
82 # Code from module inline:
83 # Code from module isinf:
84 # Code from module isnan:
85 # Code from module isnand:
86 # Code from module isnanf:
87 # Code from module isnanl:
88 # Code from module lib-symbol-versions:
89 # Code from module lib-symbol-visibility:
90 # Code from module libunistring:
91 # Code from module listen:
92 # Code from module locale:
93 # Code from module lstat:
94 # Code from module maintainer-makefile:
95 # Code from module malloc:
96 # Code from module malloc-gnu:
97 # Code from module malloc-posix:
98 # Code from module malloca:
99 # Code from module math:
100 # Code from module memchr:
101 # Code from module multiarch:
102 # Code from module netdb:
103 # Code from module netinet_in:
104 # Code from module nproc:
105 # Code from module pathmax:
106 # Code from module putenv:
107 # Code from module readlink:
108 # Code from module recv:
109 # Code from module recvfrom:
110 # Code from module safe-read:
111 # Code from module safe-write:
112 # Code from module send:
113 # Code from module sendto:
114 # Code from module servent:
115 # Code from module setsockopt:
116 # Code from module shutdown:
117 # Code from module size_max:
118 # Code from module snprintf:
119 # Code from module socket:
120 # Code from module socketlib:
121 # Code from module sockets:
122 # Code from module socklen:
123 # Code from module ssize_t:
124 # Code from module stat:
125 # Code from module stat-time:
126 # Code from module stdarg:
127 dnl Some compilers (e.g., AIX 5.3 cc) need to be in c99 mode
128 dnl for the builtin va_copy to work. With Autoconf 2.60 or later,
129 dnl AC_PROG_CC_STDC arranges for this. With older Autoconf AC_PROG_CC_STDC
130 dnl shouldn't hurt, though installers are on their own to set c99 mode.
131 AC_REQUIRE([AC_PROG_CC_STDC])
132 # Code from module stdbool:
133 # Code from module stddef:
134 # Code from module stdint:
135 # Code from module stdio:
136 # Code from module stdlib:
137 # Code from module strcase:
138 # Code from module strftime:
139 # Code from module striconveh:
140 # Code from module string:
141 # Code from module strings:
142 # Code from module sys_file:
143 # Code from module sys_socket:
144 # Code from module sys_stat:
145 # Code from module sys_time:
146 # Code from module time:
147 # Code from module time_r:
148 # Code from module trunc:
149 # Code from module unistd:
150 # Code from module unistr/base:
151 # Code from module unistr/u8-mbtouc:
152 # Code from module unistr/u8-mbtouc-unsafe:
153 # Code from module unistr/u8-mbtoucr:
154 # Code from module unistr/u8-prev:
155 # Code from module unistr/u8-uctomb:
156 # Code from module unitypes:
157 # Code from module unused-parameter:
158 # Code from module useless-if-before-free:
159 # Code from module vasnprintf:
160 # Code from module vc-list-files:
161 # Code from module verify:
162 # Code from module version-etc:
163 # Code from module version-etc-fsf:
164 # Code from module vsnprintf:
165 # Code from module warn-on-use:
166 # Code from module warnings:
167 # Code from module wchar:
168 # Code from module write:
169 # Code from module xsize:
172 # This macro should be invoked from ./configure.ac, in the section
173 # "Check for header files, types and library functions".
176 AM_CONDITIONAL([GL_COND_LIBTOOL], [true])
179 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
180 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
181 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
182 m4_pushdef([gl_LIBSOURCES_LIST], [])
183 m4_pushdef([gl_LIBSOURCES_DIR], [])
186 # Code from module accept:
187 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
188 if test "$ac_cv_header_winsock2_h" = yes; then
191 gl_SYS_SOCKET_MODULE_INDICATOR([accept])
192 # Code from module alignof:
193 # Code from module alloca-opt:
195 # Code from module announce-gen:
196 # Code from module arg-nonnull:
197 # Code from module arpa_inet:
200 # Code from module autobuild:
201 # Code from module bind:
202 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
203 if test "$ac_cv_header_winsock2_h" = yes; then
206 gl_SYS_SOCKET_MODULE_INDICATOR([bind])
207 # Code from module byteswap:
209 # Code from module c++defs:
210 # Code from module c-ctype:
211 # Code from module c-strcase:
212 # Code from module c-strcaseeq:
213 # Code from module canonicalize-lgpl:
215 gl_MODULE_INDICATOR([canonicalize-lgpl])
216 gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name])
217 gl_STDLIB_MODULE_INDICATOR([realpath])
218 # Code from module close:
220 gl_UNISTD_MODULE_INDICATOR([close])
221 # Code from module close-hook:
222 # Code from module connect:
223 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
224 if test "$ac_cv_header_winsock2_h" = yes; then
227 gl_SYS_SOCKET_MODULE_INDICATOR([connect])
228 # Code from module duplocale:
230 gl_LOCALE_MODULE_INDICATOR([duplocale])
231 # Code from module environ:
233 gl_UNISTD_MODULE_INDICATOR([environ])
234 # Code from module errno:
236 # Code from module extensions:
237 # Code from module fclose:
239 gl_STDIO_MODULE_INDICATOR([fclose])
240 # Code from module float:
242 # Code from module flock:
244 gl_HEADER_SYS_FILE_MODULE_INDICATOR([flock])
245 # Code from module fpieee:
246 # Code from module full-read:
247 # Code from module full-write:
248 # Code from module func:
250 # Code from module gendocs:
251 # Code from module getaddrinfo:
253 gl_NETDB_MODULE_INDICATOR([getaddrinfo])
254 # Code from module getpeername:
255 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
256 if test "$ac_cv_header_winsock2_h" = yes; then
257 AC_LIBOBJ([getpeername])
259 gl_SYS_SOCKET_MODULE_INDICATOR([getpeername])
260 # Code from module getsockname:
261 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
262 if test "$ac_cv_header_winsock2_h" = yes; then
263 AC_LIBOBJ([getsockname])
265 gl_SYS_SOCKET_MODULE_INDICATOR([getsockname])
266 # Code from module getsockopt:
267 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
268 if test "$ac_cv_header_winsock2_h" = yes; then
269 AC_LIBOBJ([getsockopt])
271 gl_SYS_SOCKET_MODULE_INDICATOR([getsockopt])
272 # Code from module gettext-h:
274 AC_SUBST([LTLIBINTL])
275 # Code from module git-version-gen:
276 # Code from module gitlog-to-changelog:
277 # Code from module gnu-web-doc-update:
278 # Code from module gnumakefile:
279 # Autoconf 2.61a.99 and earlier don't support linking a file only
280 # in VPATH builds. But since GNUmakefile is for maintainer use
281 # only, it does not matter if we skip the link with older autoconf.
282 # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
283 # builds, so use a shell variable to bypass this.
284 GNUmakefile=GNUmakefile
285 m4_if(m4_version_compare([2.61a.100],
286 m4_defn([m4_PACKAGE_VERSION])), [1], [],
287 [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
288 [GNUmakefile=$GNUmakefile])])
289 # Code from module gnupload:
290 # Code from module gperf:
291 # Code from module havelib:
292 # Code from module hostent:
294 # Code from module iconv:
296 m4_ifdef([gl_ICONV_MODULE_INDICATOR],
297 [gl_ICONV_MODULE_INDICATOR([iconv])])
298 # Code from module iconv-h:
300 # Code from module iconv_open:
302 # Code from module iconv_open-utf:
303 gl_FUNC_ICONV_OPEN_UTF
304 # Code from module include_next:
305 # Code from module inet_ntop:
307 gl_ARPA_INET_MODULE_INDICATOR([inet_ntop])
308 # Code from module inet_pton:
310 gl_ARPA_INET_MODULE_INDICATOR([inet_pton])
311 # Code from module inline:
313 # Code from module isinf:
315 gl_MATH_MODULE_INDICATOR([isinf])
316 # Code from module isnan:
318 gl_MATH_MODULE_INDICATOR([isnan])
319 # Code from module isnand:
321 gl_MATH_MODULE_INDICATOR([isnand])
322 # Code from module isnanf:
324 gl_MATH_MODULE_INDICATOR([isnanf])
325 # Code from module isnanl:
327 gl_MATH_MODULE_INDICATOR([isnanl])
328 # Code from module lib-symbol-versions:
330 # Code from module lib-symbol-visibility:
332 # Code from module libunistring:
334 # Code from module listen:
335 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
336 if test "$ac_cv_header_winsock2_h" = yes; then
339 gl_SYS_SOCKET_MODULE_INDICATOR([listen])
340 # Code from module locale:
342 # Code from module lstat:
344 gl_SYS_STAT_MODULE_INDICATOR([lstat])
345 # Code from module maintainer-makefile:
346 AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER],
347 [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])])
348 # Code from module malloc:
349 # Code from module malloc-gnu:
351 gl_MODULE_INDICATOR([malloc-gnu])
352 # Code from module malloc-posix:
354 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
355 # Code from module malloca:
357 # Code from module math:
359 # Code from module memchr:
361 gl_STRING_MODULE_INDICATOR([memchr])
362 # Code from module multiarch:
364 # Code from module netdb:
366 # Code from module netinet_in:
369 # Code from module nproc:
371 # Code from module pathmax:
373 # Code from module putenv:
375 gl_STDLIB_MODULE_INDICATOR([putenv])
376 # Code from module readlink:
378 gl_UNISTD_MODULE_INDICATOR([readlink])
379 # Code from module recv:
380 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
381 if test "$ac_cv_header_winsock2_h" = yes; then
384 gl_SYS_SOCKET_MODULE_INDICATOR([recv])
385 # Code from module recvfrom:
386 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
387 if test "$ac_cv_header_winsock2_h" = yes; then
388 AC_LIBOBJ([recvfrom])
390 gl_SYS_SOCKET_MODULE_INDICATOR([recvfrom])
391 # Code from module safe-read:
393 # Code from module safe-write:
395 # Code from module send:
396 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
397 if test "$ac_cv_header_winsock2_h" = yes; then
400 gl_SYS_SOCKET_MODULE_INDICATOR([send])
401 # Code from module sendto:
402 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
403 if test "$ac_cv_header_winsock2_h" = yes; then
406 gl_SYS_SOCKET_MODULE_INDICATOR([sendto])
407 # Code from module servent:
409 # Code from module setsockopt:
410 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
411 if test "$ac_cv_header_winsock2_h" = yes; then
412 AC_LIBOBJ([setsockopt])
414 gl_SYS_SOCKET_MODULE_INDICATOR([setsockopt])
415 # Code from module shutdown:
416 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
417 if test "$ac_cv_header_winsock2_h" = yes; then
418 AC_LIBOBJ([shutdown])
420 gl_SYS_SOCKET_MODULE_INDICATOR([shutdown])
421 # Code from module size_max:
423 # Code from module snprintf:
425 gl_STDIO_MODULE_INDICATOR([snprintf])
426 gl_MODULE_INDICATOR([snprintf])
427 # Code from module socket:
428 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
429 if test "$ac_cv_header_winsock2_h" = yes; then
432 # When this module is used, sockets may actually occur as file descriptors,
433 # hence it is worth warning if the modules 'close' and 'ioctl' are not used.
434 m4_ifdef([gl_UNISTD_H_DEFAULTS], [AC_REQUIRE([gl_UNISTD_H_DEFAULTS])])
435 m4_ifdef([gl_SYS_IOCTL_H_DEFAULTS], [AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS])])
436 AC_REQUIRE([gl_PREREQ_SYS_H_WINSOCK2])
437 if test "$ac_cv_header_winsock2_h" = yes; then
438 UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
439 SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
441 gl_SYS_SOCKET_MODULE_INDICATOR([socket])
442 # Code from module socketlib:
444 # Code from module sockets:
446 # Code from module socklen:
448 # Code from module ssize_t:
450 # Code from module stat:
452 gl_SYS_STAT_MODULE_INDICATOR([stat])
453 # Code from module stat-time:
456 # Code from module stdarg:
458 # Code from module stdbool:
460 # Code from module stddef:
462 # Code from module stdint:
464 # Code from module stdio:
466 # Code from module stdlib:
468 # Code from module strcase:
470 # Code from module strftime:
472 # Code from module striconveh:
473 if test $gl_cond_libtool = false; then
474 gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV"
475 gl_libdeps="$gl_libdeps $LIBICONV"
477 # Code from module string:
479 # Code from module strings:
481 # Code from module sys_file:
484 # Code from module sys_socket:
487 # Code from module sys_stat:
490 # Code from module sys_time:
493 # Code from module time:
495 # Code from module time_r:
497 gl_TIME_MODULE_INDICATOR([time_r])
498 # Code from module trunc:
500 gl_MATH_MODULE_INDICATOR([trunc])
501 # Code from module unistd:
503 # Code from module unistr/base:
504 gl_LIBUNISTRING_LIBHEADER([0.9.2], [unistr.h])
505 # Code from module unistr/u8-mbtouc:
506 gl_MODULE_INDICATOR([unistr/u8-mbtouc])
507 gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u8-mbtouc])
508 # Code from module unistr/u8-mbtouc-unsafe:
509 gl_MODULE_INDICATOR([unistr/u8-mbtouc-unsafe])
510 gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u8-mbtouc-unsafe])
511 # Code from module unistr/u8-mbtoucr:
512 gl_MODULE_INDICATOR([unistr/u8-mbtoucr])
513 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-mbtoucr])
514 # Code from module unistr/u8-prev:
515 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-prev])
516 # Code from module unistr/u8-uctomb:
517 gl_MODULE_INDICATOR([unistr/u8-uctomb])
518 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-uctomb])
519 # Code from module unitypes:
520 gl_LIBUNISTRING_LIBHEADER([0.9], [unitypes.h])
521 # Code from module unused-parameter:
522 # Code from module useless-if-before-free:
523 # Code from module vasnprintf:
525 # Code from module vc-list-files:
526 # Code from module verify:
527 # Code from module version-etc:
529 # Code from module version-etc-fsf:
530 # Code from module vsnprintf:
532 gl_STDIO_MODULE_INDICATOR([vsnprintf])
533 # Code from module warn-on-use:
534 # Code from module warnings:
535 AC_SUBST([WARN_CFLAGS])
536 # Code from module wchar:
538 # Code from module write:
540 gl_UNISTD_MODULE_INDICATOR([write])
541 # Code from module xsize:
543 # End of code from modules
544 m4_ifval(gl_LIBSOURCES_LIST, [
545 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
546 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
547 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
548 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
552 m4_if(m4_sysval, [0], [],
553 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
555 m4_popdef([gl_LIBSOURCES_DIR])
556 m4_popdef([gl_LIBSOURCES_LIST])
557 m4_popdef([AC_LIBSOURCES])
558 m4_popdef([AC_REPLACE_FUNCS])
559 m4_popdef([AC_LIBOBJ])
560 AC_CONFIG_COMMANDS_PRE([
563 if test -n "$gl_LIBOBJS"; then
564 # Remove the extension.
565 sed_drop_objext='s/\.o$//;s/\.obj$//'
566 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
567 gl_libobjs="$gl_libobjs $i.$ac_objext"
568 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
571 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
572 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
576 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
577 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
578 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
579 m4_pushdef([gltests_LIBSOURCES_LIST], [])
580 m4_pushdef([gltests_LIBSOURCES_DIR], [])
582 gl_source_base='tests'
584 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
586 AC_SUBST([gltests_WITNESS])
587 gl_module_indicator_condition=$gltests_WITNESS
588 m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
589 m4_popdef([gl_MODULE_INDICATOR_CONDITION])
590 m4_ifval(gltests_LIBSOURCES_LIST, [
591 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
592 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
593 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
594 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
598 m4_if(m4_sysval, [0], [],
599 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
601 m4_popdef([gltests_LIBSOURCES_DIR])
602 m4_popdef([gltests_LIBSOURCES_LIST])
603 m4_popdef([AC_LIBSOURCES])
604 m4_popdef([AC_REPLACE_FUNCS])
605 m4_popdef([AC_LIBOBJ])
606 AC_CONFIG_COMMANDS_PRE([
609 if test -n "$gltests_LIBOBJS"; then
610 # Remove the extension.
611 sed_drop_objext='s/\.o$//;s/\.obj$//'
612 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
613 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
614 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
617 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
618 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
622 # Like AC_LIBOBJ, except that the module name goes
623 # into gl_LIBOBJS instead of into LIBOBJS.
624 AC_DEFUN([gl_LIBOBJ], [
625 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
626 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
629 # Like AC_REPLACE_FUNCS, except that the module name goes
630 # into gl_LIBOBJS instead of into LIBOBJS.
631 AC_DEFUN([gl_REPLACE_FUNCS], [
632 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
633 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
636 # Like AC_LIBSOURCES, except the directory where the source file is
637 # expected is derived from the gnulib-tool parameterization,
638 # and alloca is special cased (for the alloca-opt module).
639 # We could also entirely rely on EXTRA_lib..._SOURCES.
640 AC_DEFUN([gl_LIBSOURCES], [
641 m4_foreach([_gl_NAME], [$1], [
642 m4_if(_gl_NAME, [alloca.c], [], [
643 m4_define([gl_LIBSOURCES_DIR], [lib])
644 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
649 # Like AC_LIBOBJ, except that the module name goes
650 # into gltests_LIBOBJS instead of into LIBOBJS.
651 AC_DEFUN([gltests_LIBOBJ], [
652 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
653 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
656 # Like AC_REPLACE_FUNCS, except that the module name goes
657 # into gltests_LIBOBJS instead of into LIBOBJS.
658 AC_DEFUN([gltests_REPLACE_FUNCS], [
659 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
660 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
663 # Like AC_LIBSOURCES, except the directory where the source file is
664 # expected is derived from the gnulib-tool parameterization,
665 # and alloca is special cased (for the alloca-opt module).
666 # We could also entirely rely on EXTRA_lib..._SOURCES.
667 AC_DEFUN([gltests_LIBSOURCES], [
668 m4_foreach([_gl_NAME], [$1], [
669 m4_if(_gl_NAME, [alloca.c], [], [
670 m4_define([gltests_LIBSOURCES_DIR], [tests])
671 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
676 # This macro records the list of files which have been installed by
677 # gnulib-tool and may be removed by future gnulib-tool invocations.
678 AC_DEFUN([gl_FILE_LIST], [
679 build-aux/announce-gen
680 build-aux/arg-nonnull.h
682 build-aux/config.rpath
684 build-aux/git-version-gen
685 build-aux/gitlog-to-changelog
686 build-aux/gnu-web-doc-update
688 build-aux/unused-parameter.h
689 build-aux/useless-if-before-free
690 build-aux/vc-list-files
691 build-aux/warn-on-use.h
706 lib/canonicalize-lgpl.c
730 lib/iconv_open-aix.gperf
731 lib/iconv_open-hpux.gperf
732 lib/iconv_open-irix.gperf
733 lib/iconv_open-osf.gperf
734 lib/iconv_open-solaris.gperf
744 lib/libunistring.valgrind
807 lib/unistr/u8-mbtouc-aux.c
808 lib/unistr/u8-mbtouc-unsafe-aux.c
809 lib/unistr/u8-mbtouc-unsafe.c
810 lib/unistr/u8-mbtouc.c
811 lib/unistr/u8-mbtoucr.c
813 lib/unistr/u8-uctomb-aux.c
814 lib/unistr/u8-uctomb.c
819 lib/version-etc-fsf.c
828 m4/absolute-header.m4
838 m4/double-slash-root.m4
869 m4/ld-version-script.m4
873 m4/libunistring-base.m4