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: | |
98399780 | 43 | # Code from module canonicalize-lgpl: |
6a29c58e | 44 | # Code from module chdir: |
8690e634 | 45 | # Code from module configmake: |
e26b6bb0 | 46 | # Code from module dirent: |
18848e28 | 47 | # Code from module dirfd: |
6a29c58e | 48 | # Code from module dirname-lgpl: |
2196f55f | 49 | # Code from module dosname: |
6a29c58e | 50 | # Code from module double-slash-root: |
18848e28 | 51 | # Code from module errno: |
f434ba03 | 52 | # Code from module extensions: |
f6ea5628 | 53 | AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) |
a512b375 | 54 | # Code from module extern-inline: |
88b48903 | 55 | # Code from module float: |
8690e634 JK |
56 | # Code from module fnmatch: |
57 | # Code from module fnmatch-gnu: | |
88b48903 WN |
58 | # Code from module fpieee: |
59 | AC_REQUIRE([gl_FP_IEEE]) | |
60 | # Code from module fpucw: | |
61 | # Code from module frexp: | |
62 | # Code from module frexpl: | |
f434ba03 | 63 | # Code from module include_next: |
55a8c076 | 64 | # Code from module inttypes: |
770d76d7 | 65 | # Code from module inttypes-incomplete: |
88b48903 WN |
66 | # Code from module isnand-nolibm: |
67 | # Code from module isnanl-nolibm: | |
2196f55f YQ |
68 | # Code from module largefile: |
69 | AC_REQUIRE([AC_SYS_LARGEFILE]) | |
8690e634 | 70 | # Code from module localcharset: |
f45c62c4 | 71 | # Code from module lstat: |
6a29c58e | 72 | # Code from module malloc-posix: |
98399780 | 73 | # Code from module malloca: |
88b48903 | 74 | # Code from module math: |
8690e634 JK |
75 | # Code from module mbrtowc: |
76 | # Code from module mbsinit: | |
77 | # Code from module mbsrtowcs: | |
f434ba03 PA |
78 | # Code from module memchr: |
79 | # Code from module memmem: | |
80 | # Code from module memmem-simple: | |
81 | # Code from module multiarch: | |
98399780 | 82 | # Code from module nocrash: |
38ec2207 | 83 | # Code from module pathmax: |
2196f55f | 84 | # Code from module readlink: |
6a29c58e YQ |
85 | # Code from module rename: |
86 | # Code from module rmdir: | |
87 | # Code from module same-inode: | |
98399780 | 88 | # Code from module snippet/_Noreturn: |
770d76d7 PA |
89 | # Code from module snippet/arg-nonnull: |
90 | # Code from module snippet/c++defs: | |
91 | # Code from module snippet/warn-on-use: | |
8839a007 | 92 | # Code from module ssize_t: |
2196f55f | 93 | # Code from module stat: |
8690e634 | 94 | # Code from module stdbool: |
f434ba03 PA |
95 | # Code from module stddef: |
96 | # Code from module stdint: | |
6a29c58e | 97 | # Code from module stdio: |
98399780 | 98 | # Code from module stdlib: |
8690e634 | 99 | # Code from module streq: |
f434ba03 | 100 | # Code from module string: |
8690e634 | 101 | # Code from module strnlen1: |
63ce7108 TT |
102 | # Code from module strstr: |
103 | # Code from module strstr-simple: | |
09607c9e | 104 | # Code from module sys_stat: |
8839a007 | 105 | # Code from module sys_types: |
09607c9e | 106 | # Code from module time: |
8839a007 | 107 | # Code from module unistd: |
174e088e | 108 | # Code from module update-copyright: |
8690e634 JK |
109 | # Code from module verify: |
110 | # Code from module wchar: | |
111 | # Code from module wctype-h: | |
f6ea5628 DJ |
112 | ]) |
113 | ||
114 | # This macro should be invoked from ./configure.ac, in the section | |
115 | # "Check for header files, types and library functions". | |
116 | AC_DEFUN([gl_INIT], | |
117 | [ | |
118 | AM_CONDITIONAL([GL_COND_LIBTOOL], [false]) | |
119 | gl_cond_libtool=false | |
120 | gl_libdeps= | |
121 | gl_ltlibdeps= | |
c971b7fa | 122 | gl_m4_base='import/m4' |
f6ea5628 DJ |
123 | m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ])) |
124 | m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS])) | |
125 | m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES])) | |
f434ba03 PA |
126 | m4_pushdef([gl_LIBSOURCES_LIST], []) |
127 | m4_pushdef([gl_LIBSOURCES_DIR], []) | |
128 | gl_COMMON | |
c971b7fa | 129 | gl_source_base='import' |
a512b375 | 130 | gl_FUNC_ALLOCA |
98399780 YQ |
131 | gl_CANONICALIZE_LGPL |
132 | if test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1; then | |
133 | AC_LIBOBJ([canonicalize-lgpl]) | |
134 | fi | |
135 | gl_MODULE_INDICATOR([canonicalize-lgpl]) | |
136 | gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name]) | |
137 | gl_STDLIB_MODULE_INDICATOR([realpath]) | |
6a29c58e | 138 | gl_UNISTD_MODULE_INDICATOR([chdir]) |
a512b375 | 139 | gl_CONFIGMAKE_PREP |
e26b6bb0 | 140 | gl_DIRENT_H |
18848e28 GF |
141 | gl_FUNC_DIRFD |
142 | if test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no; then | |
143 | AC_LIBOBJ([dirfd]) | |
144 | gl_PREREQ_DIRFD | |
145 | fi | |
146 | gl_DIRENT_MODULE_INDICATOR([dirfd]) | |
6a29c58e YQ |
147 | gl_DIRNAME_LGPL |
148 | gl_DOUBLE_SLASH_ROOT | |
18848e28 | 149 | gl_HEADER_ERRNO_H |
a512b375 | 150 | AC_REQUIRE([gl_EXTERN_INLINE]) |
88b48903 WN |
151 | gl_FLOAT_H |
152 | if test $REPLACE_FLOAT_LDBL = 1; then | |
153 | AC_LIBOBJ([float]) | |
154 | fi | |
155 | if test $REPLACE_ITOLD = 1; then | |
156 | AC_LIBOBJ([itold]) | |
157 | fi | |
a512b375 JB |
158 | gl_FUNC_FNMATCH_POSIX |
159 | if test -n "$FNMATCH_H"; then | |
160 | AC_LIBOBJ([fnmatch]) | |
161 | gl_PREREQ_FNMATCH | |
162 | fi | |
163 | gl_FUNC_FNMATCH_GNU | |
164 | if test -n "$FNMATCH_H"; then | |
165 | AC_LIBOBJ([fnmatch]) | |
166 | gl_PREREQ_FNMATCH | |
167 | fi | |
88b48903 WN |
168 | gl_FUNC_FREXP |
169 | if test $gl_func_frexp != yes; then | |
170 | AC_LIBOBJ([frexp]) | |
171 | fi | |
172 | gl_MATH_MODULE_INDICATOR([frexp]) | |
173 | gl_FUNC_FREXPL | |
174 | if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl = no; then | |
175 | AC_LIBOBJ([frexpl]) | |
176 | fi | |
177 | gl_MATH_MODULE_INDICATOR([frexpl]) | |
a512b375 JB |
178 | gl_INTTYPES_H |
179 | gl_INTTYPES_INCOMPLETE | |
88b48903 WN |
180 | gl_FUNC_ISNAND_NO_LIBM |
181 | if test $gl_func_isnand_no_libm != yes; then | |
182 | AC_LIBOBJ([isnand]) | |
183 | gl_PREREQ_ISNAND | |
184 | fi | |
185 | gl_FUNC_ISNANL_NO_LIBM | |
186 | if test $gl_func_isnanl_no_libm != yes; then | |
187 | AC_LIBOBJ([isnanl]) | |
188 | gl_PREREQ_ISNANL | |
189 | fi | |
2196f55f | 190 | AC_REQUIRE([gl_LARGEFILE]) |
a512b375 JB |
191 | gl_LOCALCHARSET |
192 | LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(abs_top_builddir)/$gl_source_base\"" | |
193 | AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT]) | |
f45c62c4 YQ |
194 | gl_FUNC_LSTAT |
195 | if test $REPLACE_LSTAT = 1; then | |
196 | AC_LIBOBJ([lstat]) | |
197 | gl_PREREQ_LSTAT | |
198 | fi | |
199 | gl_SYS_STAT_MODULE_INDICATOR([lstat]) | |
6a29c58e YQ |
200 | gl_FUNC_MALLOC_POSIX |
201 | if test $REPLACE_MALLOC = 1; then | |
202 | AC_LIBOBJ([malloc]) | |
203 | fi | |
204 | gl_STDLIB_MODULE_INDICATOR([malloc-posix]) | |
98399780 | 205 | gl_MALLOCA |
88b48903 | 206 | gl_MATH_H |
a512b375 JB |
207 | gl_FUNC_MBRTOWC |
208 | if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then | |
209 | AC_LIBOBJ([mbrtowc]) | |
210 | gl_PREREQ_MBRTOWC | |
211 | fi | |
212 | gl_WCHAR_MODULE_INDICATOR([mbrtowc]) | |
213 | gl_FUNC_MBSINIT | |
214 | if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then | |
215 | AC_LIBOBJ([mbsinit]) | |
216 | gl_PREREQ_MBSINIT | |
217 | fi | |
218 | gl_WCHAR_MODULE_INDICATOR([mbsinit]) | |
219 | gl_FUNC_MBSRTOWCS | |
220 | if test $HAVE_MBSRTOWCS = 0 || test $REPLACE_MBSRTOWCS = 1; then | |
221 | AC_LIBOBJ([mbsrtowcs]) | |
222 | AC_LIBOBJ([mbsrtowcs-state]) | |
223 | gl_PREREQ_MBSRTOWCS | |
224 | fi | |
225 | gl_WCHAR_MODULE_INDICATOR([mbsrtowcs]) | |
226 | gl_FUNC_MEMCHR | |
227 | if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then | |
228 | AC_LIBOBJ([memchr]) | |
229 | gl_PREREQ_MEMCHR | |
230 | fi | |
231 | gl_STRING_MODULE_INDICATOR([memchr]) | |
232 | gl_FUNC_MEMMEM | |
233 | if test $HAVE_MEMMEM = 0 || test $REPLACE_MEMMEM = 1; then | |
234 | AC_LIBOBJ([memmem]) | |
235 | fi | |
236 | gl_FUNC_MEMMEM_SIMPLE | |
237 | if test $HAVE_MEMMEM = 0 || test $REPLACE_MEMMEM = 1; then | |
238 | AC_LIBOBJ([memmem]) | |
239 | fi | |
240 | gl_STRING_MODULE_INDICATOR([memmem]) | |
241 | gl_MULTIARCH | |
38ec2207 | 242 | gl_PATHMAX |
2196f55f YQ |
243 | gl_FUNC_READLINK |
244 | if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then | |
245 | AC_LIBOBJ([readlink]) | |
246 | gl_PREREQ_READLINK | |
247 | fi | |
248 | gl_UNISTD_MODULE_INDICATOR([readlink]) | |
6a29c58e YQ |
249 | gl_FUNC_RENAME |
250 | if test $REPLACE_RENAME = 1; then | |
251 | AC_LIBOBJ([rename]) | |
252 | fi | |
253 | gl_STDIO_MODULE_INDICATOR([rename]) | |
254 | gl_FUNC_RMDIR | |
255 | if test $REPLACE_RMDIR = 1; then | |
256 | AC_LIBOBJ([rmdir]) | |
257 | fi | |
258 | gl_UNISTD_MODULE_INDICATOR([rmdir]) | |
8839a007 | 259 | gt_TYPE_SSIZE_T |
2196f55f YQ |
260 | gl_FUNC_STAT |
261 | if test $REPLACE_STAT = 1; then | |
262 | AC_LIBOBJ([stat]) | |
263 | gl_PREREQ_STAT | |
264 | fi | |
265 | gl_SYS_STAT_MODULE_INDICATOR([stat]) | |
a512b375 JB |
266 | AM_STDBOOL_H |
267 | gl_STDDEF_H | |
268 | gl_STDINT_H | |
6a29c58e | 269 | gl_STDIO_H |
98399780 | 270 | gl_STDLIB_H |
a512b375 | 271 | gl_HEADER_STRING_H |
63ce7108 TT |
272 | gl_FUNC_STRSTR |
273 | if test $REPLACE_STRSTR = 1; then | |
274 | AC_LIBOBJ([strstr]) | |
275 | fi | |
276 | gl_FUNC_STRSTR_SIMPLE | |
277 | if test $REPLACE_STRSTR = 1; then | |
278 | AC_LIBOBJ([strstr]) | |
279 | fi | |
280 | gl_STRING_MODULE_INDICATOR([strstr]) | |
09607c9e TT |
281 | gl_HEADER_SYS_STAT_H |
282 | AC_PROG_MKDIR_P | |
8839a007 PA |
283 | gl_SYS_TYPES_H |
284 | AC_PROG_MKDIR_P | |
09607c9e | 285 | gl_HEADER_TIME_H |
8839a007 | 286 | gl_UNISTD_H |
a512b375 JB |
287 | gl_WCHAR_H |
288 | gl_WCTYPE_H | |
f434ba03 PA |
289 | # End of code from modules |
290 | m4_ifval(gl_LIBSOURCES_LIST, [ | |
291 | m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ || | |
292 | for gl_file in ]gl_LIBSOURCES_LIST[ ; do | |
293 | if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then | |
294 | echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2 | |
295 | exit 1 | |
296 | fi | |
297 | done])dnl | |
298 | m4_if(m4_sysval, [0], [], | |
299 | [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) | |
300 | ]) | |
301 | m4_popdef([gl_LIBSOURCES_DIR]) | |
302 | m4_popdef([gl_LIBSOURCES_LIST]) | |
f6ea5628 DJ |
303 | m4_popdef([AC_LIBSOURCES]) |
304 | m4_popdef([AC_REPLACE_FUNCS]) | |
305 | m4_popdef([AC_LIBOBJ]) | |
306 | AC_CONFIG_COMMANDS_PRE([ | |
307 | gl_libobjs= | |
308 | gl_ltlibobjs= | |
309 | if test -n "$gl_LIBOBJS"; then | |
310 | # Remove the extension. | |
311 | sed_drop_objext='s/\.o$//;s/\.obj$//' | |
f434ba03 | 312 | for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do |
f6ea5628 DJ |
313 | gl_libobjs="$gl_libobjs $i.$ac_objext" |
314 | gl_ltlibobjs="$gl_ltlibobjs $i.lo" | |
315 | done | |
316 | fi | |
317 | AC_SUBST([gl_LIBOBJS], [$gl_libobjs]) | |
318 | AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs]) | |
319 | ]) | |
320 | gltests_libdeps= | |
321 | gltests_ltlibdeps= | |
322 | m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ])) | |
323 | m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS])) | |
324 | m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES])) | |
f434ba03 PA |
325 | m4_pushdef([gltests_LIBSOURCES_LIST], []) |
326 | m4_pushdef([gltests_LIBSOURCES_DIR], []) | |
327 | gl_COMMON | |
f6ea5628 | 328 | gl_source_base='tests' |
f434ba03 PA |
329 | changequote(,)dnl |
330 | 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 | |
331 | changequote([, ])dnl | |
332 | AC_SUBST([gltests_WITNESS]) | |
333 | gl_module_indicator_condition=$gltests_WITNESS | |
334 | m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition]) | |
335 | m4_popdef([gl_MODULE_INDICATOR_CONDITION]) | |
336 | m4_ifval(gltests_LIBSOURCES_LIST, [ | |
337 | m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ || | |
338 | for gl_file in ]gltests_LIBSOURCES_LIST[ ; do | |
339 | if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then | |
340 | echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2 | |
341 | exit 1 | |
342 | fi | |
343 | done])dnl | |
344 | m4_if(m4_sysval, [0], [], | |
345 | [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) | |
346 | ]) | |
347 | m4_popdef([gltests_LIBSOURCES_DIR]) | |
348 | m4_popdef([gltests_LIBSOURCES_LIST]) | |
f6ea5628 DJ |
349 | m4_popdef([AC_LIBSOURCES]) |
350 | m4_popdef([AC_REPLACE_FUNCS]) | |
351 | m4_popdef([AC_LIBOBJ]) | |
352 | AC_CONFIG_COMMANDS_PRE([ | |
353 | gltests_libobjs= | |
354 | gltests_ltlibobjs= | |
355 | if test -n "$gltests_LIBOBJS"; then | |
356 | # Remove the extension. | |
357 | sed_drop_objext='s/\.o$//;s/\.obj$//' | |
f434ba03 | 358 | for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do |
f6ea5628 DJ |
359 | gltests_libobjs="$gltests_libobjs $i.$ac_objext" |
360 | gltests_ltlibobjs="$gltests_ltlibobjs $i.lo" | |
361 | done | |
362 | fi | |
363 | AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs]) | |
364 | AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs]) | |
365 | ]) | |
366 | LIBGNU_LIBDEPS="$gl_libdeps" | |
367 | AC_SUBST([LIBGNU_LIBDEPS]) | |
368 | LIBGNU_LTLIBDEPS="$gl_ltlibdeps" | |
369 | AC_SUBST([LIBGNU_LTLIBDEPS]) | |
370 | ]) | |
371 | ||
372 | # Like AC_LIBOBJ, except that the module name goes | |
373 | # into gl_LIBOBJS instead of into LIBOBJS. | |
374 | AC_DEFUN([gl_LIBOBJ], [ | |
375 | AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl | |
376 | gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext" | |
377 | ]) | |
378 | ||
f6ea5628 DJ |
379 | # Like AC_REPLACE_FUNCS, except that the module name goes |
380 | # into gl_LIBOBJS instead of into LIBOBJS. | |
381 | AC_DEFUN([gl_REPLACE_FUNCS], [ | |
382 | m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl | |
383 | AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)]) | |
384 | ]) | |
385 | ||
386 | # Like AC_LIBSOURCES, except the directory where the source file is | |
f434ba03 | 387 | # expected is derived from the gnulib-tool parameterization, |
f6ea5628 DJ |
388 | # and alloca is special cased (for the alloca-opt module). |
389 | # We could also entirely rely on EXTRA_lib..._SOURCES. | |
390 | AC_DEFUN([gl_LIBSOURCES], [ | |
391 | m4_foreach([_gl_NAME], [$1], [ | |
392 | m4_if(_gl_NAME, [alloca.c], [], [ | |
c971b7fa | 393 | m4_define([gl_LIBSOURCES_DIR], [import]) |
f434ba03 | 394 | m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ]) |
f6ea5628 DJ |
395 | ]) |
396 | ]) | |
397 | ]) | |
398 | ||
399 | # Like AC_LIBOBJ, except that the module name goes | |
400 | # into gltests_LIBOBJS instead of into LIBOBJS. | |
401 | AC_DEFUN([gltests_LIBOBJ], [ | |
402 | AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl | |
403 | gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext" | |
404 | ]) | |
405 | ||
f6ea5628 DJ |
406 | # Like AC_REPLACE_FUNCS, except that the module name goes |
407 | # into gltests_LIBOBJS instead of into LIBOBJS. | |
408 | AC_DEFUN([gltests_REPLACE_FUNCS], [ | |
409 | m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl | |
410 | AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)]) | |
411 | ]) | |
412 | ||
413 | # Like AC_LIBSOURCES, except the directory where the source file is | |
f434ba03 | 414 | # expected is derived from the gnulib-tool parameterization, |
f6ea5628 DJ |
415 | # and alloca is special cased (for the alloca-opt module). |
416 | # We could also entirely rely on EXTRA_lib..._SOURCES. | |
417 | AC_DEFUN([gltests_LIBSOURCES], [ | |
418 | m4_foreach([_gl_NAME], [$1], [ | |
419 | m4_if(_gl_NAME, [alloca.c], [], [ | |
f434ba03 PA |
420 | m4_define([gltests_LIBSOURCES_DIR], [tests]) |
421 | m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ]) | |
f6ea5628 DJ |
422 | ]) |
423 | ]) | |
424 | ]) | |
425 | ||
426 | # This macro records the list of files which have been installed by | |
427 | # gnulib-tool and may be removed by future gnulib-tool invocations. | |
428 | AC_DEFUN([gl_FILE_LIST], [ | |
98399780 | 429 | build-aux/snippet/_Noreturn.h |
770d76d7 PA |
430 | build-aux/snippet/arg-nonnull.h |
431 | build-aux/snippet/c++defs.h | |
432 | build-aux/snippet/warn-on-use.h | |
174e088e | 433 | build-aux/update-copyright |
8690e634 JK |
434 | lib/alloca.c |
435 | lib/alloca.in.h | |
6a29c58e | 436 | lib/basename-lgpl.c |
98399780 | 437 | lib/canonicalize-lgpl.c |
8690e634 | 438 | lib/config.charset |
e26b6bb0 | 439 | lib/dirent.in.h |
18848e28 | 440 | lib/dirfd.c |
6a29c58e YQ |
441 | lib/dirname-lgpl.c |
442 | lib/dirname.h | |
2196f55f | 443 | lib/dosname.h |
18848e28 | 444 | lib/errno.in.h |
88b48903 WN |
445 | lib/float+.h |
446 | lib/float.c | |
447 | lib/float.in.h | |
8690e634 JK |
448 | lib/fnmatch.c |
449 | lib/fnmatch.in.h | |
450 | lib/fnmatch_loop.c | |
88b48903 WN |
451 | lib/fpucw.h |
452 | lib/frexp.c | |
453 | lib/frexpl.c | |
55a8c076 | 454 | lib/inttypes.in.h |
88b48903 WN |
455 | lib/isnan.c |
456 | lib/isnand-nolibm.h | |
457 | lib/isnand.c | |
458 | lib/isnanl-nolibm.h | |
459 | lib/isnanl.c | |
460 | lib/itold.c | |
8690e634 JK |
461 | lib/localcharset.c |
462 | lib/localcharset.h | |
f45c62c4 | 463 | lib/lstat.c |
6a29c58e | 464 | lib/malloc.c |
98399780 YQ |
465 | lib/malloca.c |
466 | lib/malloca.h | |
467 | lib/malloca.valgrind | |
88b48903 WN |
468 | lib/math.c |
469 | lib/math.in.h | |
8690e634 JK |
470 | lib/mbrtowc.c |
471 | lib/mbsinit.c | |
472 | lib/mbsrtowcs-impl.h | |
473 | lib/mbsrtowcs-state.c | |
474 | lib/mbsrtowcs.c | |
f6ea5628 | 475 | lib/memchr.c |
f434ba03 | 476 | lib/memchr.valgrind |
f6ea5628 | 477 | lib/memmem.c |
38ec2207 | 478 | lib/pathmax.h |
2196f55f | 479 | lib/readlink.c |
8690e634 JK |
480 | lib/ref-add.sin |
481 | lib/ref-del.sin | |
6a29c58e YQ |
482 | lib/rename.c |
483 | lib/rmdir.c | |
484 | lib/same-inode.h | |
2196f55f | 485 | lib/stat.c |
8690e634 | 486 | lib/stdbool.in.h |
f434ba03 | 487 | lib/stddef.in.h |
f6ea5628 | 488 | lib/stdint.in.h |
6a29c58e YQ |
489 | lib/stdio.c |
490 | lib/stdio.in.h | |
98399780 | 491 | lib/stdlib.in.h |
f6ea5628 | 492 | lib/str-two-way.h |
8690e634 | 493 | lib/streq.h |
f6ea5628 | 494 | lib/string.in.h |
6a29c58e | 495 | lib/stripslash.c |
8690e634 JK |
496 | lib/strnlen1.c |
497 | lib/strnlen1.h | |
63ce7108 | 498 | lib/strstr.c |
09607c9e | 499 | lib/sys_stat.in.h |
8839a007 | 500 | lib/sys_types.in.h |
09607c9e | 501 | lib/time.in.h |
8839a007 PA |
502 | lib/unistd.c |
503 | lib/unistd.in.h | |
8690e634 JK |
504 | lib/verify.h |
505 | lib/wchar.in.h | |
a512b375 | 506 | lib/wctype-h.c |
8690e634 | 507 | lib/wctype.in.h |
f434ba03 | 508 | m4/00gnulib.m4 |
8690e634 | 509 | m4/alloca.m4 |
98399780 | 510 | m4/canonicalize.m4 |
8690e634 JK |
511 | m4/codeset.m4 |
512 | m4/configmake.m4 | |
e26b6bb0 | 513 | m4/dirent_h.m4 |
18848e28 | 514 | m4/dirfd.m4 |
6a29c58e | 515 | m4/dirname.m4 |
98399780 YQ |
516 | m4/double-slash-root.m4 |
517 | m4/eealloc.m4 | |
18848e28 | 518 | m4/errno_h.m4 |
88b48903 WN |
519 | m4/exponentd.m4 |
520 | m4/exponentl.m4 | |
f6ea5628 | 521 | m4/extensions.m4 |
a512b375 | 522 | m4/extern-inline.m4 |
8690e634 | 523 | m4/fcntl-o.m4 |
88b48903 | 524 | m4/float_h.m4 |
8690e634 | 525 | m4/fnmatch.m4 |
88b48903 WN |
526 | m4/fpieee.m4 |
527 | m4/frexp.m4 | |
528 | m4/frexpl.m4 | |
8690e634 | 529 | m4/glibc21.m4 |
f6ea5628 DJ |
530 | m4/gnulib-common.m4 |
531 | m4/include_next.m4 | |
55a8c076 YQ |
532 | m4/inttypes-pri.m4 |
533 | m4/inttypes.m4 | |
88b48903 WN |
534 | m4/isnand.m4 |
535 | m4/isnanl.m4 | |
2196f55f | 536 | m4/largefile.m4 |
8690e634 JK |
537 | m4/localcharset.m4 |
538 | m4/locale-fr.m4 | |
539 | m4/locale-ja.m4 | |
540 | m4/locale-zh.m4 | |
f6ea5628 | 541 | m4/longlong.m4 |
f45c62c4 | 542 | m4/lstat.m4 |
6a29c58e | 543 | m4/malloc.m4 |
98399780 | 544 | m4/malloca.m4 |
88b48903 | 545 | m4/math_h.m4 |
8690e634 JK |
546 | m4/mbrtowc.m4 |
547 | m4/mbsinit.m4 | |
548 | m4/mbsrtowcs.m4 | |
549 | m4/mbstate_t.m4 | |
f6ea5628 | 550 | m4/memchr.m4 |
f6ea5628 | 551 | m4/memmem.m4 |
f434ba03 PA |
552 | m4/mmap-anon.m4 |
553 | m4/multiarch.m4 | |
98399780 | 554 | m4/nocrash.m4 |
8839a007 | 555 | m4/off_t.m4 |
38ec2207 | 556 | m4/pathmax.m4 |
2196f55f | 557 | m4/readlink.m4 |
6a29c58e YQ |
558 | m4/rename.m4 |
559 | m4/rmdir.m4 | |
8839a007 | 560 | m4/ssize_t.m4 |
2196f55f | 561 | m4/stat.m4 |
8690e634 | 562 | m4/stdbool.m4 |
f434ba03 | 563 | m4/stddef_h.m4 |
f6ea5628 | 564 | m4/stdint.m4 |
6a29c58e | 565 | m4/stdio_h.m4 |
98399780 | 566 | m4/stdlib_h.m4 |
f6ea5628 | 567 | m4/string_h.m4 |
63ce7108 | 568 | m4/strstr.m4 |
09607c9e | 569 | m4/sys_stat_h.m4 |
8839a007 | 570 | m4/sys_types_h.m4 |
09607c9e | 571 | m4/time_h.m4 |
8839a007 | 572 | m4/unistd_h.m4 |
f434ba03 | 573 | m4/warn-on-use.m4 |
8690e634 | 574 | m4/wchar_h.m4 |
f434ba03 | 575 | m4/wchar_t.m4 |
8690e634 JK |
576 | m4/wctype_h.m4 |
577 | m4/wint_t.m4 | |
f6ea5628 | 578 | ]) |