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])
34 # This macro should be invoked from ./configure.ac, in the section
35 # "Check for header files, types and library functions".
38 AM_CONDITIONAL([GL_COND_LIBTOOL], [true])
40 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
41 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
42 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
43 m4_pushdef([gl_LIBSOURCES_LIST], [])
44 m4_pushdef([gl_LIBSOURCES_DIR], [])
50 gl_MODULE_INDICATOR([canonicalize-lgpl])
53 gl_UNISTD_MODULE_INDICATOR([environ])
57 gl_HEADER_SYS_FILE_MODULE_INDICATOR([flock])
59 gl_UNISTD_MODULE_INDICATOR([getpagesize])
63 gl_FUNC_ICONV_OPEN_UTF
69 LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\""
70 AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
72 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
75 gl_WCHAR_MODULE_INDICATOR([mbrlen])
77 gl_WCHAR_MODULE_INDICATOR([mbrtowc])
79 gl_WCHAR_MODULE_INDICATOR([mbsinit])
81 gl_STRING_MODULE_INDICATOR([memchr])
85 gl_STDLIB_MODULE_INDICATOR([putenv])
87 gl_UNISTD_MODULE_INDICATOR([readlink])
98 if test $gl_cond_libtool = false; then
99 gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV"
100 gl_libdeps="$gl_libdeps $LIBICONV"
109 gl_MODULE_INDICATOR([unistr/u8-mbtouc])
110 gl_MODULE_INDICATOR([unistr/u8-mbtouc-unsafe])
111 gl_MODULE_INDICATOR([unistr/u8-mbtoucr])
112 gl_MODULE_INDICATOR([unistr/u8-uctomb])
115 gl_STDIO_MODULE_INDICATOR([vsnprintf])
118 gl_UNISTD_MODULE_INDICATOR([write])
120 m4_ifval(gl_LIBSOURCES_LIST, [
121 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
122 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
123 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
124 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
128 m4_if(m4_sysval, [0], [],
129 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
131 m4_popdef([gl_LIBSOURCES_DIR])
132 m4_popdef([gl_LIBSOURCES_LIST])
133 m4_popdef([AC_LIBSOURCES])
134 m4_popdef([AC_REPLACE_FUNCS])
135 m4_popdef([AC_LIBOBJ])
136 AC_CONFIG_COMMANDS_PRE([
139 if test -n "$gl_LIBOBJS"; then
140 # Remove the extension.
141 sed_drop_objext='s/\.o$//;s/\.obj$//'
142 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
143 gl_libobjs="$gl_libobjs $i.$ac_objext"
144 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
147 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
148 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
152 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
153 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
154 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
155 m4_pushdef([gltests_LIBSOURCES_LIST], [])
156 m4_pushdef([gltests_LIBSOURCES_DIR], [])
158 gl_source_base='tests'
159 m4_ifval(gltests_LIBSOURCES_LIST, [
160 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
161 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
162 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
163 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
167 m4_if(m4_sysval, [0], [],
168 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
170 m4_popdef([gltests_LIBSOURCES_DIR])
171 m4_popdef([gltests_LIBSOURCES_LIST])
172 m4_popdef([AC_LIBSOURCES])
173 m4_popdef([AC_REPLACE_FUNCS])
174 m4_popdef([AC_LIBOBJ])
175 AC_CONFIG_COMMANDS_PRE([
178 if test -n "$gltests_LIBOBJS"; then
179 # Remove the extension.
180 sed_drop_objext='s/\.o$//;s/\.obj$//'
181 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
182 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
183 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
186 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
187 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
191 # Like AC_LIBOBJ, except that the module name goes
192 # into gl_LIBOBJS instead of into LIBOBJS.
193 AC_DEFUN([gl_LIBOBJ], [
194 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
195 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
198 # Like AC_REPLACE_FUNCS, except that the module name goes
199 # into gl_LIBOBJS instead of into LIBOBJS.
200 AC_DEFUN([gl_REPLACE_FUNCS], [
201 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
202 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
205 # Like AC_LIBSOURCES, except the directory where the source file is
206 # expected is derived from the gnulib-tool parameterization,
207 # and alloca is special cased (for the alloca-opt module).
208 # We could also entirely rely on EXTRA_lib..._SOURCES.
209 AC_DEFUN([gl_LIBSOURCES], [
210 m4_foreach([_gl_NAME], [$1], [
211 m4_if(_gl_NAME, [alloca.c], [], [
212 m4_define([gl_LIBSOURCES_DIR], [lib])
213 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
218 # Like AC_LIBOBJ, except that the module name goes
219 # into gltests_LIBOBJS instead of into LIBOBJS.
220 AC_DEFUN([gltests_LIBOBJ], [
221 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
222 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
225 # Like AC_REPLACE_FUNCS, except that the module name goes
226 # into gltests_LIBOBJS instead of into LIBOBJS.
227 AC_DEFUN([gltests_REPLACE_FUNCS], [
228 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
229 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
232 # Like AC_LIBSOURCES, except the directory where the source file is
233 # expected is derived from the gnulib-tool parameterization,
234 # and alloca is special cased (for the alloca-opt module).
235 # We could also entirely rely on EXTRA_lib..._SOURCES.
236 AC_DEFUN([gltests_LIBSOURCES], [
237 m4_foreach([_gl_NAME], [$1], [
238 m4_if(_gl_NAME, [alloca.c], [], [
239 m4_define([gltests_LIBSOURCES_DIR], [tests])
240 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
245 # This macro records the list of files which have been installed by
246 # gnulib-tool and may be removed by future gnulib-tool invocations.
247 AC_DEFUN([gl_FILE_LIST], [
248 build-aux/config.rpath
249 build-aux/link-warning.h
259 lib/canonicalize-lgpl.c
275 lib/iconv_open-aix.gperf
276 lib/iconv_open-hpux.gperf
277 lib/iconv_open-irix.gperf
278 lib/iconv_open-osf.gperf
325 lib/unistr/u8-mbtouc-aux.c
326 lib/unistr/u8-mbtouc-unsafe-aux.c
327 lib/unistr/u8-mbtouc-unsafe.c
328 lib/unistr/u8-mbtouc.c
329 lib/unistr/u8-mbtoucr.c
331 lib/unistr/u8-uctomb-aux.c
332 lib/unistr/u8-uctomb.c
345 m4/canonicalize-lgpl.m4
365 m4/ld-version-script.m4