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 copysign:
65 # Code from module dirent:
66 # Code from module dirfd:
67 # Code from module dirname-lgpl:
68 # Code from module dosname:
69 # Code from module double-slash-root:
70 # Code from module dup2:
71 # Code from module duplocale:
72 # Code from module environ:
73 # Code from module errno:
74 # Code from module extensions:
75 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
76 # Code from module extern-inline:
77 # Code from module fcntl-h:
78 # Code from module fd-hook:
79 # Code from module float:
80 # Code from module flock:
81 # Code from module floor:
82 # Code from module fpieee:
83 AC_REQUIRE([gl_FP_IEEE])
84 # Code from module frexp:
85 # Code from module fstat:
86 # Code from module full-read:
87 # Code from module full-write:
88 # Code from module func:
89 # Code from module gendocs:
90 # Code from module getaddrinfo:
91 # Code from module getlogin:
92 # Code from module getpeername:
93 # Code from module getsockname:
94 # Code from module getsockopt:
95 # Code from module gettext-h:
96 # Code from module git-version-gen:
97 # Code from module gitlog-to-changelog:
98 # Code from module gnu-web-doc-update:
99 # Code from module gnumakefile:
100 # Code from module gnupload:
101 # Code from module gperf:
102 # Code from module havelib:
103 # Code from module hostent:
104 # Code from module iconv:
105 # Code from module iconv-h:
106 # Code from module iconv_open:
107 # Code from module iconv_open-utf:
108 # Code from module include_next:
109 # Code from module inet_ntop:
110 # Code from module inet_pton:
111 # Code from module inline:
112 # Code from module isfinite:
113 # Code from module isinf:
114 # Code from module isnan:
115 # Code from module isnand:
116 # Code from module isnand-nolibm:
117 # Code from module isnanf:
118 # Code from module isnanf-nolibm:
119 # Code from module isnanl:
120 # Code from module isnanl-nolibm:
121 # Code from module langinfo:
122 # Code from module largefile:
123 AC_REQUIRE([AC_SYS_LARGEFILE])
124 # Code from module ldexp:
125 # Code from module lib-symbol-versions:
126 # Code from module lib-symbol-visibility:
127 # Code from module libunistring:
128 # Code from module listen:
129 # Code from module localcharset:
130 # Code from module locale:
131 # Code from module localeconv:
132 # Code from module log:
133 # Code from module log1p:
134 # Code from module lstat:
135 # Code from module maintainer-makefile:
136 # Code from module malloc-gnu:
137 # Code from module malloc-posix:
138 # Code from module malloca:
139 # Code from module math:
140 # Code from module mbrtowc:
141 # Code from module mbsinit:
142 # Code from module mbtowc:
143 # Code from module memchr:
144 # Code from module msvc-inval:
145 # Code from module msvc-nothrow:
146 # Code from module multiarch:
147 # Code from module netdb:
148 # Code from module netinet_in:
149 # Code from module nl_langinfo:
150 # Code from module nocrash:
151 # Code from module nproc:
152 # Code from module open:
153 # Code from module pathmax:
154 # Code from module pipe-posix:
155 # Code from module pipe2:
156 # Code from module poll:
157 # Code from module poll-h:
158 # Code from module putenv:
159 # Code from module raise:
160 # Code from module read:
161 # Code from module readlink:
162 # Code from module recv:
163 # Code from module recvfrom:
164 # Code from module regex:
165 # Code from module rename:
166 # Code from module rmdir:
167 # Code from module round:
168 # Code from module safe-read:
169 # Code from module safe-write:
170 # Code from module same-inode:
171 # Code from module select:
172 # Code from module send:
173 # Code from module sendto:
174 # Code from module servent:
175 # Code from module setenv:
176 # Code from module setsockopt:
177 # Code from module shutdown:
178 # Code from module signal-h:
179 # Code from module signbit:
180 # Code from module size_max:
181 # Code from module snippet/_Noreturn:
182 # Code from module snippet/arg-nonnull:
183 # Code from module snippet/c++defs:
184 # Code from module snippet/unused-parameter:
185 # Code from module snippet/warn-on-use:
186 # Code from module snprintf:
187 # Code from module socket:
188 # Code from module socketlib:
189 # Code from module sockets:
190 # Code from module socklen:
191 # Code from module ssize_t:
192 # Code from module stat:
193 # Code from module stat-time:
194 # Code from module stdalign:
195 # Code from module stdbool:
196 # Code from module stddef:
197 # Code from module stdint:
198 # Code from module stdio:
199 # Code from module stdlib:
200 # Code from module streq:
201 # Code from module strftime:
202 # Code from module striconveh:
203 # Code from module string:
204 # Code from module sys_file:
205 # Code from module sys_select:
206 # Code from module sys_socket:
207 # Code from module sys_stat:
208 # Code from module sys_time:
209 # Code from module sys_times:
210 # Code from module sys_types:
211 # Code from module sys_uio:
212 # Code from module time:
213 # Code from module time_r:
214 # Code from module times:
215 # Code from module trunc:
216 # Code from module unistd:
217 # Code from module unistr/base:
218 # Code from module unistr/u8-mbtouc:
219 # Code from module unistr/u8-mbtouc-unsafe:
220 # Code from module unistr/u8-mbtoucr:
221 # Code from module unistr/u8-prev:
222 # Code from module unistr/u8-uctomb:
223 # Code from module unitypes:
224 # Code from module useless-if-before-free:
225 # Code from module vasnprintf:
226 # Code from module vc-list-files:
227 # Code from module verify:
228 # Code from module vsnprintf:
229 # Code from module warnings:
230 # Code from module wchar:
231 # Code from module wcrtomb:
232 # Code from module wctype-h:
233 # Code from module write:
234 # Code from module xsize:
237 # This macro should be invoked from ./configure.ac, in the section
238 # "Check for header files, types and library functions".
241 AM_CONDITIONAL([GL_COND_LIBTOOL], [true])
244 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
245 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
246 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
247 m4_pushdef([gl_LIBSOURCES_LIST], [])
248 m4_pushdef([gl_LIBSOURCES_DIR], [])
251 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
252 if test "$ac_cv_header_winsock2_h" = yes; then
255 gl_SYS_SOCKET_MODULE_INDICATOR([accept])
257 LTALLOCA=`echo "$ALLOCA" | sed -e 's/\.[^.]* /.lo /g;s/\.[^.]*$/.lo/'`
263 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
264 if test "$ac_cv_header_winsock2_h" = yes; then
267 gl_SYS_SOCKET_MODULE_INDICATOR([bind])
269 if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then
273 gl_WCHAR_MODULE_INDICATOR([btowc])
276 if test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1; then
277 AC_LIBOBJ([canonicalize-lgpl])
279 gl_MODULE_INDICATOR([canonicalize-lgpl])
280 gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name])
281 gl_STDLIB_MODULE_INDICATOR([realpath])
283 if test $REPLACE_CEIL = 1; then
286 gl_MATH_MODULE_INDICATOR([ceil])
287 gl_UNISTD_MODULE_INDICATOR([chdir])
290 if test $REPLACE_CLOSE = 1; then
293 gl_UNISTD_MODULE_INDICATOR([close])
295 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
296 if test "$ac_cv_header_winsock2_h" = yes; then
299 gl_SYS_SOCKET_MODULE_INDICATOR([connect])
301 if test $HAVE_COPYSIGN = 0; then
302 AC_LIBOBJ([copysign])
304 gl_MATH_MODULE_INDICATOR([copysign])
307 if test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no; then
311 gl_DIRENT_MODULE_INDICATOR([dirfd])
315 if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then
319 gl_UNISTD_MODULE_INDICATOR([dup2])
321 if test $REPLACE_DUPLOCALE = 1; then
322 AC_LIBOBJ([duplocale])
325 gl_LOCALE_MODULE_INDICATOR([duplocale])
327 gl_UNISTD_MODULE_INDICATOR([environ])
329 AC_REQUIRE([gl_EXTERN_INLINE])
332 if test $REPLACE_FLOAT_LDBL = 1; then
335 if test $REPLACE_ITOLD = 1; then
339 if test $HAVE_FLOCK = 0; then
343 gl_HEADER_SYS_FILE_MODULE_INDICATOR([flock])
345 if test $REPLACE_FLOOR = 1; then
348 gl_MATH_MODULE_INDICATOR([floor])
350 if test $gl_func_frexp != yes; then
353 gl_MATH_MODULE_INDICATOR([frexp])
355 if test $REPLACE_FSTAT = 1; then
359 gl_SYS_STAT_MODULE_INDICATOR([fstat])
362 if test $HAVE_GETADDRINFO = 0; then
363 AC_LIBOBJ([getaddrinfo])
365 if test $HAVE_DECL_GAI_STRERROR = 0 || test $REPLACE_GAI_STRERROR = 1; then
366 AC_LIBOBJ([gai_strerror])
368 gl_NETDB_MODULE_INDICATOR([getaddrinfo])
370 if test $HAVE_GETLOGIN = 0; then
371 AC_LIBOBJ([getlogin])
373 gl_UNISTD_MODULE_INDICATOR([getlogin])
374 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
375 if test "$ac_cv_header_winsock2_h" = yes; then
376 AC_LIBOBJ([getpeername])
378 gl_SYS_SOCKET_MODULE_INDICATOR([getpeername])
379 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
380 if test "$ac_cv_header_winsock2_h" = yes; then
381 AC_LIBOBJ([getsockname])
383 gl_SYS_SOCKET_MODULE_INDICATOR([getsockname])
384 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
385 if test "$ac_cv_header_winsock2_h" = yes; then
386 AC_LIBOBJ([getsockopt])
388 gl_SYS_SOCKET_MODULE_INDICATOR([getsockopt])
390 AC_SUBST([LTLIBINTL])
391 # Autoconf 2.61a.99 and earlier don't support linking a file only
392 # in VPATH builds. But since GNUmakefile is for maintainer use
393 # only, it does not matter if we skip the link with older autoconf.
394 # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
395 # builds, so use a shell variable to bypass this.
396 GNUmakefile=GNUmakefile
397 m4_if(m4_version_compare([2.61a.100],
398 m4_defn([m4_PACKAGE_VERSION])), [1], [],
399 [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
400 [GNUmakefile=$GNUmakefile])])
403 m4_ifdef([gl_ICONV_MODULE_INDICATOR],
404 [gl_ICONV_MODULE_INDICATOR([iconv])])
407 if test $REPLACE_ICONV_OPEN = 1; then
408 AC_LIBOBJ([iconv_open])
410 if test $REPLACE_ICONV = 1; then
412 AC_LIBOBJ([iconv_close])
414 gl_FUNC_ICONV_OPEN_UTF
416 if test $HAVE_INET_NTOP = 0 || test $REPLACE_INET_NTOP = 1; then
417 AC_LIBOBJ([inet_ntop])
420 gl_ARPA_INET_MODULE_INDICATOR([inet_ntop])
422 if test $HAVE_INET_PTON = 0 || test $REPLACE_INET_NTOP = 1; then
423 AC_LIBOBJ([inet_pton])
426 gl_ARPA_INET_MODULE_INDICATOR([inet_pton])
429 if test $REPLACE_ISFINITE = 1; then
430 AC_LIBOBJ([isfinite])
432 gl_MATH_MODULE_INDICATOR([isfinite])
434 if test $REPLACE_ISINF = 1; then
437 gl_MATH_MODULE_INDICATOR([isinf])
439 gl_MATH_MODULE_INDICATOR([isnan])
441 m4_ifdef([gl_ISNAN], [
442 AC_REQUIRE([gl_ISNAN])
444 if test $HAVE_ISNAND = 0 || test $REPLACE_ISNAN = 1; then
448 gl_MATH_MODULE_INDICATOR([isnand])
449 gl_FUNC_ISNAND_NO_LIBM
450 if test $gl_func_isnand_no_libm != yes; then
455 m4_ifdef([gl_ISNAN], [
456 AC_REQUIRE([gl_ISNAN])
458 if test $HAVE_ISNANF = 0 || test $REPLACE_ISNAN = 1; then
462 gl_MATH_MODULE_INDICATOR([isnanf])
463 gl_FUNC_ISNANF_NO_LIBM
464 if test $gl_func_isnanf_no_libm != yes; then
469 m4_ifdef([gl_ISNAN], [
470 AC_REQUIRE([gl_ISNAN])
472 if test $HAVE_ISNANL = 0 || test $REPLACE_ISNAN = 1; then
476 gl_MATH_MODULE_INDICATOR([isnanl])
477 gl_FUNC_ISNANL_NO_LIBM
478 if test $gl_func_isnanl_no_libm != yes; then
483 AC_REQUIRE([gl_LARGEFILE])
488 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
489 if test "$ac_cv_header_winsock2_h" = yes; then
492 gl_SYS_SOCKET_MODULE_INDICATOR([listen])
494 LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(abs_top_builddir)/$gl_source_base\""
495 AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
498 if test $REPLACE_LOCALECONV = 1; then
499 AC_LIBOBJ([localeconv])
502 gl_LOCALE_MODULE_INDICATOR([localeconv])
503 AC_REQUIRE([gl_FUNC_LOG])
504 if test $REPLACE_LOG = 1; then
507 gl_MATH_MODULE_INDICATOR([log])
509 if test $HAVE_LOG1P = 0 || test $REPLACE_LOG1P = 1; then
512 gl_MATH_MODULE_INDICATOR([log1p])
514 if test $REPLACE_LSTAT = 1; then
518 gl_SYS_STAT_MODULE_INDICATOR([lstat])
519 AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER],
520 [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])])
522 if test $REPLACE_MALLOC = 1; then
525 gl_MODULE_INDICATOR([malloc-gnu])
527 if test $REPLACE_MALLOC = 1; then
530 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
534 if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then
538 gl_WCHAR_MODULE_INDICATOR([mbrtowc])
540 if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then
544 gl_WCHAR_MODULE_INDICATOR([mbsinit])
546 if test $REPLACE_MBTOWC = 1; then
550 gl_STDLIB_MODULE_INDICATOR([mbtowc])
552 if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
556 gl_STRING_MODULE_INDICATOR([memchr])
558 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
559 AC_LIBOBJ([msvc-inval])
562 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
563 AC_LIBOBJ([msvc-nothrow])
570 if test $HAVE_NL_LANGINFO = 0 || test $REPLACE_NL_LANGINFO = 1; then
571 AC_LIBOBJ([nl_langinfo])
573 gl_LANGINFO_MODULE_INDICATOR([nl_langinfo])
576 if test $REPLACE_OPEN = 1; then
580 gl_FCNTL_MODULE_INDICATOR([open])
583 if test $HAVE_PIPE = 0; then
586 gl_UNISTD_MODULE_INDICATOR([pipe])
588 gl_UNISTD_MODULE_INDICATOR([pipe2])
590 if test $HAVE_POLL = 0 || test $REPLACE_POLL = 1; then
594 gl_POLL_MODULE_INDICATOR([poll])
597 if test $REPLACE_PUTENV = 1; then
601 gl_STDLIB_MODULE_INDICATOR([putenv])
603 if test $HAVE_RAISE = 0 || test $REPLACE_RAISE = 1; then
607 gl_SIGNAL_MODULE_INDICATOR([raise])
609 if test $REPLACE_READ = 1; then
613 gl_UNISTD_MODULE_INDICATOR([read])
615 if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then
616 AC_LIBOBJ([readlink])
619 gl_UNISTD_MODULE_INDICATOR([readlink])
620 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
621 if test "$ac_cv_header_winsock2_h" = yes; then
624 gl_SYS_SOCKET_MODULE_INDICATOR([recv])
625 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
626 if test "$ac_cv_header_winsock2_h" = yes; then
627 AC_LIBOBJ([recvfrom])
629 gl_SYS_SOCKET_MODULE_INDICATOR([recvfrom])
631 if test $ac_use_included_regex = yes; then
636 if test $REPLACE_RENAME = 1; then
639 gl_STDIO_MODULE_INDICATOR([rename])
641 if test $REPLACE_RMDIR = 1; then
644 gl_UNISTD_MODULE_INDICATOR([rmdir])
646 if test $HAVE_ROUND = 0 || test $REPLACE_ROUND = 1; then
649 gl_MATH_MODULE_INDICATOR([round])
653 if test $REPLACE_SELECT = 1; then
656 gl_SYS_SELECT_MODULE_INDICATOR([select])
657 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
658 if test "$ac_cv_header_winsock2_h" = yes; then
661 gl_SYS_SOCKET_MODULE_INDICATOR([send])
662 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
663 if test "$ac_cv_header_winsock2_h" = yes; then
666 gl_SYS_SOCKET_MODULE_INDICATOR([sendto])
669 if test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1; then
672 gl_STDLIB_MODULE_INDICATOR([setenv])
673 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
674 if test "$ac_cv_header_winsock2_h" = yes; then
675 AC_LIBOBJ([setsockopt])
677 gl_SYS_SOCKET_MODULE_INDICATOR([setsockopt])
678 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
679 if test "$ac_cv_header_winsock2_h" = yes; then
680 AC_LIBOBJ([shutdown])
682 gl_SYS_SOCKET_MODULE_INDICATOR([shutdown])
685 if test $REPLACE_SIGNBIT = 1; then
686 AC_LIBOBJ([signbitf])
687 AC_LIBOBJ([signbitd])
688 AC_LIBOBJ([signbitl])
690 gl_MATH_MODULE_INDICATOR([signbit])
693 gl_STDIO_MODULE_INDICATOR([snprintf])
694 gl_MODULE_INDICATOR([snprintf])
695 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
696 if test "$ac_cv_header_winsock2_h" = yes; then
699 # When this module is used, sockets may actually occur as file descriptors,
700 # hence it is worth warning if the modules 'close' and 'ioctl' are not used.
701 m4_ifdef([gl_UNISTD_H_DEFAULTS], [AC_REQUIRE([gl_UNISTD_H_DEFAULTS])])
702 m4_ifdef([gl_SYS_IOCTL_H_DEFAULTS], [AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS])])
703 AC_REQUIRE([gl_PREREQ_SYS_H_WINSOCK2])
704 if test "$ac_cv_header_winsock2_h" = yes; then
705 UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
706 SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
708 gl_SYS_SOCKET_MODULE_INDICATOR([socket])
714 if test $REPLACE_STAT = 1; then
718 gl_SYS_STAT_MODULE_INDICATOR([stat])
728 if test $gl_cond_libtool = false; then
729 gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV"
730 gl_libdeps="$gl_libdeps $LIBICONV"
751 if test $HAVE_LOCALTIME_R = 0 || test $REPLACE_LOCALTIME_R = 1; then
755 gl_TIME_MODULE_INDICATOR([time_r])
757 if test $HAVE_TIMES = 0; then
760 gl_SYS_TIMES_MODULE_INDICATOR([times])
762 if test $HAVE_DECL_TRUNC = 0 || test $REPLACE_TRUNC = 1; then
765 gl_MATH_MODULE_INDICATOR([trunc])
767 gl_LIBUNISTRING_LIBHEADER([0.9.2], [unistr.h])
768 gl_MODULE_INDICATOR([unistr/u8-mbtouc])
769 gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u8-mbtouc])
770 gl_MODULE_INDICATOR([unistr/u8-mbtouc-unsafe])
771 gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u8-mbtouc-unsafe])
772 gl_MODULE_INDICATOR([unistr/u8-mbtoucr])
773 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-mbtoucr])
774 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-prev])
775 gl_MODULE_INDICATOR([unistr/u8-uctomb])
776 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-uctomb])
777 gl_LIBUNISTRING_LIBHEADER([0.9], [unitypes.h])
780 gl_STDIO_MODULE_INDICATOR([vsnprintf])
783 if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then
787 gl_WCHAR_MODULE_INDICATOR([wcrtomb])
790 if test $REPLACE_WRITE = 1; then
794 gl_UNISTD_MODULE_INDICATOR([write])
796 # End of code from modules
797 m4_ifval(gl_LIBSOURCES_LIST, [
798 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
799 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
800 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
801 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
805 m4_if(m4_sysval, [0], [],
806 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
808 m4_popdef([gl_LIBSOURCES_DIR])
809 m4_popdef([gl_LIBSOURCES_LIST])
810 m4_popdef([AC_LIBSOURCES])
811 m4_popdef([AC_REPLACE_FUNCS])
812 m4_popdef([AC_LIBOBJ])
813 AC_CONFIG_COMMANDS_PRE([
816 if test -n "$gl_LIBOBJS"; then
817 # Remove the extension.
818 sed_drop_objext='s/\.o$//;s/\.obj$//'
819 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
820 gl_libobjs="$gl_libobjs $i.$ac_objext"
821 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
824 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
825 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
829 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
830 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
831 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
832 m4_pushdef([gltests_LIBSOURCES_LIST], [])
833 m4_pushdef([gltests_LIBSOURCES_DIR], [])
835 gl_source_base='tests'
837 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
839 AC_SUBST([gltests_WITNESS])
840 gl_module_indicator_condition=$gltests_WITNESS
841 m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
842 m4_popdef([gl_MODULE_INDICATOR_CONDITION])
843 m4_ifval(gltests_LIBSOURCES_LIST, [
844 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
845 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
846 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
847 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
851 m4_if(m4_sysval, [0], [],
852 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
854 m4_popdef([gltests_LIBSOURCES_DIR])
855 m4_popdef([gltests_LIBSOURCES_LIST])
856 m4_popdef([AC_LIBSOURCES])
857 m4_popdef([AC_REPLACE_FUNCS])
858 m4_popdef([AC_LIBOBJ])
859 AC_CONFIG_COMMANDS_PRE([
862 if test -n "$gltests_LIBOBJS"; then
863 # Remove the extension.
864 sed_drop_objext='s/\.o$//;s/\.obj$//'
865 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
866 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
867 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
870 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
871 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
875 # Like AC_LIBOBJ, except that the module name goes
876 # into gl_LIBOBJS instead of into LIBOBJS.
877 AC_DEFUN([gl_LIBOBJ], [
878 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
879 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
882 # Like AC_REPLACE_FUNCS, except that the module name goes
883 # into gl_LIBOBJS instead of into LIBOBJS.
884 AC_DEFUN([gl_REPLACE_FUNCS], [
885 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
886 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
889 # Like AC_LIBSOURCES, except the directory where the source file is
890 # expected is derived from the gnulib-tool parameterization,
891 # and alloca is special cased (for the alloca-opt module).
892 # We could also entirely rely on EXTRA_lib..._SOURCES.
893 AC_DEFUN([gl_LIBSOURCES], [
894 m4_foreach([_gl_NAME], [$1], [
895 m4_if(_gl_NAME, [alloca.c], [], [
896 m4_define([gl_LIBSOURCES_DIR], [lib])
897 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
902 # Like AC_LIBOBJ, except that the module name goes
903 # into gltests_LIBOBJS instead of into LIBOBJS.
904 AC_DEFUN([gltests_LIBOBJ], [
905 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
906 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
909 # Like AC_REPLACE_FUNCS, except that the module name goes
910 # into gltests_LIBOBJS instead of into LIBOBJS.
911 AC_DEFUN([gltests_REPLACE_FUNCS], [
912 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
913 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
916 # Like AC_LIBSOURCES, except the directory where the source file is
917 # expected is derived from the gnulib-tool parameterization,
918 # and alloca is special cased (for the alloca-opt module).
919 # We could also entirely rely on EXTRA_lib..._SOURCES.
920 AC_DEFUN([gltests_LIBSOURCES], [
921 m4_foreach([_gl_NAME], [$1], [
922 m4_if(_gl_NAME, [alloca.c], [], [
923 m4_define([gltests_LIBSOURCES_DIR], [tests])
924 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
929 # This macro records the list of files which have been installed by
930 # gnulib-tool and may be removed by future gnulib-tool invocations.
931 AC_DEFUN([gl_FILE_LIST], [
932 build-aux/announce-gen
933 build-aux/config.rpath
935 build-aux/git-version-gen
936 build-aux/gitlog-to-changelog
937 build-aux/gnu-web-doc-update
939 build-aux/snippet/_Noreturn.h
940 build-aux/snippet/arg-nonnull.h
941 build-aux/snippet/c++defs.h
942 build-aux/snippet/unused-parameter.h
943 build-aux/snippet/warn-on-use.h
944 build-aux/useless-if-before-free
945 build-aux/vc-list-files
965 lib/canonicalize-lgpl.c
1003 lib/iconv_open-aix.gperf
1004 lib/iconv_open-hpux.gperf
1005 lib/iconv_open-irix.gperf
1006 lib/iconv_open-osf.gperf
1007 lib/iconv_open-solaris.gperf
1023 lib/libunistring.valgrind
1035 lib/malloca.valgrind
1074 lib/regex_internal.c
1075 lib/regex_internal.h
1132 lib/unistr/u8-mbtouc-aux.c
1133 lib/unistr/u8-mbtouc-unsafe-aux.c
1134 lib/unistr/u8-mbtouc-unsafe.c
1135 lib/unistr/u8-mbtouc.c
1136 lib/unistr/u8-mbtoucr.c
1137 lib/unistr/u8-prev.c
1138 lib/unistr/u8-uctomb-aux.c
1139 lib/unistr/u8-uctomb.c
1154 m4/absolute-header.m4
1162 m4/check-math-lib.m4
1171 m4/double-slash-root.m4
1198 m4/iconv_open-utf.m4
1214 m4/ld-version-script.m4
1219 m4/libunistring-base.m4