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 binary-io:
39 # Code from module bind:
40 # Code from module byteswap:
41 # Code from module c++defs:
42 # Code from module c-ctype:
43 # Code from module c-strcase:
44 # Code from module c-strcaseeq:
45 # Code from module canonicalize-lgpl:
46 # Code from module ceil:
47 # Code from module close:
48 # Code from module connect:
49 # Code from module dirname-lgpl:
50 # Code from module dosname:
51 # Code from module double-slash-root:
52 # Code from module duplocale:
53 # Code from module environ:
54 # Code from module errno:
55 # Code from module extensions:
56 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
57 # Code from module fclose:
58 # Code from module fcntl-h:
59 # Code from module fd-hook:
60 # Code from module fflush:
61 AC_REQUIRE([AC_FUNC_FSEEKO])
62 # Code from module float:
63 # Code from module flock:
64 # Code from module floor:
65 # Code from module fpieee:
66 AC_REQUIRE([gl_FP_IEEE])
67 # Code from module fpurge:
68 # Code from module freading:
69 # Code from module frexp:
70 # Code from module fseek:
71 # Code from module fseeko:
72 AC_REQUIRE([AC_FUNC_FSEEKO])
73 # Code from module ftell:
74 # Code from module ftello:
75 AC_REQUIRE([AC_FUNC_FSEEKO])
76 # Code from module full-read:
77 # Code from module full-write:
78 # Code from module func:
79 # Code from module gendocs:
80 # Code from module getaddrinfo:
81 # Code from module getpeername:
82 # Code from module getsockname:
83 # Code from module getsockopt:
84 # Code from module gettext-h:
85 # Code from module git-version-gen:
86 # Code from module gitlog-to-changelog:
87 # Code from module gnu-web-doc-update:
88 # Code from module gnumakefile:
89 # Code from module gnupload:
90 # Code from module gperf:
91 # Code from module havelib:
92 # Code from module hostent:
93 # Code from module iconv:
94 # Code from module iconv-h:
95 # Code from module iconv_open:
96 # Code from module iconv_open-utf:
97 # Code from module include_next:
98 # Code from module inet_ntop:
99 # Code from module inet_pton:
100 # Code from module inline:
101 # Code from module isinf:
102 # Code from module isnan:
103 # Code from module isnand:
104 # Code from module isnand-nolibm:
105 # Code from module isnanf:
106 # Code from module isnanl:
107 # Code from module ldexp:
108 # Code from module lib-symbol-versions:
109 # Code from module lib-symbol-visibility:
110 # Code from module libunistring:
111 # Code from module listen:
112 # Code from module locale:
113 # Code from module log1p:
114 # Code from module lseek:
115 # Code from module lstat:
116 # Code from module maintainer-makefile:
117 # Code from module malloc-gnu:
118 # Code from module malloc-posix:
119 # Code from module malloca:
120 # Code from module math:
121 # Code from module memchr:
122 # Code from module multiarch:
123 # Code from module netdb:
124 # Code from module netinet_in:
125 # Code from module nocrash:
126 # Code from module nproc:
127 # Code from module open:
128 # Code from module pathmax:
129 # Code from module pipe2:
130 # Code from module putenv:
131 # Code from module read:
132 # Code from module readlink:
133 # Code from module recv:
134 # Code from module recvfrom:
135 # Code from module rename:
136 # Code from module rmdir:
137 # Code from module safe-read:
138 # Code from module safe-write:
139 # Code from module same-inode:
140 # Code from module send:
141 # Code from module sendto:
142 # Code from module servent:
143 # Code from module setsockopt:
144 # Code from module shutdown:
145 # Code from module size_max:
146 # Code from module snprintf:
147 # Code from module socket:
148 # Code from module socketlib:
149 # Code from module sockets:
150 # Code from module socklen:
151 # Code from module ssize_t:
152 # Code from module stat:
153 # Code from module stat-time:
154 # Code from module stdbool:
155 # Code from module stddef:
156 # Code from module stdint:
157 # Code from module stdio:
158 # Code from module stdlib:
159 # Code from module strftime:
160 # Code from module striconveh:
161 # Code from module string:
162 # Code from module sys_file:
163 # Code from module sys_socket:
164 # Code from module sys_stat:
165 # Code from module sys_time:
166 # Code from module sys_uio:
167 # Code from module time:
168 # Code from module time_r:
169 # Code from module trunc:
170 # Code from module unistd:
171 # Code from module unistr/base:
172 # Code from module unistr/u8-mbtouc:
173 # Code from module unistr/u8-mbtouc-unsafe:
174 # Code from module unistr/u8-mbtoucr:
175 # Code from module unistr/u8-prev:
176 # Code from module unistr/u8-uctomb:
177 # Code from module unitypes:
178 # Code from module unused-parameter:
179 # Code from module useless-if-before-free:
180 # Code from module vasnprintf:
181 # Code from module vc-list-files:
182 # Code from module verify:
183 # Code from module vsnprintf:
184 # Code from module warn-on-use:
185 # Code from module warnings:
186 # Code from module wchar:
187 # Code from module write:
188 # Code from module xsize:
191 # This macro should be invoked from ./configure.ac, in the section
192 # "Check for header files, types and library functions".
195 AM_CONDITIONAL([GL_COND_LIBTOOL], [true])
198 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
199 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
200 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
201 m4_pushdef([gl_LIBSOURCES_LIST], [])
202 m4_pushdef([gl_LIBSOURCES_DIR], [])
205 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
206 if test "$ac_cv_header_winsock2_h" = yes; then
209 gl_SYS_SOCKET_MODULE_INDICATOR([accept])
213 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
214 if test "$ac_cv_header_winsock2_h" = yes; then
217 gl_SYS_SOCKET_MODULE_INDICATOR([bind])
220 if test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1; then
221 AC_LIBOBJ([canonicalize-lgpl])
223 gl_MODULE_INDICATOR([canonicalize-lgpl])
224 gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name])
225 gl_STDLIB_MODULE_INDICATOR([realpath])
227 if test $REPLACE_CEIL = 1; then
230 gl_MATH_MODULE_INDICATOR([ceil])
232 gl_UNISTD_MODULE_INDICATOR([close])
233 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
234 if test "$ac_cv_header_winsock2_h" = yes; then
237 gl_SYS_SOCKET_MODULE_INDICATOR([connect])
241 if test $REPLACE_DUPLOCALE = 1; then
242 AC_LIBOBJ([duplocale])
245 gl_LOCALE_MODULE_INDICATOR([duplocale])
247 gl_UNISTD_MODULE_INDICATOR([environ])
250 gl_STDIO_MODULE_INDICATOR([fclose])
253 if test $REPLACE_FFLUSH = 1; then
257 gl_MODULE_INDICATOR([fflush])
258 gl_STDIO_MODULE_INDICATOR([fflush])
260 if test $REPLACE_FLOAT_LDBL = 1; then
264 if test $HAVE_FLOCK = 0; then
268 gl_HEADER_SYS_FILE_MODULE_INDICATOR([flock])
270 if test $REPLACE_FLOOR = 1; then
273 gl_MATH_MODULE_INDICATOR([floor])
275 if test $HAVE_FPURGE = 0 || test $REPLACE_FPURGE = 1; then
278 gl_STDIO_MODULE_INDICATOR([fpurge])
281 if test $gl_func_frexp != yes; then
284 gl_MATH_MODULE_INDICATOR([frexp])
286 if test $REPLACE_FSEEK = 1; then
289 gl_STDIO_MODULE_INDICATOR([fseek])
291 if test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1; then
294 gl_STDIO_MODULE_INDICATOR([fseeko])
296 if test $REPLACE_FTELL = 1; then
299 gl_STDIO_MODULE_INDICATOR([ftell])
301 if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then
304 gl_STDIO_MODULE_INDICATOR([ftello])
307 if test $HAVE_GETADDRINFO = 0; then
308 AC_LIBOBJ([getaddrinfo])
310 if test $HAVE_DECL_GAI_STRERROR = 0 || test $REPLACE_GAI_STRERROR = 1; then
311 AC_LIBOBJ([gai_strerror])
313 gl_NETDB_MODULE_INDICATOR([getaddrinfo])
314 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
315 if test "$ac_cv_header_winsock2_h" = yes; then
316 AC_LIBOBJ([getpeername])
318 gl_SYS_SOCKET_MODULE_INDICATOR([getpeername])
319 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
320 if test "$ac_cv_header_winsock2_h" = yes; then
321 AC_LIBOBJ([getsockname])
323 gl_SYS_SOCKET_MODULE_INDICATOR([getsockname])
324 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
325 if test "$ac_cv_header_winsock2_h" = yes; then
326 AC_LIBOBJ([getsockopt])
328 gl_SYS_SOCKET_MODULE_INDICATOR([getsockopt])
330 AC_SUBST([LTLIBINTL])
331 # Autoconf 2.61a.99 and earlier don't support linking a file only
332 # in VPATH builds. But since GNUmakefile is for maintainer use
333 # only, it does not matter if we skip the link with older autoconf.
334 # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
335 # builds, so use a shell variable to bypass this.
336 GNUmakefile=GNUmakefile
337 m4_if(m4_version_compare([2.61a.100],
338 m4_defn([m4_PACKAGE_VERSION])), [1], [],
339 [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
340 [GNUmakefile=$GNUmakefile])])
343 m4_ifdef([gl_ICONV_MODULE_INDICATOR],
344 [gl_ICONV_MODULE_INDICATOR([iconv])])
347 if test $REPLACE_ICONV_OPEN = 1; then
348 AC_LIBOBJ([iconv_open])
350 if test $REPLACE_ICONV = 1; then
352 AC_LIBOBJ([iconv_close])
354 gl_FUNC_ICONV_OPEN_UTF
356 if test $HAVE_INET_NTOP = 0; then
357 AC_LIBOBJ([inet_ntop])
360 gl_ARPA_INET_MODULE_INDICATOR([inet_ntop])
362 if test $HAVE_INET_PTON = 0; then
363 AC_LIBOBJ([inet_pton])
366 gl_ARPA_INET_MODULE_INDICATOR([inet_pton])
369 if test $REPLACE_ISINF = 1; then
372 gl_MATH_MODULE_INDICATOR([isinf])
374 gl_MATH_MODULE_INDICATOR([isnan])
376 m4_ifdef([gl_ISNAN], [
377 AC_REQUIRE([gl_ISNAN])
379 if test $HAVE_ISNAND = 0 || test $REPLACE_ISNAN = 1; then
383 gl_MATH_MODULE_INDICATOR([isnand])
384 gl_FUNC_ISNAND_NO_LIBM
385 if test $gl_func_isnand_no_libm != yes; then
390 m4_ifdef([gl_ISNAN], [
391 AC_REQUIRE([gl_ISNAN])
393 if test $HAVE_ISNANF = 0 || test $REPLACE_ISNAN = 1; then
397 gl_MATH_MODULE_INDICATOR([isnanf])
399 m4_ifdef([gl_ISNAN], [
400 AC_REQUIRE([gl_ISNAN])
402 if test $HAVE_ISNANL = 0 || test $REPLACE_ISNAN = 1; then
406 gl_MATH_MODULE_INDICATOR([isnanl])
411 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
412 if test "$ac_cv_header_winsock2_h" = yes; then
415 gl_SYS_SOCKET_MODULE_INDICATOR([listen])
417 gl_COMMON_DOUBLE_MATHFUNC([log1p])
419 if test $REPLACE_LSEEK = 1; then
422 gl_UNISTD_MODULE_INDICATOR([lseek])
424 if test $REPLACE_LSTAT = 1; then
428 gl_SYS_STAT_MODULE_INDICATOR([lstat])
429 AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER],
430 [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])])
432 if test $REPLACE_MALLOC = 1; then
435 gl_MODULE_INDICATOR([malloc-gnu])
437 if test $REPLACE_MALLOC = 1; then
440 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
444 if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
448 gl_STRING_MODULE_INDICATOR([memchr])
455 gl_FCNTL_MODULE_INDICATOR([open])
458 gl_UNISTD_MODULE_INDICATOR([pipe2])
460 if test $REPLACE_PUTENV = 1; then
463 gl_STDLIB_MODULE_INDICATOR([putenv])
465 if test $REPLACE_READ = 1; then
468 gl_UNISTD_MODULE_INDICATOR([read])
470 if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then
471 AC_LIBOBJ([readlink])
474 gl_UNISTD_MODULE_INDICATOR([readlink])
475 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
476 if test "$ac_cv_header_winsock2_h" = yes; then
479 gl_SYS_SOCKET_MODULE_INDICATOR([recv])
480 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
481 if test "$ac_cv_header_winsock2_h" = yes; then
482 AC_LIBOBJ([recvfrom])
484 gl_SYS_SOCKET_MODULE_INDICATOR([recvfrom])
486 if test $REPLACE_RENAME = 1; then
489 gl_STDIO_MODULE_INDICATOR([rename])
491 if test $REPLACE_RMDIR = 1; then
494 gl_UNISTD_MODULE_INDICATOR([rmdir])
497 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
498 if test "$ac_cv_header_winsock2_h" = yes; then
501 gl_SYS_SOCKET_MODULE_INDICATOR([send])
502 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
503 if test "$ac_cv_header_winsock2_h" = yes; then
506 gl_SYS_SOCKET_MODULE_INDICATOR([sendto])
508 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
509 if test "$ac_cv_header_winsock2_h" = yes; then
510 AC_LIBOBJ([setsockopt])
512 gl_SYS_SOCKET_MODULE_INDICATOR([setsockopt])
513 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
514 if test "$ac_cv_header_winsock2_h" = yes; then
515 AC_LIBOBJ([shutdown])
517 gl_SYS_SOCKET_MODULE_INDICATOR([shutdown])
520 gl_STDIO_MODULE_INDICATOR([snprintf])
521 gl_MODULE_INDICATOR([snprintf])
522 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
523 if test "$ac_cv_header_winsock2_h" = yes; then
526 # When this module is used, sockets may actually occur as file descriptors,
527 # hence it is worth warning if the modules 'close' and 'ioctl' are not used.
528 m4_ifdef([gl_UNISTD_H_DEFAULTS], [AC_REQUIRE([gl_UNISTD_H_DEFAULTS])])
529 m4_ifdef([gl_SYS_IOCTL_H_DEFAULTS], [AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS])])
530 AC_REQUIRE([gl_PREREQ_SYS_H_WINSOCK2])
531 if test "$ac_cv_header_winsock2_h" = yes; then
532 UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
533 SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
535 gl_SYS_SOCKET_MODULE_INDICATOR([socket])
541 if test $REPLACE_STAT = 1; then
545 gl_SYS_STAT_MODULE_INDICATOR([stat])
554 if test $gl_cond_libtool = false; then
555 gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV"
556 gl_libdeps="$gl_libdeps $LIBICONV"
571 if test $HAVE_LOCALTIME_R = 0 || test $REPLACE_LOCALTIME_R = 1; then
575 gl_TIME_MODULE_INDICATOR([time_r])
577 if test $HAVE_DECL_TRUNC = 0 || test $REPLACE_TRUNC = 1; then
580 gl_MATH_MODULE_INDICATOR([trunc])
582 gl_LIBUNISTRING_LIBHEADER([0.9.2], [unistr.h])
583 gl_MODULE_INDICATOR([unistr/u8-mbtouc])
584 gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u8-mbtouc])
585 gl_MODULE_INDICATOR([unistr/u8-mbtouc-unsafe])
586 gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u8-mbtouc-unsafe])
587 gl_MODULE_INDICATOR([unistr/u8-mbtoucr])
588 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-mbtoucr])
589 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-prev])
590 gl_MODULE_INDICATOR([unistr/u8-uctomb])
591 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-uctomb])
592 gl_LIBUNISTRING_LIBHEADER([0.9], [unitypes.h])
595 gl_STDIO_MODULE_INDICATOR([vsnprintf])
596 AC_SUBST([WARN_CFLAGS])
599 if test $REPLACE_WRITE = 1; then
602 gl_UNISTD_MODULE_INDICATOR([write])
604 # End of code from modules
605 m4_ifval(gl_LIBSOURCES_LIST, [
606 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
607 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
608 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
609 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
613 m4_if(m4_sysval, [0], [],
614 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
616 m4_popdef([gl_LIBSOURCES_DIR])
617 m4_popdef([gl_LIBSOURCES_LIST])
618 m4_popdef([AC_LIBSOURCES])
619 m4_popdef([AC_REPLACE_FUNCS])
620 m4_popdef([AC_LIBOBJ])
621 AC_CONFIG_COMMANDS_PRE([
624 if test -n "$gl_LIBOBJS"; then
625 # Remove the extension.
626 sed_drop_objext='s/\.o$//;s/\.obj$//'
627 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
628 gl_libobjs="$gl_libobjs $i.$ac_objext"
629 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
632 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
633 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
637 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
638 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
639 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
640 m4_pushdef([gltests_LIBSOURCES_LIST], [])
641 m4_pushdef([gltests_LIBSOURCES_DIR], [])
643 gl_source_base='tests'
645 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
647 AC_SUBST([gltests_WITNESS])
648 gl_module_indicator_condition=$gltests_WITNESS
649 m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
650 m4_popdef([gl_MODULE_INDICATOR_CONDITION])
651 m4_ifval(gltests_LIBSOURCES_LIST, [
652 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
653 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
654 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
655 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
659 m4_if(m4_sysval, [0], [],
660 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
662 m4_popdef([gltests_LIBSOURCES_DIR])
663 m4_popdef([gltests_LIBSOURCES_LIST])
664 m4_popdef([AC_LIBSOURCES])
665 m4_popdef([AC_REPLACE_FUNCS])
666 m4_popdef([AC_LIBOBJ])
667 AC_CONFIG_COMMANDS_PRE([
670 if test -n "$gltests_LIBOBJS"; then
671 # Remove the extension.
672 sed_drop_objext='s/\.o$//;s/\.obj$//'
673 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
674 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
675 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
678 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
679 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
683 # Like AC_LIBOBJ, except that the module name goes
684 # into gl_LIBOBJS instead of into LIBOBJS.
685 AC_DEFUN([gl_LIBOBJ], [
686 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
687 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
690 # Like AC_REPLACE_FUNCS, except that the module name goes
691 # into gl_LIBOBJS instead of into LIBOBJS.
692 AC_DEFUN([gl_REPLACE_FUNCS], [
693 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
694 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
697 # Like AC_LIBSOURCES, except the directory where the source file is
698 # expected is derived from the gnulib-tool parameterization,
699 # and alloca is special cased (for the alloca-opt module).
700 # We could also entirely rely on EXTRA_lib..._SOURCES.
701 AC_DEFUN([gl_LIBSOURCES], [
702 m4_foreach([_gl_NAME], [$1], [
703 m4_if(_gl_NAME, [alloca.c], [], [
704 m4_define([gl_LIBSOURCES_DIR], [lib])
705 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
710 # Like AC_LIBOBJ, except that the module name goes
711 # into gltests_LIBOBJS instead of into LIBOBJS.
712 AC_DEFUN([gltests_LIBOBJ], [
713 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
714 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
717 # Like AC_REPLACE_FUNCS, except that the module name goes
718 # into gltests_LIBOBJS instead of into LIBOBJS.
719 AC_DEFUN([gltests_REPLACE_FUNCS], [
720 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
721 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
724 # Like AC_LIBSOURCES, except the directory where the source file is
725 # expected is derived from the gnulib-tool parameterization,
726 # and alloca is special cased (for the alloca-opt module).
727 # We could also entirely rely on EXTRA_lib..._SOURCES.
728 AC_DEFUN([gltests_LIBSOURCES], [
729 m4_foreach([_gl_NAME], [$1], [
730 m4_if(_gl_NAME, [alloca.c], [], [
731 m4_define([gltests_LIBSOURCES_DIR], [tests])
732 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
737 # This macro records the list of files which have been installed by
738 # gnulib-tool and may be removed by future gnulib-tool invocations.
739 AC_DEFUN([gl_FILE_LIST], [
740 build-aux/announce-gen
741 build-aux/arg-nonnull.h
743 build-aux/config.rpath
745 build-aux/git-version-gen
746 build-aux/gitlog-to-changelog
747 build-aux/gnu-web-doc-update
749 build-aux/unused-parameter.h
750 build-aux/useless-if-before-free
751 build-aux/vc-list-files
752 build-aux/warn-on-use.h
769 lib/canonicalize-lgpl.c
809 lib/iconv_open-aix.gperf
810 lib/iconv_open-hpux.gperf
811 lib/iconv_open-irix.gperf
812 lib/iconv_open-osf.gperf
813 lib/iconv_open-solaris.gperf
824 lib/libunistring.valgrind
892 lib/unistr/u8-mbtouc-aux.c
893 lib/unistr/u8-mbtouc-unsafe-aux.c
894 lib/unistr/u8-mbtouc-unsafe.c
895 lib/unistr/u8-mbtouc.c
896 lib/unistr/u8-mbtoucr.c
898 lib/unistr/u8-uctomb-aux.c
899 lib/unistr/u8-uctomb.c
910 m4/absolute-header.m4
920 m4/double-slash-root.m4
963 m4/ld-version-script.m4
968 m4/libunistring-base.m4