1 # DO NOT EDIT! GENERATED AUTOMATICALLY!
2 # Copyright (C) 2002-2010 Free Software Foundation, Inc.
4 # This file is free software, distributed under the terms of the GNU
5 # General Public License. As a special exception to the GNU General
6 # Public License, this file may be distributed as part of a program
7 # that contains a configuration script generated by Autoconf, under
8 # the same distribution terms as the rest of that program.
10 # Generated by gnulib-tool.
12 # This file represents the compiled summary of the specification in
13 # gnulib-cache.m4. It lists the computed macro invocations that need
14 # to be invoked from configure.ac.
15 # In projects that use version control, this file can be treated like
19 # This macro should be invoked from ./configure.ac, in the section
20 # "Checks for programs", right after AC_PROG_CC, and certainly before
21 # any checks for libraries, header files, types and library functions.
24 m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace
25 m4_pattern_allow([^gl_ES$])dnl a valid locale name
26 m4_pattern_allow([^gl_LIBOBJS$])dnl a variable
27 m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable
28 AC_REQUIRE([AC_PROG_RANLIB])
29 AC_REQUIRE([AM_PROG_CC_C_O])
30 # Code from module alignof:
31 # Code from module alloca-opt:
32 # Code from module announce-gen:
33 # Code from module arg-nonnull:
34 # Code from module arpa_inet:
35 # Code from module autobuild:
37 # Code from module byteswap:
38 # Code from module c++defs:
39 # Code from module c-ctype:
40 # Code from module c-strcase:
41 # Code from module c-strcaseeq:
42 # Code from module canonicalize-lgpl:
43 # Code from module configmake:
44 # Code from module duplocale:
45 # Code from module environ:
46 # Code from module errno:
47 # Code from module extensions:
48 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
49 # Code from module float:
50 # Code from module flock:
51 # Code from module fpieee:
52 AC_REQUIRE([gl_FP_IEEE])
53 # Code from module full-read:
54 # Code from module full-write:
55 # Code from module func:
56 # Code from module gendocs:
57 # Code from module getaddrinfo:
58 # Code from module gettext-h:
59 # Code from module git-version-gen:
60 # Code from module gitlog-to-changelog:
61 # Code from module gnu-web-doc-update:
62 # Code from module gnumakefile:
63 # Code from module gnupload:
64 # Code from module gperf:
65 # Code from module havelib:
66 # Code from module hostent:
67 # Code from module iconv:
68 # Code from module iconv-h:
69 # Code from module iconv_open:
70 # Code from module iconv_open-utf:
71 # Code from module include_next:
72 # Code from module inet_ntop:
73 # Code from module inet_pton:
74 # Code from module inline:
75 # Code from module isinf:
76 # Code from module isnan:
77 # Code from module isnand:
78 # Code from module isnanf:
79 # Code from module isnanl:
80 # Code from module lib-symbol-versions:
81 # Code from module lib-symbol-visibility:
82 # Code from module libunistring:
83 # Code from module localcharset:
84 # Code from module locale:
85 # Code from module lstat:
86 # Code from module maintainer-makefile:
87 # Code from module malloc-posix:
88 # Code from module malloca:
89 # Code from module math:
90 # Code from module mbrlen:
91 # Code from module mbrtowc:
92 # Code from module mbsinit:
93 # Code from module memchr:
94 # Code from module multiarch:
95 # Code from module netdb:
96 # Code from module netinet_in:
97 # Code from module pathmax:
98 # Code from module putenv:
99 # Code from module readlink:
100 # Code from module safe-read:
101 # Code from module safe-write:
102 # Code from module servent:
103 # Code from module size_max:
104 # Code from module snprintf:
105 # Code from module socklen:
106 # Code from module ssize_t:
107 # Code from module stat:
108 # Code from module stat-time:
109 # Code from module stdarg:
110 dnl Some compilers (e.g., AIX 5.3 cc) need to be in c99 mode
111 dnl for the builtin va_copy to work. With Autoconf 2.60 or later,
112 dnl AC_PROG_CC_STDC arranges for this. With older Autoconf AC_PROG_CC_STDC
113 dnl shouldn't hurt, though installers are on their own to set c99 mode.
114 AC_REQUIRE([AC_PROG_CC_STDC])
115 # Code from module stdbool:
116 # Code from module stddef:
117 # Code from module stdint:
118 # Code from module stdio:
119 # Code from module stdlib:
120 # Code from module strcase:
121 # Code from module streq:
122 # Code from module strftime:
123 # Code from module striconveh:
124 # Code from module string:
125 # Code from module strings:
126 # Code from module sys_file:
127 # Code from module sys_socket:
128 # Code from module sys_stat:
129 # Code from module time:
130 # Code from module time_r:
131 # Code from module unistd:
132 # Code from module unistr/base:
133 # Code from module unistr/u8-mbtouc:
134 # Code from module unistr/u8-mbtouc-unsafe:
135 # Code from module unistr/u8-mbtoucr:
136 # Code from module unistr/u8-prev:
137 # Code from module unistr/u8-uctomb:
138 # Code from module unitypes:
139 # Code from module unused-parameter:
140 # Code from module useless-if-before-free:
141 # Code from module vasnprintf:
142 # Code from module vc-list-files:
143 # Code from module verify:
144 # Code from module version-etc:
145 # Code from module version-etc-fsf:
146 # Code from module vsnprintf:
147 # Code from module warn-on-use:
148 # Code from module warnings:
149 # Code from module wchar:
150 # Code from module write:
151 # Code from module xsize:
154 # This macro should be invoked from ./configure.ac, in the section
155 # "Check for header files, types and library functions".
158 AM_CONDITIONAL([GL_COND_LIBTOOL], [true])
161 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
162 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
163 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
164 m4_pushdef([gl_LIBSOURCES_LIST], [])
165 m4_pushdef([gl_LIBSOURCES_DIR], [])
168 # Code from module alignof:
169 # Code from module alloca-opt:
171 # Code from module announce-gen:
172 # Code from module arg-nonnull:
173 # Code from module arpa_inet:
176 # Code from module autobuild:
177 # Code from module byteswap:
179 # Code from module c++defs:
180 # Code from module c-ctype:
181 # Code from module c-strcase:
182 # Code from module c-strcaseeq:
183 # Code from module canonicalize-lgpl:
185 gl_MODULE_INDICATOR([canonicalize-lgpl])
186 gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name])
187 gl_STDLIB_MODULE_INDICATOR([realpath])
188 # Code from module configmake:
189 # Code from module duplocale:
191 gl_LOCALE_MODULE_INDICATOR([duplocale])
192 # Code from module environ:
194 gl_UNISTD_MODULE_INDICATOR([environ])
195 # Code from module errno:
197 # Code from module extensions:
198 # Code from module float:
200 # Code from module flock:
202 gl_HEADER_SYS_FILE_MODULE_INDICATOR([flock])
203 # Code from module fpieee:
204 # Code from module full-read:
205 # Code from module full-write:
206 # Code from module func:
208 # Code from module gendocs:
209 # Code from module getaddrinfo:
211 gl_NETDB_MODULE_INDICATOR([getaddrinfo])
212 # Code from module gettext-h:
214 AC_SUBST([LTLIBINTL])
215 # Code from module git-version-gen:
216 # Code from module gitlog-to-changelog:
217 # Code from module gnu-web-doc-update:
218 # Code from module gnumakefile:
219 # Autoconf 2.61a.99 and earlier don't support linking a file only
220 # in VPATH builds. But since GNUmakefile is for maintainer use
221 # only, it does not matter if we skip the link with older autoconf.
222 # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
223 # builds, so use a shell variable to bypass this.
224 GNUmakefile=GNUmakefile
225 m4_if(m4_version_compare([2.61a.100],
226 m4_defn([m4_PACKAGE_VERSION])), [1], [],
227 [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
228 [GNUmakefile=$GNUmakefile])])
229 # Code from module gnupload:
230 # Code from module gperf:
231 # Code from module havelib:
232 # Code from module hostent:
234 # Code from module iconv:
236 # Code from module iconv-h:
238 # Code from module iconv_open:
240 # Code from module iconv_open-utf:
241 gl_FUNC_ICONV_OPEN_UTF
242 # Code from module include_next:
243 # Code from module inet_ntop:
245 gl_ARPA_INET_MODULE_INDICATOR([inet_ntop])
246 # Code from module inet_pton:
248 gl_ARPA_INET_MODULE_INDICATOR([inet_pton])
249 # Code from module inline:
251 # Code from module isinf:
253 gl_MATH_MODULE_INDICATOR([isinf])
254 # Code from module isnan:
256 gl_MATH_MODULE_INDICATOR([isnan])
257 # Code from module isnand:
259 gl_MATH_MODULE_INDICATOR([isnand])
260 # Code from module isnanf:
262 gl_MATH_MODULE_INDICATOR([isnanf])
263 # Code from module isnanl:
265 gl_MATH_MODULE_INDICATOR([isnanl])
266 # Code from module lib-symbol-versions:
268 # Code from module lib-symbol-visibility:
270 # Code from module libunistring:
272 # Code from module localcharset:
274 LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\""
275 AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
276 # Code from module locale:
278 # Code from module lstat:
280 gl_SYS_STAT_MODULE_INDICATOR([lstat])
281 # Code from module maintainer-makefile:
282 AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER],
283 [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])])
284 # Code from module malloc-posix:
286 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
287 # Code from module malloca:
289 # Code from module math:
291 # Code from module mbrlen:
293 gl_WCHAR_MODULE_INDICATOR([mbrlen])
294 # Code from module mbrtowc:
296 gl_WCHAR_MODULE_INDICATOR([mbrtowc])
297 # Code from module mbsinit:
299 gl_WCHAR_MODULE_INDICATOR([mbsinit])
300 # Code from module memchr:
302 gl_STRING_MODULE_INDICATOR([memchr])
303 # Code from module multiarch:
305 # Code from module netdb:
307 # Code from module netinet_in:
310 # Code from module pathmax:
312 # Code from module putenv:
314 gl_STDLIB_MODULE_INDICATOR([putenv])
315 # Code from module readlink:
317 gl_UNISTD_MODULE_INDICATOR([readlink])
318 # Code from module safe-read:
320 # Code from module safe-write:
322 # Code from module servent:
324 # Code from module size_max:
326 # Code from module snprintf:
328 gl_STDIO_MODULE_INDICATOR([snprintf])
329 # Code from module socklen:
331 # Code from module ssize_t:
333 # Code from module stat:
335 gl_SYS_STAT_MODULE_INDICATOR([stat])
336 # Code from module stat-time:
339 # Code from module stdarg:
341 # Code from module stdbool:
343 # Code from module stddef:
345 # Code from module stdint:
347 # Code from module stdio:
349 # Code from module stdlib:
351 # Code from module strcase:
353 # Code from module streq:
354 # Code from module strftime:
356 # Code from module striconveh:
357 if test $gl_cond_libtool = false; then
358 gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV"
359 gl_libdeps="$gl_libdeps $LIBICONV"
361 # Code from module string:
363 # Code from module strings:
365 # Code from module sys_file:
368 # Code from module sys_socket:
371 # Code from module sys_stat:
374 # Code from module time:
376 # Code from module time_r:
378 gl_TIME_MODULE_INDICATOR([time_r])
379 # Code from module unistd:
381 # Code from module unistr/base:
382 gl_LIBUNISTRING_LIBHEADER([0.9.2], [unistr.h])
383 # Code from module unistr/u8-mbtouc:
384 gl_MODULE_INDICATOR([unistr/u8-mbtouc])
385 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-mbtouc])
386 # Code from module unistr/u8-mbtouc-unsafe:
387 gl_MODULE_INDICATOR([unistr/u8-mbtouc-unsafe])
388 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-mbtouc-unsafe])
389 # Code from module unistr/u8-mbtoucr:
390 gl_MODULE_INDICATOR([unistr/u8-mbtoucr])
391 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-mbtoucr])
392 # Code from module unistr/u8-prev:
393 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-prev])
394 # Code from module unistr/u8-uctomb:
395 gl_MODULE_INDICATOR([unistr/u8-uctomb])
396 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-uctomb])
397 # Code from module unitypes:
398 gl_LIBUNISTRING_LIBHEADER([0.9], [unitypes.h])
399 # Code from module unused-parameter:
400 # Code from module useless-if-before-free:
401 # Code from module vasnprintf:
403 # Code from module vc-list-files:
404 # Code from module verify:
405 # Code from module version-etc:
407 # Code from module version-etc-fsf:
408 # Code from module vsnprintf:
410 gl_STDIO_MODULE_INDICATOR([vsnprintf])
411 # Code from module warn-on-use:
412 # Code from module warnings:
413 AC_SUBST([WARN_CFLAGS])
414 # Code from module wchar:
416 # Code from module write:
418 gl_UNISTD_MODULE_INDICATOR([write])
419 # Code from module xsize:
421 # End of code from modules
422 m4_ifval(gl_LIBSOURCES_LIST, [
423 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
424 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
425 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
426 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
430 m4_if(m4_sysval, [0], [],
431 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
433 m4_popdef([gl_LIBSOURCES_DIR])
434 m4_popdef([gl_LIBSOURCES_LIST])
435 m4_popdef([AC_LIBSOURCES])
436 m4_popdef([AC_REPLACE_FUNCS])
437 m4_popdef([AC_LIBOBJ])
438 AC_CONFIG_COMMANDS_PRE([
441 if test -n "$gl_LIBOBJS"; then
442 # Remove the extension.
443 sed_drop_objext='s/\.o$//;s/\.obj$//'
444 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
445 gl_libobjs="$gl_libobjs $i.$ac_objext"
446 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
449 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
450 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
454 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
455 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
456 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
457 m4_pushdef([gltests_LIBSOURCES_LIST], [])
458 m4_pushdef([gltests_LIBSOURCES_DIR], [])
460 gl_source_base='tests'
462 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
464 AC_SUBST([gltests_WITNESS])
465 gl_module_indicator_condition=$gltests_WITNESS
466 m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
467 m4_popdef([gl_MODULE_INDICATOR_CONDITION])
468 m4_ifval(gltests_LIBSOURCES_LIST, [
469 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
470 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
471 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
472 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
476 m4_if(m4_sysval, [0], [],
477 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
479 m4_popdef([gltests_LIBSOURCES_DIR])
480 m4_popdef([gltests_LIBSOURCES_LIST])
481 m4_popdef([AC_LIBSOURCES])
482 m4_popdef([AC_REPLACE_FUNCS])
483 m4_popdef([AC_LIBOBJ])
484 AC_CONFIG_COMMANDS_PRE([
487 if test -n "$gltests_LIBOBJS"; then
488 # Remove the extension.
489 sed_drop_objext='s/\.o$//;s/\.obj$//'
490 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
491 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
492 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
495 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
496 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
500 # Like AC_LIBOBJ, except that the module name goes
501 # into gl_LIBOBJS instead of into LIBOBJS.
502 AC_DEFUN([gl_LIBOBJ], [
503 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
504 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
507 # Like AC_REPLACE_FUNCS, except that the module name goes
508 # into gl_LIBOBJS instead of into LIBOBJS.
509 AC_DEFUN([gl_REPLACE_FUNCS], [
510 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
511 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
514 # Like AC_LIBSOURCES, except the directory where the source file is
515 # expected is derived from the gnulib-tool parameterization,
516 # and alloca is special cased (for the alloca-opt module).
517 # We could also entirely rely on EXTRA_lib..._SOURCES.
518 AC_DEFUN([gl_LIBSOURCES], [
519 m4_foreach([_gl_NAME], [$1], [
520 m4_if(_gl_NAME, [alloca.c], [], [
521 m4_define([gl_LIBSOURCES_DIR], [lib])
522 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
527 # Like AC_LIBOBJ, except that the module name goes
528 # into gltests_LIBOBJS instead of into LIBOBJS.
529 AC_DEFUN([gltests_LIBOBJ], [
530 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
531 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
534 # Like AC_REPLACE_FUNCS, except that the module name goes
535 # into gltests_LIBOBJS instead of into LIBOBJS.
536 AC_DEFUN([gltests_REPLACE_FUNCS], [
537 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
538 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
541 # Like AC_LIBSOURCES, except the directory where the source file is
542 # expected is derived from the gnulib-tool parameterization,
543 # and alloca is special cased (for the alloca-opt module).
544 # We could also entirely rely on EXTRA_lib..._SOURCES.
545 AC_DEFUN([gltests_LIBSOURCES], [
546 m4_foreach([_gl_NAME], [$1], [
547 m4_if(_gl_NAME, [alloca.c], [], [
548 m4_define([gltests_LIBSOURCES_DIR], [tests])
549 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
554 # This macro records the list of files which have been installed by
555 # gnulib-tool and may be removed by future gnulib-tool invocations.
556 AC_DEFUN([gl_FILE_LIST], [
557 build-aux/announce-gen
558 build-aux/arg-nonnull.h
560 build-aux/config.rpath
562 build-aux/git-version-gen
563 build-aux/gitlog-to-changelog
564 build-aux/gnu-web-doc-update
566 build-aux/unused-parameter.h
567 build-aux/useless-if-before-free
568 build-aux/vc-list-files
569 build-aux/warn-on-use.h
582 lib/canonicalize-lgpl.c
599 lib/iconv_open-aix.gperf
600 lib/iconv_open-hpux.gperf
601 lib/iconv_open-irix.gperf
602 lib/iconv_open-osf.gperf
603 lib/iconv_open-solaris.gperf
613 lib/libunistring.valgrind
670 lib/unistr/u8-mbtouc-aux.c
671 lib/unistr/u8-mbtouc-unsafe-aux.c
672 lib/unistr/u8-mbtouc-unsafe.c
673 lib/unistr/u8-mbtouc.c
674 lib/unistr/u8-mbtoucr.c
676 lib/unistr/u8-uctomb-aux.c
677 lib/unistr/u8-uctomb.c
682 lib/version-etc-fsf.c
690 m4/absolute-header.m4
700 m4/double-slash-root.m4
732 m4/ld-version-script.m4
736 m4/libunistring-base.m4