1 # DO NOT EDIT! GENERATED AUTOMATICALLY!
2 # Copyright (C) 2002-2016 Free Software Foundation, Inc.
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.
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.
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/>.
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
20 # the same distribution terms as the rest of that program.
22 # Generated by gnulib-tool.
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.
27 # In projects that use version control, this file can be treated like
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.
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
42 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
43 AC_REQUIRE([gl_PROG_AR_RANLIB])
45 # Code from module absolute-header:
46 # Code from module alloca:
47 # Code from module alloca-opt:
48 # Code from module assure:
49 # Code from module at-internal:
50 # Code from module canonicalize-lgpl:
51 # Code from module chdir:
52 # Code from module chdir-long:
53 # Code from module cloexec:
54 # Code from module close:
55 # Code from module closedir:
56 # Code from module configmake:
57 # Code from module d-ino:
58 # Code from module d-type:
59 # Code from module dirent:
60 # Code from module dirfd:
61 # Code from module dirname-lgpl:
62 # Code from module dosname:
63 # Code from module double-slash-root:
64 # Code from module dup:
65 # Code from module dup2:
66 # Code from module environ:
67 # Code from module errno:
68 # Code from module error:
69 # Code from module exitfail:
70 # Code from module extensions:
71 # Code from module extern-inline:
72 # Code from module fchdir:
73 # Code from module fcntl:
74 # Code from module fcntl-h:
75 # Code from module fd-hook:
76 # Code from module fdopendir:
77 # Code from module filename:
78 # Code from module filenamecat-lgpl:
79 # Code from module flexmember:
80 # Code from module float:
81 # Code from module fnmatch:
82 # Code from module fnmatch-gnu:
83 # Code from module fpieee:
84 AC_REQUIRE([gl_FP_IEEE])
85 # Code from module fpucw:
86 # Code from module frexp:
87 # Code from module frexpl:
88 # Code from module fstat:
89 # Code from module fstatat:
90 # Code from module getcwd:
91 # Code from module getcwd-lgpl:
92 # Code from module getdtablesize:
93 # Code from module getlogin_r:
94 # Code from module getprogname:
95 # Code from module gettext-h:
96 # Code from module gettimeofday:
97 # Code from module glob:
98 # Code from module hard-locale:
99 # Code from module include_next:
100 # Code from module intprops:
101 # Code from module inttypes:
102 # Code from module inttypes-incomplete:
103 # Code from module isnand-nolibm:
104 # Code from module isnanl-nolibm:
105 # Code from module largefile:
106 AC_REQUIRE([AC_SYS_LARGEFILE])
107 # Code from module limits-h:
108 # Code from module localcharset:
109 # Code from module lstat:
110 # Code from module malloc-posix:
111 # Code from module malloca:
112 # Code from module math:
113 # Code from module mbrtowc:
114 # Code from module mbsinit:
115 # Code from module mbsrtowcs:
116 # Code from module memchr:
117 # Code from module memmem:
118 # Code from module memmem-simple:
119 # Code from module mempcpy:
120 # Code from module memrchr:
121 # Code from module mkstemp:
122 # Code from module msvc-inval:
123 # Code from module msvc-nothrow:
124 # Code from module multiarch:
125 # Code from module nocrash:
126 # Code from module open:
127 # Code from module openat:
128 # Code from module openat-die:
129 # Code from module openat-h:
130 # Code from module opendir:
131 # Code from module pathmax:
132 # Code from module rawmemchr:
133 # Code from module readdir:
134 # Code from module readlink:
135 # Code from module realloc-posix:
136 # Code from module rename:
137 # Code from module rewinddir:
138 # Code from module rmdir:
139 # Code from module same-inode:
140 # Code from module save-cwd:
141 # Code from module secure_getenv:
142 # Code from module setenv:
143 # Code from module signal-h:
144 # Code from module snippet/_Noreturn:
145 # Code from module snippet/arg-nonnull:
146 # Code from module snippet/c++defs:
147 # Code from module snippet/warn-on-use:
148 # Code from module ssize_t:
149 # Code from module stat:
150 # Code from module stdbool:
151 # Code from module stddef:
152 # Code from module stdint:
153 # Code from module stdio:
154 # Code from module stdlib:
155 # Code from module strchrnul:
156 # Code from module strdup-posix:
157 # Code from module streq:
158 # Code from module strerror:
159 # Code from module strerror-override:
160 # Code from module string:
161 # Code from module strnlen1:
162 # Code from module strstr:
163 # Code from module strstr-simple:
164 # Code from module strtok_r:
165 # Code from module sys_stat:
166 # Code from module sys_time:
167 # Code from module sys_types:
168 # Code from module tempname:
169 # Code from module time:
170 # Code from module unistd:
171 # Code from module unistd-safer:
172 # Code from module unsetenv:
173 # Code from module update-copyright:
174 # Code from module verify:
175 # Code from module wchar:
176 # Code from module wctype-h:
179 # This macro should be invoked from ./configure.ac, in the section
180 # "Check for header files, types and library functions".
183 AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
184 gl_cond_libtool=false
187 gl_m4_base='import/m4'
188 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
189 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
190 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
191 m4_pushdef([gl_LIBSOURCES_LIST], [])
192 m4_pushdef([gl_LIBSOURCES_DIR], [])
194 gl_source_base='import'
196 AC_LIBOBJ([openat-proc])
198 if test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1; then
199 AC_LIBOBJ([canonicalize-lgpl])
201 gl_MODULE_INDICATOR([canonicalize-lgpl])
202 gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name])
203 gl_STDLIB_MODULE_INDICATOR([realpath])
204 gl_UNISTD_MODULE_INDICATOR([chdir])
206 if test $gl_cv_have_arbitrary_file_name_length_limit = yes; then
207 AC_LIBOBJ([chdir-long])
210 gl_MODULE_INDICATOR_FOR_TESTS([cloexec])
212 if test $REPLACE_CLOSE = 1; then
215 gl_UNISTD_MODULE_INDICATOR([close])
217 if test $HAVE_CLOSEDIR = 0 || test $REPLACE_CLOSEDIR = 1; then
218 AC_LIBOBJ([closedir])
220 gl_DIRENT_MODULE_INDICATOR([closedir])
222 gl_CHECK_TYPE_STRUCT_DIRENT_D_INO
223 gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE
226 if test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no \
227 || test $REPLACE_DIRFD = 1; then
231 gl_DIRENT_MODULE_INDICATOR([dirfd])
235 if test $REPLACE_DUP = 1; then
239 gl_UNISTD_MODULE_INDICATOR([dup])
241 if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then
245 gl_UNISTD_MODULE_INDICATOR([dup2])
247 gl_UNISTD_MODULE_INDICATOR([environ])
250 if test $ac_cv_lib_error_at_line = no; then
254 m4_ifdef([AM_XGETTEXT_OPTION],
255 [AM_][XGETTEXT_OPTION([--flag=error:3:c-format])
256 AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])])
257 AC_REQUIRE([gl_EXTERN_INLINE])
259 gl_UNISTD_MODULE_INDICATOR([fchdir])
261 if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then
264 gl_FCNTL_MODULE_INDICATOR([fcntl])
267 if test $HAVE_FDOPENDIR = 0 || test $REPLACE_FDOPENDIR = 1; then
268 AC_LIBOBJ([fdopendir])
270 gl_DIRENT_MODULE_INDICATOR([fdopendir])
271 gl_MODULE_INDICATOR([fdopendir])
272 gl_FILE_NAME_CONCAT_LGPL
273 AC_C_FLEXIBLE_ARRAY_MEMBER
275 if test $REPLACE_FLOAT_LDBL = 1; then
278 if test $REPLACE_ITOLD = 1; then
281 gl_FUNC_FNMATCH_POSIX
282 if test -n "$FNMATCH_H"; then
287 if test -n "$FNMATCH_H"; then
292 if test $gl_func_frexp != yes; then
295 gl_MATH_MODULE_INDICATOR([frexp])
297 if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl = no; then
300 gl_MATH_MODULE_INDICATOR([frexpl])
302 if test $REPLACE_FSTAT = 1; then
306 gl_SYS_STAT_MODULE_INDICATOR([fstat])
308 if test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1; then
311 gl_SYS_STAT_MODULE_INDICATOR([fstatat])
313 if test $REPLACE_GETCWD = 1; then
317 gl_MODULE_INDICATOR([getcwd])
318 gl_UNISTD_MODULE_INDICATOR([getcwd])
320 if test $REPLACE_GETCWD = 1; then
321 AC_LIBOBJ([getcwd-lgpl])
323 gl_UNISTD_MODULE_INDICATOR([getcwd])
324 gl_FUNC_GETDTABLESIZE
325 if test $HAVE_GETDTABLESIZE = 0 || test $REPLACE_GETDTABLESIZE = 1; then
326 AC_LIBOBJ([getdtablesize])
327 gl_PREREQ_GETDTABLESIZE
329 gl_UNISTD_MODULE_INDICATOR([getdtablesize])
331 if test $HAVE_GETLOGIN_R = 0 || test $REPLACE_GETLOGIN_R = 1; then
332 AC_LIBOBJ([getlogin_r])
335 gl_UNISTD_MODULE_INDICATOR([getlogin_r])
338 AC_SUBST([LTLIBINTL])
340 if test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1; then
341 AC_LIBOBJ([gettimeofday])
342 gl_PREREQ_GETTIMEOFDAY
344 gl_SYS_TIME_MODULE_INDICATOR([gettimeofday])
346 if test -n "$GLOB_H"; then
352 gl_INTTYPES_INCOMPLETE
353 gl_FUNC_ISNAND_NO_LIBM
354 if test $gl_func_isnand_no_libm != yes; then
358 gl_FUNC_ISNANL_NO_LIBM
359 if test $gl_func_isnanl_no_libm != yes; then
363 AC_REQUIRE([gl_LARGEFILE])
366 LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(abs_top_builddir)/$gl_source_base\""
367 AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
369 if test $REPLACE_LSTAT = 1; then
373 gl_SYS_STAT_MODULE_INDICATOR([lstat])
375 if test $REPLACE_MALLOC = 1; then
378 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
382 if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then
386 gl_WCHAR_MODULE_INDICATOR([mbrtowc])
388 if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then
392 gl_WCHAR_MODULE_INDICATOR([mbsinit])
394 if test $HAVE_MBSRTOWCS = 0 || test $REPLACE_MBSRTOWCS = 1; then
395 AC_LIBOBJ([mbsrtowcs])
396 AC_LIBOBJ([mbsrtowcs-state])
399 gl_WCHAR_MODULE_INDICATOR([mbsrtowcs])
401 if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
405 gl_STRING_MODULE_INDICATOR([memchr])
407 if test $HAVE_MEMMEM = 0 || test $REPLACE_MEMMEM = 1; then
410 gl_FUNC_MEMMEM_SIMPLE
411 if test $HAVE_MEMMEM = 0 || test $REPLACE_MEMMEM = 1; then
414 gl_STRING_MODULE_INDICATOR([memmem])
416 if test $HAVE_MEMPCPY = 0; then
420 gl_STRING_MODULE_INDICATOR([mempcpy])
422 if test $ac_cv_func_memrchr = no; then
426 gl_STRING_MODULE_INDICATOR([memrchr])
428 if test $HAVE_MKSTEMP = 0 || test $REPLACE_MKSTEMP = 1; then
432 gl_STDLIB_MODULE_INDICATOR([mkstemp])
433 AC_REQUIRE([gl_MSVC_INVAL])
434 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
435 AC_LIBOBJ([msvc-inval])
437 AC_REQUIRE([gl_MSVC_NOTHROW])
438 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
439 AC_LIBOBJ([msvc-nothrow])
443 if test $REPLACE_OPEN = 1; then
447 gl_FCNTL_MODULE_INDICATOR([open])
449 if test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1; then
453 gl_MODULE_INDICATOR([openat]) dnl for lib/getcwd.c
454 gl_FCNTL_MODULE_INDICATOR([openat])
456 if test $HAVE_OPENDIR = 0 || test $REPLACE_OPENDIR = 1; then
459 gl_DIRENT_MODULE_INDICATOR([opendir])
462 if test $HAVE_RAWMEMCHR = 0; then
463 AC_LIBOBJ([rawmemchr])
466 gl_STRING_MODULE_INDICATOR([rawmemchr])
468 if test $HAVE_READDIR = 0; then
471 gl_DIRENT_MODULE_INDICATOR([readdir])
473 if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then
474 AC_LIBOBJ([readlink])
477 gl_UNISTD_MODULE_INDICATOR([readlink])
478 gl_FUNC_REALLOC_POSIX
479 if test $REPLACE_REALLOC = 1; then
482 gl_STDLIB_MODULE_INDICATOR([realloc-posix])
484 if test $REPLACE_RENAME = 1; then
487 gl_STDIO_MODULE_INDICATOR([rename])
489 if test $HAVE_REWINDDIR = 0; then
490 AC_LIBOBJ([rewinddir])
492 gl_DIRENT_MODULE_INDICATOR([rewinddir])
494 if test $REPLACE_RMDIR = 1; then
497 gl_UNISTD_MODULE_INDICATOR([rmdir])
499 gl_FUNC_SECURE_GETENV
500 if test $HAVE_SECURE_GETENV = 0; then
501 AC_LIBOBJ([secure_getenv])
502 gl_PREREQ_SECURE_GETENV
504 gl_STDLIB_MODULE_INDICATOR([secure_getenv])
506 if test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1; then
509 gl_STDLIB_MODULE_INDICATOR([setenv])
513 if test $REPLACE_STAT = 1; then
517 gl_SYS_STAT_MODULE_INDICATOR([stat])
524 if test $HAVE_STRCHRNUL = 0 || test $REPLACE_STRCHRNUL = 1; then
525 AC_LIBOBJ([strchrnul])
528 gl_STRING_MODULE_INDICATOR([strchrnul])
530 if test $ac_cv_func_strdup = no || test $REPLACE_STRDUP = 1; then
534 gl_STRING_MODULE_INDICATOR([strdup])
536 if test $REPLACE_STRERROR = 1; then
537 AC_LIBOBJ([strerror])
539 gl_MODULE_INDICATOR([strerror])
540 gl_STRING_MODULE_INDICATOR([strerror])
541 AC_REQUIRE([gl_HEADER_ERRNO_H])
542 AC_REQUIRE([gl_FUNC_STRERROR_0])
543 if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then
544 AC_LIBOBJ([strerror-override])
545 gl_PREREQ_SYS_H_WINSOCK2
549 if test $REPLACE_STRSTR = 1; then
552 gl_FUNC_STRSTR_SIMPLE
553 if test $REPLACE_STRSTR = 1; then
556 gl_STRING_MODULE_INDICATOR([strstr])
558 if test $HAVE_STRTOK_R = 0 || test $REPLACE_STRTOK_R = 1; then
559 AC_LIBOBJ([strtok_r])
562 gl_STRING_MODULE_INDICATOR([strtok_r])
574 if test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1; then
575 AC_LIBOBJ([unsetenv])
578 gl_STDLIB_MODULE_INDICATOR([unsetenv])
581 # End of code from modules
582 m4_ifval(gl_LIBSOURCES_LIST, [
583 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
584 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
585 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
586 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
590 m4_if(m4_sysval, [0], [],
591 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
593 m4_popdef([gl_LIBSOURCES_DIR])
594 m4_popdef([gl_LIBSOURCES_LIST])
595 m4_popdef([AC_LIBSOURCES])
596 m4_popdef([AC_REPLACE_FUNCS])
597 m4_popdef([AC_LIBOBJ])
598 AC_CONFIG_COMMANDS_PRE([
601 if test -n "$gl_LIBOBJS"; then
602 # Remove the extension.
603 sed_drop_objext='s/\.o$//;s/\.obj$//'
604 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
605 gl_libobjs="$gl_libobjs $i.$ac_objext"
606 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
609 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
610 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
614 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
615 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
616 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
617 m4_pushdef([gltests_LIBSOURCES_LIST], [])
618 m4_pushdef([gltests_LIBSOURCES_DIR], [])
620 gl_source_base='tests'
622 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
624 AC_SUBST([gltests_WITNESS])
625 gl_module_indicator_condition=$gltests_WITNESS
626 m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
627 m4_popdef([gl_MODULE_INDICATOR_CONDITION])
628 m4_ifval(gltests_LIBSOURCES_LIST, [
629 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
630 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
631 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
632 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
636 m4_if(m4_sysval, [0], [],
637 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
639 m4_popdef([gltests_LIBSOURCES_DIR])
640 m4_popdef([gltests_LIBSOURCES_LIST])
641 m4_popdef([AC_LIBSOURCES])
642 m4_popdef([AC_REPLACE_FUNCS])
643 m4_popdef([AC_LIBOBJ])
644 AC_CONFIG_COMMANDS_PRE([
647 if test -n "$gltests_LIBOBJS"; then
648 # Remove the extension.
649 sed_drop_objext='s/\.o$//;s/\.obj$//'
650 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
651 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
652 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
655 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
656 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
658 LIBGNU_LIBDEPS="$gl_libdeps"
659 AC_SUBST([LIBGNU_LIBDEPS])
660 LIBGNU_LTLIBDEPS="$gl_ltlibdeps"
661 AC_SUBST([LIBGNU_LTLIBDEPS])
664 # Like AC_LIBOBJ, except that the module name goes
665 # into gl_LIBOBJS instead of into LIBOBJS.
666 AC_DEFUN([gl_LIBOBJ], [
667 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
668 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
671 # Like AC_REPLACE_FUNCS, except that the module name goes
672 # into gl_LIBOBJS instead of into LIBOBJS.
673 AC_DEFUN([gl_REPLACE_FUNCS], [
674 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
675 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
678 # Like AC_LIBSOURCES, except the directory where the source file is
679 # expected is derived from the gnulib-tool parameterization,
680 # and alloca is special cased (for the alloca-opt module).
681 # We could also entirely rely on EXTRA_lib..._SOURCES.
682 AC_DEFUN([gl_LIBSOURCES], [
683 m4_foreach([_gl_NAME], [$1], [
684 m4_if(_gl_NAME, [alloca.c], [], [
685 m4_define([gl_LIBSOURCES_DIR], [import])
686 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
691 # Like AC_LIBOBJ, except that the module name goes
692 # into gltests_LIBOBJS instead of into LIBOBJS.
693 AC_DEFUN([gltests_LIBOBJ], [
694 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
695 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
698 # Like AC_REPLACE_FUNCS, except that the module name goes
699 # into gltests_LIBOBJS instead of into LIBOBJS.
700 AC_DEFUN([gltests_REPLACE_FUNCS], [
701 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
702 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
705 # Like AC_LIBSOURCES, except the directory where the source file is
706 # expected is derived from the gnulib-tool parameterization,
707 # and alloca is special cased (for the alloca-opt module).
708 # We could also entirely rely on EXTRA_lib..._SOURCES.
709 AC_DEFUN([gltests_LIBSOURCES], [
710 m4_foreach([_gl_NAME], [$1], [
711 m4_if(_gl_NAME, [alloca.c], [], [
712 m4_define([gltests_LIBSOURCES_DIR], [tests])
713 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
718 # This macro records the list of files which have been installed by
719 # gnulib-tool and may be removed by future gnulib-tool invocations.
720 AC_DEFUN([gl_FILE_LIST], [
721 build-aux/snippet/_Noreturn.h
722 build-aux/snippet/arg-nonnull.h
723 build-aux/snippet/c++defs.h
724 build-aux/snippet/warn-on-use.h
725 build-aux/update-copyright
731 lib/canonicalize-lgpl.c
761 lib/filenamecat-lgpl.c
809 lib/mbsrtowcs-state.c
831 lib/rawmemchr.valgrind
854 lib/strchrnul.valgrind
857 lib/strerror-override.c
858 lib/strerror-override.h
882 m4/absolute-header.m4
895 m4/double-slash-root.m4
920 m4/getcwd-abort-bug.m4
921 m4/getcwd-path-max.m4