1 # DO NOT EDIT! GENERATED AUTOMATICALLY!
2 # Copyright (C) 2002-2009 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])
30 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
31 AC_REQUIRE([gl_FP_IEEE])
32 dnl Some compilers (e.g., AIX 5.3 cc) need to be in c99 mode
33 dnl for the builtin va_copy to work. With Autoconf 2.60 or later,
34 dnl AC_PROG_CC_STDC arranges for this. With older Autoconf AC_PROG_CC_STDC
35 dnl shouldn't hurt, though installers are on their own to set c99 mode.
36 AC_REQUIRE([AC_PROG_CC_STDC])
39 # This macro should be invoked from ./configure.ac, in the section
40 # "Check for header files, types and library functions".
43 AM_CONDITIONAL([GL_COND_LIBTOOL], [true])
45 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
46 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
47 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
48 m4_pushdef([gl_LIBSOURCES_LIST], [])
49 m4_pushdef([gl_LIBSOURCES_DIR], [])
57 gl_MODULE_INDICATOR([canonicalize-lgpl])
58 gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name])
59 gl_STDLIB_MODULE_INDICATOR([realpath])
61 gl_LOCALE_MODULE_INDICATOR([duplocale])
63 gl_UNISTD_MODULE_INDICATOR([environ])
67 gl_HEADER_SYS_FILE_MODULE_INDICATOR([flock])
70 # Autoconf 2.61a.99 and earlier don't support linking a file only
71 # in VPATH builds. But since GNUmakefile is for maintainer use
72 # only, it does not matter if we skip the link with older autoconf.
73 # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
74 # builds, so use a shell variable to bypass this.
75 GNUmakefile=GNUmakefile
76 m4_if(m4_version_compare([2.61a.100],
77 m4_defn([m4_PACKAGE_VERSION])), [1], [],
78 [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
79 [GNUmakefile=$GNUmakefile])])
83 gl_FUNC_ICONV_OPEN_UTF
85 gl_ARPA_INET_MODULE_INDICATOR([inet_ntop])
87 gl_ARPA_INET_MODULE_INDICATOR([inet_pton])
93 LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\""
94 AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
97 gl_SYS_STAT_MODULE_INDICATOR([lstat])
99 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
102 gl_WCHAR_MODULE_INDICATOR([mbrlen])
104 gl_WCHAR_MODULE_INDICATOR([mbrtowc])
106 gl_WCHAR_MODULE_INDICATOR([mbsinit])
108 gl_STRING_MODULE_INDICATOR([memchr])
114 gl_STDLIB_MODULE_INDICATOR([putenv])
116 gl_UNISTD_MODULE_INDICATOR([readlink])
123 gl_SYS_STAT_MODULE_INDICATOR([stat])
132 if test $gl_cond_libtool = false; then
133 gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV"
134 gl_libdeps="$gl_libdeps $LIBICONV"
147 gl_MODULE_INDICATOR([unistr/u8-mbtouc])
148 gl_MODULE_INDICATOR([unistr/u8-mbtouc-unsafe])
149 gl_MODULE_INDICATOR([unistr/u8-mbtoucr])
150 gl_MODULE_INDICATOR([unistr/u8-uctomb])
154 gl_STDIO_MODULE_INDICATOR([vsnprintf])
155 AC_SUBST([WARN_CFLAGS])
158 gl_UNISTD_MODULE_INDICATOR([write])
160 m4_ifval(gl_LIBSOURCES_LIST, [
161 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
162 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
163 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
164 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
168 m4_if(m4_sysval, [0], [],
169 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
171 m4_popdef([gl_LIBSOURCES_DIR])
172 m4_popdef([gl_LIBSOURCES_LIST])
173 m4_popdef([AC_LIBSOURCES])
174 m4_popdef([AC_REPLACE_FUNCS])
175 m4_popdef([AC_LIBOBJ])
176 AC_CONFIG_COMMANDS_PRE([
179 if test -n "$gl_LIBOBJS"; then
180 # Remove the extension.
181 sed_drop_objext='s/\.o$//;s/\.obj$//'
182 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
183 gl_libobjs="$gl_libobjs $i.$ac_objext"
184 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
187 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
188 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
192 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
193 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
194 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
195 m4_pushdef([gltests_LIBSOURCES_LIST], [])
196 m4_pushdef([gltests_LIBSOURCES_DIR], [])
198 gl_source_base='tests'
199 m4_ifval(gltests_LIBSOURCES_LIST, [
200 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
201 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
202 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
203 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
207 m4_if(m4_sysval, [0], [],
208 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
210 m4_popdef([gltests_LIBSOURCES_DIR])
211 m4_popdef([gltests_LIBSOURCES_LIST])
212 m4_popdef([AC_LIBSOURCES])
213 m4_popdef([AC_REPLACE_FUNCS])
214 m4_popdef([AC_LIBOBJ])
215 AC_CONFIG_COMMANDS_PRE([
218 if test -n "$gltests_LIBOBJS"; then
219 # Remove the extension.
220 sed_drop_objext='s/\.o$//;s/\.obj$//'
221 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
222 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
223 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
226 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
227 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
231 # Like AC_LIBOBJ, except that the module name goes
232 # into gl_LIBOBJS instead of into LIBOBJS.
233 AC_DEFUN([gl_LIBOBJ], [
234 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
235 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
238 # Like AC_REPLACE_FUNCS, except that the module name goes
239 # into gl_LIBOBJS instead of into LIBOBJS.
240 AC_DEFUN([gl_REPLACE_FUNCS], [
241 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
242 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
245 # Like AC_LIBSOURCES, except the directory where the source file is
246 # expected is derived from the gnulib-tool parameterization,
247 # and alloca is special cased (for the alloca-opt module).
248 # We could also entirely rely on EXTRA_lib..._SOURCES.
249 AC_DEFUN([gl_LIBSOURCES], [
250 m4_foreach([_gl_NAME], [$1], [
251 m4_if(_gl_NAME, [alloca.c], [], [
252 m4_define([gl_LIBSOURCES_DIR], [lib])
253 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
258 # Like AC_LIBOBJ, except that the module name goes
259 # into gltests_LIBOBJS instead of into LIBOBJS.
260 AC_DEFUN([gltests_LIBOBJ], [
261 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
262 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
265 # Like AC_REPLACE_FUNCS, except that the module name goes
266 # into gltests_LIBOBJS instead of into LIBOBJS.
267 AC_DEFUN([gltests_REPLACE_FUNCS], [
268 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
269 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
272 # Like AC_LIBSOURCES, except the directory where the source file is
273 # expected is derived from the gnulib-tool parameterization,
274 # and alloca is special cased (for the alloca-opt module).
275 # We could also entirely rely on EXTRA_lib..._SOURCES.
276 AC_DEFUN([gltests_LIBSOURCES], [
277 m4_foreach([_gl_NAME], [$1], [
278 m4_if(_gl_NAME, [alloca.c], [], [
279 m4_define([gltests_LIBSOURCES_DIR], [tests])
280 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
285 # This macro records the list of files which have been installed by
286 # gnulib-tool and may be removed by future gnulib-tool invocations.
287 AC_DEFUN([gl_FILE_LIST], [
288 build-aux/announce-gen
289 build-aux/config.rpath
291 build-aux/gitlog-to-changelog
292 build-aux/gnu-web-doc-update
294 build-aux/link-warning.h
295 build-aux/useless-if-before-free
296 build-aux/vc-list-files
309 lib/canonicalize-lgpl.c
324 lib/iconv_open-aix.gperf
325 lib/iconv_open-hpux.gperf
326 lib/iconv_open-irix.gperf
327 lib/iconv_open-osf.gperf
328 lib/iconv_open-solaris.gperf
385 lib/unistr/u8-mbtouc-aux.c
386 lib/unistr/u8-mbtouc-unsafe-aux.c
387 lib/unistr/u8-mbtouc-unsafe.c
388 lib/unistr/u8-mbtouc.c
389 lib/unistr/u8-mbtoucr.c
391 lib/unistr/u8-uctomb-aux.c
392 lib/unistr/u8-uctomb.c
397 lib/version-etc-fsf.c
412 m4/double-slash-root.m4
433 m4/ld-version-script.m4