Commit | Line | Data |
---|---|---|
f6ea5628 | 1 | # DO NOT EDIT! GENERATED AUTOMATICALLY! |
770d76d7 | 2 | # Copyright (C) 2002-2012 Free Software Foundation, Inc. |
f6ea5628 | 3 | # |
770d76d7 PA |
4 | # This file is free software; you can redistribute it and/or modify |
5 | # it under the terms of the GNU General Public License as published by | |
6 | # the Free Software Foundation; either version 3 of the License, or | |
7 | # (at your option) any later version. | |
8 | # | |
9 | # This file is distributed in the hope that it will be useful, | |
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | # GNU General Public License for more details. | |
13 | # | |
14 | # You should have received a copy of the GNU General Public License | |
15 | # along with this file. If not, see <http://www.gnu.org/licenses/>. | |
16 | # | |
17 | # As a special exception to the GNU General Public License, | |
18 | # this file may be distributed as part of a program that | |
19 | # contains a configuration script generated by Autoconf, under | |
f6ea5628 DJ |
20 | # the same distribution terms as the rest of that program. |
21 | # | |
22 | # Generated by gnulib-tool. | |
23 | # | |
24 | # This file represents the compiled summary of the specification in | |
25 | # gnulib-cache.m4. It lists the computed macro invocations that need | |
26 | # to be invoked from configure.ac. | |
770d76d7 PA |
27 | # In projects that use version control, this file can be treated like |
28 | # other built files. | |
f6ea5628 DJ |
29 | |
30 | ||
31 | # This macro should be invoked from ./configure.ac, in the section | |
32 | # "Checks for programs", right after AC_PROG_CC, and certainly before | |
33 | # any checks for libraries, header files, types and library functions. | |
34 | AC_DEFUN([gl_EARLY], | |
35 | [ | |
36 | m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace | |
37 | m4_pattern_allow([^gl_ES$])dnl a valid locale name | |
38 | m4_pattern_allow([^gl_LIBOBJS$])dnl a variable | |
39 | m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable | |
770d76d7 | 40 | AC_REQUIRE([gl_PROG_AR_RANLIB]) |
8690e634 JK |
41 | # Code from module alloca: |
42 | # Code from module alloca-opt: | |
43 | # Code from module configmake: | |
f434ba03 | 44 | # Code from module extensions: |
f6ea5628 | 45 | AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) |
a512b375 | 46 | # Code from module extern-inline: |
8690e634 JK |
47 | # Code from module fnmatch: |
48 | # Code from module fnmatch-gnu: | |
f434ba03 | 49 | # Code from module include_next: |
55a8c076 | 50 | # Code from module inttypes: |
770d76d7 | 51 | # Code from module inttypes-incomplete: |
8690e634 JK |
52 | # Code from module localcharset: |
53 | # Code from module mbrtowc: | |
54 | # Code from module mbsinit: | |
55 | # Code from module mbsrtowcs: | |
f434ba03 PA |
56 | # Code from module memchr: |
57 | # Code from module memmem: | |
58 | # Code from module memmem-simple: | |
59 | # Code from module multiarch: | |
770d76d7 PA |
60 | # Code from module snippet/arg-nonnull: |
61 | # Code from module snippet/c++defs: | |
62 | # Code from module snippet/warn-on-use: | |
8690e634 | 63 | # Code from module stdbool: |
f434ba03 PA |
64 | # Code from module stddef: |
65 | # Code from module stdint: | |
8690e634 | 66 | # Code from module streq: |
f434ba03 | 67 | # Code from module string: |
8690e634 | 68 | # Code from module strnlen1: |
174e088e | 69 | # Code from module update-copyright: |
8690e634 JK |
70 | # Code from module verify: |
71 | # Code from module wchar: | |
72 | # Code from module wctype-h: | |
f6ea5628 DJ |
73 | ]) |
74 | ||
75 | # This macro should be invoked from ./configure.ac, in the section | |
76 | # "Check for header files, types and library functions". | |
77 | AC_DEFUN([gl_INIT], | |
78 | [ | |
79 | AM_CONDITIONAL([GL_COND_LIBTOOL], [false]) | |
80 | gl_cond_libtool=false | |
81 | gl_libdeps= | |
82 | gl_ltlibdeps= | |
c971b7fa | 83 | gl_m4_base='import/m4' |
f6ea5628 DJ |
84 | m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ])) |
85 | m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS])) | |
86 | m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES])) | |
f434ba03 PA |
87 | m4_pushdef([gl_LIBSOURCES_LIST], []) |
88 | m4_pushdef([gl_LIBSOURCES_DIR], []) | |
89 | gl_COMMON | |
c971b7fa | 90 | gl_source_base='import' |
a512b375 JB |
91 | gl_FUNC_ALLOCA |
92 | gl_CONFIGMAKE_PREP | |
93 | AC_REQUIRE([gl_EXTERN_INLINE]) | |
94 | gl_FUNC_FNMATCH_POSIX | |
95 | if test -n "$FNMATCH_H"; then | |
96 | AC_LIBOBJ([fnmatch]) | |
97 | gl_PREREQ_FNMATCH | |
98 | fi | |
99 | gl_FUNC_FNMATCH_GNU | |
100 | if test -n "$FNMATCH_H"; then | |
101 | AC_LIBOBJ([fnmatch]) | |
102 | gl_PREREQ_FNMATCH | |
103 | fi | |
104 | gl_INTTYPES_H | |
105 | gl_INTTYPES_INCOMPLETE | |
106 | gl_LOCALCHARSET | |
107 | LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(abs_top_builddir)/$gl_source_base\"" | |
108 | AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT]) | |
109 | gl_FUNC_MBRTOWC | |
110 | if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then | |
111 | AC_LIBOBJ([mbrtowc]) | |
112 | gl_PREREQ_MBRTOWC | |
113 | fi | |
114 | gl_WCHAR_MODULE_INDICATOR([mbrtowc]) | |
115 | gl_FUNC_MBSINIT | |
116 | if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then | |
117 | AC_LIBOBJ([mbsinit]) | |
118 | gl_PREREQ_MBSINIT | |
119 | fi | |
120 | gl_WCHAR_MODULE_INDICATOR([mbsinit]) | |
121 | gl_FUNC_MBSRTOWCS | |
122 | if test $HAVE_MBSRTOWCS = 0 || test $REPLACE_MBSRTOWCS = 1; then | |
123 | AC_LIBOBJ([mbsrtowcs]) | |
124 | AC_LIBOBJ([mbsrtowcs-state]) | |
125 | gl_PREREQ_MBSRTOWCS | |
126 | fi | |
127 | gl_WCHAR_MODULE_INDICATOR([mbsrtowcs]) | |
128 | gl_FUNC_MEMCHR | |
129 | if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then | |
130 | AC_LIBOBJ([memchr]) | |
131 | gl_PREREQ_MEMCHR | |
132 | fi | |
133 | gl_STRING_MODULE_INDICATOR([memchr]) | |
134 | gl_FUNC_MEMMEM | |
135 | if test $HAVE_MEMMEM = 0 || test $REPLACE_MEMMEM = 1; then | |
136 | AC_LIBOBJ([memmem]) | |
137 | fi | |
138 | gl_FUNC_MEMMEM_SIMPLE | |
139 | if test $HAVE_MEMMEM = 0 || test $REPLACE_MEMMEM = 1; then | |
140 | AC_LIBOBJ([memmem]) | |
141 | fi | |
142 | gl_STRING_MODULE_INDICATOR([memmem]) | |
143 | gl_MULTIARCH | |
144 | AM_STDBOOL_H | |
145 | gl_STDDEF_H | |
146 | gl_STDINT_H | |
147 | gl_HEADER_STRING_H | |
148 | gl_WCHAR_H | |
149 | gl_WCTYPE_H | |
f434ba03 PA |
150 | # End of code from modules |
151 | m4_ifval(gl_LIBSOURCES_LIST, [ | |
152 | m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ || | |
153 | for gl_file in ]gl_LIBSOURCES_LIST[ ; do | |
154 | if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then | |
155 | echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2 | |
156 | exit 1 | |
157 | fi | |
158 | done])dnl | |
159 | m4_if(m4_sysval, [0], [], | |
160 | [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) | |
161 | ]) | |
162 | m4_popdef([gl_LIBSOURCES_DIR]) | |
163 | m4_popdef([gl_LIBSOURCES_LIST]) | |
f6ea5628 DJ |
164 | m4_popdef([AC_LIBSOURCES]) |
165 | m4_popdef([AC_REPLACE_FUNCS]) | |
166 | m4_popdef([AC_LIBOBJ]) | |
167 | AC_CONFIG_COMMANDS_PRE([ | |
168 | gl_libobjs= | |
169 | gl_ltlibobjs= | |
170 | if test -n "$gl_LIBOBJS"; then | |
171 | # Remove the extension. | |
172 | sed_drop_objext='s/\.o$//;s/\.obj$//' | |
f434ba03 | 173 | for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do |
f6ea5628 DJ |
174 | gl_libobjs="$gl_libobjs $i.$ac_objext" |
175 | gl_ltlibobjs="$gl_ltlibobjs $i.lo" | |
176 | done | |
177 | fi | |
178 | AC_SUBST([gl_LIBOBJS], [$gl_libobjs]) | |
179 | AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs]) | |
180 | ]) | |
181 | gltests_libdeps= | |
182 | gltests_ltlibdeps= | |
183 | m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ])) | |
184 | m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS])) | |
185 | m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES])) | |
f434ba03 PA |
186 | m4_pushdef([gltests_LIBSOURCES_LIST], []) |
187 | m4_pushdef([gltests_LIBSOURCES_DIR], []) | |
188 | gl_COMMON | |
f6ea5628 | 189 | gl_source_base='tests' |
f434ba03 PA |
190 | changequote(,)dnl |
191 | gltests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS | |
192 | changequote([, ])dnl | |
193 | AC_SUBST([gltests_WITNESS]) | |
194 | gl_module_indicator_condition=$gltests_WITNESS | |
195 | m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition]) | |
196 | m4_popdef([gl_MODULE_INDICATOR_CONDITION]) | |
197 | m4_ifval(gltests_LIBSOURCES_LIST, [ | |
198 | m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ || | |
199 | for gl_file in ]gltests_LIBSOURCES_LIST[ ; do | |
200 | if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then | |
201 | echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2 | |
202 | exit 1 | |
203 | fi | |
204 | done])dnl | |
205 | m4_if(m4_sysval, [0], [], | |
206 | [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) | |
207 | ]) | |
208 | m4_popdef([gltests_LIBSOURCES_DIR]) | |
209 | m4_popdef([gltests_LIBSOURCES_LIST]) | |
f6ea5628 DJ |
210 | m4_popdef([AC_LIBSOURCES]) |
211 | m4_popdef([AC_REPLACE_FUNCS]) | |
212 | m4_popdef([AC_LIBOBJ]) | |
213 | AC_CONFIG_COMMANDS_PRE([ | |
214 | gltests_libobjs= | |
215 | gltests_ltlibobjs= | |
216 | if test -n "$gltests_LIBOBJS"; then | |
217 | # Remove the extension. | |
218 | sed_drop_objext='s/\.o$//;s/\.obj$//' | |
f434ba03 | 219 | for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do |
f6ea5628 DJ |
220 | gltests_libobjs="$gltests_libobjs $i.$ac_objext" |
221 | gltests_ltlibobjs="$gltests_ltlibobjs $i.lo" | |
222 | done | |
223 | fi | |
224 | AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs]) | |
225 | AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs]) | |
226 | ]) | |
227 | LIBGNU_LIBDEPS="$gl_libdeps" | |
228 | AC_SUBST([LIBGNU_LIBDEPS]) | |
229 | LIBGNU_LTLIBDEPS="$gl_ltlibdeps" | |
230 | AC_SUBST([LIBGNU_LTLIBDEPS]) | |
231 | ]) | |
232 | ||
233 | # Like AC_LIBOBJ, except that the module name goes | |
234 | # into gl_LIBOBJS instead of into LIBOBJS. | |
235 | AC_DEFUN([gl_LIBOBJ], [ | |
236 | AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl | |
237 | gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext" | |
238 | ]) | |
239 | ||
f6ea5628 DJ |
240 | # Like AC_REPLACE_FUNCS, except that the module name goes |
241 | # into gl_LIBOBJS instead of into LIBOBJS. | |
242 | AC_DEFUN([gl_REPLACE_FUNCS], [ | |
243 | m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl | |
244 | AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)]) | |
245 | ]) | |
246 | ||
247 | # Like AC_LIBSOURCES, except the directory where the source file is | |
f434ba03 | 248 | # expected is derived from the gnulib-tool parameterization, |
f6ea5628 DJ |
249 | # and alloca is special cased (for the alloca-opt module). |
250 | # We could also entirely rely on EXTRA_lib..._SOURCES. | |
251 | AC_DEFUN([gl_LIBSOURCES], [ | |
252 | m4_foreach([_gl_NAME], [$1], [ | |
253 | m4_if(_gl_NAME, [alloca.c], [], [ | |
c971b7fa | 254 | m4_define([gl_LIBSOURCES_DIR], [import]) |
f434ba03 | 255 | m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ]) |
f6ea5628 DJ |
256 | ]) |
257 | ]) | |
258 | ]) | |
259 | ||
260 | # Like AC_LIBOBJ, except that the module name goes | |
261 | # into gltests_LIBOBJS instead of into LIBOBJS. | |
262 | AC_DEFUN([gltests_LIBOBJ], [ | |
263 | AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl | |
264 | gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext" | |
265 | ]) | |
266 | ||
f6ea5628 DJ |
267 | # Like AC_REPLACE_FUNCS, except that the module name goes |
268 | # into gltests_LIBOBJS instead of into LIBOBJS. | |
269 | AC_DEFUN([gltests_REPLACE_FUNCS], [ | |
270 | m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl | |
271 | AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)]) | |
272 | ]) | |
273 | ||
274 | # Like AC_LIBSOURCES, except the directory where the source file is | |
f434ba03 | 275 | # expected is derived from the gnulib-tool parameterization, |
f6ea5628 DJ |
276 | # and alloca is special cased (for the alloca-opt module). |
277 | # We could also entirely rely on EXTRA_lib..._SOURCES. | |
278 | AC_DEFUN([gltests_LIBSOURCES], [ | |
279 | m4_foreach([_gl_NAME], [$1], [ | |
280 | m4_if(_gl_NAME, [alloca.c], [], [ | |
f434ba03 PA |
281 | m4_define([gltests_LIBSOURCES_DIR], [tests]) |
282 | m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ]) | |
f6ea5628 DJ |
283 | ]) |
284 | ]) | |
285 | ]) | |
286 | ||
287 | # This macro records the list of files which have been installed by | |
288 | # gnulib-tool and may be removed by future gnulib-tool invocations. | |
289 | AC_DEFUN([gl_FILE_LIST], [ | |
770d76d7 PA |
290 | build-aux/snippet/arg-nonnull.h |
291 | build-aux/snippet/c++defs.h | |
292 | build-aux/snippet/warn-on-use.h | |
174e088e | 293 | build-aux/update-copyright |
8690e634 JK |
294 | lib/alloca.c |
295 | lib/alloca.in.h | |
296 | lib/config.charset | |
297 | lib/fnmatch.c | |
298 | lib/fnmatch.in.h | |
299 | lib/fnmatch_loop.c | |
55a8c076 | 300 | lib/inttypes.in.h |
8690e634 JK |
301 | lib/localcharset.c |
302 | lib/localcharset.h | |
303 | lib/mbrtowc.c | |
304 | lib/mbsinit.c | |
305 | lib/mbsrtowcs-impl.h | |
306 | lib/mbsrtowcs-state.c | |
307 | lib/mbsrtowcs.c | |
f6ea5628 | 308 | lib/memchr.c |
f434ba03 | 309 | lib/memchr.valgrind |
f6ea5628 | 310 | lib/memmem.c |
8690e634 JK |
311 | lib/ref-add.sin |
312 | lib/ref-del.sin | |
313 | lib/stdbool.in.h | |
f434ba03 | 314 | lib/stddef.in.h |
f6ea5628 DJ |
315 | lib/stdint.in.h |
316 | lib/str-two-way.h | |
8690e634 | 317 | lib/streq.h |
f6ea5628 | 318 | lib/string.in.h |
8690e634 JK |
319 | lib/strnlen1.c |
320 | lib/strnlen1.h | |
321 | lib/verify.h | |
322 | lib/wchar.in.h | |
a512b375 | 323 | lib/wctype-h.c |
8690e634 | 324 | lib/wctype.in.h |
f434ba03 | 325 | m4/00gnulib.m4 |
8690e634 JK |
326 | m4/alloca.m4 |
327 | m4/codeset.m4 | |
328 | m4/configmake.m4 | |
f6ea5628 | 329 | m4/extensions.m4 |
a512b375 | 330 | m4/extern-inline.m4 |
8690e634 JK |
331 | m4/fcntl-o.m4 |
332 | m4/fnmatch.m4 | |
333 | m4/glibc21.m4 | |
f6ea5628 DJ |
334 | m4/gnulib-common.m4 |
335 | m4/include_next.m4 | |
55a8c076 YQ |
336 | m4/inttypes-pri.m4 |
337 | m4/inttypes.m4 | |
8690e634 JK |
338 | m4/localcharset.m4 |
339 | m4/locale-fr.m4 | |
340 | m4/locale-ja.m4 | |
341 | m4/locale-zh.m4 | |
f6ea5628 | 342 | m4/longlong.m4 |
8690e634 JK |
343 | m4/mbrtowc.m4 |
344 | m4/mbsinit.m4 | |
345 | m4/mbsrtowcs.m4 | |
346 | m4/mbstate_t.m4 | |
f6ea5628 | 347 | m4/memchr.m4 |
f6ea5628 | 348 | m4/memmem.m4 |
f434ba03 PA |
349 | m4/mmap-anon.m4 |
350 | m4/multiarch.m4 | |
8690e634 | 351 | m4/stdbool.m4 |
f434ba03 | 352 | m4/stddef_h.m4 |
f6ea5628 DJ |
353 | m4/stdint.m4 |
354 | m4/string_h.m4 | |
f434ba03 | 355 | m4/warn-on-use.m4 |
8690e634 | 356 | m4/wchar_h.m4 |
f434ba03 | 357 | m4/wchar_t.m4 |
8690e634 JK |
358 | m4/wctype_h.m4 |
359 | m4/wint_t.m4 | |
f6ea5628 | 360 | ]) |