1 # DO NOT EDIT! GENERATED AUTOMATICALLY!
2 # Copyright (C) 2002-2011 Free Software Foundation, Inc.
4 # This file is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 3 of the License, or
7 # (at your option) any later version.
9 # This file is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this file. If not, see <http://www.gnu.org/licenses/>.
17 # As a special exception to the GNU General Public License,
18 # this file may be distributed as part of a program that
19 # contains a configuration script generated by Autoconf, under
20 # the same distribution terms as the rest of that program.
22 # Generated by gnulib-tool.
24 # This file represents the compiled summary of the specification in
25 # gnulib-cache.m4. It lists the computed macro invocations that need
26 # to be invoked from configure.ac.
27 # In projects that use version control, this file can be treated like
31 # This macro should be invoked from ./configure.ac, in the section
32 # "Checks for programs", right after AC_PROG_CC, and certainly before
33 # any checks for libraries, header files, types and library functions.
36 m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace
37 m4_pattern_allow([^gl_ES$])dnl a valid locale name
38 m4_pattern_allow([^gl_LIBOBJS$])dnl a variable
39 m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable
40 AC_REQUIRE([gl_PROG_AR_RANLIB])
41 AC_REQUIRE([AM_PROG_CC_C_O])
42 # Code from module accept:
43 # Code from module alignof:
44 # Code from module alloca-opt:
45 # Code from module announce-gen:
46 # Code from module arpa_inet:
47 # Code from module autobuild:
49 # Code from module binary-io:
50 # Code from module bind:
51 # Code from module byteswap:
52 # Code from module c-ctype:
53 # Code from module c-strcase:
54 # Code from module c-strcaseeq:
55 # Code from module canonicalize-lgpl:
56 # Code from module ceil:
57 # Code from module chdir:
58 # Code from module close:
59 # Code from module connect:
60 # Code from module dirname-lgpl:
61 # Code from module dosname:
62 # Code from module double-slash-root:
63 # Code from module duplocale:
64 # Code from module environ:
65 # Code from module errno:
66 # Code from module extensions:
67 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
68 # Code from module fcntl-h:
69 # Code from module fd-hook:
70 # Code from module float:
71 # Code from module flock:
72 # Code from module floor:
73 # Code from module fpieee:
74 AC_REQUIRE([gl_FP_IEEE])
75 # Code from module frexp:
76 # Code from module fstat:
77 # Code from module full-read:
78 # Code from module full-write:
79 # Code from module func:
80 # Code from module gendocs:
81 # Code from module getaddrinfo:
82 # Code from module getpeername:
83 # Code from module getsockname:
84 # Code from module getsockopt:
85 # Code from module gettext-h:
86 # Code from module git-version-gen:
87 # Code from module gitlog-to-changelog:
88 # Code from module gnu-web-doc-update:
89 # Code from module gnumakefile:
90 # Code from module gnupload:
91 # Code from module gperf:
92 # Code from module havelib:
93 # Code from module hostent:
94 # Code from module iconv:
95 # Code from module iconv-h:
96 # Code from module iconv_open:
97 # Code from module iconv_open-utf:
98 # Code from module include_next:
99 # Code from module inet_ntop:
100 # Code from module inet_pton:
101 # Code from module inline:
102 # Code from module isinf:
103 # Code from module isnan:
104 # Code from module isnand:
105 # Code from module isnand-nolibm:
106 # Code from module isnanf:
107 # Code from module isnanl:
108 # Code from module largefile:
109 AC_REQUIRE([AC_SYS_LARGEFILE])
110 # Code from module ldexp:
111 # Code from module lib-symbol-versions:
112 # Code from module lib-symbol-visibility:
113 # Code from module libunistring:
114 # Code from module listen:
115 # Code from module locale:
116 # Code from module log1p:
117 # Code from module lstat:
118 # Code from module maintainer-makefile:
119 # Code from module malloc-gnu:
120 # Code from module malloc-posix:
121 # Code from module malloca:
122 # Code from module math:
123 # Code from module memchr:
124 # Code from module msvc-inval:
125 # Code from module msvc-nothrow:
126 # Code from module multiarch:
127 # Code from module netdb:
128 # Code from module netinet_in:
129 # Code from module nocrash:
130 # Code from module nproc:
131 # Code from module open:
132 # Code from module pathmax:
133 # Code from module pipe2:
134 # Code from module putenv:
135 # Code from module raise:
136 # Code from module read:
137 # Code from module readlink:
138 # Code from module recv:
139 # Code from module recvfrom:
140 # Code from module rename:
141 # Code from module rmdir:
142 # Code from module safe-read:
143 # Code from module safe-write:
144 # Code from module same-inode:
145 # Code from module send:
146 # Code from module sendto:
147 # Code from module servent:
148 # Code from module setsockopt:
149 # Code from module shutdown:
150 # Code from module signal-h:
151 # Code from module size_max:
152 # Code from module snippet/_Noreturn:
153 # Code from module snippet/arg-nonnull:
154 # Code from module snippet/c++defs:
155 # Code from module snippet/unused-parameter:
156 # Code from module snippet/warn-on-use:
157 # Code from module snprintf:
158 # Code from module socket:
159 # Code from module socketlib:
160 # Code from module sockets:
161 # Code from module socklen:
162 # Code from module ssize_t:
163 # Code from module stat:
164 # Code from module stat-time:
165 # Code from module stdbool:
166 # Code from module stddef:
167 # Code from module stdint:
168 # Code from module stdio:
169 # Code from module stdlib:
170 # Code from module strftime:
171 # Code from module striconveh:
172 # Code from module string:
173 # Code from module sys_file:
174 # Code from module sys_socket:
175 # Code from module sys_stat:
176 # Code from module sys_time:
177 # Code from module sys_types:
178 # Code from module sys_uio:
179 # Code from module time:
180 # Code from module time_r:
181 # Code from module trunc:
182 # Code from module unistd:
183 # Code from module unistr/base:
184 # Code from module unistr/u8-mbtouc:
185 # Code from module unistr/u8-mbtouc-unsafe:
186 # Code from module unistr/u8-mbtoucr:
187 # Code from module unistr/u8-prev:
188 # Code from module unistr/u8-uctomb:
189 # Code from module unitypes:
190 # Code from module useless-if-before-free:
191 # Code from module vasnprintf:
192 # Code from module vc-list-files:
193 # Code from module verify:
194 # Code from module vsnprintf:
195 # Code from module warnings:
196 # Code from module wchar:
197 # Code from module write:
198 # Code from module xsize:
201 # This macro should be invoked from ./configure.ac, in the section
202 # "Check for header files, types and library functions".
205 AM_CONDITIONAL([GL_COND_LIBTOOL], [true])
208 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
209 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
210 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
211 m4_pushdef([gl_LIBSOURCES_LIST], [])
212 m4_pushdef([gl_LIBSOURCES_DIR], [])
215 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
216 if test "$ac_cv_header_winsock2_h" = yes; then
219 gl_SYS_SOCKET_MODULE_INDICATOR([accept])
223 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
224 if test "$ac_cv_header_winsock2_h" = yes; then
227 gl_SYS_SOCKET_MODULE_INDICATOR([bind])
230 if test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1; then
231 AC_LIBOBJ([canonicalize-lgpl])
233 gl_MODULE_INDICATOR([canonicalize-lgpl])
234 gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name])
235 gl_STDLIB_MODULE_INDICATOR([realpath])
237 if test $REPLACE_CEIL = 1; then
240 gl_MATH_MODULE_INDICATOR([ceil])
241 gl_UNISTD_MODULE_INDICATOR([chdir])
243 if test $REPLACE_CLOSE = 1; then
246 gl_UNISTD_MODULE_INDICATOR([close])
247 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
248 if test "$ac_cv_header_winsock2_h" = yes; then
251 gl_SYS_SOCKET_MODULE_INDICATOR([connect])
255 if test $REPLACE_DUPLOCALE = 1; then
256 AC_LIBOBJ([duplocale])
259 gl_LOCALE_MODULE_INDICATOR([duplocale])
261 gl_UNISTD_MODULE_INDICATOR([environ])
265 if test $REPLACE_FLOAT_LDBL = 1; then
268 if test $REPLACE_ITOLD = 1; then
272 if test $HAVE_FLOCK = 0; then
276 gl_HEADER_SYS_FILE_MODULE_INDICATOR([flock])
278 if test $REPLACE_FLOOR = 1; then
281 gl_MATH_MODULE_INDICATOR([floor])
283 if test $gl_func_frexp != yes; then
286 gl_MATH_MODULE_INDICATOR([frexp])
288 if test $REPLACE_FSTAT = 1; then
292 gl_SYS_STAT_MODULE_INDICATOR([fstat])
295 if test $HAVE_GETADDRINFO = 0; then
296 AC_LIBOBJ([getaddrinfo])
298 if test $HAVE_DECL_GAI_STRERROR = 0 || test $REPLACE_GAI_STRERROR = 1; then
299 AC_LIBOBJ([gai_strerror])
301 gl_NETDB_MODULE_INDICATOR([getaddrinfo])
302 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
303 if test "$ac_cv_header_winsock2_h" = yes; then
304 AC_LIBOBJ([getpeername])
306 gl_SYS_SOCKET_MODULE_INDICATOR([getpeername])
307 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
308 if test "$ac_cv_header_winsock2_h" = yes; then
309 AC_LIBOBJ([getsockname])
311 gl_SYS_SOCKET_MODULE_INDICATOR([getsockname])
312 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
313 if test "$ac_cv_header_winsock2_h" = yes; then
314 AC_LIBOBJ([getsockopt])
316 gl_SYS_SOCKET_MODULE_INDICATOR([getsockopt])
318 AC_SUBST([LTLIBINTL])
319 # Autoconf 2.61a.99 and earlier don't support linking a file only
320 # in VPATH builds. But since GNUmakefile is for maintainer use
321 # only, it does not matter if we skip the link with older autoconf.
322 # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
323 # builds, so use a shell variable to bypass this.
324 GNUmakefile=GNUmakefile
325 m4_if(m4_version_compare([2.61a.100],
326 m4_defn([m4_PACKAGE_VERSION])), [1], [],
327 [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
328 [GNUmakefile=$GNUmakefile])])
331 m4_ifdef([gl_ICONV_MODULE_INDICATOR],
332 [gl_ICONV_MODULE_INDICATOR([iconv])])
335 if test $REPLACE_ICONV_OPEN = 1; then
336 AC_LIBOBJ([iconv_open])
338 if test $REPLACE_ICONV = 1; then
340 AC_LIBOBJ([iconv_close])
342 gl_FUNC_ICONV_OPEN_UTF
344 if test $HAVE_INET_NTOP = 0 || test $REPLACE_INET_NTOP = 1; then
345 AC_LIBOBJ([inet_ntop])
348 gl_ARPA_INET_MODULE_INDICATOR([inet_ntop])
350 if test $HAVE_INET_PTON = 0 || test $REPLACE_INET_NTOP = 1; then
351 AC_LIBOBJ([inet_pton])
354 gl_ARPA_INET_MODULE_INDICATOR([inet_pton])
357 if test $REPLACE_ISINF = 1; then
360 gl_MATH_MODULE_INDICATOR([isinf])
362 gl_MATH_MODULE_INDICATOR([isnan])
364 m4_ifdef([gl_ISNAN], [
365 AC_REQUIRE([gl_ISNAN])
367 if test $HAVE_ISNAND = 0 || test $REPLACE_ISNAN = 1; then
371 gl_MATH_MODULE_INDICATOR([isnand])
372 gl_FUNC_ISNAND_NO_LIBM
373 if test $gl_func_isnand_no_libm != yes; then
378 m4_ifdef([gl_ISNAN], [
379 AC_REQUIRE([gl_ISNAN])
381 if test $HAVE_ISNANF = 0 || test $REPLACE_ISNAN = 1; then
385 gl_MATH_MODULE_INDICATOR([isnanf])
387 m4_ifdef([gl_ISNAN], [
388 AC_REQUIRE([gl_ISNAN])
390 if test $HAVE_ISNANL = 0 || test $REPLACE_ISNAN = 1; then
394 gl_MATH_MODULE_INDICATOR([isnanl])
399 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
400 if test "$ac_cv_header_winsock2_h" = yes; then
403 gl_SYS_SOCKET_MODULE_INDICATOR([listen])
405 gl_COMMON_DOUBLE_MATHFUNC([log1p])
407 if test $REPLACE_LSTAT = 1; then
411 gl_SYS_STAT_MODULE_INDICATOR([lstat])
412 AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER],
413 [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])])
415 if test $REPLACE_MALLOC = 1; then
418 gl_MODULE_INDICATOR([malloc-gnu])
420 if test $REPLACE_MALLOC = 1; then
423 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
427 if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
431 gl_STRING_MODULE_INDICATOR([memchr])
433 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
434 AC_LIBOBJ([msvc-inval])
437 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
438 AC_LIBOBJ([msvc-nothrow])
446 if test $REPLACE_OPEN = 1; then
450 gl_FCNTL_MODULE_INDICATOR([open])
453 gl_UNISTD_MODULE_INDICATOR([pipe2])
455 if test $REPLACE_PUTENV = 1; then
458 gl_STDLIB_MODULE_INDICATOR([putenv])
460 if test $HAVE_RAISE = 0 || test $REPLACE_RAISE = 1; then
464 gl_SIGNAL_MODULE_INDICATOR([raise])
466 if test $REPLACE_READ = 1; then
470 gl_UNISTD_MODULE_INDICATOR([read])
472 if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then
473 AC_LIBOBJ([readlink])
476 gl_UNISTD_MODULE_INDICATOR([readlink])
477 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
478 if test "$ac_cv_header_winsock2_h" = yes; then
481 gl_SYS_SOCKET_MODULE_INDICATOR([recv])
482 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
483 if test "$ac_cv_header_winsock2_h" = yes; then
484 AC_LIBOBJ([recvfrom])
486 gl_SYS_SOCKET_MODULE_INDICATOR([recvfrom])
488 if test $REPLACE_RENAME = 1; then
491 gl_STDIO_MODULE_INDICATOR([rename])
493 if test $REPLACE_RMDIR = 1; then
496 gl_UNISTD_MODULE_INDICATOR([rmdir])
499 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
500 if test "$ac_cv_header_winsock2_h" = yes; then
503 gl_SYS_SOCKET_MODULE_INDICATOR([send])
504 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
505 if test "$ac_cv_header_winsock2_h" = yes; then
508 gl_SYS_SOCKET_MODULE_INDICATOR([sendto])
510 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
511 if test "$ac_cv_header_winsock2_h" = yes; then
512 AC_LIBOBJ([setsockopt])
514 gl_SYS_SOCKET_MODULE_INDICATOR([setsockopt])
515 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
516 if test "$ac_cv_header_winsock2_h" = yes; then
517 AC_LIBOBJ([shutdown])
519 gl_SYS_SOCKET_MODULE_INDICATOR([shutdown])
523 gl_STDIO_MODULE_INDICATOR([snprintf])
524 gl_MODULE_INDICATOR([snprintf])
525 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
526 if test "$ac_cv_header_winsock2_h" = yes; then
529 # When this module is used, sockets may actually occur as file descriptors,
530 # hence it is worth warning if the modules 'close' and 'ioctl' are not used.
531 m4_ifdef([gl_UNISTD_H_DEFAULTS], [AC_REQUIRE([gl_UNISTD_H_DEFAULTS])])
532 m4_ifdef([gl_SYS_IOCTL_H_DEFAULTS], [AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS])])
533 AC_REQUIRE([gl_PREREQ_SYS_H_WINSOCK2])
534 if test "$ac_cv_header_winsock2_h" = yes; then
535 UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
536 SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
538 gl_SYS_SOCKET_MODULE_INDICATOR([socket])
544 if test $REPLACE_STAT = 1; then
548 gl_SYS_STAT_MODULE_INDICATOR([stat])
557 if test $gl_cond_libtool = false; then
558 gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV"
559 gl_libdeps="$gl_libdeps $LIBICONV"
576 if test $HAVE_LOCALTIME_R = 0 || test $REPLACE_LOCALTIME_R = 1; then
580 gl_TIME_MODULE_INDICATOR([time_r])
582 if test $HAVE_DECL_TRUNC = 0 || test $REPLACE_TRUNC = 1; then
585 gl_MATH_MODULE_INDICATOR([trunc])
587 gl_LIBUNISTRING_LIBHEADER([0.9.2], [unistr.h])
588 gl_MODULE_INDICATOR([unistr/u8-mbtouc])
589 gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u8-mbtouc])
590 gl_MODULE_INDICATOR([unistr/u8-mbtouc-unsafe])
591 gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u8-mbtouc-unsafe])
592 gl_MODULE_INDICATOR([unistr/u8-mbtoucr])
593 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-mbtoucr])
594 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-prev])
595 gl_MODULE_INDICATOR([unistr/u8-uctomb])
596 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-uctomb])
597 gl_LIBUNISTRING_LIBHEADER([0.9], [unitypes.h])
600 gl_STDIO_MODULE_INDICATOR([vsnprintf])
601 AC_SUBST([WARN_CFLAGS])
604 if test $REPLACE_WRITE = 1; then
608 gl_UNISTD_MODULE_INDICATOR([write])
610 # End of code from modules
611 m4_ifval(gl_LIBSOURCES_LIST, [
612 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
613 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
614 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
615 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
619 m4_if(m4_sysval, [0], [],
620 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
622 m4_popdef([gl_LIBSOURCES_DIR])
623 m4_popdef([gl_LIBSOURCES_LIST])
624 m4_popdef([AC_LIBSOURCES])
625 m4_popdef([AC_REPLACE_FUNCS])
626 m4_popdef([AC_LIBOBJ])
627 AC_CONFIG_COMMANDS_PRE([
630 if test -n "$gl_LIBOBJS"; then
631 # Remove the extension.
632 sed_drop_objext='s/\.o$//;s/\.obj$//'
633 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
634 gl_libobjs="$gl_libobjs $i.$ac_objext"
635 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
638 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
639 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
643 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
644 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
645 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
646 m4_pushdef([gltests_LIBSOURCES_LIST], [])
647 m4_pushdef([gltests_LIBSOURCES_DIR], [])
649 gl_source_base='tests'
651 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
653 AC_SUBST([gltests_WITNESS])
654 gl_module_indicator_condition=$gltests_WITNESS
655 m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
656 m4_popdef([gl_MODULE_INDICATOR_CONDITION])
657 m4_ifval(gltests_LIBSOURCES_LIST, [
658 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
659 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
660 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
661 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
665 m4_if(m4_sysval, [0], [],
666 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
668 m4_popdef([gltests_LIBSOURCES_DIR])
669 m4_popdef([gltests_LIBSOURCES_LIST])
670 m4_popdef([AC_LIBSOURCES])
671 m4_popdef([AC_REPLACE_FUNCS])
672 m4_popdef([AC_LIBOBJ])
673 AC_CONFIG_COMMANDS_PRE([
676 if test -n "$gltests_LIBOBJS"; then
677 # Remove the extension.
678 sed_drop_objext='s/\.o$//;s/\.obj$//'
679 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
680 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
681 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
684 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
685 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
689 # Like AC_LIBOBJ, except that the module name goes
690 # into gl_LIBOBJS instead of into LIBOBJS.
691 AC_DEFUN([gl_LIBOBJ], [
692 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
693 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
696 # Like AC_REPLACE_FUNCS, except that the module name goes
697 # into gl_LIBOBJS instead of into LIBOBJS.
698 AC_DEFUN([gl_REPLACE_FUNCS], [
699 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
700 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
703 # Like AC_LIBSOURCES, except the directory where the source file is
704 # expected is derived from the gnulib-tool parameterization,
705 # and alloca is special cased (for the alloca-opt module).
706 # We could also entirely rely on EXTRA_lib..._SOURCES.
707 AC_DEFUN([gl_LIBSOURCES], [
708 m4_foreach([_gl_NAME], [$1], [
709 m4_if(_gl_NAME, [alloca.c], [], [
710 m4_define([gl_LIBSOURCES_DIR], [lib])
711 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
716 # Like AC_LIBOBJ, except that the module name goes
717 # into gltests_LIBOBJS instead of into LIBOBJS.
718 AC_DEFUN([gltests_LIBOBJ], [
719 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
720 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
723 # Like AC_REPLACE_FUNCS, except that the module name goes
724 # into gltests_LIBOBJS instead of into LIBOBJS.
725 AC_DEFUN([gltests_REPLACE_FUNCS], [
726 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
727 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
730 # Like AC_LIBSOURCES, except the directory where the source file is
731 # expected is derived from the gnulib-tool parameterization,
732 # and alloca is special cased (for the alloca-opt module).
733 # We could also entirely rely on EXTRA_lib..._SOURCES.
734 AC_DEFUN([gltests_LIBSOURCES], [
735 m4_foreach([_gl_NAME], [$1], [
736 m4_if(_gl_NAME, [alloca.c], [], [
737 m4_define([gltests_LIBSOURCES_DIR], [tests])
738 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
743 # This macro records the list of files which have been installed by
744 # gnulib-tool and may be removed by future gnulib-tool invocations.
745 AC_DEFUN([gl_FILE_LIST], [
746 build-aux/announce-gen
747 build-aux/config.rpath
749 build-aux/git-version-gen
750 build-aux/gitlog-to-changelog
751 build-aux/gnu-web-doc-update
753 build-aux/snippet/_Noreturn.h
754 build-aux/snippet/arg-nonnull.h
755 build-aux/snippet/c++defs.h
756 build-aux/snippet/unused-parameter.h
757 build-aux/snippet/warn-on-use.h
758 build-aux/useless-if-before-free
759 build-aux/vc-list-files
776 lib/canonicalize-lgpl.c
808 lib/iconv_open-aix.gperf
809 lib/iconv_open-hpux.gperf
810 lib/iconv_open-irix.gperf
811 lib/iconv_open-osf.gperf
812 lib/iconv_open-solaris.gperf
824 lib/libunistring.valgrind
897 lib/unistr/u8-mbtouc-aux.c
898 lib/unistr/u8-mbtouc-unsafe-aux.c
899 lib/unistr/u8-mbtouc-unsafe.c
900 lib/unistr/u8-mbtouc.c
901 lib/unistr/u8-mbtoucr.c
903 lib/unistr/u8-uctomb-aux.c
904 lib/unistr/u8-uctomb.c
915 m4/absolute-header.m4
925 m4/double-slash-root.m4
962 m4/ld-version-script.m4
967 m4/libunistring-base.m4