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 gitlog-to-changelog:
59 # Code from module gnu-web-doc-update:
60 # Code from module gnumakefile:
61 # Code from module gnupload:
62 # Code from module gperf:
63 # Code from module havelib:
64 # Code from module hostent:
65 # Code from module iconv:
66 # Code from module iconv-h:
67 # Code from module iconv_open:
68 # Code from module iconv_open-utf:
69 # Code from module include_next:
70 # Code from module inet_ntop:
71 # Code from module inet_pton:
72 # Code from module inline:
73 # Code from module lib-symbol-versions:
74 # Code from module lib-symbol-visibility:
75 # Code from module libunistring:
76 # Code from module localcharset:
77 # Code from module locale:
78 # Code from module lstat:
79 # Code from module maintainer-makefile:
80 # Code from module malloc-posix:
81 # Code from module malloca:
82 # Code from module mbrlen:
83 # Code from module mbrtowc:
84 # Code from module mbsinit:
85 # Code from module memchr:
86 # Code from module multiarch:
87 # Code from module netdb:
88 # Code from module netinet_in:
89 # Code from module pathmax:
90 # Code from module putenv:
91 # Code from module readlink:
92 # Code from module safe-read:
93 # Code from module safe-write:
94 # Code from module servent:
95 # Code from module size_max:
96 # Code from module snprintf:
97 # Code from module socklen:
98 # Code from module ssize_t:
99 # Code from module stat:
100 # Code from module stdarg:
101 dnl Some compilers (e.g., AIX 5.3 cc) need to be in c99 mode
102 dnl for the builtin va_copy to work. With Autoconf 2.60 or later,
103 dnl AC_PROG_CC_STDC arranges for this. With older Autoconf AC_PROG_CC_STDC
104 dnl shouldn't hurt, though installers are on their own to set c99 mode.
105 AC_REQUIRE([AC_PROG_CC_STDC])
106 # Code from module stdbool:
107 # Code from module stddef:
108 # Code from module stdint:
109 # Code from module stdio:
110 # Code from module stdlib:
111 # Code from module strcase:
112 # Code from module streq:
113 # Code from module strftime:
114 # Code from module striconveh:
115 # Code from module string:
116 # Code from module strings:
117 # Code from module sys_file:
118 # Code from module sys_socket:
119 # Code from module sys_stat:
120 # Code from module time:
121 # Code from module time_r:
122 # Code from module unistd:
123 # Code from module unistr/base:
124 # Code from module unistr/u8-mbtouc:
125 # Code from module unistr/u8-mbtouc-unsafe:
126 # Code from module unistr/u8-mbtoucr:
127 # Code from module unistr/u8-prev:
128 # Code from module unistr/u8-uctomb:
129 # Code from module unitypes:
130 # Code from module unused-parameter:
131 # Code from module useless-if-before-free:
132 # Code from module vasnprintf:
133 # Code from module vc-list-files:
134 # Code from module verify:
135 # Code from module version-etc:
136 # Code from module version-etc-fsf:
137 # Code from module vsnprintf:
138 # Code from module warn-on-use:
139 # Code from module warnings:
140 # Code from module wchar:
141 # Code from module write:
142 # Code from module xsize:
145 # This macro should be invoked from ./configure.ac, in the section
146 # "Check for header files, types and library functions".
149 AM_CONDITIONAL([GL_COND_LIBTOOL], [true])
151 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
152 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
153 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
154 m4_pushdef([gl_LIBSOURCES_LIST], [])
155 m4_pushdef([gl_LIBSOURCES_DIR], [])
158 # Code from module alignof:
159 # Code from module alloca-opt:
161 # Code from module announce-gen:
162 # Code from module arg-nonnull:
163 # Code from module arpa_inet:
166 # Code from module autobuild:
167 # Code from module byteswap:
169 # Code from module c++defs:
170 # Code from module c-ctype:
171 # Code from module c-strcase:
172 # Code from module c-strcaseeq:
173 # Code from module canonicalize-lgpl:
175 gl_MODULE_INDICATOR([canonicalize-lgpl])
176 gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name])
177 gl_STDLIB_MODULE_INDICATOR([realpath])
178 # Code from module configmake:
179 # Code from module duplocale:
181 gl_LOCALE_MODULE_INDICATOR([duplocale])
182 # Code from module environ:
184 gl_UNISTD_MODULE_INDICATOR([environ])
185 # Code from module errno:
187 # Code from module extensions:
188 # Code from module float:
190 # Code from module flock:
192 gl_HEADER_SYS_FILE_MODULE_INDICATOR([flock])
193 # Code from module fpieee:
194 # Code from module full-read:
195 # Code from module full-write:
196 # Code from module func:
198 # Code from module gendocs:
199 # Code from module getaddrinfo:
201 gl_NETDB_MODULE_INDICATOR([getaddrinfo])
202 # Code from module gettext-h:
204 AC_SUBST([LTLIBINTL])
205 # Code from module gitlog-to-changelog:
206 # Code from module gnu-web-doc-update:
207 # Code from module gnumakefile:
208 # Autoconf 2.61a.99 and earlier don't support linking a file only
209 # in VPATH builds. But since GNUmakefile is for maintainer use
210 # only, it does not matter if we skip the link with older autoconf.
211 # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
212 # builds, so use a shell variable to bypass this.
213 GNUmakefile=GNUmakefile
214 m4_if(m4_version_compare([2.61a.100],
215 m4_defn([m4_PACKAGE_VERSION])), [1], [],
216 [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
217 [GNUmakefile=$GNUmakefile])])
218 # Code from module gnupload:
219 # Code from module gperf:
220 # Code from module havelib:
221 # Code from module hostent:
223 # Code from module iconv:
225 # Code from module iconv-h:
227 # Code from module iconv_open:
229 # Code from module iconv_open-utf:
230 gl_FUNC_ICONV_OPEN_UTF
231 # Code from module include_next:
232 # Code from module inet_ntop:
234 gl_ARPA_INET_MODULE_INDICATOR([inet_ntop])
235 # Code from module inet_pton:
237 gl_ARPA_INET_MODULE_INDICATOR([inet_pton])
238 # Code from module inline:
240 # Code from module lib-symbol-versions:
242 # Code from module lib-symbol-visibility:
244 # Code from module libunistring:
246 # Code from module localcharset:
248 LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\""
249 AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
250 # Code from module locale:
252 # Code from module lstat:
254 gl_SYS_STAT_MODULE_INDICATOR([lstat])
255 # Code from module maintainer-makefile:
256 AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER],
257 [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])])
258 # Code from module malloc-posix:
260 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
261 # Code from module malloca:
263 # Code from module mbrlen:
265 gl_WCHAR_MODULE_INDICATOR([mbrlen])
266 # Code from module mbrtowc:
268 gl_WCHAR_MODULE_INDICATOR([mbrtowc])
269 # Code from module mbsinit:
271 gl_WCHAR_MODULE_INDICATOR([mbsinit])
272 # Code from module memchr:
274 gl_STRING_MODULE_INDICATOR([memchr])
275 # Code from module multiarch:
277 # Code from module netdb:
279 # Code from module netinet_in:
282 # Code from module pathmax:
284 # Code from module putenv:
286 gl_STDLIB_MODULE_INDICATOR([putenv])
287 # Code from module readlink:
289 gl_UNISTD_MODULE_INDICATOR([readlink])
290 # Code from module safe-read:
292 # Code from module safe-write:
294 # Code from module servent:
296 # Code from module size_max:
298 # Code from module snprintf:
300 gl_STDIO_MODULE_INDICATOR([snprintf])
301 # Code from module socklen:
303 # Code from module ssize_t:
305 # Code from module stat:
307 gl_SYS_STAT_MODULE_INDICATOR([stat])
308 # Code from module stdarg:
310 # Code from module stdbool:
312 # Code from module stddef:
314 # Code from module stdint:
316 # Code from module stdio:
318 # Code from module stdlib:
320 # Code from module strcase:
322 # Code from module streq:
323 # Code from module strftime:
325 # Code from module striconveh:
326 if test $gl_cond_libtool = false; then
327 gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV"
328 gl_libdeps="$gl_libdeps $LIBICONV"
330 # Code from module string:
332 # Code from module strings:
334 # Code from module sys_file:
337 # Code from module sys_socket:
340 # Code from module sys_stat:
343 # Code from module time:
345 # Code from module time_r:
347 gl_TIME_MODULE_INDICATOR([time_r])
348 # Code from module unistd:
350 # Code from module unistr/base:
351 # Code from module unistr/u8-mbtouc:
352 gl_MODULE_INDICATOR([unistr/u8-mbtouc])
353 # Code from module unistr/u8-mbtouc-unsafe:
354 gl_MODULE_INDICATOR([unistr/u8-mbtouc-unsafe])
355 # Code from module unistr/u8-mbtoucr:
356 gl_MODULE_INDICATOR([unistr/u8-mbtoucr])
357 # Code from module unistr/u8-prev:
358 # Code from module unistr/u8-uctomb:
359 gl_MODULE_INDICATOR([unistr/u8-uctomb])
360 # Code from module unitypes:
361 # Code from module unused-parameter:
362 # Code from module useless-if-before-free:
363 # Code from module vasnprintf:
365 # Code from module vc-list-files:
366 # Code from module verify:
367 # Code from module version-etc:
369 # Code from module version-etc-fsf:
370 # Code from module vsnprintf:
372 gl_STDIO_MODULE_INDICATOR([vsnprintf])
373 # Code from module warn-on-use:
374 # Code from module warnings:
375 AC_SUBST([WARN_CFLAGS])
376 # Code from module wchar:
378 # Code from module write:
380 gl_UNISTD_MODULE_INDICATOR([write])
381 # Code from module xsize:
383 # End of code from modules
384 m4_ifval(gl_LIBSOURCES_LIST, [
385 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
386 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
387 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
388 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
392 m4_if(m4_sysval, [0], [],
393 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
395 m4_popdef([gl_LIBSOURCES_DIR])
396 m4_popdef([gl_LIBSOURCES_LIST])
397 m4_popdef([AC_LIBSOURCES])
398 m4_popdef([AC_REPLACE_FUNCS])
399 m4_popdef([AC_LIBOBJ])
400 AC_CONFIG_COMMANDS_PRE([
403 if test -n "$gl_LIBOBJS"; then
404 # Remove the extension.
405 sed_drop_objext='s/\.o$//;s/\.obj$//'
406 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
407 gl_libobjs="$gl_libobjs $i.$ac_objext"
408 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
411 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
412 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
416 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
417 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
418 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
419 m4_pushdef([gltests_LIBSOURCES_LIST], [])
420 m4_pushdef([gltests_LIBSOURCES_DIR], [])
422 gl_source_base='tests'
423 m4_ifval(gltests_LIBSOURCES_LIST, [
424 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
425 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
426 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
427 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
431 m4_if(m4_sysval, [0], [],
432 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
434 m4_popdef([gltests_LIBSOURCES_DIR])
435 m4_popdef([gltests_LIBSOURCES_LIST])
436 m4_popdef([AC_LIBSOURCES])
437 m4_popdef([AC_REPLACE_FUNCS])
438 m4_popdef([AC_LIBOBJ])
439 AC_CONFIG_COMMANDS_PRE([
442 if test -n "$gltests_LIBOBJS"; then
443 # Remove the extension.
444 sed_drop_objext='s/\.o$//;s/\.obj$//'
445 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
446 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
447 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
450 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
451 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
455 # Like AC_LIBOBJ, except that the module name goes
456 # into gl_LIBOBJS instead of into LIBOBJS.
457 AC_DEFUN([gl_LIBOBJ], [
458 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
459 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
462 # Like AC_REPLACE_FUNCS, except that the module name goes
463 # into gl_LIBOBJS instead of into LIBOBJS.
464 AC_DEFUN([gl_REPLACE_FUNCS], [
465 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
466 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
469 # Like AC_LIBSOURCES, except the directory where the source file is
470 # expected is derived from the gnulib-tool parameterization,
471 # and alloca is special cased (for the alloca-opt module).
472 # We could also entirely rely on EXTRA_lib..._SOURCES.
473 AC_DEFUN([gl_LIBSOURCES], [
474 m4_foreach([_gl_NAME], [$1], [
475 m4_if(_gl_NAME, [alloca.c], [], [
476 m4_define([gl_LIBSOURCES_DIR], [lib])
477 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
482 # Like AC_LIBOBJ, except that the module name goes
483 # into gltests_LIBOBJS instead of into LIBOBJS.
484 AC_DEFUN([gltests_LIBOBJ], [
485 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
486 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
489 # Like AC_REPLACE_FUNCS, except that the module name goes
490 # into gltests_LIBOBJS instead of into LIBOBJS.
491 AC_DEFUN([gltests_REPLACE_FUNCS], [
492 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
493 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
496 # Like AC_LIBSOURCES, except the directory where the source file is
497 # expected is derived from the gnulib-tool parameterization,
498 # and alloca is special cased (for the alloca-opt module).
499 # We could also entirely rely on EXTRA_lib..._SOURCES.
500 AC_DEFUN([gltests_LIBSOURCES], [
501 m4_foreach([_gl_NAME], [$1], [
502 m4_if(_gl_NAME, [alloca.c], [], [
503 m4_define([gltests_LIBSOURCES_DIR], [tests])
504 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
509 # This macro records the list of files which have been installed by
510 # gnulib-tool and may be removed by future gnulib-tool invocations.
511 AC_DEFUN([gl_FILE_LIST], [
512 build-aux/announce-gen
513 build-aux/arg-nonnull.h
515 build-aux/config.rpath
517 build-aux/gitlog-to-changelog
518 build-aux/gnu-web-doc-update
520 build-aux/unused-parameter.h
521 build-aux/useless-if-before-free
522 build-aux/vc-list-files
523 build-aux/warn-on-use.h
536 lib/canonicalize-lgpl.c
553 lib/iconv_open-aix.gperf
554 lib/iconv_open-hpux.gperf
555 lib/iconv_open-irix.gperf
556 lib/iconv_open-osf.gperf
557 lib/iconv_open-solaris.gperf
616 lib/unistr/u8-mbtouc-aux.c
617 lib/unistr/u8-mbtouc-unsafe-aux.c
618 lib/unistr/u8-mbtouc-unsafe.c
619 lib/unistr/u8-mbtouc.c
620 lib/unistr/u8-mbtoucr.c
622 lib/unistr/u8-uctomb-aux.c
623 lib/unistr/u8-uctomb.c
628 lib/version-etc-fsf.c
643 m4/double-slash-root.m4
667 m4/ld-version-script.m4