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])
261 if test $HAVE_FLOCK = 0; then
265 gl_HEADER_SYS_FILE_MODULE_INDICATOR([flock])
267 if test $REPLACE_FLOOR = 1; then
270 gl_MATH_MODULE_INDICATOR([floor])
272 if test $HAVE_FPURGE = 0 || test $REPLACE_FPURGE = 1; then
275 gl_STDIO_MODULE_INDICATOR([fpurge])
278 if test $gl_func_frexp != yes; then
281 gl_MATH_MODULE_INDICATOR([frexp])
283 if test $REPLACE_FSEEK = 1; then
286 gl_STDIO_MODULE_INDICATOR([fseek])
288 if test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1; then
291 gl_STDIO_MODULE_INDICATOR([fseeko])
293 if test $REPLACE_FTELL = 1; then
296 gl_STDIO_MODULE_INDICATOR([ftell])
298 if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then
301 gl_STDIO_MODULE_INDICATOR([ftello])
304 if test $HAVE_GETADDRINFO = 0; then
305 AC_LIBOBJ([getaddrinfo])
307 if test $HAVE_DECL_GAI_STRERROR = 0 || test $REPLACE_GAI_STRERROR = 1; then
308 AC_LIBOBJ([gai_strerror])
310 gl_NETDB_MODULE_INDICATOR([getaddrinfo])
311 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
312 if test "$ac_cv_header_winsock2_h" = yes; then
313 AC_LIBOBJ([getpeername])
315 gl_SYS_SOCKET_MODULE_INDICATOR([getpeername])
316 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
317 if test "$ac_cv_header_winsock2_h" = yes; then
318 AC_LIBOBJ([getsockname])
320 gl_SYS_SOCKET_MODULE_INDICATOR([getsockname])
321 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
322 if test "$ac_cv_header_winsock2_h" = yes; then
323 AC_LIBOBJ([getsockopt])
325 gl_SYS_SOCKET_MODULE_INDICATOR([getsockopt])
327 AC_SUBST([LTLIBINTL])
328 # Autoconf 2.61a.99 and earlier don't support linking a file only
329 # in VPATH builds. But since GNUmakefile is for maintainer use
330 # only, it does not matter if we skip the link with older autoconf.
331 # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
332 # builds, so use a shell variable to bypass this.
333 GNUmakefile=GNUmakefile
334 m4_if(m4_version_compare([2.61a.100],
335 m4_defn([m4_PACKAGE_VERSION])), [1], [],
336 [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
337 [GNUmakefile=$GNUmakefile])])
340 m4_ifdef([gl_ICONV_MODULE_INDICATOR],
341 [gl_ICONV_MODULE_INDICATOR([iconv])])
344 if test $REPLACE_ICONV_OPEN = 1; then
345 AC_LIBOBJ([iconv_open])
347 if test $REPLACE_ICONV = 1; then
349 AC_LIBOBJ([iconv_close])
351 gl_FUNC_ICONV_OPEN_UTF
353 if test $HAVE_INET_NTOP = 0; then
354 AC_LIBOBJ([inet_ntop])
357 gl_ARPA_INET_MODULE_INDICATOR([inet_ntop])
359 if test $HAVE_INET_PTON = 0; then
360 AC_LIBOBJ([inet_pton])
363 gl_ARPA_INET_MODULE_INDICATOR([inet_pton])
366 if test $REPLACE_ISINF = 1; then
369 gl_MATH_MODULE_INDICATOR([isinf])
371 gl_MATH_MODULE_INDICATOR([isnan])
373 m4_ifdef([gl_ISNAN], [
374 AC_REQUIRE([gl_ISNAN])
376 if test $HAVE_ISNAND = 0 || test $REPLACE_ISNAN = 1; then
380 gl_MATH_MODULE_INDICATOR([isnand])
381 gl_FUNC_ISNAND_NO_LIBM
382 if test $gl_func_isnand_no_libm != yes; then
387 m4_ifdef([gl_ISNAN], [
388 AC_REQUIRE([gl_ISNAN])
390 if test $HAVE_ISNANF = 0 || test $REPLACE_ISNAN = 1; then
394 gl_MATH_MODULE_INDICATOR([isnanf])
396 m4_ifdef([gl_ISNAN], [
397 AC_REQUIRE([gl_ISNAN])
399 if test $HAVE_ISNANL = 0 || test $REPLACE_ISNAN = 1; then
403 gl_MATH_MODULE_INDICATOR([isnanl])
408 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
409 if test "$ac_cv_header_winsock2_h" = yes; then
412 gl_SYS_SOCKET_MODULE_INDICATOR([listen])
414 gl_COMMON_DOUBLE_MATHFUNC([log1p])
416 if test $REPLACE_LSEEK = 1; then
419 gl_UNISTD_MODULE_INDICATOR([lseek])
421 if test $REPLACE_LSTAT = 1; then
425 gl_SYS_STAT_MODULE_INDICATOR([lstat])
426 AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER],
427 [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])])
429 if test $REPLACE_MALLOC = 1; then
432 gl_MODULE_INDICATOR([malloc-gnu])
434 if test $REPLACE_MALLOC = 1; then
437 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
441 if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
445 gl_STRING_MODULE_INDICATOR([memchr])
452 gl_FCNTL_MODULE_INDICATOR([open])
455 gl_UNISTD_MODULE_INDICATOR([pipe2])
457 if test $REPLACE_PUTENV = 1; then
460 gl_STDLIB_MODULE_INDICATOR([putenv])
462 if test $REPLACE_READ = 1; then
465 gl_UNISTD_MODULE_INDICATOR([read])
467 if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then
468 AC_LIBOBJ([readlink])
471 gl_UNISTD_MODULE_INDICATOR([readlink])
472 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
473 if test "$ac_cv_header_winsock2_h" = yes; then
476 gl_SYS_SOCKET_MODULE_INDICATOR([recv])
477 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
478 if test "$ac_cv_header_winsock2_h" = yes; then
479 AC_LIBOBJ([recvfrom])
481 gl_SYS_SOCKET_MODULE_INDICATOR([recvfrom])
483 if test $REPLACE_RENAME = 1; then
486 gl_STDIO_MODULE_INDICATOR([rename])
488 if test $REPLACE_RMDIR = 1; then
491 gl_UNISTD_MODULE_INDICATOR([rmdir])
494 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
495 if test "$ac_cv_header_winsock2_h" = yes; then
498 gl_SYS_SOCKET_MODULE_INDICATOR([send])
499 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
500 if test "$ac_cv_header_winsock2_h" = yes; then
503 gl_SYS_SOCKET_MODULE_INDICATOR([sendto])
505 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
506 if test "$ac_cv_header_winsock2_h" = yes; then
507 AC_LIBOBJ([setsockopt])
509 gl_SYS_SOCKET_MODULE_INDICATOR([setsockopt])
510 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
511 if test "$ac_cv_header_winsock2_h" = yes; then
512 AC_LIBOBJ([shutdown])
514 gl_SYS_SOCKET_MODULE_INDICATOR([shutdown])
517 gl_STDIO_MODULE_INDICATOR([snprintf])
518 gl_MODULE_INDICATOR([snprintf])
519 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
520 if test "$ac_cv_header_winsock2_h" = yes; then
523 # When this module is used, sockets may actually occur as file descriptors,
524 # hence it is worth warning if the modules 'close' and 'ioctl' are not used.
525 m4_ifdef([gl_UNISTD_H_DEFAULTS], [AC_REQUIRE([gl_UNISTD_H_DEFAULTS])])
526 m4_ifdef([gl_SYS_IOCTL_H_DEFAULTS], [AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS])])
527 AC_REQUIRE([gl_PREREQ_SYS_H_WINSOCK2])
528 if test "$ac_cv_header_winsock2_h" = yes; then
529 UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
530 SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
532 gl_SYS_SOCKET_MODULE_INDICATOR([socket])
538 if test $REPLACE_STAT = 1; then
542 gl_SYS_STAT_MODULE_INDICATOR([stat])
551 if test $gl_cond_libtool = false; then
552 gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV"
553 gl_libdeps="$gl_libdeps $LIBICONV"
568 if test $HAVE_LOCALTIME_R = 0 || test $REPLACE_LOCALTIME_R = 1; then
572 gl_TIME_MODULE_INDICATOR([time_r])
574 if test $HAVE_DECL_TRUNC = 0 || test $REPLACE_TRUNC = 1; then
577 gl_MATH_MODULE_INDICATOR([trunc])
579 gl_LIBUNISTRING_LIBHEADER([0.9.2], [unistr.h])
580 gl_MODULE_INDICATOR([unistr/u8-mbtouc])
581 gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u8-mbtouc])
582 gl_MODULE_INDICATOR([unistr/u8-mbtouc-unsafe])
583 gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u8-mbtouc-unsafe])
584 gl_MODULE_INDICATOR([unistr/u8-mbtoucr])
585 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-mbtoucr])
586 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-prev])
587 gl_MODULE_INDICATOR([unistr/u8-uctomb])
588 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-uctomb])
589 gl_LIBUNISTRING_LIBHEADER([0.9], [unitypes.h])
592 gl_STDIO_MODULE_INDICATOR([vsnprintf])
593 AC_SUBST([WARN_CFLAGS])
596 if test $REPLACE_WRITE = 1; then
599 gl_UNISTD_MODULE_INDICATOR([write])
601 # End of code from modules
602 m4_ifval(gl_LIBSOURCES_LIST, [
603 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
604 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
605 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
606 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
610 m4_if(m4_sysval, [0], [],
611 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
613 m4_popdef([gl_LIBSOURCES_DIR])
614 m4_popdef([gl_LIBSOURCES_LIST])
615 m4_popdef([AC_LIBSOURCES])
616 m4_popdef([AC_REPLACE_FUNCS])
617 m4_popdef([AC_LIBOBJ])
618 AC_CONFIG_COMMANDS_PRE([
621 if test -n "$gl_LIBOBJS"; then
622 # Remove the extension.
623 sed_drop_objext='s/\.o$//;s/\.obj$//'
624 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
625 gl_libobjs="$gl_libobjs $i.$ac_objext"
626 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
629 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
630 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
634 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
635 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
636 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
637 m4_pushdef([gltests_LIBSOURCES_LIST], [])
638 m4_pushdef([gltests_LIBSOURCES_DIR], [])
640 gl_source_base='tests'
642 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
644 AC_SUBST([gltests_WITNESS])
645 gl_module_indicator_condition=$gltests_WITNESS
646 m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
647 m4_popdef([gl_MODULE_INDICATOR_CONDITION])
648 m4_ifval(gltests_LIBSOURCES_LIST, [
649 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
650 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
651 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
652 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
656 m4_if(m4_sysval, [0], [],
657 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
659 m4_popdef([gltests_LIBSOURCES_DIR])
660 m4_popdef([gltests_LIBSOURCES_LIST])
661 m4_popdef([AC_LIBSOURCES])
662 m4_popdef([AC_REPLACE_FUNCS])
663 m4_popdef([AC_LIBOBJ])
664 AC_CONFIG_COMMANDS_PRE([
667 if test -n "$gltests_LIBOBJS"; then
668 # Remove the extension.
669 sed_drop_objext='s/\.o$//;s/\.obj$//'
670 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
671 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
672 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
675 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
676 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
680 # Like AC_LIBOBJ, except that the module name goes
681 # into gl_LIBOBJS instead of into LIBOBJS.
682 AC_DEFUN([gl_LIBOBJ], [
683 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
684 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
687 # Like AC_REPLACE_FUNCS, except that the module name goes
688 # into gl_LIBOBJS instead of into LIBOBJS.
689 AC_DEFUN([gl_REPLACE_FUNCS], [
690 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
691 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
694 # Like AC_LIBSOURCES, except the directory where the source file is
695 # expected is derived from the gnulib-tool parameterization,
696 # and alloca is special cased (for the alloca-opt module).
697 # We could also entirely rely on EXTRA_lib..._SOURCES.
698 AC_DEFUN([gl_LIBSOURCES], [
699 m4_foreach([_gl_NAME], [$1], [
700 m4_if(_gl_NAME, [alloca.c], [], [
701 m4_define([gl_LIBSOURCES_DIR], [lib])
702 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
707 # Like AC_LIBOBJ, except that the module name goes
708 # into gltests_LIBOBJS instead of into LIBOBJS.
709 AC_DEFUN([gltests_LIBOBJ], [
710 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
711 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
714 # Like AC_REPLACE_FUNCS, except that the module name goes
715 # into gltests_LIBOBJS instead of into LIBOBJS.
716 AC_DEFUN([gltests_REPLACE_FUNCS], [
717 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
718 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
721 # Like AC_LIBSOURCES, except the directory where the source file is
722 # expected is derived from the gnulib-tool parameterization,
723 # and alloca is special cased (for the alloca-opt module).
724 # We could also entirely rely on EXTRA_lib..._SOURCES.
725 AC_DEFUN([gltests_LIBSOURCES], [
726 m4_foreach([_gl_NAME], [$1], [
727 m4_if(_gl_NAME, [alloca.c], [], [
728 m4_define([gltests_LIBSOURCES_DIR], [tests])
729 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
734 # This macro records the list of files which have been installed by
735 # gnulib-tool and may be removed by future gnulib-tool invocations.
736 AC_DEFUN([gl_FILE_LIST], [
737 build-aux/announce-gen
738 build-aux/arg-nonnull.h
740 build-aux/config.rpath
742 build-aux/git-version-gen
743 build-aux/gitlog-to-changelog
744 build-aux/gnu-web-doc-update
746 build-aux/unused-parameter.h
747 build-aux/useless-if-before-free
748 build-aux/vc-list-files
749 build-aux/warn-on-use.h
766 lib/canonicalize-lgpl.c
805 lib/iconv_open-aix.gperf
806 lib/iconv_open-hpux.gperf
807 lib/iconv_open-irix.gperf
808 lib/iconv_open-osf.gperf
809 lib/iconv_open-solaris.gperf
820 lib/libunistring.valgrind
888 lib/unistr/u8-mbtouc-aux.c
889 lib/unistr/u8-mbtouc-unsafe-aux.c
890 lib/unistr/u8-mbtouc-unsafe.c
891 lib/unistr/u8-mbtouc.c
892 lib/unistr/u8-mbtoucr.c
894 lib/unistr/u8-uctomb-aux.c
895 lib/unistr/u8-uctomb.c
906 m4/absolute-header.m4
916 m4/double-slash-root.m4
959 m4/ld-version-script.m4
964 m4/libunistring-base.m4