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 arpa_inet:
49 # Code from module assure:
50 # Code from module at-internal:
51 # Code from module canonicalize-lgpl:
52 # Code from module chdir:
53 # Code from module chdir-long:
54 # Code from module cloexec:
55 # Code from module close:
56 # Code from module closedir:
57 # Code from module configmake:
58 # Code from module d-ino:
59 # Code from module d-type:
60 # Code from module dirent:
61 # Code from module dirfd:
62 # Code from module dirname-lgpl:
63 # Code from module dosname:
64 # Code from module double-slash-root:
65 # Code from module dup:
66 # Code from module dup2:
67 # Code from module environ:
68 # Code from module errno:
69 # Code from module error:
70 # Code from module exitfail:
71 # Code from module extensions:
72 # Code from module extern-inline:
73 # Code from module fchdir:
74 # Code from module fcntl:
75 # Code from module fcntl-h:
76 # Code from module fd-hook:
77 # Code from module fdopendir:
78 # Code from module filename:
79 # Code from module filenamecat-lgpl:
80 # Code from module flexmember:
81 # Code from module float:
82 # Code from module fnmatch:
83 # Code from module fnmatch-gnu:
84 # Code from module fpieee:
85 AC_REQUIRE([gl_FP_IEEE])
86 # Code from module fpucw:
87 # Code from module frexp:
88 # Code from module frexpl:
89 # Code from module fstat:
90 # Code from module fstatat:
91 # Code from module getcwd:
92 # Code from module getcwd-lgpl:
93 # Code from module getdtablesize:
94 # Code from module getlogin_r:
95 # Code from module getprogname:
96 # Code from module gettext-h:
97 # Code from module gettimeofday:
98 # Code from module glob:
99 # Code from module hard-locale:
100 # Code from module include_next:
101 # Code from module inet_ntop:
102 # Code from module intprops:
103 # Code from module inttypes:
104 # Code from module inttypes-incomplete:
105 # Code from module isnand-nolibm:
106 # Code from module isnanl-nolibm:
107 # Code from module largefile:
108 AC_REQUIRE([AC_SYS_LARGEFILE])
109 # Code from module limits-h:
110 # Code from module localcharset:
111 # Code from module lstat:
112 # Code from module malloc-posix:
113 # Code from module malloca:
114 # Code from module math:
115 # Code from module mbrtowc:
116 # Code from module mbsinit:
117 # Code from module mbsrtowcs:
118 # Code from module memchr:
119 # Code from module memmem:
120 # Code from module memmem-simple:
121 # Code from module mempcpy:
122 # Code from module memrchr:
123 # Code from module mkdir:
124 # Code from module mkdtemp:
125 # Code from module mkostemp:
126 # Code from module msvc-inval:
127 # Code from module msvc-nothrow:
128 # Code from module multiarch:
129 # Code from module netinet_in:
130 # Code from module nocrash:
131 # Code from module open:
132 # Code from module openat:
133 # Code from module openat-die:
134 # Code from module openat-h:
135 # Code from module opendir:
136 # Code from module pathmax:
137 # Code from module rawmemchr:
138 # Code from module readdir:
139 # Code from module readlink:
140 # Code from module realloc-posix:
141 # Code from module rename:
142 # Code from module rewinddir:
143 # Code from module rmdir:
144 # Code from module same-inode:
145 # Code from module save-cwd:
146 # Code from module secure_getenv:
147 # Code from module setenv:
148 # Code from module signal-h:
149 # Code from module snippet/_Noreturn:
150 # Code from module snippet/arg-nonnull:
151 # Code from module snippet/c++defs:
152 # Code from module snippet/warn-on-use:
153 # Code from module socklen:
154 # Code from module ssize_t:
155 # Code from module stat:
156 # Code from module stdalign:
157 # Code from module stdbool:
158 # Code from module stddef:
159 # Code from module stdint:
160 # Code from module stdio:
161 # Code from module stdlib:
162 # Code from module strchrnul:
163 # Code from module strdup-posix:
164 # Code from module streq:
165 # Code from module strerror:
166 # Code from module strerror-override:
167 # Code from module string:
168 # Code from module strnlen1:
169 # Code from module strstr:
170 # Code from module strstr-simple:
171 # Code from module strtok_r:
172 # Code from module sys_socket:
173 # Code from module sys_stat:
174 # Code from module sys_time:
175 # Code from module sys_types:
176 # Code from module sys_uio:
177 # Code from module tempname:
178 # Code from module time:
179 # Code from module unistd:
180 # Code from module unistd-safer:
181 # Code from module unsetenv:
182 # Code from module update-copyright:
183 # Code from module verify:
184 # Code from module wchar:
185 # Code from module wctype-h:
188 # This macro should be invoked from ./configure.ac, in the section
189 # "Check for header files, types and library functions".
192 AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
193 gl_cond_libtool=false
196 gl_m4_base='import/m4'
197 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
198 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
199 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
200 m4_pushdef([gl_LIBSOURCES_LIST], [])
201 m4_pushdef([gl_LIBSOURCES_DIR], [])
203 gl_source_base='import'
207 AC_LIBOBJ([openat-proc])
209 if test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1; then
210 AC_LIBOBJ([canonicalize-lgpl])
212 gl_MODULE_INDICATOR([canonicalize-lgpl])
213 gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name])
214 gl_STDLIB_MODULE_INDICATOR([realpath])
215 gl_UNISTD_MODULE_INDICATOR([chdir])
217 if test $gl_cv_have_arbitrary_file_name_length_limit = yes; then
218 AC_LIBOBJ([chdir-long])
221 gl_MODULE_INDICATOR_FOR_TESTS([cloexec])
223 if test $REPLACE_CLOSE = 1; then
226 gl_UNISTD_MODULE_INDICATOR([close])
228 if test $HAVE_CLOSEDIR = 0 || test $REPLACE_CLOSEDIR = 1; then
229 AC_LIBOBJ([closedir])
231 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])
278 if test $HAVE_FDOPENDIR = 0 || test $REPLACE_FDOPENDIR = 1; then
279 AC_LIBOBJ([fdopendir])
281 gl_DIRENT_MODULE_INDICATOR([fdopendir])
282 gl_MODULE_INDICATOR([fdopendir])
283 gl_FILE_NAME_CONCAT_LGPL
284 AC_C_FLEXIBLE_ARRAY_MEMBER
286 if test $REPLACE_FLOAT_LDBL = 1; then
289 if test $REPLACE_ITOLD = 1; then
292 gl_FUNC_FNMATCH_POSIX
293 if test -n "$FNMATCH_H"; then
298 if test -n "$FNMATCH_H"; then
303 if test $gl_func_frexp != yes; then
306 gl_MATH_MODULE_INDICATOR([frexp])
308 if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl = no; then
311 gl_MATH_MODULE_INDICATOR([frexpl])
313 if test $REPLACE_FSTAT = 1; then
317 gl_SYS_STAT_MODULE_INDICATOR([fstat])
319 if test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1; then
322 gl_SYS_STAT_MODULE_INDICATOR([fstatat])
324 if test $REPLACE_GETCWD = 1; then
328 gl_MODULE_INDICATOR([getcwd])
329 gl_UNISTD_MODULE_INDICATOR([getcwd])
331 if test $REPLACE_GETCWD = 1; then
332 AC_LIBOBJ([getcwd-lgpl])
334 gl_UNISTD_MODULE_INDICATOR([getcwd])
335 gl_FUNC_GETDTABLESIZE
336 if test $HAVE_GETDTABLESIZE = 0 || test $REPLACE_GETDTABLESIZE = 1; then
337 AC_LIBOBJ([getdtablesize])
338 gl_PREREQ_GETDTABLESIZE
340 gl_UNISTD_MODULE_INDICATOR([getdtablesize])
342 if test $HAVE_GETLOGIN_R = 0 || test $REPLACE_GETLOGIN_R = 1; then
343 AC_LIBOBJ([getlogin_r])
346 gl_UNISTD_MODULE_INDICATOR([getlogin_r])
349 AC_SUBST([LTLIBINTL])
351 if test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1; then
352 AC_LIBOBJ([gettimeofday])
353 gl_PREREQ_GETTIMEOFDAY
355 gl_SYS_TIME_MODULE_INDICATOR([gettimeofday])
357 if test -n "$GLOB_H"; then
363 if test $HAVE_INET_NTOP = 0 || test $REPLACE_INET_NTOP = 1; then
364 AC_LIBOBJ([inet_ntop])
367 gl_ARPA_INET_MODULE_INDICATOR([inet_ntop])
369 gl_INTTYPES_INCOMPLETE
370 gl_FUNC_ISNAND_NO_LIBM
371 if test $gl_func_isnand_no_libm != yes; then
375 gl_FUNC_ISNANL_NO_LIBM
376 if test $gl_func_isnanl_no_libm != yes; then
380 AC_REQUIRE([gl_LARGEFILE])
383 LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(abs_top_builddir)/$gl_source_base\""
384 AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
386 if test $REPLACE_LSTAT = 1; then
390 gl_SYS_STAT_MODULE_INDICATOR([lstat])
392 if test $REPLACE_MALLOC = 1; then
395 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
399 if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then
403 gl_WCHAR_MODULE_INDICATOR([mbrtowc])
405 if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then
409 gl_WCHAR_MODULE_INDICATOR([mbsinit])
411 if test $HAVE_MBSRTOWCS = 0 || test $REPLACE_MBSRTOWCS = 1; then
412 AC_LIBOBJ([mbsrtowcs])
413 AC_LIBOBJ([mbsrtowcs-state])
416 gl_WCHAR_MODULE_INDICATOR([mbsrtowcs])
418 if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
422 gl_STRING_MODULE_INDICATOR([memchr])
424 if test $HAVE_MEMMEM = 0 || test $REPLACE_MEMMEM = 1; then
427 gl_FUNC_MEMMEM_SIMPLE
428 if test $HAVE_MEMMEM = 0 || test $REPLACE_MEMMEM = 1; then
431 gl_STRING_MODULE_INDICATOR([memmem])
433 if test $HAVE_MEMPCPY = 0; then
437 gl_STRING_MODULE_INDICATOR([mempcpy])
439 if test $ac_cv_func_memrchr = no; then
443 gl_STRING_MODULE_INDICATOR([memrchr])
445 if test $REPLACE_MKDIR = 1; then
449 if test $HAVE_MKDTEMP = 0; then
453 gl_STDLIB_MODULE_INDICATOR([mkdtemp])
455 if test $HAVE_MKOSTEMP = 0; then
456 AC_LIBOBJ([mkostemp])
459 gl_MODULE_INDICATOR([mkostemp])
460 gl_STDLIB_MODULE_INDICATOR([mkostemp])
461 AC_REQUIRE([gl_MSVC_INVAL])
462 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
463 AC_LIBOBJ([msvc-inval])
465 AC_REQUIRE([gl_MSVC_NOTHROW])
466 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
467 AC_LIBOBJ([msvc-nothrow])
473 if test $REPLACE_OPEN = 1; then
477 gl_FCNTL_MODULE_INDICATOR([open])
479 if test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1; then
483 gl_MODULE_INDICATOR([openat]) dnl for lib/getcwd.c
484 gl_FCNTL_MODULE_INDICATOR([openat])
486 if test $HAVE_OPENDIR = 0 || test $REPLACE_OPENDIR = 1; then
489 gl_DIRENT_MODULE_INDICATOR([opendir])
492 if test $HAVE_RAWMEMCHR = 0; then
493 AC_LIBOBJ([rawmemchr])
496 gl_STRING_MODULE_INDICATOR([rawmemchr])
498 if test $HAVE_READDIR = 0; then
501 gl_DIRENT_MODULE_INDICATOR([readdir])
503 if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then
504 AC_LIBOBJ([readlink])
507 gl_UNISTD_MODULE_INDICATOR([readlink])
508 gl_FUNC_REALLOC_POSIX
509 if test $REPLACE_REALLOC = 1; then
512 gl_STDLIB_MODULE_INDICATOR([realloc-posix])
514 if test $REPLACE_RENAME = 1; then
517 gl_STDIO_MODULE_INDICATOR([rename])
519 if test $HAVE_REWINDDIR = 0; then
520 AC_LIBOBJ([rewinddir])
522 gl_DIRENT_MODULE_INDICATOR([rewinddir])
524 if test $REPLACE_RMDIR = 1; then
527 gl_UNISTD_MODULE_INDICATOR([rmdir])
529 gl_FUNC_SECURE_GETENV
530 if test $HAVE_SECURE_GETENV = 0; then
531 AC_LIBOBJ([secure_getenv])
532 gl_PREREQ_SECURE_GETENV
534 gl_STDLIB_MODULE_INDICATOR([secure_getenv])
536 if test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1; then
539 gl_STDLIB_MODULE_INDICATOR([setenv])
544 if test $REPLACE_STAT = 1; then
548 gl_SYS_STAT_MODULE_INDICATOR([stat])
556 if test $HAVE_STRCHRNUL = 0 || test $REPLACE_STRCHRNUL = 1; then
557 AC_LIBOBJ([strchrnul])
560 gl_STRING_MODULE_INDICATOR([strchrnul])
562 if test $ac_cv_func_strdup = no || test $REPLACE_STRDUP = 1; then
566 gl_STRING_MODULE_INDICATOR([strdup])
568 if test $REPLACE_STRERROR = 1; then
569 AC_LIBOBJ([strerror])
571 gl_MODULE_INDICATOR([strerror])
572 gl_STRING_MODULE_INDICATOR([strerror])
573 AC_REQUIRE([gl_HEADER_ERRNO_H])
574 AC_REQUIRE([gl_FUNC_STRERROR_0])
575 if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then
576 AC_LIBOBJ([strerror-override])
577 gl_PREREQ_SYS_H_WINSOCK2
581 if test $REPLACE_STRSTR = 1; then
584 gl_FUNC_STRSTR_SIMPLE
585 if test $REPLACE_STRSTR = 1; then
588 gl_STRING_MODULE_INDICATOR([strstr])
590 if test $HAVE_STRTOK_R = 0 || test $REPLACE_STRTOK_R = 1; then
591 AC_LIBOBJ([strtok_r])
594 gl_STRING_MODULE_INDICATOR([strtok_r])
595 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
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/snippet/_Noreturn.h
758 build-aux/snippet/arg-nonnull.h
759 build-aux/snippet/c++defs.h
760 build-aux/snippet/warn-on-use.h
761 build-aux/update-copyright
768 lib/canonicalize-lgpl.c
798 lib/filenamecat-lgpl.c
847 lib/mbsrtowcs-state.c
872 lib/rawmemchr.valgrind
896 lib/strchrnul.valgrind
899 lib/strerror-override.c
900 lib/strerror-override.h
927 m4/absolute-header.m4
941 m4/double-slash-root.m4
966 m4/getcwd-abort-bug.m4
967 m4/getcwd-path-max.m4