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 dosname:
50 # Code from module duplocale:
51 # Code from module environ:
52 # Code from module errno:
53 # Code from module extensions:
54 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
55 # Code from module fclose:
56 # Code from module fcntl-h:
57 # Code from module fd-hook:
58 # Code from module fflush:
59 AC_REQUIRE([AC_FUNC_FSEEKO])
60 # Code from module float:
61 # Code from module flock:
62 # Code from module floor:
63 # Code from module fpieee:
64 AC_REQUIRE([gl_FP_IEEE])
65 # Code from module fpurge:
66 # Code from module freading:
67 # Code from module frexp:
68 # Code from module fseek:
69 # Code from module fseeko:
70 AC_REQUIRE([AC_FUNC_FSEEKO])
71 # Code from module ftell:
72 # Code from module ftello:
73 AC_REQUIRE([AC_FUNC_FSEEKO])
74 # Code from module full-read:
75 # Code from module full-write:
76 # Code from module func:
77 # Code from module gendocs:
78 # Code from module getaddrinfo:
79 # Code from module getpeername:
80 # Code from module getsockname:
81 # Code from module getsockopt:
82 # Code from module gettext-h:
83 # Code from module git-version-gen:
84 # Code from module gitlog-to-changelog:
85 # Code from module gnu-web-doc-update:
86 # Code from module gnumakefile:
87 # Code from module gnupload:
88 # Code from module gperf:
89 # Code from module havelib:
90 # Code from module hostent:
91 # Code from module iconv:
92 # Code from module iconv-h:
93 # Code from module iconv_open:
94 # Code from module iconv_open-utf:
95 # Code from module include_next:
96 # Code from module inet_ntop:
97 # Code from module inet_pton:
98 # Code from module inline:
99 # Code from module isinf:
100 # Code from module isnan:
101 # Code from module isnand:
102 # Code from module isnand-nolibm:
103 # Code from module isnanf:
104 # Code from module isnanl:
105 # Code from module ldexp:
106 # Code from module lib-symbol-versions:
107 # Code from module lib-symbol-visibility:
108 # Code from module libunistring:
109 # Code from module listen:
110 # Code from module locale:
111 # Code from module log1p:
112 # Code from module lseek:
113 # Code from module lstat:
114 # Code from module maintainer-makefile:
115 # Code from module malloc-gnu:
116 # Code from module malloc-posix:
117 # Code from module malloca:
118 # Code from module math:
119 # Code from module memchr:
120 # Code from module multiarch:
121 # Code from module netdb:
122 # Code from module netinet_in:
123 # Code from module nocrash:
124 # Code from module nproc:
125 # Code from module open:
126 # Code from module pathmax:
127 # Code from module pipe2:
128 # Code from module putenv:
129 # Code from module read:
130 # Code from module readlink:
131 # Code from module recv:
132 # Code from module recvfrom:
133 # Code from module safe-read:
134 # Code from module safe-write:
135 # Code from module send:
136 # Code from module sendto:
137 # Code from module servent:
138 # Code from module setsockopt:
139 # Code from module shutdown:
140 # Code from module size_max:
141 # Code from module snprintf:
142 # Code from module socket:
143 # Code from module socketlib:
144 # Code from module sockets:
145 # Code from module socklen:
146 # Code from module ssize_t:
147 # Code from module stat:
148 # Code from module stat-time:
149 # Code from module stdbool:
150 # Code from module stddef:
151 # Code from module stdint:
152 # Code from module stdio:
153 # Code from module stdlib:
154 # Code from module strftime:
155 # Code from module striconveh:
156 # Code from module string:
157 # Code from module sys_file:
158 # Code from module sys_socket:
159 # Code from module sys_stat:
160 # Code from module sys_time:
161 # Code from module sys_uio:
162 # Code from module time:
163 # Code from module time_r:
164 # Code from module trunc:
165 # Code from module unistd:
166 # Code from module unistr/base:
167 # Code from module unistr/u8-mbtouc:
168 # Code from module unistr/u8-mbtouc-unsafe:
169 # Code from module unistr/u8-mbtoucr:
170 # Code from module unistr/u8-prev:
171 # Code from module unistr/u8-uctomb:
172 # Code from module unitypes:
173 # Code from module unused-parameter:
174 # Code from module useless-if-before-free:
175 # Code from module vasnprintf:
176 # Code from module vc-list-files:
177 # Code from module verify:
178 # Code from module vsnprintf:
179 # Code from module warn-on-use:
180 # Code from module warnings:
181 # Code from module wchar:
182 # Code from module write:
183 # Code from module xsize:
186 # This macro should be invoked from ./configure.ac, in the section
187 # "Check for header files, types and library functions".
190 AM_CONDITIONAL([GL_COND_LIBTOOL], [true])
193 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
194 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
195 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
196 m4_pushdef([gl_LIBSOURCES_LIST], [])
197 m4_pushdef([gl_LIBSOURCES_DIR], [])
200 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
201 if test "$ac_cv_header_winsock2_h" = yes; then
204 gl_SYS_SOCKET_MODULE_INDICATOR([accept])
208 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
209 if test "$ac_cv_header_winsock2_h" = yes; then
212 gl_SYS_SOCKET_MODULE_INDICATOR([bind])
215 if test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1; then
216 AC_LIBOBJ([canonicalize-lgpl])
218 gl_MODULE_INDICATOR([canonicalize-lgpl])
219 gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name])
220 gl_STDLIB_MODULE_INDICATOR([realpath])
222 if test $REPLACE_CEIL = 1; then
225 gl_MATH_MODULE_INDICATOR([ceil])
227 gl_UNISTD_MODULE_INDICATOR([close])
228 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
229 if test "$ac_cv_header_winsock2_h" = yes; then
232 gl_SYS_SOCKET_MODULE_INDICATOR([connect])
234 if test $REPLACE_DUPLOCALE = 1; then
235 AC_LIBOBJ([duplocale])
238 gl_LOCALE_MODULE_INDICATOR([duplocale])
240 gl_UNISTD_MODULE_INDICATOR([environ])
243 gl_STDIO_MODULE_INDICATOR([fclose])
246 if test $REPLACE_FFLUSH = 1; then
250 gl_MODULE_INDICATOR([fflush])
251 gl_STDIO_MODULE_INDICATOR([fflush])
254 if test $HAVE_FLOCK = 0; then
258 gl_HEADER_SYS_FILE_MODULE_INDICATOR([flock])
260 if test $REPLACE_FLOOR = 1; then
263 gl_MATH_MODULE_INDICATOR([floor])
265 if test $HAVE_FPURGE = 0 || test $REPLACE_FPURGE = 1; then
268 gl_STDIO_MODULE_INDICATOR([fpurge])
271 if test $gl_func_frexp != yes; then
274 gl_MATH_MODULE_INDICATOR([frexp])
276 if test $REPLACE_FSEEK = 1; then
279 gl_STDIO_MODULE_INDICATOR([fseek])
281 if test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1; then
284 gl_STDIO_MODULE_INDICATOR([fseeko])
286 if test $REPLACE_FTELL = 1; then
289 gl_STDIO_MODULE_INDICATOR([ftell])
291 if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then
294 gl_STDIO_MODULE_INDICATOR([ftello])
297 if test $HAVE_GETADDRINFO = 0; then
298 AC_LIBOBJ([getaddrinfo])
300 if test $HAVE_DECL_GAI_STRERROR = 0 || test $REPLACE_GAI_STRERROR = 1; then
301 AC_LIBOBJ([gai_strerror])
303 gl_NETDB_MODULE_INDICATOR([getaddrinfo])
304 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
305 if test "$ac_cv_header_winsock2_h" = yes; then
306 AC_LIBOBJ([getpeername])
308 gl_SYS_SOCKET_MODULE_INDICATOR([getpeername])
309 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
310 if test "$ac_cv_header_winsock2_h" = yes; then
311 AC_LIBOBJ([getsockname])
313 gl_SYS_SOCKET_MODULE_INDICATOR([getsockname])
314 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
315 if test "$ac_cv_header_winsock2_h" = yes; then
316 AC_LIBOBJ([getsockopt])
318 gl_SYS_SOCKET_MODULE_INDICATOR([getsockopt])
320 AC_SUBST([LTLIBINTL])
321 # Autoconf 2.61a.99 and earlier don't support linking a file only
322 # in VPATH builds. But since GNUmakefile is for maintainer use
323 # only, it does not matter if we skip the link with older autoconf.
324 # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
325 # builds, so use a shell variable to bypass this.
326 GNUmakefile=GNUmakefile
327 m4_if(m4_version_compare([2.61a.100],
328 m4_defn([m4_PACKAGE_VERSION])), [1], [],
329 [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
330 [GNUmakefile=$GNUmakefile])])
333 m4_ifdef([gl_ICONV_MODULE_INDICATOR],
334 [gl_ICONV_MODULE_INDICATOR([iconv])])
337 if test $REPLACE_ICONV_OPEN = 1; then
338 AC_LIBOBJ([iconv_open])
340 if test $REPLACE_ICONV = 1; then
342 AC_LIBOBJ([iconv_close])
344 gl_FUNC_ICONV_OPEN_UTF
346 if test $HAVE_INET_NTOP = 0; then
347 AC_LIBOBJ([inet_ntop])
350 gl_ARPA_INET_MODULE_INDICATOR([inet_ntop])
352 if test $HAVE_INET_PTON = 0; then
353 AC_LIBOBJ([inet_pton])
356 gl_ARPA_INET_MODULE_INDICATOR([inet_pton])
359 if test $REPLACE_ISINF = 1; then
362 gl_MATH_MODULE_INDICATOR([isinf])
364 gl_MATH_MODULE_INDICATOR([isnan])
366 m4_ifdef([gl_ISNAN], [
367 AC_REQUIRE([gl_ISNAN])
369 if test $HAVE_ISNAND = 0 || test $REPLACE_ISNAN = 1; then
373 gl_MATH_MODULE_INDICATOR([isnand])
374 gl_FUNC_ISNAND_NO_LIBM
375 if test $gl_func_isnand_no_libm != yes; then
380 m4_ifdef([gl_ISNAN], [
381 AC_REQUIRE([gl_ISNAN])
383 if test $HAVE_ISNANF = 0 || test $REPLACE_ISNAN = 1; then
387 gl_MATH_MODULE_INDICATOR([isnanf])
389 m4_ifdef([gl_ISNAN], [
390 AC_REQUIRE([gl_ISNAN])
392 if test $HAVE_ISNANL = 0 || test $REPLACE_ISNAN = 1; then
396 gl_MATH_MODULE_INDICATOR([isnanl])
401 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
402 if test "$ac_cv_header_winsock2_h" = yes; then
405 gl_SYS_SOCKET_MODULE_INDICATOR([listen])
407 gl_COMMON_DOUBLE_MATHFUNC([log1p])
409 if test $REPLACE_LSEEK = 1; then
412 gl_UNISTD_MODULE_INDICATOR([lseek])
414 if test $REPLACE_LSTAT = 1; then
418 gl_SYS_STAT_MODULE_INDICATOR([lstat])
419 AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER],
420 [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])])
422 if test $REPLACE_MALLOC = 1; then
425 gl_MODULE_INDICATOR([malloc-gnu])
427 if test $REPLACE_MALLOC = 1; then
430 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
434 if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
438 gl_STRING_MODULE_INDICATOR([memchr])
445 gl_FCNTL_MODULE_INDICATOR([open])
448 gl_UNISTD_MODULE_INDICATOR([pipe2])
450 if test $REPLACE_PUTENV = 1; then
453 gl_STDLIB_MODULE_INDICATOR([putenv])
455 if test $REPLACE_READ = 1; then
458 gl_UNISTD_MODULE_INDICATOR([read])
460 if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then
461 AC_LIBOBJ([readlink])
464 gl_UNISTD_MODULE_INDICATOR([readlink])
465 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
466 if test "$ac_cv_header_winsock2_h" = yes; then
469 gl_SYS_SOCKET_MODULE_INDICATOR([recv])
470 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
471 if test "$ac_cv_header_winsock2_h" = yes; then
472 AC_LIBOBJ([recvfrom])
474 gl_SYS_SOCKET_MODULE_INDICATOR([recvfrom])
477 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
478 if test "$ac_cv_header_winsock2_h" = yes; then
481 gl_SYS_SOCKET_MODULE_INDICATOR([send])
482 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
483 if test "$ac_cv_header_winsock2_h" = yes; then
486 gl_SYS_SOCKET_MODULE_INDICATOR([sendto])
488 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
489 if test "$ac_cv_header_winsock2_h" = yes; then
490 AC_LIBOBJ([setsockopt])
492 gl_SYS_SOCKET_MODULE_INDICATOR([setsockopt])
493 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
494 if test "$ac_cv_header_winsock2_h" = yes; then
495 AC_LIBOBJ([shutdown])
497 gl_SYS_SOCKET_MODULE_INDICATOR([shutdown])
500 gl_STDIO_MODULE_INDICATOR([snprintf])
501 gl_MODULE_INDICATOR([snprintf])
502 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
503 if test "$ac_cv_header_winsock2_h" = yes; then
506 # When this module is used, sockets may actually occur as file descriptors,
507 # hence it is worth warning if the modules 'close' and 'ioctl' are not used.
508 m4_ifdef([gl_UNISTD_H_DEFAULTS], [AC_REQUIRE([gl_UNISTD_H_DEFAULTS])])
509 m4_ifdef([gl_SYS_IOCTL_H_DEFAULTS], [AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS])])
510 AC_REQUIRE([gl_PREREQ_SYS_H_WINSOCK2])
511 if test "$ac_cv_header_winsock2_h" = yes; then
512 UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
513 SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
515 gl_SYS_SOCKET_MODULE_INDICATOR([socket])
521 if test $REPLACE_STAT = 1; then
525 gl_SYS_STAT_MODULE_INDICATOR([stat])
534 if test $gl_cond_libtool = false; then
535 gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV"
536 gl_libdeps="$gl_libdeps $LIBICONV"
551 if test $HAVE_LOCALTIME_R = 0 || test $REPLACE_LOCALTIME_R = 1; then
555 gl_TIME_MODULE_INDICATOR([time_r])
557 if test $HAVE_DECL_TRUNC = 0 || test $REPLACE_TRUNC = 1; then
560 gl_MATH_MODULE_INDICATOR([trunc])
562 gl_LIBUNISTRING_LIBHEADER([0.9.2], [unistr.h])
563 gl_MODULE_INDICATOR([unistr/u8-mbtouc])
564 gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u8-mbtouc])
565 gl_MODULE_INDICATOR([unistr/u8-mbtouc-unsafe])
566 gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u8-mbtouc-unsafe])
567 gl_MODULE_INDICATOR([unistr/u8-mbtoucr])
568 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-mbtoucr])
569 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-prev])
570 gl_MODULE_INDICATOR([unistr/u8-uctomb])
571 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-uctomb])
572 gl_LIBUNISTRING_LIBHEADER([0.9], [unitypes.h])
575 gl_STDIO_MODULE_INDICATOR([vsnprintf])
576 AC_SUBST([WARN_CFLAGS])
579 if test $REPLACE_WRITE = 1; then
582 gl_UNISTD_MODULE_INDICATOR([write])
584 # End of code from modules
585 m4_ifval(gl_LIBSOURCES_LIST, [
586 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
587 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
588 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
589 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
593 m4_if(m4_sysval, [0], [],
594 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
596 m4_popdef([gl_LIBSOURCES_DIR])
597 m4_popdef([gl_LIBSOURCES_LIST])
598 m4_popdef([AC_LIBSOURCES])
599 m4_popdef([AC_REPLACE_FUNCS])
600 m4_popdef([AC_LIBOBJ])
601 AC_CONFIG_COMMANDS_PRE([
604 if test -n "$gl_LIBOBJS"; then
605 # Remove the extension.
606 sed_drop_objext='s/\.o$//;s/\.obj$//'
607 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
608 gl_libobjs="$gl_libobjs $i.$ac_objext"
609 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
612 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
613 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
617 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
618 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
619 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
620 m4_pushdef([gltests_LIBSOURCES_LIST], [])
621 m4_pushdef([gltests_LIBSOURCES_DIR], [])
623 gl_source_base='tests'
625 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
627 AC_SUBST([gltests_WITNESS])
628 gl_module_indicator_condition=$gltests_WITNESS
629 m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
630 m4_popdef([gl_MODULE_INDICATOR_CONDITION])
631 m4_ifval(gltests_LIBSOURCES_LIST, [
632 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
633 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
634 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
635 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
639 m4_if(m4_sysval, [0], [],
640 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
642 m4_popdef([gltests_LIBSOURCES_DIR])
643 m4_popdef([gltests_LIBSOURCES_LIST])
644 m4_popdef([AC_LIBSOURCES])
645 m4_popdef([AC_REPLACE_FUNCS])
646 m4_popdef([AC_LIBOBJ])
647 AC_CONFIG_COMMANDS_PRE([
650 if test -n "$gltests_LIBOBJS"; then
651 # Remove the extension.
652 sed_drop_objext='s/\.o$//;s/\.obj$//'
653 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
654 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
655 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
658 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
659 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
663 # Like AC_LIBOBJ, except that the module name goes
664 # into gl_LIBOBJS instead of into LIBOBJS.
665 AC_DEFUN([gl_LIBOBJ], [
666 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
667 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
670 # Like AC_REPLACE_FUNCS, except that the module name goes
671 # into gl_LIBOBJS instead of into LIBOBJS.
672 AC_DEFUN([gl_REPLACE_FUNCS], [
673 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
674 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
677 # Like AC_LIBSOURCES, except the directory where the source file is
678 # expected is derived from the gnulib-tool parameterization,
679 # and alloca is special cased (for the alloca-opt module).
680 # We could also entirely rely on EXTRA_lib..._SOURCES.
681 AC_DEFUN([gl_LIBSOURCES], [
682 m4_foreach([_gl_NAME], [$1], [
683 m4_if(_gl_NAME, [alloca.c], [], [
684 m4_define([gl_LIBSOURCES_DIR], [lib])
685 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
690 # Like AC_LIBOBJ, except that the module name goes
691 # into gltests_LIBOBJS instead of into LIBOBJS.
692 AC_DEFUN([gltests_LIBOBJ], [
693 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
694 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
697 # Like AC_REPLACE_FUNCS, except that the module name goes
698 # into gltests_LIBOBJS instead of into LIBOBJS.
699 AC_DEFUN([gltests_REPLACE_FUNCS], [
700 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
701 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
704 # Like AC_LIBSOURCES, except the directory where the source file is
705 # expected is derived from the gnulib-tool parameterization,
706 # and alloca is special cased (for the alloca-opt module).
707 # We could also entirely rely on EXTRA_lib..._SOURCES.
708 AC_DEFUN([gltests_LIBSOURCES], [
709 m4_foreach([_gl_NAME], [$1], [
710 m4_if(_gl_NAME, [alloca.c], [], [
711 m4_define([gltests_LIBSOURCES_DIR], [tests])
712 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
717 # This macro records the list of files which have been installed by
718 # gnulib-tool and may be removed by future gnulib-tool invocations.
719 AC_DEFUN([gl_FILE_LIST], [
720 build-aux/announce-gen
721 build-aux/arg-nonnull.h
723 build-aux/config.rpath
725 build-aux/git-version-gen
726 build-aux/gitlog-to-changelog
727 build-aux/gnu-web-doc-update
729 build-aux/unused-parameter.h
730 build-aux/useless-if-before-free
731 build-aux/vc-list-files
732 build-aux/warn-on-use.h
748 lib/canonicalize-lgpl.c
785 lib/iconv_open-aix.gperf
786 lib/iconv_open-hpux.gperf
787 lib/iconv_open-irix.gperf
788 lib/iconv_open-osf.gperf
789 lib/iconv_open-solaris.gperf
800 lib/libunistring.valgrind
864 lib/unistr/u8-mbtouc-aux.c
865 lib/unistr/u8-mbtouc-unsafe-aux.c
866 lib/unistr/u8-mbtouc-unsafe.c
867 lib/unistr/u8-mbtouc.c
868 lib/unistr/u8-mbtoucr.c
870 lib/unistr/u8-uctomb-aux.c
871 lib/unistr/u8-uctomb.c
882 m4/absolute-header.m4
891 m4/double-slash-root.m4
934 m4/ld-version-script.m4
939 m4/libunistring-base.m4