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.in, 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.in, 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])
55 gl_HEADER_SYS_FILE_MODULE_INDICATOR([flock])
59 gl_FUNC_ICONV_OPEN_UTF
64 LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\""
65 AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
67 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
70 gl_WCHAR_MODULE_INDICATOR([mbrlen])
72 gl_WCHAR_MODULE_INDICATOR([mbrtowc])
74 gl_WCHAR_MODULE_INDICATOR([mbsinit])
78 gl_STDLIB_MODULE_INDICATOR([putenv])
80 gl_UNISTD_MODULE_INDICATOR([readlink])
89 if test $gl_cond_libtool = false; then
90 gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV"
91 gl_libdeps="$gl_libdeps $LIBICONV"
100 gl_MODULE_INDICATOR([unistr/u8-mbtouc])
101 gl_MODULE_INDICATOR([unistr/u8-mbtouc-unsafe])
102 gl_MODULE_INDICATOR([unistr/u8-mbtoucr])
103 gl_MODULE_INDICATOR([unistr/u8-uctomb])
106 gl_UNISTD_MODULE_INDICATOR([write])
107 m4_ifval(gl_LIBSOURCES_LIST, [
108 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
109 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
110 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
111 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
115 m4_if(m4_sysval, [0], [],
116 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
118 m4_popdef([gl_LIBSOURCES_DIR])
119 m4_popdef([gl_LIBSOURCES_LIST])
120 m4_popdef([AC_LIBSOURCES])
121 m4_popdef([AC_REPLACE_FUNCS])
122 m4_popdef([AC_LIBOBJ])
123 AC_CONFIG_COMMANDS_PRE([
126 if test -n "$gl_LIBOBJS"; then
127 # Remove the extension.
128 sed_drop_objext='s/\.o$//;s/\.obj$//'
129 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
130 gl_libobjs="$gl_libobjs $i.$ac_objext"
131 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
134 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
135 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
139 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
140 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
141 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
142 m4_pushdef([gltests_LIBSOURCES_LIST], [])
143 m4_pushdef([gltests_LIBSOURCES_DIR], [])
145 gl_source_base='tests'
146 m4_ifval(gltests_LIBSOURCES_LIST, [
147 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
148 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
149 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
150 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
154 m4_if(m4_sysval, [0], [],
155 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
157 m4_popdef([gltests_LIBSOURCES_DIR])
158 m4_popdef([gltests_LIBSOURCES_LIST])
159 m4_popdef([AC_LIBSOURCES])
160 m4_popdef([AC_REPLACE_FUNCS])
161 m4_popdef([AC_LIBOBJ])
162 AC_CONFIG_COMMANDS_PRE([
165 if test -n "$gltests_LIBOBJS"; then
166 # Remove the extension.
167 sed_drop_objext='s/\.o$//;s/\.obj$//'
168 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
169 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
170 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
173 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
174 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
178 # Like AC_LIBOBJ, except that the module name goes
179 # into gl_LIBOBJS instead of into LIBOBJS.
180 AC_DEFUN([gl_LIBOBJ], [
181 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
182 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
185 # Like AC_REPLACE_FUNCS, except that the module name goes
186 # into gl_LIBOBJS instead of into LIBOBJS.
187 AC_DEFUN([gl_REPLACE_FUNCS], [
188 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
189 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
192 # Like AC_LIBSOURCES, except the directory where the source file is
193 # expected is derived from the gnulib-tool parameterization,
194 # and alloca is special cased (for the alloca-opt module).
195 # We could also entirely rely on EXTRA_lib..._SOURCES.
196 AC_DEFUN([gl_LIBSOURCES], [
197 m4_foreach([_gl_NAME], [$1], [
198 m4_if(_gl_NAME, [alloca.c], [], [
199 m4_define([gl_LIBSOURCES_DIR], [lib])
200 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
205 # Like AC_LIBOBJ, except that the module name goes
206 # into gltests_LIBOBJS instead of into LIBOBJS.
207 AC_DEFUN([gltests_LIBOBJ], [
208 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
209 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
212 # Like AC_REPLACE_FUNCS, except that the module name goes
213 # into gltests_LIBOBJS instead of into LIBOBJS.
214 AC_DEFUN([gltests_REPLACE_FUNCS], [
215 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
216 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
219 # Like AC_LIBSOURCES, except the directory where the source file is
220 # expected is derived from the gnulib-tool parameterization,
221 # and alloca is special cased (for the alloca-opt module).
222 # We could also entirely rely on EXTRA_lib..._SOURCES.
223 AC_DEFUN([gltests_LIBSOURCES], [
224 m4_foreach([_gl_NAME], [$1], [
225 m4_if(_gl_NAME, [alloca.c], [], [
226 m4_define([gltests_LIBSOURCES_DIR], [tests])
227 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
232 # This macro records the list of files which have been installed by
233 # gnulib-tool and may be removed by future gnulib-tool invocations.
234 AC_DEFUN([gl_FILE_LIST], [
235 build-aux/config.rpath
236 build-aux/link-warning.h
245 lib/canonicalize-lgpl.c
257 lib/iconv_open-aix.gperf
258 lib/iconv_open-hpux.gperf
259 lib/iconv_open-irix.gperf
260 lib/iconv_open-osf.gperf
298 lib/unistr/u8-mbtouc-aux.c
299 lib/unistr/u8-mbtouc-unsafe-aux.c
300 lib/unistr/u8-mbtouc-unsafe.c
301 lib/unistr/u8-mbtouc.c
302 lib/unistr/u8-mbtoucr.c
304 lib/unistr/u8-uctomb-aux.c
305 lib/unistr/u8-uctomb.c
314 m4/canonicalize-lgpl.m4