1 # DO NOT EDIT! GENERATED AUTOMATICALLY!
2 # Copyright (C) 2002-2012 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 configmake:
60 # Code from module connect:
61 # Code from module dirent:
62 # Code from module dirfd:
63 # Code from module dirname-lgpl:
64 # Code from module dosname:
65 # Code from module double-slash-root:
66 # Code from module duplocale:
67 # Code from module environ:
68 # Code from module errno:
69 # Code from module extensions:
70 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
71 # Code from module fcntl-h:
72 # Code from module fd-hook:
73 # Code from module float:
74 # Code from module flock:
75 # Code from module floor:
76 # Code from module fpieee:
77 AC_REQUIRE([gl_FP_IEEE])
78 # Code from module frexp:
79 # Code from module fstat:
80 # Code from module full-read:
81 # Code from module full-write:
82 # Code from module func:
83 # Code from module gendocs:
84 # Code from module getaddrinfo:
85 # Code from module getpeername:
86 # Code from module getsockname:
87 # Code from module getsockopt:
88 # Code from module gettext-h:
89 # Code from module git-version-gen:
90 # Code from module gitlog-to-changelog:
91 # Code from module gnu-web-doc-update:
92 # Code from module gnumakefile:
93 # Code from module gnupload:
94 # Code from module gperf:
95 # Code from module havelib:
96 # Code from module hostent:
97 # Code from module iconv:
98 # Code from module iconv-h:
99 # Code from module iconv_open:
100 # Code from module iconv_open-utf:
101 # Code from module include_next:
102 # Code from module inet_ntop:
103 # Code from module inet_pton:
104 # Code from module inline:
105 # Code from module isinf:
106 # Code from module isnan:
107 # Code from module isnand:
108 # Code from module isnand-nolibm:
109 # Code from module isnanf:
110 # Code from module isnanl:
111 # Code from module largefile:
112 AC_REQUIRE([AC_SYS_LARGEFILE])
113 # Code from module ldexp:
114 # Code from module lib-symbol-versions:
115 # Code from module lib-symbol-visibility:
116 # Code from module libunistring:
117 # Code from module listen:
118 # Code from module localcharset:
119 # Code from module locale:
120 # Code from module log1p:
121 # Code from module lstat:
122 # Code from module maintainer-makefile:
123 # Code from module malloc-gnu:
124 # Code from module malloc-posix:
125 # Code from module malloca:
126 # Code from module math:
127 # Code from module memchr:
128 # Code from module msvc-inval:
129 # Code from module msvc-nothrow:
130 # Code from module multiarch:
131 # Code from module netdb:
132 # Code from module netinet_in:
133 # Code from module nocrash:
134 # Code from module nproc:
135 # Code from module open:
136 # Code from module pathmax:
137 # Code from module pipe2:
138 # Code from module putenv:
139 # Code from module raise:
140 # Code from module read:
141 # Code from module readlink:
142 # Code from module recv:
143 # Code from module recvfrom:
144 # Code from module rename:
145 # Code from module rmdir:
146 # Code from module safe-read:
147 # Code from module safe-write:
148 # Code from module same-inode:
149 # Code from module send:
150 # Code from module sendto:
151 # Code from module servent:
152 # Code from module setenv:
153 # Code from module setsockopt:
154 # Code from module shutdown:
155 # Code from module signal-h:
156 # Code from module size_max:
157 # Code from module snippet/_Noreturn:
158 # Code from module snippet/arg-nonnull:
159 # Code from module snippet/c++defs:
160 # Code from module snippet/unused-parameter:
161 # Code from module snippet/warn-on-use:
162 # Code from module snprintf:
163 # Code from module socket:
164 # Code from module socketlib:
165 # Code from module sockets:
166 # Code from module socklen:
167 # Code from module ssize_t:
168 # Code from module stat:
169 # Code from module stat-time:
170 # Code from module stdalign:
171 # Code from module stdbool:
172 # Code from module stddef:
173 # Code from module stdint:
174 # Code from module stdio:
175 # Code from module stdlib:
176 # Code from module strftime:
177 # Code from module striconveh:
178 # Code from module string:
179 # Code from module sys_file:
180 # Code from module sys_socket:
181 # Code from module sys_stat:
182 # Code from module sys_time:
183 # Code from module sys_types:
184 # Code from module sys_uio:
185 # Code from module time:
186 # Code from module time_r:
187 # Code from module trunc:
188 # Code from module unistd:
189 # Code from module unistr/base:
190 # Code from module unistr/u8-mbtouc:
191 # Code from module unistr/u8-mbtouc-unsafe:
192 # Code from module unistr/u8-mbtoucr:
193 # Code from module unistr/u8-prev:
194 # Code from module unistr/u8-uctomb:
195 # Code from module unitypes:
196 # Code from module useless-if-before-free:
197 # Code from module vasnprintf:
198 # Code from module vc-list-files:
199 # Code from module verify:
200 # Code from module vsnprintf:
201 # Code from module warnings:
202 # Code from module wchar:
203 # Code from module write:
204 # Code from module xsize:
207 # This macro should be invoked from ./configure.ac, in the section
208 # "Check for header files, types and library functions".
211 AM_CONDITIONAL([GL_COND_LIBTOOL], [true])
214 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
215 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
216 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
217 m4_pushdef([gl_LIBSOURCES_LIST], [])
218 m4_pushdef([gl_LIBSOURCES_DIR], [])
221 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
222 if test "$ac_cv_header_winsock2_h" = yes; then
225 gl_SYS_SOCKET_MODULE_INDICATOR([accept])
229 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
230 if test "$ac_cv_header_winsock2_h" = yes; then
233 gl_SYS_SOCKET_MODULE_INDICATOR([bind])
236 if test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1; then
237 AC_LIBOBJ([canonicalize-lgpl])
239 gl_MODULE_INDICATOR([canonicalize-lgpl])
240 gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name])
241 gl_STDLIB_MODULE_INDICATOR([realpath])
243 if test $REPLACE_CEIL = 1; then
246 gl_MATH_MODULE_INDICATOR([ceil])
247 gl_UNISTD_MODULE_INDICATOR([chdir])
249 if test $REPLACE_CLOSE = 1; then
252 gl_UNISTD_MODULE_INDICATOR([close])
254 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
255 if test "$ac_cv_header_winsock2_h" = yes; then
258 gl_SYS_SOCKET_MODULE_INDICATOR([connect])
261 if test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no; then
265 gl_DIRENT_MODULE_INDICATOR([dirfd])
269 if test $REPLACE_DUPLOCALE = 1; then
270 AC_LIBOBJ([duplocale])
273 gl_LOCALE_MODULE_INDICATOR([duplocale])
275 gl_UNISTD_MODULE_INDICATOR([environ])
279 if test $REPLACE_FLOAT_LDBL = 1; then
282 if test $REPLACE_ITOLD = 1; then
286 if test $HAVE_FLOCK = 0; then
290 gl_HEADER_SYS_FILE_MODULE_INDICATOR([flock])
292 if test $REPLACE_FLOOR = 1; then
295 gl_MATH_MODULE_INDICATOR([floor])
297 if test $gl_func_frexp != yes; then
300 gl_MATH_MODULE_INDICATOR([frexp])
302 if test $REPLACE_FSTAT = 1; then
306 gl_SYS_STAT_MODULE_INDICATOR([fstat])
309 if test $HAVE_GETADDRINFO = 0; then
310 AC_LIBOBJ([getaddrinfo])
312 if test $HAVE_DECL_GAI_STRERROR = 0 || test $REPLACE_GAI_STRERROR = 1; then
313 AC_LIBOBJ([gai_strerror])
315 gl_NETDB_MODULE_INDICATOR([getaddrinfo])
316 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
317 if test "$ac_cv_header_winsock2_h" = yes; then
318 AC_LIBOBJ([getpeername])
320 gl_SYS_SOCKET_MODULE_INDICATOR([getpeername])
321 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
322 if test "$ac_cv_header_winsock2_h" = yes; then
323 AC_LIBOBJ([getsockname])
325 gl_SYS_SOCKET_MODULE_INDICATOR([getsockname])
326 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
327 if test "$ac_cv_header_winsock2_h" = yes; then
328 AC_LIBOBJ([getsockopt])
330 gl_SYS_SOCKET_MODULE_INDICATOR([getsockopt])
332 AC_SUBST([LTLIBINTL])
333 # Autoconf 2.61a.99 and earlier don't support linking a file only
334 # in VPATH builds. But since GNUmakefile is for maintainer use
335 # only, it does not matter if we skip the link with older autoconf.
336 # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
337 # builds, so use a shell variable to bypass this.
338 GNUmakefile=GNUmakefile
339 m4_if(m4_version_compare([2.61a.100],
340 m4_defn([m4_PACKAGE_VERSION])), [1], [],
341 [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
342 [GNUmakefile=$GNUmakefile])])
345 m4_ifdef([gl_ICONV_MODULE_INDICATOR],
346 [gl_ICONV_MODULE_INDICATOR([iconv])])
349 if test $REPLACE_ICONV_OPEN = 1; then
350 AC_LIBOBJ([iconv_open])
352 if test $REPLACE_ICONV = 1; then
354 AC_LIBOBJ([iconv_close])
356 gl_FUNC_ICONV_OPEN_UTF
358 if test $HAVE_INET_NTOP = 0 || test $REPLACE_INET_NTOP = 1; then
359 AC_LIBOBJ([inet_ntop])
362 gl_ARPA_INET_MODULE_INDICATOR([inet_ntop])
364 if test $HAVE_INET_PTON = 0 || test $REPLACE_INET_NTOP = 1; then
365 AC_LIBOBJ([inet_pton])
368 gl_ARPA_INET_MODULE_INDICATOR([inet_pton])
371 if test $REPLACE_ISINF = 1; then
374 gl_MATH_MODULE_INDICATOR([isinf])
376 gl_MATH_MODULE_INDICATOR([isnan])
378 m4_ifdef([gl_ISNAN], [
379 AC_REQUIRE([gl_ISNAN])
381 if test $HAVE_ISNAND = 0 || test $REPLACE_ISNAN = 1; then
385 gl_MATH_MODULE_INDICATOR([isnand])
386 gl_FUNC_ISNAND_NO_LIBM
387 if test $gl_func_isnand_no_libm != yes; then
392 m4_ifdef([gl_ISNAN], [
393 AC_REQUIRE([gl_ISNAN])
395 if test $HAVE_ISNANF = 0 || test $REPLACE_ISNAN = 1; then
399 gl_MATH_MODULE_INDICATOR([isnanf])
401 m4_ifdef([gl_ISNAN], [
402 AC_REQUIRE([gl_ISNAN])
404 if test $HAVE_ISNANL = 0 || test $REPLACE_ISNAN = 1; then
408 gl_MATH_MODULE_INDICATOR([isnanl])
413 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
414 if test "$ac_cv_header_winsock2_h" = yes; then
417 gl_SYS_SOCKET_MODULE_INDICATOR([listen])
419 LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(abs_top_builddir)/$gl_source_base\""
420 AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
422 gl_COMMON_DOUBLE_MATHFUNC([log1p])
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])
450 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
451 AC_LIBOBJ([msvc-inval])
454 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
455 AC_LIBOBJ([msvc-nothrow])
463 if test $REPLACE_OPEN = 1; then
467 gl_FCNTL_MODULE_INDICATOR([open])
470 gl_UNISTD_MODULE_INDICATOR([pipe2])
472 if test $REPLACE_PUTENV = 1; then
475 gl_STDLIB_MODULE_INDICATOR([putenv])
477 if test $HAVE_RAISE = 0 || test $REPLACE_RAISE = 1; then
481 gl_SIGNAL_MODULE_INDICATOR([raise])
483 if test $REPLACE_READ = 1; then
487 gl_UNISTD_MODULE_INDICATOR([read])
489 if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then
490 AC_LIBOBJ([readlink])
493 gl_UNISTD_MODULE_INDICATOR([readlink])
494 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
495 if test "$ac_cv_header_winsock2_h" = yes; then
498 gl_SYS_SOCKET_MODULE_INDICATOR([recv])
499 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
500 if test "$ac_cv_header_winsock2_h" = yes; then
501 AC_LIBOBJ([recvfrom])
503 gl_SYS_SOCKET_MODULE_INDICATOR([recvfrom])
505 if test $REPLACE_RENAME = 1; then
508 gl_STDIO_MODULE_INDICATOR([rename])
510 if test $REPLACE_RMDIR = 1; then
513 gl_UNISTD_MODULE_INDICATOR([rmdir])
516 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
517 if test "$ac_cv_header_winsock2_h" = yes; then
520 gl_SYS_SOCKET_MODULE_INDICATOR([send])
521 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
522 if test "$ac_cv_header_winsock2_h" = yes; then
525 gl_SYS_SOCKET_MODULE_INDICATOR([sendto])
528 if test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1; then
531 gl_STDLIB_MODULE_INDICATOR([setenv])
532 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
533 if test "$ac_cv_header_winsock2_h" = yes; then
534 AC_LIBOBJ([setsockopt])
536 gl_SYS_SOCKET_MODULE_INDICATOR([setsockopt])
537 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
538 if test "$ac_cv_header_winsock2_h" = yes; then
539 AC_LIBOBJ([shutdown])
541 gl_SYS_SOCKET_MODULE_INDICATOR([shutdown])
545 gl_STDIO_MODULE_INDICATOR([snprintf])
546 gl_MODULE_INDICATOR([snprintf])
547 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
548 if test "$ac_cv_header_winsock2_h" = yes; then
551 # When this module is used, sockets may actually occur as file descriptors,
552 # hence it is worth warning if the modules 'close' and 'ioctl' are not used.
553 m4_ifdef([gl_UNISTD_H_DEFAULTS], [AC_REQUIRE([gl_UNISTD_H_DEFAULTS])])
554 m4_ifdef([gl_SYS_IOCTL_H_DEFAULTS], [AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS])])
555 AC_REQUIRE([gl_PREREQ_SYS_H_WINSOCK2])
556 if test "$ac_cv_header_winsock2_h" = yes; then
557 UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
558 SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
560 gl_SYS_SOCKET_MODULE_INDICATOR([socket])
566 if test $REPLACE_STAT = 1; then
570 gl_SYS_STAT_MODULE_INDICATOR([stat])
580 if test $gl_cond_libtool = false; then
581 gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV"
582 gl_libdeps="$gl_libdeps $LIBICONV"
599 if test $HAVE_LOCALTIME_R = 0 || test $REPLACE_LOCALTIME_R = 1; then
603 gl_TIME_MODULE_INDICATOR([time_r])
605 if test $HAVE_DECL_TRUNC = 0 || test $REPLACE_TRUNC = 1; then
608 gl_MATH_MODULE_INDICATOR([trunc])
610 gl_LIBUNISTRING_LIBHEADER([0.9.2], [unistr.h])
611 gl_MODULE_INDICATOR([unistr/u8-mbtouc])
612 gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u8-mbtouc])
613 gl_MODULE_INDICATOR([unistr/u8-mbtouc-unsafe])
614 gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u8-mbtouc-unsafe])
615 gl_MODULE_INDICATOR([unistr/u8-mbtoucr])
616 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-mbtoucr])
617 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-prev])
618 gl_MODULE_INDICATOR([unistr/u8-uctomb])
619 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-uctomb])
620 gl_LIBUNISTRING_LIBHEADER([0.9], [unitypes.h])
623 gl_STDIO_MODULE_INDICATOR([vsnprintf])
624 AC_SUBST([WARN_CFLAGS])
627 if test $REPLACE_WRITE = 1; then
631 gl_UNISTD_MODULE_INDICATOR([write])
633 # End of code from modules
634 m4_ifval(gl_LIBSOURCES_LIST, [
635 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
636 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
637 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
638 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
642 m4_if(m4_sysval, [0], [],
643 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
645 m4_popdef([gl_LIBSOURCES_DIR])
646 m4_popdef([gl_LIBSOURCES_LIST])
647 m4_popdef([AC_LIBSOURCES])
648 m4_popdef([AC_REPLACE_FUNCS])
649 m4_popdef([AC_LIBOBJ])
650 AC_CONFIG_COMMANDS_PRE([
653 if test -n "$gl_LIBOBJS"; then
654 # Remove the extension.
655 sed_drop_objext='s/\.o$//;s/\.obj$//'
656 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
657 gl_libobjs="$gl_libobjs $i.$ac_objext"
658 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
661 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
662 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
666 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
667 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
668 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
669 m4_pushdef([gltests_LIBSOURCES_LIST], [])
670 m4_pushdef([gltests_LIBSOURCES_DIR], [])
672 gl_source_base='tests'
674 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
676 AC_SUBST([gltests_WITNESS])
677 gl_module_indicator_condition=$gltests_WITNESS
678 m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
679 m4_popdef([gl_MODULE_INDICATOR_CONDITION])
680 m4_ifval(gltests_LIBSOURCES_LIST, [
681 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
682 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
683 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
684 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
688 m4_if(m4_sysval, [0], [],
689 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
691 m4_popdef([gltests_LIBSOURCES_DIR])
692 m4_popdef([gltests_LIBSOURCES_LIST])
693 m4_popdef([AC_LIBSOURCES])
694 m4_popdef([AC_REPLACE_FUNCS])
695 m4_popdef([AC_LIBOBJ])
696 AC_CONFIG_COMMANDS_PRE([
699 if test -n "$gltests_LIBOBJS"; then
700 # Remove the extension.
701 sed_drop_objext='s/\.o$//;s/\.obj$//'
702 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
703 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
704 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
707 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
708 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
712 # Like AC_LIBOBJ, except that the module name goes
713 # into gl_LIBOBJS instead of into LIBOBJS.
714 AC_DEFUN([gl_LIBOBJ], [
715 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
716 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
719 # Like AC_REPLACE_FUNCS, except that the module name goes
720 # into gl_LIBOBJS instead of into LIBOBJS.
721 AC_DEFUN([gl_REPLACE_FUNCS], [
722 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
723 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
726 # Like AC_LIBSOURCES, except the directory where the source file is
727 # expected is derived from the gnulib-tool parameterization,
728 # and alloca is special cased (for the alloca-opt module).
729 # We could also entirely rely on EXTRA_lib..._SOURCES.
730 AC_DEFUN([gl_LIBSOURCES], [
731 m4_foreach([_gl_NAME], [$1], [
732 m4_if(_gl_NAME, [alloca.c], [], [
733 m4_define([gl_LIBSOURCES_DIR], [lib])
734 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
739 # Like AC_LIBOBJ, except that the module name goes
740 # into gltests_LIBOBJS instead of into LIBOBJS.
741 AC_DEFUN([gltests_LIBOBJ], [
742 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
743 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
746 # Like AC_REPLACE_FUNCS, except that the module name goes
747 # into gltests_LIBOBJS instead of into LIBOBJS.
748 AC_DEFUN([gltests_REPLACE_FUNCS], [
749 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
750 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
753 # Like AC_LIBSOURCES, except the directory where the source file is
754 # expected is derived from the gnulib-tool parameterization,
755 # and alloca is special cased (for the alloca-opt module).
756 # We could also entirely rely on EXTRA_lib..._SOURCES.
757 AC_DEFUN([gltests_LIBSOURCES], [
758 m4_foreach([_gl_NAME], [$1], [
759 m4_if(_gl_NAME, [alloca.c], [], [
760 m4_define([gltests_LIBSOURCES_DIR], [tests])
761 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
766 # This macro records the list of files which have been installed by
767 # gnulib-tool and may be removed by future gnulib-tool invocations.
768 AC_DEFUN([gl_FILE_LIST], [
769 build-aux/announce-gen
770 build-aux/config.rpath
772 build-aux/git-version-gen
773 build-aux/gitlog-to-changelog
774 build-aux/gnu-web-doc-update
776 build-aux/snippet/_Noreturn.h
777 build-aux/snippet/arg-nonnull.h
778 build-aux/snippet/c++defs.h
779 build-aux/snippet/unused-parameter.h
780 build-aux/snippet/warn-on-use.h
781 build-aux/useless-if-before-free
782 build-aux/vc-list-files
799 lib/canonicalize-lgpl.c
834 lib/iconv_open-aix.gperf
835 lib/iconv_open-hpux.gperf
836 lib/iconv_open-irix.gperf
837 lib/iconv_open-osf.gperf
838 lib/iconv_open-solaris.gperf
850 lib/libunistring.valgrind
929 lib/unistr/u8-mbtouc-aux.c
930 lib/unistr/u8-mbtouc-unsafe-aux.c
931 lib/unistr/u8-mbtouc-unsafe.c
932 lib/unistr/u8-mbtouc.c
933 lib/unistr/u8-mbtoucr.c
935 lib/unistr/u8-uctomb-aux.c
936 lib/unistr/u8-uctomb.c
947 m4/absolute-header.m4
961 m4/double-slash-root.m4
999 m4/ld-version-script.m4
1004 m4/libunistring-base.m4