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 using CVS, this file can be treated like other built files.
18 # This macro should be invoked from ./configure.ac, in the section
19 # "Checks for programs", right after AC_PROG_CC, and certainly before
20 # any checks for libraries, header files, types and library functions.
23 m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace
24 m4_pattern_allow([^gl_ES$])dnl a valid locale name
25 m4_pattern_allow([^gl_LIBOBJS$])dnl a variable
26 m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable
27 AC_REQUIRE([AC_PROG_RANLIB])
28 AC_REQUIRE([AM_PROG_CC_C_O])
29 # Code from module alignof:
30 # Code from module alloca-opt:
31 # Code from module announce-gen:
32 # Code from module arg-nonnull:
33 # Code from module arpa_inet:
34 # Code from module autobuild:
36 # Code from module byteswap:
37 # Code from module c++defs:
38 # Code from module c-ctype:
39 # Code from module c-strcase:
40 # Code from module c-strcaseeq:
41 # Code from module canonicalize-lgpl:
42 # Code from module configmake:
43 # Code from module duplocale:
44 # Code from module environ:
45 # Code from module errno:
46 # Code from module extensions:
47 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
48 # Code from module float:
49 # Code from module flock:
50 # Code from module fpieee:
51 AC_REQUIRE([gl_FP_IEEE])
52 # Code from module full-read:
53 # Code from module full-write:
54 # Code from module func:
55 # Code from module gendocs:
56 # Code from module getaddrinfo:
57 # Code from module gettext-h:
58 # Code from module git-version-gen:
59 # Code from module gitlog-to-changelog:
60 # Code from module gnu-web-doc-update:
61 # Code from module gnumakefile:
62 # Code from module gnupload:
63 # Code from module gperf:
64 # Code from module havelib:
65 # Code from module hostent:
66 # Code from module iconv:
67 # Code from module iconv-h:
68 # Code from module iconv_open:
69 # Code from module iconv_open-utf:
70 # Code from module include_next:
71 # Code from module inet_ntop:
72 # Code from module inet_pton:
73 # Code from module inline:
74 # Code from module lib-symbol-versions:
75 # Code from module lib-symbol-visibility:
76 # Code from module libunistring:
77 # Code from module localcharset:
78 # Code from module locale:
79 # Code from module lstat:
80 # Code from module maintainer-makefile:
81 # Code from module malloc-posix:
82 # Code from module malloca:
83 # Code from module mbrlen:
84 # Code from module mbrtowc:
85 # Code from module mbsinit:
86 # Code from module memchr:
87 # Code from module multiarch:
88 # Code from module netdb:
89 # Code from module netinet_in:
90 # Code from module pathmax:
91 # Code from module putenv:
92 # Code from module readlink:
93 # Code from module safe-read:
94 # Code from module safe-write:
95 # Code from module servent:
96 # Code from module size_max:
97 # Code from module snprintf:
98 # Code from module socklen:
99 # Code from module ssize_t:
100 # Code from module stat:
101 # Code from module stat-time:
102 # Code from module stdarg:
103 dnl Some compilers (e.g., AIX 5.3 cc) need to be in c99 mode
104 dnl for the builtin va_copy to work. With Autoconf 2.60 or later,
105 dnl AC_PROG_CC_STDC arranges for this. With older Autoconf AC_PROG_CC_STDC
106 dnl shouldn't hurt, though installers are on their own to set c99 mode.
107 AC_REQUIRE([AC_PROG_CC_STDC])
108 # Code from module stdbool:
109 # Code from module stddef:
110 # Code from module stdint:
111 # Code from module stdio:
112 # Code from module stdlib:
113 # Code from module strcase:
114 # Code from module streq:
115 # Code from module strftime:
116 # Code from module striconveh:
117 # Code from module string:
118 # Code from module strings:
119 # Code from module sys_file:
120 # Code from module sys_socket:
121 # Code from module sys_stat:
122 # Code from module time:
123 # Code from module time_r:
124 # Code from module unistd:
125 # Code from module unistr/base:
126 # Code from module unistr/u8-mbtouc:
127 # Code from module unistr/u8-mbtouc-unsafe:
128 # Code from module unistr/u8-mbtoucr:
129 # Code from module unistr/u8-prev:
130 # Code from module unistr/u8-uctomb:
131 # Code from module unitypes:
132 # Code from module unused-parameter:
133 # Code from module useless-if-before-free:
134 # Code from module vasnprintf:
135 # Code from module vc-list-files:
136 # Code from module verify:
137 # Code from module version-etc:
138 # Code from module version-etc-fsf:
139 # Code from module vsnprintf:
140 # Code from module warn-on-use:
141 # Code from module warnings:
142 # Code from module wchar:
143 # Code from module write:
144 # Code from module xsize:
147 # This macro should be invoked from ./configure.ac, in the section
148 # "Check for header files, types and library functions".
151 AM_CONDITIONAL([GL_COND_LIBTOOL], [true])
154 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
155 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
156 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
157 m4_pushdef([gl_LIBSOURCES_LIST], [])
158 m4_pushdef([gl_LIBSOURCES_DIR], [])
161 # Code from module alignof:
162 # Code from module alloca-opt:
164 # Code from module announce-gen:
165 # Code from module arg-nonnull:
166 # Code from module arpa_inet:
169 # Code from module autobuild:
170 # Code from module byteswap:
172 # Code from module c++defs:
173 # Code from module c-ctype:
174 # Code from module c-strcase:
175 # Code from module c-strcaseeq:
176 # Code from module canonicalize-lgpl:
178 gl_MODULE_INDICATOR([canonicalize-lgpl])
179 gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name])
180 gl_STDLIB_MODULE_INDICATOR([realpath])
181 # Code from module configmake:
182 # Code from module duplocale:
184 gl_LOCALE_MODULE_INDICATOR([duplocale])
185 # Code from module environ:
187 gl_UNISTD_MODULE_INDICATOR([environ])
188 # Code from module errno:
190 # Code from module extensions:
191 # Code from module float:
193 # Code from module flock:
195 gl_HEADER_SYS_FILE_MODULE_INDICATOR([flock])
196 # Code from module fpieee:
197 # Code from module full-read:
198 # Code from module full-write:
199 # Code from module func:
201 # Code from module gendocs:
202 # Code from module getaddrinfo:
204 gl_NETDB_MODULE_INDICATOR([getaddrinfo])
205 # Code from module gettext-h:
207 AC_SUBST([LTLIBINTL])
208 # Code from module git-version-gen:
209 # Code from module gitlog-to-changelog:
210 # Code from module gnu-web-doc-update:
211 # Code from module gnumakefile:
212 # Autoconf 2.61a.99 and earlier don't support linking a file only
213 # in VPATH builds. But since GNUmakefile is for maintainer use
214 # only, it does not matter if we skip the link with older autoconf.
215 # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
216 # builds, so use a shell variable to bypass this.
217 GNUmakefile=GNUmakefile
218 m4_if(m4_version_compare([2.61a.100],
219 m4_defn([m4_PACKAGE_VERSION])), [1], [],
220 [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
221 [GNUmakefile=$GNUmakefile])])
222 # Code from module gnupload:
223 # Code from module gperf:
224 # Code from module havelib:
225 # Code from module hostent:
227 # Code from module iconv:
229 # Code from module iconv-h:
231 # Code from module iconv_open:
233 # Code from module iconv_open-utf:
234 gl_FUNC_ICONV_OPEN_UTF
235 # Code from module include_next:
236 # Code from module inet_ntop:
238 gl_ARPA_INET_MODULE_INDICATOR([inet_ntop])
239 # Code from module inet_pton:
241 gl_ARPA_INET_MODULE_INDICATOR([inet_pton])
242 # Code from module inline:
244 # Code from module lib-symbol-versions:
246 # Code from module lib-symbol-visibility:
248 # Code from module libunistring:
250 # Code from module localcharset:
252 LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\""
253 AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
254 # Code from module locale:
256 # Code from module lstat:
258 gl_SYS_STAT_MODULE_INDICATOR([lstat])
259 # Code from module maintainer-makefile:
260 AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER],
261 [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])])
262 # Code from module malloc-posix:
264 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
265 # Code from module malloca:
267 # Code from module mbrlen:
269 gl_WCHAR_MODULE_INDICATOR([mbrlen])
270 # Code from module mbrtowc:
272 gl_WCHAR_MODULE_INDICATOR([mbrtowc])
273 # Code from module mbsinit:
275 gl_WCHAR_MODULE_INDICATOR([mbsinit])
276 # Code from module memchr:
278 gl_STRING_MODULE_INDICATOR([memchr])
279 # Code from module multiarch:
281 # Code from module netdb:
283 # Code from module netinet_in:
286 # Code from module pathmax:
288 # Code from module putenv:
290 gl_STDLIB_MODULE_INDICATOR([putenv])
291 # Code from module readlink:
293 gl_UNISTD_MODULE_INDICATOR([readlink])
294 # Code from module safe-read:
296 # Code from module safe-write:
298 # Code from module servent:
300 # Code from module size_max:
302 # Code from module snprintf:
304 gl_STDIO_MODULE_INDICATOR([snprintf])
305 # Code from module socklen:
307 # Code from module ssize_t:
309 # Code from module stat:
311 gl_SYS_STAT_MODULE_INDICATOR([stat])
312 # Code from module stat-time:
315 # Code from module stdarg:
317 # Code from module stdbool:
319 # Code from module stddef:
321 # Code from module stdint:
323 # Code from module stdio:
325 # Code from module stdlib:
327 # Code from module strcase:
329 # Code from module streq:
330 # Code from module strftime:
332 # Code from module striconveh:
333 if test $gl_cond_libtool = false; then
334 gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV"
335 gl_libdeps="$gl_libdeps $LIBICONV"
337 # Code from module string:
339 # Code from module strings:
341 # Code from module sys_file:
344 # Code from module sys_socket:
347 # Code from module sys_stat:
350 # Code from module time:
352 # Code from module time_r:
354 gl_TIME_MODULE_INDICATOR([time_r])
355 # Code from module unistd:
357 # Code from module unistr/base:
358 gl_LIBUNISTRING_LIBHEADER([0.9.2], [unistr.h])
359 # Code from module unistr/u8-mbtouc:
360 gl_MODULE_INDICATOR([unistr/u8-mbtouc])
361 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-mbtouc])
362 # Code from module unistr/u8-mbtouc-unsafe:
363 gl_MODULE_INDICATOR([unistr/u8-mbtouc-unsafe])
364 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-mbtouc-unsafe])
365 # Code from module unistr/u8-mbtoucr:
366 gl_MODULE_INDICATOR([unistr/u8-mbtoucr])
367 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-mbtoucr])
368 # Code from module unistr/u8-prev:
369 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-prev])
370 # Code from module unistr/u8-uctomb:
371 gl_MODULE_INDICATOR([unistr/u8-uctomb])
372 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-uctomb])
373 # Code from module unitypes:
374 gl_LIBUNISTRING_LIBHEADER([0.9], [unitypes.h])
375 # Code from module unused-parameter:
376 # Code from module useless-if-before-free:
377 # Code from module vasnprintf:
379 # Code from module vc-list-files:
380 # Code from module verify:
381 # Code from module version-etc:
383 # Code from module version-etc-fsf:
384 # Code from module vsnprintf:
386 gl_STDIO_MODULE_INDICATOR([vsnprintf])
387 # Code from module warn-on-use:
388 # Code from module warnings:
389 AC_SUBST([WARN_CFLAGS])
390 # Code from module wchar:
392 # Code from module write:
394 gl_UNISTD_MODULE_INDICATOR([write])
395 # Code from module xsize:
397 # End of code from modules
398 m4_ifval(gl_LIBSOURCES_LIST, [
399 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
400 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
401 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
402 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
406 m4_if(m4_sysval, [0], [],
407 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
409 m4_popdef([gl_LIBSOURCES_DIR])
410 m4_popdef([gl_LIBSOURCES_LIST])
411 m4_popdef([AC_LIBSOURCES])
412 m4_popdef([AC_REPLACE_FUNCS])
413 m4_popdef([AC_LIBOBJ])
414 AC_CONFIG_COMMANDS_PRE([
417 if test -n "$gl_LIBOBJS"; then
418 # Remove the extension.
419 sed_drop_objext='s/\.o$//;s/\.obj$//'
420 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
421 gl_libobjs="$gl_libobjs $i.$ac_objext"
422 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
425 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
426 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
430 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
431 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
432 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
433 m4_pushdef([gltests_LIBSOURCES_LIST], [])
434 m4_pushdef([gltests_LIBSOURCES_DIR], [])
436 gl_source_base='tests'
438 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
440 AC_SUBST([gltests_WITNESS])
441 gl_module_indicator_condition=$gltests_WITNESS
442 m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
443 m4_popdef([gl_MODULE_INDICATOR_CONDITION])
444 m4_ifval(gltests_LIBSOURCES_LIST, [
445 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
446 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
447 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
448 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
452 m4_if(m4_sysval, [0], [],
453 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
455 m4_popdef([gltests_LIBSOURCES_DIR])
456 m4_popdef([gltests_LIBSOURCES_LIST])
457 m4_popdef([AC_LIBSOURCES])
458 m4_popdef([AC_REPLACE_FUNCS])
459 m4_popdef([AC_LIBOBJ])
460 AC_CONFIG_COMMANDS_PRE([
463 if test -n "$gltests_LIBOBJS"; then
464 # Remove the extension.
465 sed_drop_objext='s/\.o$//;s/\.obj$//'
466 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
467 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
468 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
471 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
472 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
476 # Like AC_LIBOBJ, except that the module name goes
477 # into gl_LIBOBJS instead of into LIBOBJS.
478 AC_DEFUN([gl_LIBOBJ], [
479 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
480 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
483 # Like AC_REPLACE_FUNCS, except that the module name goes
484 # into gl_LIBOBJS instead of into LIBOBJS.
485 AC_DEFUN([gl_REPLACE_FUNCS], [
486 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
487 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
490 # Like AC_LIBSOURCES, except the directory where the source file is
491 # expected is derived from the gnulib-tool parameterization,
492 # and alloca is special cased (for the alloca-opt module).
493 # We could also entirely rely on EXTRA_lib..._SOURCES.
494 AC_DEFUN([gl_LIBSOURCES], [
495 m4_foreach([_gl_NAME], [$1], [
496 m4_if(_gl_NAME, [alloca.c], [], [
497 m4_define([gl_LIBSOURCES_DIR], [lib])
498 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
503 # Like AC_LIBOBJ, except that the module name goes
504 # into gltests_LIBOBJS instead of into LIBOBJS.
505 AC_DEFUN([gltests_LIBOBJ], [
506 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
507 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
510 # Like AC_REPLACE_FUNCS, except that the module name goes
511 # into gltests_LIBOBJS instead of into LIBOBJS.
512 AC_DEFUN([gltests_REPLACE_FUNCS], [
513 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
514 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
517 # Like AC_LIBSOURCES, except the directory where the source file is
518 # expected is derived from the gnulib-tool parameterization,
519 # and alloca is special cased (for the alloca-opt module).
520 # We could also entirely rely on EXTRA_lib..._SOURCES.
521 AC_DEFUN([gltests_LIBSOURCES], [
522 m4_foreach([_gl_NAME], [$1], [
523 m4_if(_gl_NAME, [alloca.c], [], [
524 m4_define([gltests_LIBSOURCES_DIR], [tests])
525 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
530 # This macro records the list of files which have been installed by
531 # gnulib-tool and may be removed by future gnulib-tool invocations.
532 AC_DEFUN([gl_FILE_LIST], [
533 build-aux/announce-gen
534 build-aux/arg-nonnull.h
536 build-aux/config.rpath
538 build-aux/git-version-gen
539 build-aux/gitlog-to-changelog
540 build-aux/gnu-web-doc-update
542 build-aux/unused-parameter.h
543 build-aux/useless-if-before-free
544 build-aux/vc-list-files
545 build-aux/warn-on-use.h
558 lib/canonicalize-lgpl.c
575 lib/iconv_open-aix.gperf
576 lib/iconv_open-hpux.gperf
577 lib/iconv_open-irix.gperf
578 lib/iconv_open-osf.gperf
579 lib/iconv_open-solaris.gperf
584 lib/libunistring.valgrind
640 lib/unistr/u8-mbtouc-aux.c
641 lib/unistr/u8-mbtouc-unsafe-aux.c
642 lib/unistr/u8-mbtouc-unsafe.c
643 lib/unistr/u8-mbtouc.c
644 lib/unistr/u8-mbtoucr.c
646 lib/unistr/u8-uctomb-aux.c
647 lib/unistr/u8-uctomb.c
652 lib/version-etc-fsf.c
660 m4/absolute-header.m4
669 m4/double-slash-root.m4
693 m4/ld-version-script.m4
697 m4/libunistring-base.m4