1 # DO NOT EDIT! GENERATED AUTOMATICALLY!
2 # Copyright (C) 2002-2018 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 <https://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 AC_REQUIRE([AM_PROG_CC_C_O])
46 # Code from module absolute-header:
47 # Code from module alloca:
48 # Code from module alloca-opt:
49 # Code from module assure:
50 # Code from module at-internal:
51 # Code from module builtin-expect:
52 # Code from module c99:
53 # Code from module canonicalize-lgpl:
54 # Code from module chdir:
55 # Code from module chdir-long:
56 # Code from module cloexec:
57 # Code from module close:
58 # Code from module closedir:
59 # Code from module d-ino:
60 # Code from module d-type:
61 # Code from module dirent:
62 # Code from module dirfd:
63 # Code from module dirname-lgpl:
64 # Code from module dosname:
65 # Code from module double-slash-root:
66 # Code from module dup:
67 # Code from module dup2:
68 # Code from module environ:
69 # Code from module errno:
70 # Code from module error:
71 # Code from module exitfail:
72 # Code from module extensions:
73 # Code from module extern-inline:
74 # Code from module fchdir:
75 # Code from module fcntl:
76 # Code from module fcntl-h:
77 # Code from module fd-hook:
78 # Code from module fd-safer-flag:
79 # Code from module fdopendir:
80 # Code from module filename:
81 # Code from module filenamecat-lgpl:
82 # Code from module flexmember:
83 # Code from module float:
84 # Code from module fnmatch:
85 # Code from module fnmatch-gnu:
86 # Code from module fnmatch-h:
87 # Code from module fpieee:
88 AC_REQUIRE([gl_FP_IEEE])
89 # Code from module fpucw:
90 # Code from module frexp:
91 # Code from module frexpl:
92 # Code from module fstat:
93 # Code from module fstatat:
94 # Code from module getcwd:
95 # Code from module getcwd-lgpl:
96 # Code from module getdtablesize:
97 # Code from module getlogin_r:
98 # Code from module getprogname:
99 # Code from module gettext-h:
100 # Code from module gettimeofday:
101 # Code from module glob:
102 # Code from module glob-h:
103 # Code from module hard-locale:
104 # Code from module include_next:
105 # Code from module intprops:
106 # Code from module inttypes:
107 # Code from module inttypes-incomplete:
108 # Code from module isnand-nolibm:
109 # Code from module isnanl-nolibm:
110 # Code from module largefile:
111 AC_REQUIRE([AC_SYS_LARGEFILE])
112 # Code from module libc-config:
113 # Code from module limits-h:
114 # Code from module localcharset:
115 # Code from module localtime-buffer:
116 # Code from module lstat:
117 # Code from module malloc-posix:
118 # Code from module malloca:
119 # Code from module math:
120 # Code from module mbrtowc:
121 # Code from module mbsinit:
122 # Code from module mbsrtowcs:
123 # Code from module memchr:
124 # Code from module memmem:
125 # Code from module memmem-simple:
126 # Code from module mempcpy:
127 # Code from module memrchr:
128 # Code from module mkdir:
129 # Code from module mkstemp:
130 # Code from module msvc-inval:
131 # Code from module msvc-nothrow:
132 # Code from module multiarch:
133 # Code from module nocrash:
134 # Code from module open:
135 # Code from module openat:
136 # Code from module openat-die:
137 # Code from module openat-h:
138 # Code from module opendir:
139 # Code from module pathmax:
140 # Code from module rawmemchr:
141 # Code from module readdir:
142 # Code from module readlink:
143 # Code from module realloc-posix:
144 # Code from module rename:
145 # Code from module rewinddir:
146 # Code from module rmdir:
147 # Code from module same-inode:
148 # Code from module save-cwd:
149 # Code from module scratch_buffer:
150 # Code from module setenv:
151 # Code from module signal-h:
152 # Code from module snippet/_Noreturn:
153 # Code from module snippet/arg-nonnull:
154 # Code from module snippet/c++defs:
155 # Code from module snippet/warn-on-use:
156 # Code from module ssize_t:
157 # Code from module stat:
158 # Code from module stat-time:
159 # Code from module std-gnu11:
160 # Code from module stdbool:
161 # Code from module stddef:
162 # Code from module stdint:
163 # Code from module stdio:
164 # Code from module stdlib:
165 # Code from module strchrnul:
166 # Code from module strdup-posix:
167 # Code from module streq:
168 # Code from module strerror:
169 # Code from module strerror-override:
170 # Code from module string:
171 # Code from module strnlen1:
172 # Code from module strstr:
173 # Code from module strstr-simple:
174 # Code from module strtok_r:
175 # Code from module sys_stat:
176 # Code from module sys_time:
177 # Code from module sys_types:
178 # Code from module tempname:
179 # Code from module time:
180 # Code from module unistd:
181 # Code from module unistd-safer:
182 # Code from module unsetenv:
183 # Code from module update-copyright:
184 # Code from module verify:
185 # Code from module wchar:
186 # Code from module wctype-h:
187 # Code from module xalloc-oversized:
190 # This macro should be invoked from ./configure.ac, in the section
191 # "Check for header files, types and library functions".
194 AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
195 gl_cond_libtool=false
198 gl_m4_base='import/m4'
199 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
200 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
201 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
202 m4_pushdef([gl_LIBSOURCES_LIST], [])
203 m4_pushdef([gl_LIBSOURCES_DIR], [])
205 gl_source_base='import'
207 AC_LIBOBJ([openat-proc])
210 if test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1; then
211 AC_LIBOBJ([canonicalize-lgpl])
213 gl_MODULE_INDICATOR([canonicalize-lgpl])
214 gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name])
215 gl_STDLIB_MODULE_INDICATOR([realpath])
216 gl_UNISTD_MODULE_INDICATOR([chdir])
218 if test $gl_cv_have_arbitrary_file_name_length_limit = yes; then
219 AC_LIBOBJ([chdir-long])
222 gl_MODULE_INDICATOR_FOR_TESTS([cloexec])
224 if test $REPLACE_CLOSE = 1; then
227 gl_UNISTD_MODULE_INDICATOR([close])
229 if test $HAVE_CLOSEDIR = 0 || test $REPLACE_CLOSEDIR = 1; then
230 AC_LIBOBJ([closedir])
232 gl_DIRENT_MODULE_INDICATOR([closedir])
233 gl_CHECK_TYPE_STRUCT_DIRENT_D_INO
234 gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE
237 if test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no \
238 || test $REPLACE_DIRFD = 1; then
242 gl_DIRENT_MODULE_INDICATOR([dirfd])
246 if test $REPLACE_DUP = 1; then
250 gl_UNISTD_MODULE_INDICATOR([dup])
252 if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then
256 gl_UNISTD_MODULE_INDICATOR([dup2])
258 gl_UNISTD_MODULE_INDICATOR([environ])
261 if test $ac_cv_lib_error_at_line = no; then
265 m4_ifdef([AM_XGETTEXT_OPTION],
266 [AM_][XGETTEXT_OPTION([--flag=error:3:c-format])
267 AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])])
268 AC_REQUIRE([gl_EXTERN_INLINE])
270 gl_UNISTD_MODULE_INDICATOR([fchdir])
272 if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then
275 gl_FCNTL_MODULE_INDICATOR([fcntl])
277 gl_MODULE_INDICATOR([fd-safer-flag])
279 if test $HAVE_FDOPENDIR = 0 || test $REPLACE_FDOPENDIR = 1; then
280 AC_LIBOBJ([fdopendir])
282 gl_DIRENT_MODULE_INDICATOR([fdopendir])
283 gl_MODULE_INDICATOR([fdopendir])
284 gl_FILE_NAME_CONCAT_LGPL
285 AC_C_FLEXIBLE_ARRAY_MEMBER
287 if test $REPLACE_FLOAT_LDBL = 1; then
290 if test $REPLACE_ITOLD = 1; then
293 gl_FUNC_FNMATCH_POSIX
294 if test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1; then
298 gl_FNMATCH_MODULE_INDICATOR([fnmatch])
300 if test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1; then
304 gl_MODULE_INDICATOR([fnmatch-gnu])
306 AC_REQUIRE([gl_FUNC_FREXP])
307 if test $gl_func_frexp != yes; then
310 gl_MATH_MODULE_INDICATOR([frexp])
311 AC_REQUIRE([gl_FUNC_FREXPL])
312 if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl = no; then
315 gl_MATH_MODULE_INDICATOR([frexpl])
317 if test $REPLACE_FSTAT = 1; then
321 AC_LIBOBJ([stat-w32])
326 gl_SYS_STAT_MODULE_INDICATOR([fstat])
328 if test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1; then
331 gl_SYS_STAT_MODULE_INDICATOR([fstatat])
333 if test $REPLACE_GETCWD = 1; then
337 gl_MODULE_INDICATOR([getcwd])
338 gl_UNISTD_MODULE_INDICATOR([getcwd])
340 if test $REPLACE_GETCWD = 1; then
341 AC_LIBOBJ([getcwd-lgpl])
343 gl_UNISTD_MODULE_INDICATOR([getcwd])
344 gl_FUNC_GETDTABLESIZE
345 if test $HAVE_GETDTABLESIZE = 0 || test $REPLACE_GETDTABLESIZE = 1; then
346 AC_LIBOBJ([getdtablesize])
347 gl_PREREQ_GETDTABLESIZE
349 gl_UNISTD_MODULE_INDICATOR([getdtablesize])
351 if test $HAVE_GETLOGIN_R = 0 || test $REPLACE_GETLOGIN_R = 1; then
352 AC_LIBOBJ([getlogin_r])
355 gl_UNISTD_MODULE_INDICATOR([getlogin_r])
356 AC_REQUIRE([gl_LIB_GETLOGIN])
359 AC_SUBST([LTLIBINTL])
361 if test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1; then
362 AC_LIBOBJ([gettimeofday])
363 gl_PREREQ_GETTIMEOFDAY
365 gl_SYS_TIME_MODULE_INDICATOR([gettimeofday])
367 if test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1; then
369 AC_LIBOBJ([globfree])
372 if test $HAVE_GLOB_PATTERN_P = 0 || test $REPLACE_GLOB_PATTERN_P = 1; then
373 AC_LIBOBJ([glob_pattern_p])
375 gl_GLOB_MODULE_INDICATOR([glob])
378 gl_INTTYPES_INCOMPLETE
379 gl_FUNC_ISNAND_NO_LIBM
380 if test $gl_func_isnand_no_libm != yes; then
384 gl_FUNC_ISNANL_NO_LIBM
385 if test $gl_func_isnanl_no_libm != yes; then
389 AC_REQUIRE([gl_LARGEFILE])
393 dnl For backward compatibility. Some packages still use this.
394 LOCALCHARSET_TESTS_ENVIRONMENT=
395 AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
396 AC_REQUIRE([gl_LOCALTIME_BUFFER_DEFAULTS])
397 AC_LIBOBJ([localtime-buffer])
399 if test $REPLACE_LSTAT = 1; then
403 gl_SYS_STAT_MODULE_INDICATOR([lstat])
405 if test $REPLACE_MALLOC = 1; then
408 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
412 if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then
416 gl_WCHAR_MODULE_INDICATOR([mbrtowc])
418 if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then
422 gl_WCHAR_MODULE_INDICATOR([mbsinit])
424 if test $HAVE_MBSRTOWCS = 0 || test $REPLACE_MBSRTOWCS = 1; then
425 AC_LIBOBJ([mbsrtowcs])
426 AC_LIBOBJ([mbsrtowcs-state])
429 gl_WCHAR_MODULE_INDICATOR([mbsrtowcs])
431 if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
435 gl_STRING_MODULE_INDICATOR([memchr])
437 if test $HAVE_MEMMEM = 0 || test $REPLACE_MEMMEM = 1; then
440 gl_FUNC_MEMMEM_SIMPLE
441 if test $HAVE_MEMMEM = 0 || test $REPLACE_MEMMEM = 1; then
444 gl_STRING_MODULE_INDICATOR([memmem])
446 if test $HAVE_MEMPCPY = 0; then
450 gl_STRING_MODULE_INDICATOR([mempcpy])
452 if test $ac_cv_func_memrchr = no; then
456 gl_STRING_MODULE_INDICATOR([memrchr])
458 if test $REPLACE_MKDIR = 1; then
462 if test $HAVE_MKSTEMP = 0 || test $REPLACE_MKSTEMP = 1; then
466 gl_STDLIB_MODULE_INDICATOR([mkstemp])
467 AC_REQUIRE([gl_MSVC_INVAL])
468 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
469 AC_LIBOBJ([msvc-inval])
471 AC_REQUIRE([gl_MSVC_NOTHROW])
472 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
473 AC_LIBOBJ([msvc-nothrow])
475 gl_MODULE_INDICATOR([msvc-nothrow])
478 if test $REPLACE_OPEN = 1; then
482 gl_FCNTL_MODULE_INDICATOR([open])
484 if test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1; then
488 gl_MODULE_INDICATOR([openat]) dnl for lib/getcwd.c
489 gl_FCNTL_MODULE_INDICATOR([openat])
491 if test $HAVE_OPENDIR = 0 || test $REPLACE_OPENDIR = 1; then
494 gl_DIRENT_MODULE_INDICATOR([opendir])
497 if test $HAVE_RAWMEMCHR = 0; then
498 AC_LIBOBJ([rawmemchr])
501 gl_STRING_MODULE_INDICATOR([rawmemchr])
503 if test $HAVE_READDIR = 0; then
506 gl_DIRENT_MODULE_INDICATOR([readdir])
508 if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then
509 AC_LIBOBJ([readlink])
512 gl_UNISTD_MODULE_INDICATOR([readlink])
513 gl_FUNC_REALLOC_POSIX
514 if test $REPLACE_REALLOC = 1; then
517 gl_STDLIB_MODULE_INDICATOR([realloc-posix])
519 if test $REPLACE_RENAME = 1; then
522 gl_STDIO_MODULE_INDICATOR([rename])
524 if test $HAVE_REWINDDIR = 0; then
525 AC_LIBOBJ([rewinddir])
527 gl_DIRENT_MODULE_INDICATOR([rewinddir])
529 if test $REPLACE_RMDIR = 1; then
532 gl_UNISTD_MODULE_INDICATOR([rmdir])
535 if test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1; then
538 gl_STDLIB_MODULE_INDICATOR([setenv])
542 if test $REPLACE_STAT = 1; then
546 AC_LIBOBJ([stat-w32])
551 gl_SYS_STAT_MODULE_INDICATOR([stat])
560 if test $HAVE_STRCHRNUL = 0 || test $REPLACE_STRCHRNUL = 1; then
561 AC_LIBOBJ([strchrnul])
564 gl_STRING_MODULE_INDICATOR([strchrnul])
566 if test $ac_cv_func_strdup = no || test $REPLACE_STRDUP = 1; then
570 gl_STRING_MODULE_INDICATOR([strdup])
572 if test $REPLACE_STRERROR = 1; then
573 AC_LIBOBJ([strerror])
575 gl_MODULE_INDICATOR([strerror])
576 gl_STRING_MODULE_INDICATOR([strerror])
577 AC_REQUIRE([gl_HEADER_ERRNO_H])
578 AC_REQUIRE([gl_FUNC_STRERROR_0])
579 if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then
580 AC_LIBOBJ([strerror-override])
581 gl_PREREQ_SYS_H_WINSOCK2
585 if test $REPLACE_STRSTR = 1; then
588 gl_FUNC_STRSTR_SIMPLE
589 if test $REPLACE_STRSTR = 1; then
592 gl_STRING_MODULE_INDICATOR([strstr])
594 if test $HAVE_STRTOK_R = 0 || test $REPLACE_STRTOK_R = 1; then
595 AC_LIBOBJ([strtok_r])
598 gl_STRING_MODULE_INDICATOR([strtok_r])
610 if test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1; then
611 AC_LIBOBJ([unsetenv])
614 gl_STDLIB_MODULE_INDICATOR([unsetenv])
617 # End of code from modules
618 m4_ifval(gl_LIBSOURCES_LIST, [
619 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
620 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
621 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
622 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
626 m4_if(m4_sysval, [0], [],
627 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
629 m4_popdef([gl_LIBSOURCES_DIR])
630 m4_popdef([gl_LIBSOURCES_LIST])
631 m4_popdef([AC_LIBSOURCES])
632 m4_popdef([AC_REPLACE_FUNCS])
633 m4_popdef([AC_LIBOBJ])
634 AC_CONFIG_COMMANDS_PRE([
637 if test -n "$gl_LIBOBJS"; then
638 # Remove the extension.
639 sed_drop_objext='s/\.o$//;s/\.obj$//'
640 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
641 gl_libobjs="$gl_libobjs $i.$ac_objext"
642 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
645 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
646 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
650 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
651 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
652 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
653 m4_pushdef([gltests_LIBSOURCES_LIST], [])
654 m4_pushdef([gltests_LIBSOURCES_DIR], [])
656 gl_source_base='tests'
658 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
660 AC_SUBST([gltests_WITNESS])
661 gl_module_indicator_condition=$gltests_WITNESS
662 m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
663 m4_popdef([gl_MODULE_INDICATOR_CONDITION])
664 m4_ifval(gltests_LIBSOURCES_LIST, [
665 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
666 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
667 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
668 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
672 m4_if(m4_sysval, [0], [],
673 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
675 m4_popdef([gltests_LIBSOURCES_DIR])
676 m4_popdef([gltests_LIBSOURCES_LIST])
677 m4_popdef([AC_LIBSOURCES])
678 m4_popdef([AC_REPLACE_FUNCS])
679 m4_popdef([AC_LIBOBJ])
680 AC_CONFIG_COMMANDS_PRE([
683 if test -n "$gltests_LIBOBJS"; then
684 # Remove the extension.
685 sed_drop_objext='s/\.o$//;s/\.obj$//'
686 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
687 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
688 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
691 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
692 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
694 LIBGNU_LIBDEPS="$gl_libdeps"
695 AC_SUBST([LIBGNU_LIBDEPS])
696 LIBGNU_LTLIBDEPS="$gl_ltlibdeps"
697 AC_SUBST([LIBGNU_LTLIBDEPS])
700 # Like AC_LIBOBJ, except that the module name goes
701 # into gl_LIBOBJS instead of into LIBOBJS.
702 AC_DEFUN([gl_LIBOBJ], [
703 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
704 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
707 # Like AC_REPLACE_FUNCS, except that the module name goes
708 # into gl_LIBOBJS instead of into LIBOBJS.
709 AC_DEFUN([gl_REPLACE_FUNCS], [
710 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
711 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
714 # Like AC_LIBSOURCES, except the directory where the source file is
715 # expected is derived from the gnulib-tool parameterization,
716 # and alloca is special cased (for the alloca-opt module).
717 # We could also entirely rely on EXTRA_lib..._SOURCES.
718 AC_DEFUN([gl_LIBSOURCES], [
719 m4_foreach([_gl_NAME], [$1], [
720 m4_if(_gl_NAME, [alloca.c], [], [
721 m4_define([gl_LIBSOURCES_DIR], [import])
722 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
727 # Like AC_LIBOBJ, except that the module name goes
728 # into gltests_LIBOBJS instead of into LIBOBJS.
729 AC_DEFUN([gltests_LIBOBJ], [
730 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
731 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
734 # Like AC_REPLACE_FUNCS, except that the module name goes
735 # into gltests_LIBOBJS instead of into LIBOBJS.
736 AC_DEFUN([gltests_REPLACE_FUNCS], [
737 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
738 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
741 # Like AC_LIBSOURCES, except the directory where the source file is
742 # expected is derived from the gnulib-tool parameterization,
743 # and alloca is special cased (for the alloca-opt module).
744 # We could also entirely rely on EXTRA_lib..._SOURCES.
745 AC_DEFUN([gltests_LIBSOURCES], [
746 m4_foreach([_gl_NAME], [$1], [
747 m4_if(_gl_NAME, [alloca.c], [], [
748 m4_define([gltests_LIBSOURCES_DIR], [tests])
749 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
754 # This macro records the list of files which have been installed by
755 # gnulib-tool and may be removed by future gnulib-tool invocations.
756 AC_DEFUN([gl_FILE_LIST], [
757 build-aux/update-copyright
766 lib/canonicalize-lgpl.c
798 lib/filenamecat-lgpl.c
840 lib/localtime-buffer.c
841 lib/localtime-buffer.h
844 lib/malloc/scratch_buffer.h
845 lib/malloc/scratch_buffer_grow.c
846 lib/malloc/scratch_buffer_grow_preserve.c
847 lib/malloc/scratch_buffer_set_array_size.c
855 lib/mbsrtowcs-state.c
878 lib/rawmemchr.valgrind
903 lib/strchrnul.valgrind
906 lib/strerror-override.c
907 lib/strerror-override.h
931 lib/xalloc-oversized.h
934 m4/absolute-header.m4
947 m4/double-slash-root.m4
973 m4/getcwd-abort-bug.m4
974 m4/getcwd-path-max.m4
996 m4/localtime-buffer.m4