1 # DO NOT EDIT! GENERATED AUTOMATICALLY!
2 # Copyright (C) 2002-2014 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 absolute-header:
43 # Code from module accept:
44 # Code from module alignof:
45 # Code from module alloca:
46 # Code from module alloca-opt:
47 # Code from module announce-gen:
48 # Code from module arpa_inet:
49 # Code from module autobuild:
51 # Code from module binary-io:
52 # Code from module bind:
53 # Code from module btowc:
54 # Code from module byteswap:
55 # Code from module c-ctype:
56 # Code from module c-strcase:
57 # Code from module c-strcaseeq:
58 # Code from module canonicalize-lgpl:
59 # Code from module ceil:
60 # Code from module chdir:
61 # Code from module clock-time:
62 # Code from module close:
63 # Code from module configmake:
64 # Code from module connect:
65 # Code from module copysign:
66 # Code from module dirent:
67 # Code from module dirfd:
68 # Code from module dirname-lgpl:
69 # Code from module dosname:
70 # Code from module double-slash-root:
71 # Code from module dup2:
72 # Code from module duplocale:
73 # Code from module environ:
74 # Code from module errno:
75 # Code from module extensions:
76 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
77 # Code from module extern-inline:
78 # Code from module fcntl-h:
79 # Code from module fd-hook:
80 # Code from module float:
81 # Code from module flock:
82 # Code from module floor:
83 # Code from module fpieee:
84 AC_REQUIRE([gl_FP_IEEE])
85 # Code from module frexp:
86 # Code from module fstat:
87 # Code from module full-read:
88 # Code from module full-write:
89 # Code from module func:
90 # Code from module gendocs:
91 # Code from module getaddrinfo:
92 # Code from module getlogin:
93 # Code from module getpeername:
94 # Code from module getsockname:
95 # Code from module getsockopt:
96 # Code from module gettext-h:
97 # Code from module gettimeofday:
98 # Code from module git-version-gen:
99 # Code from module gitlog-to-changelog:
100 # Code from module gnu-web-doc-update:
101 # Code from module gnumakefile:
102 # Code from module gnupload:
103 # Code from module gperf:
104 # Code from module havelib:
105 # Code from module hostent:
106 # Code from module iconv:
107 # Code from module iconv-h:
108 # Code from module iconv_open:
109 # Code from module iconv_open-utf:
110 # Code from module include_next:
111 # Code from module inet_ntop:
112 # Code from module inet_pton:
113 # Code from module inline:
114 # Code from module isfinite:
115 # Code from module isinf:
116 # Code from module isnan:
117 # Code from module isnand:
118 # Code from module isnand-nolibm:
119 # Code from module isnanf:
120 # Code from module isnanf-nolibm:
121 # Code from module isnanl:
122 # Code from module isnanl-nolibm:
123 # Code from module langinfo:
124 # Code from module largefile:
125 AC_REQUIRE([AC_SYS_LARGEFILE])
126 # Code from module ldexp:
127 # Code from module lib-symbol-versions:
128 # Code from module lib-symbol-visibility:
129 # Code from module libunistring:
130 # Code from module listen:
131 # Code from module localcharset:
132 # Code from module locale:
133 # Code from module localeconv:
134 # Code from module lock:
135 # Code from module log:
136 # Code from module log1p:
137 # Code from module lstat:
138 # Code from module maintainer-makefile:
139 # Code from module malloc-gnu:
140 # Code from module malloc-posix:
141 # Code from module malloca:
142 # Code from module math:
143 # Code from module mbrtowc:
144 # Code from module mbsinit:
145 # Code from module mbtowc:
146 # Code from module memchr:
147 # Code from module msvc-inval:
148 # Code from module msvc-nothrow:
149 # Code from module multiarch:
150 # Code from module netdb:
151 # Code from module netinet_in:
152 # Code from module nl_langinfo:
153 # Code from module nocrash:
154 # Code from module nproc:
155 # Code from module open:
156 # Code from module pathmax:
157 # Code from module pipe-posix:
158 # Code from module pipe2:
159 # Code from module poll:
160 # Code from module poll-h:
161 # Code from module putenv:
162 # Code from module raise:
163 # Code from module read:
164 # Code from module readlink:
165 # Code from module recv:
166 # Code from module recvfrom:
167 # Code from module regex:
168 # Code from module rename:
169 # Code from module rmdir:
170 # Code from module round:
171 # Code from module safe-read:
172 # Code from module safe-write:
173 # Code from module same-inode:
174 # Code from module select:
175 # Code from module send:
176 # Code from module sendto:
177 # Code from module servent:
178 # Code from module setenv:
179 # Code from module setsockopt:
180 # Code from module shutdown:
181 # Code from module signal-h:
182 # Code from module signbit:
183 # Code from module size_max:
184 # Code from module snippet/_Noreturn:
185 # Code from module snippet/arg-nonnull:
186 # Code from module snippet/c++defs:
187 # Code from module snippet/unused-parameter:
188 # Code from module snippet/warn-on-use:
189 # Code from module snprintf:
190 # Code from module socket:
191 # Code from module socketlib:
192 # Code from module sockets:
193 # Code from module socklen:
194 # Code from module ssize_t:
195 # Code from module stat:
196 # Code from module stat-time:
197 # Code from module stdalign:
198 # Code from module stdbool:
199 # Code from module stddef:
200 # Code from module stdint:
201 # Code from module stdio:
202 # Code from module stdlib:
203 # Code from module streq:
204 # Code from module strftime:
205 # Code from module striconveh:
206 # Code from module string:
207 # Code from module sys_file:
208 # Code from module sys_select:
209 # Code from module sys_socket:
210 # Code from module sys_stat:
211 # Code from module sys_time:
212 # Code from module sys_times:
213 # Code from module sys_types:
214 # Code from module sys_uio:
215 # Code from module threadlib:
217 # Code from module time:
218 # Code from module time_r:
219 # Code from module times:
220 # Code from module trunc:
221 # Code from module unistd:
222 # Code from module unistr/base:
223 # Code from module unistr/u8-mbtouc:
224 # Code from module unistr/u8-mbtouc-unsafe:
225 # Code from module unistr/u8-mbtoucr:
226 # Code from module unistr/u8-prev:
227 # Code from module unistr/u8-uctomb:
228 # Code from module unitypes:
229 # Code from module useless-if-before-free:
230 # Code from module vasnprintf:
231 # Code from module vc-list-files:
232 # Code from module verify:
233 # Code from module vsnprintf:
234 # Code from module warnings:
235 # Code from module wchar:
236 # Code from module wcrtomb:
237 # Code from module wctype-h:
238 # Code from module write:
239 # Code from module xsize:
242 # This macro should be invoked from ./configure.ac, in the section
243 # "Check for header files, types and library functions".
246 AM_CONDITIONAL([GL_COND_LIBTOOL], [true])
249 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
250 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
251 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
252 m4_pushdef([gl_LIBSOURCES_LIST], [])
253 m4_pushdef([gl_LIBSOURCES_DIR], [])
256 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
257 if test "$ac_cv_header_winsock2_h" = yes; then
260 gl_SYS_SOCKET_MODULE_INDICATOR([accept])
262 LTALLOCA=`echo "$ALLOCA" | sed -e 's/\.[^.]* /.lo /g;s/\.[^.]*$/.lo/'`
268 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
269 if test "$ac_cv_header_winsock2_h" = yes; then
272 gl_SYS_SOCKET_MODULE_INDICATOR([bind])
274 if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then
278 gl_WCHAR_MODULE_INDICATOR([btowc])
281 if test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1; then
282 AC_LIBOBJ([canonicalize-lgpl])
284 gl_MODULE_INDICATOR([canonicalize-lgpl])
285 gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name])
286 gl_STDLIB_MODULE_INDICATOR([realpath])
288 if test $REPLACE_CEIL = 1; then
291 gl_MATH_MODULE_INDICATOR([ceil])
292 gl_UNISTD_MODULE_INDICATOR([chdir])
295 if test $REPLACE_CLOSE = 1; then
298 gl_UNISTD_MODULE_INDICATOR([close])
300 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
301 if test "$ac_cv_header_winsock2_h" = yes; then
304 gl_SYS_SOCKET_MODULE_INDICATOR([connect])
306 if test $HAVE_COPYSIGN = 0; then
307 AC_LIBOBJ([copysign])
309 gl_MATH_MODULE_INDICATOR([copysign])
312 if test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no; then
316 gl_DIRENT_MODULE_INDICATOR([dirfd])
320 if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then
324 gl_UNISTD_MODULE_INDICATOR([dup2])
326 if test $REPLACE_DUPLOCALE = 1; then
327 AC_LIBOBJ([duplocale])
330 gl_LOCALE_MODULE_INDICATOR([duplocale])
332 gl_UNISTD_MODULE_INDICATOR([environ])
334 AC_REQUIRE([gl_EXTERN_INLINE])
337 if test $REPLACE_FLOAT_LDBL = 1; then
340 if test $REPLACE_ITOLD = 1; then
344 if test $HAVE_FLOCK = 0; then
348 gl_HEADER_SYS_FILE_MODULE_INDICATOR([flock])
350 if test $REPLACE_FLOOR = 1; then
353 gl_MATH_MODULE_INDICATOR([floor])
355 if test $gl_func_frexp != yes; then
358 gl_MATH_MODULE_INDICATOR([frexp])
360 if test $REPLACE_FSTAT = 1; then
364 gl_SYS_STAT_MODULE_INDICATOR([fstat])
367 if test $HAVE_GETADDRINFO = 0; then
368 AC_LIBOBJ([getaddrinfo])
370 if test $HAVE_DECL_GAI_STRERROR = 0 || test $REPLACE_GAI_STRERROR = 1; then
371 AC_LIBOBJ([gai_strerror])
373 gl_NETDB_MODULE_INDICATOR([getaddrinfo])
375 if test $HAVE_GETLOGIN = 0; then
376 AC_LIBOBJ([getlogin])
378 gl_UNISTD_MODULE_INDICATOR([getlogin])
379 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
380 if test "$ac_cv_header_winsock2_h" = yes; then
381 AC_LIBOBJ([getpeername])
383 gl_SYS_SOCKET_MODULE_INDICATOR([getpeername])
384 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
385 if test "$ac_cv_header_winsock2_h" = yes; then
386 AC_LIBOBJ([getsockname])
388 gl_SYS_SOCKET_MODULE_INDICATOR([getsockname])
389 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
390 if test "$ac_cv_header_winsock2_h" = yes; then
391 AC_LIBOBJ([getsockopt])
393 gl_SYS_SOCKET_MODULE_INDICATOR([getsockopt])
395 AC_SUBST([LTLIBINTL])
397 if test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1; then
398 AC_LIBOBJ([gettimeofday])
399 gl_PREREQ_GETTIMEOFDAY
401 gl_SYS_TIME_MODULE_INDICATOR([gettimeofday])
402 # Autoconf 2.61a.99 and earlier don't support linking a file only
403 # in VPATH builds. But since GNUmakefile is for maintainer use
404 # only, it does not matter if we skip the link with older autoconf.
405 # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
406 # builds, so use a shell variable to bypass this.
407 GNUmakefile=GNUmakefile
408 m4_if(m4_version_compare([2.61a.100],
409 m4_defn([m4_PACKAGE_VERSION])), [1], [],
410 [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
411 [GNUmakefile=$GNUmakefile])])
414 m4_ifdef([gl_ICONV_MODULE_INDICATOR],
415 [gl_ICONV_MODULE_INDICATOR([iconv])])
418 if test $REPLACE_ICONV_OPEN = 1; then
419 AC_LIBOBJ([iconv_open])
421 if test $REPLACE_ICONV = 1; then
423 AC_LIBOBJ([iconv_close])
425 gl_FUNC_ICONV_OPEN_UTF
427 if test $HAVE_INET_NTOP = 0 || test $REPLACE_INET_NTOP = 1; then
428 AC_LIBOBJ([inet_ntop])
431 gl_ARPA_INET_MODULE_INDICATOR([inet_ntop])
433 if test $HAVE_INET_PTON = 0 || test $REPLACE_INET_NTOP = 1; then
434 AC_LIBOBJ([inet_pton])
437 gl_ARPA_INET_MODULE_INDICATOR([inet_pton])
440 if test $REPLACE_ISFINITE = 1; then
441 AC_LIBOBJ([isfinite])
443 gl_MATH_MODULE_INDICATOR([isfinite])
445 if test $REPLACE_ISINF = 1; then
448 gl_MATH_MODULE_INDICATOR([isinf])
450 gl_MATH_MODULE_INDICATOR([isnan])
452 m4_ifdef([gl_ISNAN], [
453 AC_REQUIRE([gl_ISNAN])
455 if test $HAVE_ISNAND = 0 || test $REPLACE_ISNAN = 1; then
459 gl_MATH_MODULE_INDICATOR([isnand])
460 gl_FUNC_ISNAND_NO_LIBM
461 if test $gl_func_isnand_no_libm != yes; then
466 m4_ifdef([gl_ISNAN], [
467 AC_REQUIRE([gl_ISNAN])
469 if test $HAVE_ISNANF = 0 || test $REPLACE_ISNAN = 1; then
473 gl_MATH_MODULE_INDICATOR([isnanf])
474 gl_FUNC_ISNANF_NO_LIBM
475 if test $gl_func_isnanf_no_libm != yes; then
480 m4_ifdef([gl_ISNAN], [
481 AC_REQUIRE([gl_ISNAN])
483 if test $HAVE_ISNANL = 0 || test $REPLACE_ISNAN = 1; then
487 gl_MATH_MODULE_INDICATOR([isnanl])
488 gl_FUNC_ISNANL_NO_LIBM
489 if test $gl_func_isnanl_no_libm != yes; then
494 AC_REQUIRE([gl_LARGEFILE])
499 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
500 if test "$ac_cv_header_winsock2_h" = yes; then
503 gl_SYS_SOCKET_MODULE_INDICATOR([listen])
505 LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(abs_top_builddir)/$gl_source_base\""
506 AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
509 if test $REPLACE_LOCALECONV = 1; then
510 AC_LIBOBJ([localeconv])
513 gl_LOCALE_MODULE_INDICATOR([localeconv])
515 gl_MODULE_INDICATOR([lock])
516 AC_REQUIRE([gl_FUNC_LOG])
517 if test $REPLACE_LOG = 1; then
520 gl_MATH_MODULE_INDICATOR([log])
522 if test $HAVE_LOG1P = 0 || test $REPLACE_LOG1P = 1; then
525 gl_MATH_MODULE_INDICATOR([log1p])
527 if test $REPLACE_LSTAT = 1; then
531 gl_SYS_STAT_MODULE_INDICATOR([lstat])
532 AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER],
533 [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])])
535 if test $REPLACE_MALLOC = 1; then
538 gl_MODULE_INDICATOR([malloc-gnu])
540 if test $REPLACE_MALLOC = 1; then
543 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
547 if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then
551 gl_WCHAR_MODULE_INDICATOR([mbrtowc])
553 if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then
557 gl_WCHAR_MODULE_INDICATOR([mbsinit])
559 if test $REPLACE_MBTOWC = 1; then
563 gl_STDLIB_MODULE_INDICATOR([mbtowc])
565 if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
569 gl_STRING_MODULE_INDICATOR([memchr])
571 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
572 AC_LIBOBJ([msvc-inval])
575 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
576 AC_LIBOBJ([msvc-nothrow])
583 if test $HAVE_NL_LANGINFO = 0 || test $REPLACE_NL_LANGINFO = 1; then
584 AC_LIBOBJ([nl_langinfo])
586 gl_LANGINFO_MODULE_INDICATOR([nl_langinfo])
589 if test $REPLACE_OPEN = 1; then
593 gl_FCNTL_MODULE_INDICATOR([open])
596 if test $HAVE_PIPE = 0; then
599 gl_UNISTD_MODULE_INDICATOR([pipe])
601 gl_UNISTD_MODULE_INDICATOR([pipe2])
603 if test $HAVE_POLL = 0 || test $REPLACE_POLL = 1; then
607 gl_POLL_MODULE_INDICATOR([poll])
610 if test $REPLACE_PUTENV = 1; then
614 gl_STDLIB_MODULE_INDICATOR([putenv])
616 if test $HAVE_RAISE = 0 || test $REPLACE_RAISE = 1; then
620 gl_SIGNAL_MODULE_INDICATOR([raise])
622 if test $REPLACE_READ = 1; then
626 gl_UNISTD_MODULE_INDICATOR([read])
628 if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then
629 AC_LIBOBJ([readlink])
632 gl_UNISTD_MODULE_INDICATOR([readlink])
633 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
634 if test "$ac_cv_header_winsock2_h" = yes; then
637 gl_SYS_SOCKET_MODULE_INDICATOR([recv])
638 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
639 if test "$ac_cv_header_winsock2_h" = yes; then
640 AC_LIBOBJ([recvfrom])
642 gl_SYS_SOCKET_MODULE_INDICATOR([recvfrom])
644 if test $ac_use_included_regex = yes; then
649 if test $REPLACE_RENAME = 1; then
652 gl_STDIO_MODULE_INDICATOR([rename])
654 if test $REPLACE_RMDIR = 1; then
657 gl_UNISTD_MODULE_INDICATOR([rmdir])
659 if test $HAVE_ROUND = 0 || test $REPLACE_ROUND = 1; then
662 gl_MATH_MODULE_INDICATOR([round])
666 if test $REPLACE_SELECT = 1; then
669 gl_SYS_SELECT_MODULE_INDICATOR([select])
670 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
671 if test "$ac_cv_header_winsock2_h" = yes; then
674 gl_SYS_SOCKET_MODULE_INDICATOR([send])
675 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
676 if test "$ac_cv_header_winsock2_h" = yes; then
679 gl_SYS_SOCKET_MODULE_INDICATOR([sendto])
682 if test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1; then
685 gl_STDLIB_MODULE_INDICATOR([setenv])
686 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
687 if test "$ac_cv_header_winsock2_h" = yes; then
688 AC_LIBOBJ([setsockopt])
690 gl_SYS_SOCKET_MODULE_INDICATOR([setsockopt])
691 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
692 if test "$ac_cv_header_winsock2_h" = yes; then
693 AC_LIBOBJ([shutdown])
695 gl_SYS_SOCKET_MODULE_INDICATOR([shutdown])
698 if test $REPLACE_SIGNBIT = 1; then
699 AC_LIBOBJ([signbitf])
700 AC_LIBOBJ([signbitd])
701 AC_LIBOBJ([signbitl])
703 gl_MATH_MODULE_INDICATOR([signbit])
706 gl_STDIO_MODULE_INDICATOR([snprintf])
707 gl_MODULE_INDICATOR([snprintf])
708 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
709 if test "$ac_cv_header_winsock2_h" = yes; then
712 # When this module is used, sockets may actually occur as file descriptors,
713 # hence it is worth warning if the modules 'close' and 'ioctl' are not used.
714 m4_ifdef([gl_UNISTD_H_DEFAULTS], [AC_REQUIRE([gl_UNISTD_H_DEFAULTS])])
715 m4_ifdef([gl_SYS_IOCTL_H_DEFAULTS], [AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS])])
716 AC_REQUIRE([gl_PREREQ_SYS_H_WINSOCK2])
717 if test "$ac_cv_header_winsock2_h" = yes; then
718 UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
719 SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
721 gl_SYS_SOCKET_MODULE_INDICATOR([socket])
727 if test $REPLACE_STAT = 1; then
731 gl_SYS_STAT_MODULE_INDICATOR([stat])
741 if test $gl_cond_libtool = false; then
742 gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV"
743 gl_libdeps="$gl_libdeps $LIBICONV"
765 if test $HAVE_LOCALTIME_R = 0 || test $REPLACE_LOCALTIME_R = 1; then
769 gl_TIME_MODULE_INDICATOR([time_r])
771 if test $HAVE_TIMES = 0; then
774 gl_SYS_TIMES_MODULE_INDICATOR([times])
776 if test $HAVE_DECL_TRUNC = 0 || test $REPLACE_TRUNC = 1; then
779 gl_MATH_MODULE_INDICATOR([trunc])
781 gl_LIBUNISTRING_LIBHEADER([0.9.2], [unistr.h])
782 gl_MODULE_INDICATOR([unistr/u8-mbtouc])
783 gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u8-mbtouc])
784 gl_MODULE_INDICATOR([unistr/u8-mbtouc-unsafe])
785 gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u8-mbtouc-unsafe])
786 gl_MODULE_INDICATOR([unistr/u8-mbtoucr])
787 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-mbtoucr])
788 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-prev])
789 gl_MODULE_INDICATOR([unistr/u8-uctomb])
790 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-uctomb])
791 gl_LIBUNISTRING_LIBHEADER([0.9], [unitypes.h])
794 gl_STDIO_MODULE_INDICATOR([vsnprintf])
797 if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then
801 gl_WCHAR_MODULE_INDICATOR([wcrtomb])
804 if test $REPLACE_WRITE = 1; then
808 gl_UNISTD_MODULE_INDICATOR([write])
810 # End of code from modules
811 m4_ifval(gl_LIBSOURCES_LIST, [
812 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
813 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
814 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
815 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
819 m4_if(m4_sysval, [0], [],
820 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
822 m4_popdef([gl_LIBSOURCES_DIR])
823 m4_popdef([gl_LIBSOURCES_LIST])
824 m4_popdef([AC_LIBSOURCES])
825 m4_popdef([AC_REPLACE_FUNCS])
826 m4_popdef([AC_LIBOBJ])
827 AC_CONFIG_COMMANDS_PRE([
830 if test -n "$gl_LIBOBJS"; then
831 # Remove the extension.
832 sed_drop_objext='s/\.o$//;s/\.obj$//'
833 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
834 gl_libobjs="$gl_libobjs $i.$ac_objext"
835 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
838 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
839 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
843 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
844 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
845 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
846 m4_pushdef([gltests_LIBSOURCES_LIST], [])
847 m4_pushdef([gltests_LIBSOURCES_DIR], [])
849 gl_source_base='tests'
851 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
853 AC_SUBST([gltests_WITNESS])
854 gl_module_indicator_condition=$gltests_WITNESS
855 m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
856 m4_popdef([gl_MODULE_INDICATOR_CONDITION])
857 m4_ifval(gltests_LIBSOURCES_LIST, [
858 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
859 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
860 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
861 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
865 m4_if(m4_sysval, [0], [],
866 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
868 m4_popdef([gltests_LIBSOURCES_DIR])
869 m4_popdef([gltests_LIBSOURCES_LIST])
870 m4_popdef([AC_LIBSOURCES])
871 m4_popdef([AC_REPLACE_FUNCS])
872 m4_popdef([AC_LIBOBJ])
873 AC_CONFIG_COMMANDS_PRE([
876 if test -n "$gltests_LIBOBJS"; then
877 # Remove the extension.
878 sed_drop_objext='s/\.o$//;s/\.obj$//'
879 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
880 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
881 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
884 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
885 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
889 # Like AC_LIBOBJ, except that the module name goes
890 # into gl_LIBOBJS instead of into LIBOBJS.
891 AC_DEFUN([gl_LIBOBJ], [
892 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
893 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
896 # Like AC_REPLACE_FUNCS, except that the module name goes
897 # into gl_LIBOBJS instead of into LIBOBJS.
898 AC_DEFUN([gl_REPLACE_FUNCS], [
899 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
900 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
903 # Like AC_LIBSOURCES, except the directory where the source file is
904 # expected is derived from the gnulib-tool parameterization,
905 # and alloca is special cased (for the alloca-opt module).
906 # We could also entirely rely on EXTRA_lib..._SOURCES.
907 AC_DEFUN([gl_LIBSOURCES], [
908 m4_foreach([_gl_NAME], [$1], [
909 m4_if(_gl_NAME, [alloca.c], [], [
910 m4_define([gl_LIBSOURCES_DIR], [lib])
911 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
916 # Like AC_LIBOBJ, except that the module name goes
917 # into gltests_LIBOBJS instead of into LIBOBJS.
918 AC_DEFUN([gltests_LIBOBJ], [
919 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
920 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
923 # Like AC_REPLACE_FUNCS, except that the module name goes
924 # into gltests_LIBOBJS instead of into LIBOBJS.
925 AC_DEFUN([gltests_REPLACE_FUNCS], [
926 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
927 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
930 # Like AC_LIBSOURCES, except the directory where the source file is
931 # expected is derived from the gnulib-tool parameterization,
932 # and alloca is special cased (for the alloca-opt module).
933 # We could also entirely rely on EXTRA_lib..._SOURCES.
934 AC_DEFUN([gltests_LIBSOURCES], [
935 m4_foreach([_gl_NAME], [$1], [
936 m4_if(_gl_NAME, [alloca.c], [], [
937 m4_define([gltests_LIBSOURCES_DIR], [tests])
938 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
943 # This macro records the list of files which have been installed by
944 # gnulib-tool and may be removed by future gnulib-tool invocations.
945 AC_DEFUN([gl_FILE_LIST], [
946 build-aux/announce-gen
947 build-aux/config.rpath
949 build-aux/git-version-gen
950 build-aux/gitlog-to-changelog
951 build-aux/gnu-web-doc-update
953 build-aux/snippet/_Noreturn.h
954 build-aux/snippet/arg-nonnull.h
955 build-aux/snippet/c++defs.h
956 build-aux/snippet/unused-parameter.h
957 build-aux/snippet/warn-on-use.h
958 build-aux/useless-if-before-free
959 build-aux/vc-list-files
979 lib/canonicalize-lgpl.c
1017 lib/glthread/threadlib.c
1021 lib/iconv_open-aix.gperf
1022 lib/iconv_open-hpux.gperf
1023 lib/iconv_open-irix.gperf
1024 lib/iconv_open-osf.gperf
1025 lib/iconv_open-solaris.gperf
1041 lib/libunistring.valgrind
1053 lib/malloca.valgrind
1092 lib/regex_internal.c
1093 lib/regex_internal.h
1150 lib/unistr/u8-mbtouc-aux.c
1151 lib/unistr/u8-mbtouc-unsafe-aux.c
1152 lib/unistr/u8-mbtouc-unsafe.c
1153 lib/unistr/u8-mbtouc.c
1154 lib/unistr/u8-mbtoucr.c
1155 lib/unistr/u8-prev.c
1156 lib/unistr/u8-uctomb-aux.c
1157 lib/unistr/u8-uctomb.c
1172 m4/absolute-header.m4
1180 m4/check-math-lib.m4
1189 m4/double-slash-root.m4
1217 m4/iconv_open-utf.m4
1233 m4/ld-version-script.m4
1238 m4/libunistring-base.m4