1 # DO NOT EDIT! GENERATED AUTOMATICALLY!
2 # Copyright (C) 2002-2013 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:
45 # Code from module alloca-opt:
46 # Code from module announce-gen:
47 # Code from module arpa_inet:
48 # Code from module autobuild:
50 # Code from module binary-io:
51 # Code from module bind:
52 # Code from module btowc:
53 # Code from module byteswap:
54 # Code from module c-ctype:
55 # Code from module c-strcase:
56 # Code from module c-strcaseeq:
57 # Code from module canonicalize-lgpl:
58 # Code from module ceil:
59 # Code from module chdir:
60 # Code from module clock-time:
61 # Code from module close:
62 # Code from module configmake:
63 # Code from module connect:
64 # Code from module dirent:
65 # Code from module dirfd:
66 # Code from module dirname-lgpl:
67 # Code from module dosname:
68 # Code from module double-slash-root:
69 # Code from module dup2:
70 # Code from module duplocale:
71 # Code from module environ:
72 # Code from module errno:
73 # Code from module extensions:
74 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
75 # Code from module extern-inline:
76 # Code from module fcntl-h:
77 # Code from module fd-hook:
78 # Code from module float:
79 # Code from module flock:
80 # Code from module floor:
81 # Code from module fpieee:
82 AC_REQUIRE([gl_FP_IEEE])
83 # Code from module frexp:
84 # Code from module fstat:
85 # Code from module full-read:
86 # Code from module full-write:
87 # Code from module func:
88 # Code from module gendocs:
89 # Code from module getaddrinfo:
90 # Code from module getlogin:
91 # Code from module getpeername:
92 # Code from module getsockname:
93 # Code from module getsockopt:
94 # Code from module gettext-h:
95 # Code from module git-version-gen:
96 # Code from module gitlog-to-changelog:
97 # Code from module gnu-web-doc-update:
98 # Code from module gnumakefile:
99 # Code from module gnupload:
100 # Code from module gperf:
101 # Code from module havelib:
102 # Code from module hostent:
103 # Code from module iconv:
104 # Code from module iconv-h:
105 # Code from module iconv_open:
106 # Code from module iconv_open-utf:
107 # Code from module include_next:
108 # Code from module inet_ntop:
109 # Code from module inet_pton:
110 # Code from module inline:
111 # Code from module isinf:
112 # Code from module isnan:
113 # Code from module isnand:
114 # Code from module isnand-nolibm:
115 # Code from module isnanf:
116 # Code from module isnanl:
117 # Code from module langinfo:
118 # Code from module largefile:
119 AC_REQUIRE([AC_SYS_LARGEFILE])
120 # Code from module ldexp:
121 # Code from module lib-symbol-versions:
122 # Code from module lib-symbol-visibility:
123 # Code from module libunistring:
124 # Code from module listen:
125 # Code from module localcharset:
126 # Code from module locale:
127 # Code from module localeconv:
128 # Code from module log:
129 # Code from module log1p:
130 # Code from module lstat:
131 # Code from module maintainer-makefile:
132 # Code from module malloc-gnu:
133 # Code from module malloc-posix:
134 # Code from module malloca:
135 # Code from module math:
136 # Code from module mbrtowc:
137 # Code from module mbsinit:
138 # Code from module mbtowc:
139 # Code from module memchr:
140 # Code from module msvc-inval:
141 # Code from module msvc-nothrow:
142 # Code from module multiarch:
143 # Code from module netdb:
144 # Code from module netinet_in:
145 # Code from module nl_langinfo:
146 # Code from module nocrash:
147 # Code from module nproc:
148 # Code from module open:
149 # Code from module pathmax:
150 # Code from module pipe-posix:
151 # Code from module pipe2:
152 # Code from module putenv:
153 # Code from module raise:
154 # Code from module read:
155 # Code from module readlink:
156 # Code from module recv:
157 # Code from module recvfrom:
158 # Code from module regex:
159 # Code from module rename:
160 # Code from module rmdir:
161 # Code from module round:
162 # Code from module safe-read:
163 # Code from module safe-write:
164 # Code from module same-inode:
165 # Code from module select:
166 # Code from module send:
167 # Code from module sendto:
168 # Code from module servent:
169 # Code from module setenv:
170 # Code from module setsockopt:
171 # Code from module shutdown:
172 # Code from module signal-h:
173 # Code from module size_max:
174 # Code from module snippet/_Noreturn:
175 # Code from module snippet/arg-nonnull:
176 # Code from module snippet/c++defs:
177 # Code from module snippet/unused-parameter:
178 # Code from module snippet/warn-on-use:
179 # Code from module snprintf:
180 # Code from module socket:
181 # Code from module socketlib:
182 # Code from module sockets:
183 # Code from module socklen:
184 # Code from module ssize_t:
185 # Code from module stat:
186 # Code from module stat-time:
187 # Code from module stdalign:
188 # Code from module stdbool:
189 # Code from module stddef:
190 # Code from module stdint:
191 # Code from module stdio:
192 # Code from module stdlib:
193 # Code from module streq:
194 # Code from module strftime:
195 # Code from module striconveh:
196 # Code from module string:
197 # Code from module sys_file:
198 # Code from module sys_select:
199 # Code from module sys_socket:
200 # Code from module sys_stat:
201 # Code from module sys_time:
202 # Code from module sys_times:
203 # Code from module sys_types:
204 # Code from module sys_uio:
205 # Code from module time:
206 # Code from module time_r:
207 # Code from module times:
208 # Code from module trunc:
209 # Code from module unistd:
210 # Code from module unistr/base:
211 # Code from module unistr/u8-mbtouc:
212 # Code from module unistr/u8-mbtouc-unsafe:
213 # Code from module unistr/u8-mbtoucr:
214 # Code from module unistr/u8-prev:
215 # Code from module unistr/u8-uctomb:
216 # Code from module unitypes:
217 # Code from module useless-if-before-free:
218 # Code from module vasnprintf:
219 # Code from module vc-list-files:
220 # Code from module verify:
221 # Code from module vsnprintf:
222 # Code from module warnings:
223 # Code from module wchar:
224 # Code from module wcrtomb:
225 # Code from module wctype-h:
226 # Code from module write:
227 # Code from module xsize:
230 # This macro should be invoked from ./configure.ac, in the section
231 # "Check for header files, types and library functions".
234 AM_CONDITIONAL([GL_COND_LIBTOOL], [true])
237 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
238 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
239 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
240 m4_pushdef([gl_LIBSOURCES_LIST], [])
241 m4_pushdef([gl_LIBSOURCES_DIR], [])
244 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
245 if test "$ac_cv_header_winsock2_h" = yes; then
248 gl_SYS_SOCKET_MODULE_INDICATOR([accept])
250 LTALLOCA=`echo "$ALLOCA" | sed -e 's/\.[^.]* /.lo /g;s/\.[^.]*$/.lo/'`
256 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
257 if test "$ac_cv_header_winsock2_h" = yes; then
260 gl_SYS_SOCKET_MODULE_INDICATOR([bind])
262 if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then
266 gl_WCHAR_MODULE_INDICATOR([btowc])
269 if test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1; then
270 AC_LIBOBJ([canonicalize-lgpl])
272 gl_MODULE_INDICATOR([canonicalize-lgpl])
273 gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name])
274 gl_STDLIB_MODULE_INDICATOR([realpath])
276 if test $REPLACE_CEIL = 1; then
279 gl_MATH_MODULE_INDICATOR([ceil])
280 gl_UNISTD_MODULE_INDICATOR([chdir])
283 if test $REPLACE_CLOSE = 1; then
286 gl_UNISTD_MODULE_INDICATOR([close])
288 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
289 if test "$ac_cv_header_winsock2_h" = yes; then
292 gl_SYS_SOCKET_MODULE_INDICATOR([connect])
295 if test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no; then
299 gl_DIRENT_MODULE_INDICATOR([dirfd])
303 if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then
307 gl_UNISTD_MODULE_INDICATOR([dup2])
309 if test $REPLACE_DUPLOCALE = 1; then
310 AC_LIBOBJ([duplocale])
313 gl_LOCALE_MODULE_INDICATOR([duplocale])
315 gl_UNISTD_MODULE_INDICATOR([environ])
317 AC_REQUIRE([gl_EXTERN_INLINE])
320 if test $REPLACE_FLOAT_LDBL = 1; then
323 if test $REPLACE_ITOLD = 1; then
327 if test $HAVE_FLOCK = 0; then
331 gl_HEADER_SYS_FILE_MODULE_INDICATOR([flock])
333 if test $REPLACE_FLOOR = 1; then
336 gl_MATH_MODULE_INDICATOR([floor])
338 if test $gl_func_frexp != yes; then
341 gl_MATH_MODULE_INDICATOR([frexp])
343 if test $REPLACE_FSTAT = 1; then
347 gl_SYS_STAT_MODULE_INDICATOR([fstat])
350 if test $HAVE_GETADDRINFO = 0; then
351 AC_LIBOBJ([getaddrinfo])
353 if test $HAVE_DECL_GAI_STRERROR = 0 || test $REPLACE_GAI_STRERROR = 1; then
354 AC_LIBOBJ([gai_strerror])
356 gl_NETDB_MODULE_INDICATOR([getaddrinfo])
358 if test $HAVE_GETLOGIN = 0; then
359 AC_LIBOBJ([getlogin])
361 gl_UNISTD_MODULE_INDICATOR([getlogin])
362 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
363 if test "$ac_cv_header_winsock2_h" = yes; then
364 AC_LIBOBJ([getpeername])
366 gl_SYS_SOCKET_MODULE_INDICATOR([getpeername])
367 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
368 if test "$ac_cv_header_winsock2_h" = yes; then
369 AC_LIBOBJ([getsockname])
371 gl_SYS_SOCKET_MODULE_INDICATOR([getsockname])
372 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
373 if test "$ac_cv_header_winsock2_h" = yes; then
374 AC_LIBOBJ([getsockopt])
376 gl_SYS_SOCKET_MODULE_INDICATOR([getsockopt])
378 AC_SUBST([LTLIBINTL])
379 # Autoconf 2.61a.99 and earlier don't support linking a file only
380 # in VPATH builds. But since GNUmakefile is for maintainer use
381 # only, it does not matter if we skip the link with older autoconf.
382 # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
383 # builds, so use a shell variable to bypass this.
384 GNUmakefile=GNUmakefile
385 m4_if(m4_version_compare([2.61a.100],
386 m4_defn([m4_PACKAGE_VERSION])), [1], [],
387 [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
388 [GNUmakefile=$GNUmakefile])])
391 m4_ifdef([gl_ICONV_MODULE_INDICATOR],
392 [gl_ICONV_MODULE_INDICATOR([iconv])])
395 if test $REPLACE_ICONV_OPEN = 1; then
396 AC_LIBOBJ([iconv_open])
398 if test $REPLACE_ICONV = 1; then
400 AC_LIBOBJ([iconv_close])
402 gl_FUNC_ICONV_OPEN_UTF
404 if test $HAVE_INET_NTOP = 0 || test $REPLACE_INET_NTOP = 1; then
405 AC_LIBOBJ([inet_ntop])
408 gl_ARPA_INET_MODULE_INDICATOR([inet_ntop])
410 if test $HAVE_INET_PTON = 0 || test $REPLACE_INET_NTOP = 1; then
411 AC_LIBOBJ([inet_pton])
414 gl_ARPA_INET_MODULE_INDICATOR([inet_pton])
417 if test $REPLACE_ISINF = 1; then
420 gl_MATH_MODULE_INDICATOR([isinf])
422 gl_MATH_MODULE_INDICATOR([isnan])
424 m4_ifdef([gl_ISNAN], [
425 AC_REQUIRE([gl_ISNAN])
427 if test $HAVE_ISNAND = 0 || test $REPLACE_ISNAN = 1; then
431 gl_MATH_MODULE_INDICATOR([isnand])
432 gl_FUNC_ISNAND_NO_LIBM
433 if test $gl_func_isnand_no_libm != yes; then
438 m4_ifdef([gl_ISNAN], [
439 AC_REQUIRE([gl_ISNAN])
441 if test $HAVE_ISNANF = 0 || test $REPLACE_ISNAN = 1; then
445 gl_MATH_MODULE_INDICATOR([isnanf])
447 m4_ifdef([gl_ISNAN], [
448 AC_REQUIRE([gl_ISNAN])
450 if test $HAVE_ISNANL = 0 || test $REPLACE_ISNAN = 1; then
454 gl_MATH_MODULE_INDICATOR([isnanl])
456 AC_REQUIRE([gl_LARGEFILE])
461 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
462 if test "$ac_cv_header_winsock2_h" = yes; then
465 gl_SYS_SOCKET_MODULE_INDICATOR([listen])
467 LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(abs_top_builddir)/$gl_source_base\""
468 AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
471 if test $REPLACE_LOCALECONV = 1; then
472 AC_LIBOBJ([localeconv])
475 gl_LOCALE_MODULE_INDICATOR([localeconv])
476 AC_REQUIRE([gl_FUNC_LOG])
477 if test $REPLACE_LOG = 1; then
480 gl_MATH_MODULE_INDICATOR([log])
482 if test $HAVE_LOG1P = 0 || test $REPLACE_LOG1P = 1; then
485 gl_MATH_MODULE_INDICATOR([log1p])
487 if test $REPLACE_LSTAT = 1; then
491 gl_SYS_STAT_MODULE_INDICATOR([lstat])
492 AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER],
493 [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])])
495 if test $REPLACE_MALLOC = 1; then
498 gl_MODULE_INDICATOR([malloc-gnu])
500 if test $REPLACE_MALLOC = 1; then
503 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
507 if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then
511 gl_WCHAR_MODULE_INDICATOR([mbrtowc])
513 if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then
517 gl_WCHAR_MODULE_INDICATOR([mbsinit])
519 if test $REPLACE_MBTOWC = 1; then
523 gl_STDLIB_MODULE_INDICATOR([mbtowc])
525 if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
529 gl_STRING_MODULE_INDICATOR([memchr])
531 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
532 AC_LIBOBJ([msvc-inval])
535 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
536 AC_LIBOBJ([msvc-nothrow])
543 if test $HAVE_NL_LANGINFO = 0 || test $REPLACE_NL_LANGINFO = 1; then
544 AC_LIBOBJ([nl_langinfo])
546 gl_LANGINFO_MODULE_INDICATOR([nl_langinfo])
549 if test $REPLACE_OPEN = 1; then
553 gl_FCNTL_MODULE_INDICATOR([open])
556 if test $HAVE_PIPE = 0; then
559 gl_UNISTD_MODULE_INDICATOR([pipe])
561 gl_UNISTD_MODULE_INDICATOR([pipe2])
563 if test $REPLACE_PUTENV = 1; then
567 gl_STDLIB_MODULE_INDICATOR([putenv])
569 if test $HAVE_RAISE = 0 || test $REPLACE_RAISE = 1; then
573 gl_SIGNAL_MODULE_INDICATOR([raise])
575 if test $REPLACE_READ = 1; then
579 gl_UNISTD_MODULE_INDICATOR([read])
581 if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then
582 AC_LIBOBJ([readlink])
585 gl_UNISTD_MODULE_INDICATOR([readlink])
586 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
587 if test "$ac_cv_header_winsock2_h" = yes; then
590 gl_SYS_SOCKET_MODULE_INDICATOR([recv])
591 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
592 if test "$ac_cv_header_winsock2_h" = yes; then
593 AC_LIBOBJ([recvfrom])
595 gl_SYS_SOCKET_MODULE_INDICATOR([recvfrom])
597 if test $ac_use_included_regex = yes; then
602 if test $REPLACE_RENAME = 1; then
605 gl_STDIO_MODULE_INDICATOR([rename])
607 if test $REPLACE_RMDIR = 1; then
610 gl_UNISTD_MODULE_INDICATOR([rmdir])
612 if test $HAVE_ROUND = 0 || test $REPLACE_ROUND = 1; then
615 gl_MATH_MODULE_INDICATOR([round])
619 if test $REPLACE_SELECT = 1; then
622 gl_SYS_SELECT_MODULE_INDICATOR([select])
623 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
624 if test "$ac_cv_header_winsock2_h" = yes; then
627 gl_SYS_SOCKET_MODULE_INDICATOR([send])
628 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
629 if test "$ac_cv_header_winsock2_h" = yes; then
632 gl_SYS_SOCKET_MODULE_INDICATOR([sendto])
635 if test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1; then
638 gl_STDLIB_MODULE_INDICATOR([setenv])
639 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
640 if test "$ac_cv_header_winsock2_h" = yes; then
641 AC_LIBOBJ([setsockopt])
643 gl_SYS_SOCKET_MODULE_INDICATOR([setsockopt])
644 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
645 if test "$ac_cv_header_winsock2_h" = yes; then
646 AC_LIBOBJ([shutdown])
648 gl_SYS_SOCKET_MODULE_INDICATOR([shutdown])
652 gl_STDIO_MODULE_INDICATOR([snprintf])
653 gl_MODULE_INDICATOR([snprintf])
654 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
655 if test "$ac_cv_header_winsock2_h" = yes; then
658 # When this module is used, sockets may actually occur as file descriptors,
659 # hence it is worth warning if the modules 'close' and 'ioctl' are not used.
660 m4_ifdef([gl_UNISTD_H_DEFAULTS], [AC_REQUIRE([gl_UNISTD_H_DEFAULTS])])
661 m4_ifdef([gl_SYS_IOCTL_H_DEFAULTS], [AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS])])
662 AC_REQUIRE([gl_PREREQ_SYS_H_WINSOCK2])
663 if test "$ac_cv_header_winsock2_h" = yes; then
664 UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
665 SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
667 gl_SYS_SOCKET_MODULE_INDICATOR([socket])
673 if test $REPLACE_STAT = 1; then
677 gl_SYS_STAT_MODULE_INDICATOR([stat])
687 if test $gl_cond_libtool = false; then
688 gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV"
689 gl_libdeps="$gl_libdeps $LIBICONV"
710 if test $HAVE_LOCALTIME_R = 0 || test $REPLACE_LOCALTIME_R = 1; then
714 gl_TIME_MODULE_INDICATOR([time_r])
716 if test $HAVE_TIMES = 0; then
719 gl_SYS_TIMES_MODULE_INDICATOR([times])
721 if test $HAVE_DECL_TRUNC = 0 || test $REPLACE_TRUNC = 1; then
724 gl_MATH_MODULE_INDICATOR([trunc])
726 gl_LIBUNISTRING_LIBHEADER([0.9.2], [unistr.h])
727 gl_MODULE_INDICATOR([unistr/u8-mbtouc])
728 gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u8-mbtouc])
729 gl_MODULE_INDICATOR([unistr/u8-mbtouc-unsafe])
730 gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u8-mbtouc-unsafe])
731 gl_MODULE_INDICATOR([unistr/u8-mbtoucr])
732 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-mbtoucr])
733 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-prev])
734 gl_MODULE_INDICATOR([unistr/u8-uctomb])
735 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-uctomb])
736 gl_LIBUNISTRING_LIBHEADER([0.9], [unitypes.h])
739 gl_STDIO_MODULE_INDICATOR([vsnprintf])
742 if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then
746 gl_WCHAR_MODULE_INDICATOR([wcrtomb])
749 if test $REPLACE_WRITE = 1; then
753 gl_UNISTD_MODULE_INDICATOR([write])
755 # End of code from modules
756 m4_ifval(gl_LIBSOURCES_LIST, [
757 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
758 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
759 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
760 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
764 m4_if(m4_sysval, [0], [],
765 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
767 m4_popdef([gl_LIBSOURCES_DIR])
768 m4_popdef([gl_LIBSOURCES_LIST])
769 m4_popdef([AC_LIBSOURCES])
770 m4_popdef([AC_REPLACE_FUNCS])
771 m4_popdef([AC_LIBOBJ])
772 AC_CONFIG_COMMANDS_PRE([
775 if test -n "$gl_LIBOBJS"; then
776 # Remove the extension.
777 sed_drop_objext='s/\.o$//;s/\.obj$//'
778 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
779 gl_libobjs="$gl_libobjs $i.$ac_objext"
780 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
783 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
784 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
788 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
789 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
790 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
791 m4_pushdef([gltests_LIBSOURCES_LIST], [])
792 m4_pushdef([gltests_LIBSOURCES_DIR], [])
794 gl_source_base='tests'
796 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
798 AC_SUBST([gltests_WITNESS])
799 gl_module_indicator_condition=$gltests_WITNESS
800 m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
801 m4_popdef([gl_MODULE_INDICATOR_CONDITION])
802 m4_ifval(gltests_LIBSOURCES_LIST, [
803 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
804 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
805 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
806 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
810 m4_if(m4_sysval, [0], [],
811 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
813 m4_popdef([gltests_LIBSOURCES_DIR])
814 m4_popdef([gltests_LIBSOURCES_LIST])
815 m4_popdef([AC_LIBSOURCES])
816 m4_popdef([AC_REPLACE_FUNCS])
817 m4_popdef([AC_LIBOBJ])
818 AC_CONFIG_COMMANDS_PRE([
821 if test -n "$gltests_LIBOBJS"; then
822 # Remove the extension.
823 sed_drop_objext='s/\.o$//;s/\.obj$//'
824 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
825 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
826 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
829 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
830 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
834 # Like AC_LIBOBJ, except that the module name goes
835 # into gl_LIBOBJS instead of into LIBOBJS.
836 AC_DEFUN([gl_LIBOBJ], [
837 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
838 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
841 # Like AC_REPLACE_FUNCS, except that the module name goes
842 # into gl_LIBOBJS instead of into LIBOBJS.
843 AC_DEFUN([gl_REPLACE_FUNCS], [
844 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
845 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
848 # Like AC_LIBSOURCES, except the directory where the source file is
849 # expected is derived from the gnulib-tool parameterization,
850 # and alloca is special cased (for the alloca-opt module).
851 # We could also entirely rely on EXTRA_lib..._SOURCES.
852 AC_DEFUN([gl_LIBSOURCES], [
853 m4_foreach([_gl_NAME], [$1], [
854 m4_if(_gl_NAME, [alloca.c], [], [
855 m4_define([gl_LIBSOURCES_DIR], [lib])
856 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
861 # Like AC_LIBOBJ, except that the module name goes
862 # into gltests_LIBOBJS instead of into LIBOBJS.
863 AC_DEFUN([gltests_LIBOBJ], [
864 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
865 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
868 # Like AC_REPLACE_FUNCS, except that the module name goes
869 # into gltests_LIBOBJS instead of into LIBOBJS.
870 AC_DEFUN([gltests_REPLACE_FUNCS], [
871 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
872 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
875 # Like AC_LIBSOURCES, except the directory where the source file is
876 # expected is derived from the gnulib-tool parameterization,
877 # and alloca is special cased (for the alloca-opt module).
878 # We could also entirely rely on EXTRA_lib..._SOURCES.
879 AC_DEFUN([gltests_LIBSOURCES], [
880 m4_foreach([_gl_NAME], [$1], [
881 m4_if(_gl_NAME, [alloca.c], [], [
882 m4_define([gltests_LIBSOURCES_DIR], [tests])
883 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
888 # This macro records the list of files which have been installed by
889 # gnulib-tool and may be removed by future gnulib-tool invocations.
890 AC_DEFUN([gl_FILE_LIST], [
891 build-aux/announce-gen
892 build-aux/config.rpath
894 build-aux/git-version-gen
895 build-aux/gitlog-to-changelog
896 build-aux/gnu-web-doc-update
898 build-aux/snippet/_Noreturn.h
899 build-aux/snippet/arg-nonnull.h
900 build-aux/snippet/c++defs.h
901 build-aux/snippet/unused-parameter.h
902 build-aux/snippet/warn-on-use.h
903 build-aux/useless-if-before-free
904 build-aux/vc-list-files
924 lib/canonicalize-lgpl.c
961 lib/iconv_open-aix.gperf
962 lib/iconv_open-hpux.gperf
963 lib/iconv_open-irix.gperf
964 lib/iconv_open-osf.gperf
965 lib/iconv_open-solaris.gperf
978 lib/libunistring.valgrind
1027 lib/regex_internal.c
1028 lib/regex_internal.h
1082 lib/unistr/u8-mbtouc-aux.c
1083 lib/unistr/u8-mbtouc-unsafe-aux.c
1084 lib/unistr/u8-mbtouc-unsafe.c
1085 lib/unistr/u8-mbtouc.c
1086 lib/unistr/u8-mbtoucr.c
1087 lib/unistr/u8-prev.c
1088 lib/unistr/u8-uctomb-aux.c
1089 lib/unistr/u8-uctomb.c
1104 m4/absolute-header.m4
1112 m4/check-math-lib.m4
1120 m4/double-slash-root.m4
1147 m4/iconv_open-utf.m4
1162 m4/ld-version-script.m4
1167 m4/libunistring-base.m4