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 stdarg:
102 dnl Some compilers (e.g., AIX 5.3 cc) need to be in c99 mode
103 dnl for the builtin va_copy to work. With Autoconf 2.60 or later,
104 dnl AC_PROG_CC_STDC arranges for this. With older Autoconf AC_PROG_CC_STDC
105 dnl shouldn't hurt, though installers are on their own to set c99 mode.
106 AC_REQUIRE([AC_PROG_CC_STDC])
107 # Code from module stdbool:
108 # Code from module stddef:
109 # Code from module stdint:
110 # Code from module stdio:
111 # Code from module stdlib:
112 # Code from module strcase:
113 # Code from module streq:
114 # Code from module strftime:
115 # Code from module striconveh:
116 # Code from module string:
117 # Code from module strings:
118 # Code from module sys_file:
119 # Code from module sys_socket:
120 # Code from module sys_stat:
121 # Code from module time:
122 # Code from module time_r:
123 # Code from module unistd:
124 # Code from module unistr/base:
125 # Code from module unistr/u8-mbtouc:
126 # Code from module unistr/u8-mbtouc-unsafe:
127 # Code from module unistr/u8-mbtoucr:
128 # Code from module unistr/u8-prev:
129 # Code from module unistr/u8-uctomb:
130 # Code from module unitypes:
131 # Code from module unused-parameter:
132 # Code from module useless-if-before-free:
133 # Code from module vasnprintf:
134 # Code from module vc-list-files:
135 # Code from module verify:
136 # Code from module version-etc:
137 # Code from module version-etc-fsf:
138 # Code from module vsnprintf:
139 # Code from module warn-on-use:
140 # Code from module warnings:
141 # Code from module wchar:
142 # Code from module write:
143 # Code from module xsize:
146 # This macro should be invoked from ./configure.ac, in the section
147 # "Check for header files, types and library functions".
150 AM_CONDITIONAL([GL_COND_LIBTOOL], [true])
153 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
154 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
155 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
156 m4_pushdef([gl_LIBSOURCES_LIST], [])
157 m4_pushdef([gl_LIBSOURCES_DIR], [])
160 # Code from module alignof:
161 # Code from module alloca-opt:
163 # Code from module announce-gen:
164 # Code from module arg-nonnull:
165 # Code from module arpa_inet:
168 # Code from module autobuild:
169 # Code from module byteswap:
171 # Code from module c++defs:
172 # Code from module c-ctype:
173 # Code from module c-strcase:
174 # Code from module c-strcaseeq:
175 # Code from module canonicalize-lgpl:
177 gl_MODULE_INDICATOR([canonicalize-lgpl])
178 gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name])
179 gl_STDLIB_MODULE_INDICATOR([realpath])
180 # Code from module configmake:
181 # Code from module duplocale:
183 gl_LOCALE_MODULE_INDICATOR([duplocale])
184 # Code from module environ:
186 gl_UNISTD_MODULE_INDICATOR([environ])
187 # Code from module errno:
189 # Code from module extensions:
190 # Code from module float:
192 # Code from module flock:
194 gl_HEADER_SYS_FILE_MODULE_INDICATOR([flock])
195 # Code from module fpieee:
196 # Code from module full-read:
197 # Code from module full-write:
198 # Code from module func:
200 # Code from module gendocs:
201 # Code from module getaddrinfo:
203 gl_NETDB_MODULE_INDICATOR([getaddrinfo])
204 # Code from module gettext-h:
206 AC_SUBST([LTLIBINTL])
207 # Code from module git-version-gen:
208 # Code from module gitlog-to-changelog:
209 # Code from module gnu-web-doc-update:
210 # Code from module gnumakefile:
211 # Autoconf 2.61a.99 and earlier don't support linking a file only
212 # in VPATH builds. But since GNUmakefile is for maintainer use
213 # only, it does not matter if we skip the link with older autoconf.
214 # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
215 # builds, so use a shell variable to bypass this.
216 GNUmakefile=GNUmakefile
217 m4_if(m4_version_compare([2.61a.100],
218 m4_defn([m4_PACKAGE_VERSION])), [1], [],
219 [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
220 [GNUmakefile=$GNUmakefile])])
221 # Code from module gnupload:
222 # Code from module gperf:
223 # Code from module havelib:
224 # Code from module hostent:
226 # Code from module iconv:
228 # Code from module iconv-h:
230 # Code from module iconv_open:
232 # Code from module iconv_open-utf:
233 gl_FUNC_ICONV_OPEN_UTF
234 # Code from module include_next:
235 # Code from module inet_ntop:
237 gl_ARPA_INET_MODULE_INDICATOR([inet_ntop])
238 # Code from module inet_pton:
240 gl_ARPA_INET_MODULE_INDICATOR([inet_pton])
241 # Code from module inline:
243 # Code from module lib-symbol-versions:
245 # Code from module lib-symbol-visibility:
247 # Code from module libunistring:
249 # Code from module localcharset:
251 LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\""
252 AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
253 # Code from module locale:
255 # Code from module lstat:
257 gl_SYS_STAT_MODULE_INDICATOR([lstat])
258 # Code from module maintainer-makefile:
259 AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER],
260 [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])])
261 # Code from module malloc-posix:
263 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
264 # Code from module malloca:
266 # Code from module mbrlen:
268 gl_WCHAR_MODULE_INDICATOR([mbrlen])
269 # Code from module mbrtowc:
271 gl_WCHAR_MODULE_INDICATOR([mbrtowc])
272 # Code from module mbsinit:
274 gl_WCHAR_MODULE_INDICATOR([mbsinit])
275 # Code from module memchr:
277 gl_STRING_MODULE_INDICATOR([memchr])
278 # Code from module multiarch:
280 # Code from module netdb:
282 # Code from module netinet_in:
285 # Code from module pathmax:
287 # Code from module putenv:
289 gl_STDLIB_MODULE_INDICATOR([putenv])
290 # Code from module readlink:
292 gl_UNISTD_MODULE_INDICATOR([readlink])
293 # Code from module safe-read:
295 # Code from module safe-write:
297 # Code from module servent:
299 # Code from module size_max:
301 # Code from module snprintf:
303 gl_STDIO_MODULE_INDICATOR([snprintf])
304 # Code from module socklen:
306 # Code from module ssize_t:
308 # Code from module stat:
310 gl_SYS_STAT_MODULE_INDICATOR([stat])
311 # Code from module stdarg:
313 # Code from module stdbool:
315 # Code from module stddef:
317 # Code from module stdint:
319 # Code from module stdio:
321 # Code from module stdlib:
323 # Code from module strcase:
325 # Code from module streq:
326 # Code from module strftime:
328 # Code from module striconveh:
329 if test $gl_cond_libtool = false; then
330 gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV"
331 gl_libdeps="$gl_libdeps $LIBICONV"
333 # Code from module string:
335 # Code from module strings:
337 # Code from module sys_file:
340 # Code from module sys_socket:
343 # Code from module sys_stat:
346 # Code from module time:
348 # Code from module time_r:
350 gl_TIME_MODULE_INDICATOR([time_r])
351 # Code from module unistd:
353 # Code from module unistr/base:
354 gl_LIBUNISTRING_LIBHEADER([0.9.2], [unistr.h])
355 # Code from module unistr/u8-mbtouc:
356 gl_MODULE_INDICATOR([unistr/u8-mbtouc])
357 gl_LIBUNISTRING_LIBSOURCE([0.9], [unistr/u8-mbtouc.c unistr/u8-mbtouc-aux.c])
358 # Code from module unistr/u8-mbtouc-unsafe:
359 gl_MODULE_INDICATOR([unistr/u8-mbtouc-unsafe])
360 gl_LIBUNISTRING_LIBSOURCE([0.9], [unistr/u8-mbtouc-unsafe.c unistr/u8-mbtouc-unsafe-aux.c])
361 # Code from module unistr/u8-mbtoucr:
362 gl_MODULE_INDICATOR([unistr/u8-mbtoucr])
363 gl_LIBUNISTRING_LIBSOURCE([0.9], [unistr/u8-mbtoucr.c])
364 # Code from module unistr/u8-prev:
365 gl_LIBUNISTRING_LIBSOURCE([0.9], [unistr/u8-prev.c])
366 # Code from module unistr/u8-uctomb:
367 gl_MODULE_INDICATOR([unistr/u8-uctomb])
368 gl_LIBUNISTRING_LIBSOURCE([0.9], [unistr/u8-uctomb.c unistr/u8-uctomb-aux.c])
369 # Code from module unitypes:
370 gl_LIBUNISTRING_LIBHEADER([0.9], [unitypes.h])
371 # Code from module unused-parameter:
372 # Code from module useless-if-before-free:
373 # Code from module vasnprintf:
375 # Code from module vc-list-files:
376 # Code from module verify:
377 # Code from module version-etc:
379 # Code from module version-etc-fsf:
380 # Code from module vsnprintf:
382 gl_STDIO_MODULE_INDICATOR([vsnprintf])
383 # Code from module warn-on-use:
384 # Code from module warnings:
385 AC_SUBST([WARN_CFLAGS])
386 # Code from module wchar:
388 # Code from module write:
390 gl_UNISTD_MODULE_INDICATOR([write])
391 # Code from module xsize:
393 # End of code from modules
394 m4_ifval(gl_LIBSOURCES_LIST, [
395 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
396 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
397 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
398 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
402 m4_if(m4_sysval, [0], [],
403 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
405 m4_popdef([gl_LIBSOURCES_DIR])
406 m4_popdef([gl_LIBSOURCES_LIST])
407 m4_popdef([AC_LIBSOURCES])
408 m4_popdef([AC_REPLACE_FUNCS])
409 m4_popdef([AC_LIBOBJ])
410 AC_CONFIG_COMMANDS_PRE([
413 if test -n "$gl_LIBOBJS"; then
414 # Remove the extension.
415 sed_drop_objext='s/\.o$//;s/\.obj$//'
416 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
417 gl_libobjs="$gl_libobjs $i.$ac_objext"
418 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
421 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
422 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
426 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
427 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
428 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
429 m4_pushdef([gltests_LIBSOURCES_LIST], [])
430 m4_pushdef([gltests_LIBSOURCES_DIR], [])
432 gl_source_base='tests'
434 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
436 AC_SUBST([gltests_WITNESS])
437 gl_module_indicator_condition=$gltests_WITNESS
438 m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
439 m4_popdef([gl_MODULE_INDICATOR_CONDITION])
440 m4_ifval(gltests_LIBSOURCES_LIST, [
441 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
442 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
443 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
444 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
448 m4_if(m4_sysval, [0], [],
449 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
451 m4_popdef([gltests_LIBSOURCES_DIR])
452 m4_popdef([gltests_LIBSOURCES_LIST])
453 m4_popdef([AC_LIBSOURCES])
454 m4_popdef([AC_REPLACE_FUNCS])
455 m4_popdef([AC_LIBOBJ])
456 AC_CONFIG_COMMANDS_PRE([
459 if test -n "$gltests_LIBOBJS"; then
460 # Remove the extension.
461 sed_drop_objext='s/\.o$//;s/\.obj$//'
462 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
463 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
464 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
467 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
468 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
472 # Like AC_LIBOBJ, except that the module name goes
473 # into gl_LIBOBJS instead of into LIBOBJS.
474 AC_DEFUN([gl_LIBOBJ], [
475 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
476 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
479 # Like AC_REPLACE_FUNCS, except that the module name goes
480 # into gl_LIBOBJS instead of into LIBOBJS.
481 AC_DEFUN([gl_REPLACE_FUNCS], [
482 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
483 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
486 # Like AC_LIBSOURCES, except the directory where the source file is
487 # expected is derived from the gnulib-tool parameterization,
488 # and alloca is special cased (for the alloca-opt module).
489 # We could also entirely rely on EXTRA_lib..._SOURCES.
490 AC_DEFUN([gl_LIBSOURCES], [
491 m4_foreach([_gl_NAME], [$1], [
492 m4_if(_gl_NAME, [alloca.c], [], [
493 m4_define([gl_LIBSOURCES_DIR], [lib])
494 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
499 # Like AC_LIBOBJ, except that the module name goes
500 # into gltests_LIBOBJS instead of into LIBOBJS.
501 AC_DEFUN([gltests_LIBOBJ], [
502 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
503 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
506 # Like AC_REPLACE_FUNCS, except that the module name goes
507 # into gltests_LIBOBJS instead of into LIBOBJS.
508 AC_DEFUN([gltests_REPLACE_FUNCS], [
509 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
510 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
513 # Like AC_LIBSOURCES, except the directory where the source file is
514 # expected is derived from the gnulib-tool parameterization,
515 # and alloca is special cased (for the alloca-opt module).
516 # We could also entirely rely on EXTRA_lib..._SOURCES.
517 AC_DEFUN([gltests_LIBSOURCES], [
518 m4_foreach([_gl_NAME], [$1], [
519 m4_if(_gl_NAME, [alloca.c], [], [
520 m4_define([gltests_LIBSOURCES_DIR], [tests])
521 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
526 # This macro records the list of files which have been installed by
527 # gnulib-tool and may be removed by future gnulib-tool invocations.
528 AC_DEFUN([gl_FILE_LIST], [
529 build-aux/announce-gen
530 build-aux/arg-nonnull.h
532 build-aux/config.rpath
534 build-aux/git-version-gen
535 build-aux/gitlog-to-changelog
536 build-aux/gnu-web-doc-update
538 build-aux/unused-parameter.h
539 build-aux/useless-if-before-free
540 build-aux/vc-list-files
541 build-aux/warn-on-use.h
554 lib/canonicalize-lgpl.c
571 lib/iconv_open-aix.gperf
572 lib/iconv_open-hpux.gperf
573 lib/iconv_open-irix.gperf
574 lib/iconv_open-osf.gperf
575 lib/iconv_open-solaris.gperf
580 lib/libunistring.valgrind
635 lib/unistr/u8-mbtouc-aux.c
636 lib/unistr/u8-mbtouc-unsafe-aux.c
637 lib/unistr/u8-mbtouc-unsafe.c
638 lib/unistr/u8-mbtouc.c
639 lib/unistr/u8-mbtoucr.c
641 lib/unistr/u8-uctomb-aux.c
642 lib/unistr/u8-uctomb.c
647 lib/version-etc-fsf.c
655 m4/absolute-header.m4
664 m4/double-slash-root.m4
688 m4/ld-version-script.m4
692 m4/libunistring-base.m4