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], [])
52 gl_MODULE_INDICATOR([canonicalize-lgpl])
53 gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name])
54 gl_STDLIB_MODULE_INDICATOR([realpath])
56 gl_UNISTD_MODULE_INDICATOR([environ])
60 gl_HEADER_SYS_FILE_MODULE_INDICATOR([flock])
62 gl_UNISTD_MODULE_INDICATOR([getpagesize])
66 gl_FUNC_ICONV_OPEN_UTF
68 gl_ARPA_INET_MODULE_INDICATOR([inet_ntop])
70 gl_ARPA_INET_MODULE_INDICATOR([inet_pton])
76 LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\""
77 AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
79 gl_SYS_STAT_MODULE_INDICATOR([lstat])
81 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
84 gl_WCHAR_MODULE_INDICATOR([mbrlen])
86 gl_WCHAR_MODULE_INDICATOR([mbrtowc])
88 gl_WCHAR_MODULE_INDICATOR([mbsinit])
90 gl_STRING_MODULE_INDICATOR([memchr])
96 gl_STDLIB_MODULE_INDICATOR([putenv])
98 gl_UNISTD_MODULE_INDICATOR([readlink])
105 gl_SYS_STAT_MODULE_INDICATOR([stat])
113 if test $gl_cond_libtool = false; then
114 gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV"
115 gl_libdeps="$gl_libdeps $LIBICONV"
128 gl_MODULE_INDICATOR([unistr/u8-mbtouc])
129 gl_MODULE_INDICATOR([unistr/u8-mbtouc-unsafe])
130 gl_MODULE_INDICATOR([unistr/u8-mbtoucr])
131 gl_MODULE_INDICATOR([unistr/u8-uctomb])
134 gl_STDIO_MODULE_INDICATOR([vsnprintf])
137 gl_UNISTD_MODULE_INDICATOR([write])
139 m4_ifval(gl_LIBSOURCES_LIST, [
140 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
141 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
142 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
143 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
147 m4_if(m4_sysval, [0], [],
148 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
150 m4_popdef([gl_LIBSOURCES_DIR])
151 m4_popdef([gl_LIBSOURCES_LIST])
152 m4_popdef([AC_LIBSOURCES])
153 m4_popdef([AC_REPLACE_FUNCS])
154 m4_popdef([AC_LIBOBJ])
155 AC_CONFIG_COMMANDS_PRE([
158 if test -n "$gl_LIBOBJS"; then
159 # Remove the extension.
160 sed_drop_objext='s/\.o$//;s/\.obj$//'
161 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
162 gl_libobjs="$gl_libobjs $i.$ac_objext"
163 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
166 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
167 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
171 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
172 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
173 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
174 m4_pushdef([gltests_LIBSOURCES_LIST], [])
175 m4_pushdef([gltests_LIBSOURCES_DIR], [])
177 gl_source_base='tests'
178 m4_ifval(gltests_LIBSOURCES_LIST, [
179 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
180 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
181 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
182 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
186 m4_if(m4_sysval, [0], [],
187 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
189 m4_popdef([gltests_LIBSOURCES_DIR])
190 m4_popdef([gltests_LIBSOURCES_LIST])
191 m4_popdef([AC_LIBSOURCES])
192 m4_popdef([AC_REPLACE_FUNCS])
193 m4_popdef([AC_LIBOBJ])
194 AC_CONFIG_COMMANDS_PRE([
197 if test -n "$gltests_LIBOBJS"; then
198 # Remove the extension.
199 sed_drop_objext='s/\.o$//;s/\.obj$//'
200 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
201 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
202 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
205 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
206 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
210 # Like AC_LIBOBJ, except that the module name goes
211 # into gl_LIBOBJS instead of into LIBOBJS.
212 AC_DEFUN([gl_LIBOBJ], [
213 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
214 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
217 # Like AC_REPLACE_FUNCS, except that the module name goes
218 # into gl_LIBOBJS instead of into LIBOBJS.
219 AC_DEFUN([gl_REPLACE_FUNCS], [
220 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
221 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
224 # Like AC_LIBSOURCES, except the directory where the source file is
225 # expected is derived from the gnulib-tool parameterization,
226 # and alloca is special cased (for the alloca-opt module).
227 # We could also entirely rely on EXTRA_lib..._SOURCES.
228 AC_DEFUN([gl_LIBSOURCES], [
229 m4_foreach([_gl_NAME], [$1], [
230 m4_if(_gl_NAME, [alloca.c], [], [
231 m4_define([gl_LIBSOURCES_DIR], [lib])
232 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
237 # Like AC_LIBOBJ, except that the module name goes
238 # into gltests_LIBOBJS instead of into LIBOBJS.
239 AC_DEFUN([gltests_LIBOBJ], [
240 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
241 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
244 # Like AC_REPLACE_FUNCS, except that the module name goes
245 # into gltests_LIBOBJS instead of into LIBOBJS.
246 AC_DEFUN([gltests_REPLACE_FUNCS], [
247 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
248 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
251 # Like AC_LIBSOURCES, except the directory where the source file is
252 # expected is derived from the gnulib-tool parameterization,
253 # and alloca is special cased (for the alloca-opt module).
254 # We could also entirely rely on EXTRA_lib..._SOURCES.
255 AC_DEFUN([gltests_LIBSOURCES], [
256 m4_foreach([_gl_NAME], [$1], [
257 m4_if(_gl_NAME, [alloca.c], [], [
258 m4_define([gltests_LIBSOURCES_DIR], [tests])
259 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
264 # This macro records the list of files which have been installed by
265 # gnulib-tool and may be removed by future gnulib-tool invocations.
266 AC_DEFUN([gl_FILE_LIST], [
267 build-aux/config.rpath
268 build-aux/link-warning.h
280 lib/canonicalize-lgpl.c
294 lib/iconv_open-aix.gperf
295 lib/iconv_open-hpux.gperf
296 lib/iconv_open-irix.gperf
297 lib/iconv_open-osf.gperf
298 lib/iconv_open-solaris.gperf
353 lib/unistr/u8-mbtouc-aux.c
354 lib/unistr/u8-mbtouc-unsafe-aux.c
355 lib/unistr/u8-mbtouc-unsafe.c
356 lib/unistr/u8-mbtouc.c
357 lib/unistr/u8-mbtoucr.c
359 lib/unistr/u8-uctomb-aux.c
360 lib/unistr/u8-uctomb.c
377 m4/double-slash-root.m4
398 m4/ld-version-script.m4