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 mkstemp:
125 # Code from module msvc-inval:
126 # Code from module msvc-nothrow:
127 # Code from module multiarch:
128 # Code from module netinet_in:
129 # Code from module nocrash:
130 # Code from module open:
131 # Code from module openat:
132 # Code from module openat-die:
133 # Code from module openat-h:
134 # Code from module opendir:
135 # Code from module pathmax:
136 # Code from module rawmemchr:
137 # Code from module readdir:
138 # Code from module readlink:
139 # Code from module realloc-posix:
140 # Code from module rename:
141 # Code from module rewinddir:
142 # Code from module rmdir:
143 # Code from module same-inode:
144 # Code from module save-cwd:
145 # Code from module secure_getenv:
146 # Code from module setenv:
147 # Code from module signal-h:
148 # Code from module snippet/_Noreturn:
149 # Code from module snippet/arg-nonnull:
150 # Code from module snippet/c++defs:
151 # Code from module snippet/warn-on-use:
152 # Code from module socklen:
153 # Code from module ssize_t:
154 # Code from module stat:
155 # Code from module stdalign:
156 # Code from module stdbool:
157 # Code from module stddef:
158 # Code from module stdint:
159 # Code from module stdio:
160 # Code from module stdlib:
161 # Code from module strchrnul:
162 # Code from module strdup-posix:
163 # Code from module streq:
164 # Code from module strerror:
165 # Code from module strerror-override:
166 # Code from module string:
167 # Code from module strnlen1:
168 # Code from module strstr:
169 # Code from module strstr-simple:
170 # Code from module strtok_r:
171 # Code from module sys_socket:
172 # Code from module sys_stat:
173 # Code from module sys_time:
174 # Code from module sys_types:
175 # Code from module sys_uio:
176 # Code from module tempname:
177 # Code from module time:
178 # Code from module unistd:
179 # Code from module unistd-safer:
180 # Code from module unsetenv:
181 # Code from module update-copyright:
182 # Code from module verify:
183 # Code from module wchar:
184 # Code from module wctype-h:
187 # This macro should be invoked from ./configure.ac, in the section
188 # "Check for header files, types and library functions".
191 AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
192 gl_cond_libtool=false
195 gl_m4_base='import/m4'
196 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
197 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
198 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
199 m4_pushdef([gl_LIBSOURCES_LIST], [])
200 m4_pushdef([gl_LIBSOURCES_DIR], [])
202 gl_source_base='import'
206 AC_LIBOBJ([openat-proc])
208 if test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1; then
209 AC_LIBOBJ([canonicalize-lgpl])
211 gl_MODULE_INDICATOR([canonicalize-lgpl])
212 gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name])
213 gl_STDLIB_MODULE_INDICATOR([realpath])
214 gl_UNISTD_MODULE_INDICATOR([chdir])
216 if test $gl_cv_have_arbitrary_file_name_length_limit = yes; then
217 AC_LIBOBJ([chdir-long])
220 gl_MODULE_INDICATOR_FOR_TESTS([cloexec])
222 if test $REPLACE_CLOSE = 1; then
225 gl_UNISTD_MODULE_INDICATOR([close])
227 if test $HAVE_CLOSEDIR = 0 || test $REPLACE_CLOSEDIR = 1; then
228 AC_LIBOBJ([closedir])
230 gl_DIRENT_MODULE_INDICATOR([closedir])
232 gl_CHECK_TYPE_STRUCT_DIRENT_D_INO
233 gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE
236 if test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no \
237 || test $REPLACE_DIRFD = 1; then
241 gl_DIRENT_MODULE_INDICATOR([dirfd])
245 if test $REPLACE_DUP = 1; then
249 gl_UNISTD_MODULE_INDICATOR([dup])
251 if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then
255 gl_UNISTD_MODULE_INDICATOR([dup2])
257 gl_UNISTD_MODULE_INDICATOR([environ])
260 if test $ac_cv_lib_error_at_line = no; then
264 m4_ifdef([AM_XGETTEXT_OPTION],
265 [AM_][XGETTEXT_OPTION([--flag=error:3:c-format])
266 AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])])
267 AC_REQUIRE([gl_EXTERN_INLINE])
269 gl_UNISTD_MODULE_INDICATOR([fchdir])
271 if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then
274 gl_FCNTL_MODULE_INDICATOR([fcntl])
277 if test $HAVE_FDOPENDIR = 0 || test $REPLACE_FDOPENDIR = 1; then
278 AC_LIBOBJ([fdopendir])
280 gl_DIRENT_MODULE_INDICATOR([fdopendir])
281 gl_MODULE_INDICATOR([fdopendir])
282 gl_FILE_NAME_CONCAT_LGPL
283 AC_C_FLEXIBLE_ARRAY_MEMBER
285 if test $REPLACE_FLOAT_LDBL = 1; then
288 if test $REPLACE_ITOLD = 1; then
291 gl_FUNC_FNMATCH_POSIX
292 if test -n "$FNMATCH_H"; then
297 if test -n "$FNMATCH_H"; then
302 if test $gl_func_frexp != yes; then
305 gl_MATH_MODULE_INDICATOR([frexp])
307 if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl = no; then
310 gl_MATH_MODULE_INDICATOR([frexpl])
312 if test $REPLACE_FSTAT = 1; then
316 gl_SYS_STAT_MODULE_INDICATOR([fstat])
318 if test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1; then
321 gl_SYS_STAT_MODULE_INDICATOR([fstatat])
323 if test $REPLACE_GETCWD = 1; then
327 gl_MODULE_INDICATOR([getcwd])
328 gl_UNISTD_MODULE_INDICATOR([getcwd])
330 if test $REPLACE_GETCWD = 1; then
331 AC_LIBOBJ([getcwd-lgpl])
333 gl_UNISTD_MODULE_INDICATOR([getcwd])
334 gl_FUNC_GETDTABLESIZE
335 if test $HAVE_GETDTABLESIZE = 0 || test $REPLACE_GETDTABLESIZE = 1; then
336 AC_LIBOBJ([getdtablesize])
337 gl_PREREQ_GETDTABLESIZE
339 gl_UNISTD_MODULE_INDICATOR([getdtablesize])
341 if test $HAVE_GETLOGIN_R = 0 || test $REPLACE_GETLOGIN_R = 1; then
342 AC_LIBOBJ([getlogin_r])
345 gl_UNISTD_MODULE_INDICATOR([getlogin_r])
348 AC_SUBST([LTLIBINTL])
350 if test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1; then
351 AC_LIBOBJ([gettimeofday])
352 gl_PREREQ_GETTIMEOFDAY
354 gl_SYS_TIME_MODULE_INDICATOR([gettimeofday])
356 if test -n "$GLOB_H"; then
362 if test $HAVE_INET_NTOP = 0 || test $REPLACE_INET_NTOP = 1; then
363 AC_LIBOBJ([inet_ntop])
366 gl_ARPA_INET_MODULE_INDICATOR([inet_ntop])
368 gl_INTTYPES_INCOMPLETE
369 gl_FUNC_ISNAND_NO_LIBM
370 if test $gl_func_isnand_no_libm != yes; then
374 gl_FUNC_ISNANL_NO_LIBM
375 if test $gl_func_isnanl_no_libm != yes; then
379 AC_REQUIRE([gl_LARGEFILE])
382 LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(abs_top_builddir)/$gl_source_base\""
383 AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
385 if test $REPLACE_LSTAT = 1; then
389 gl_SYS_STAT_MODULE_INDICATOR([lstat])
391 if test $REPLACE_MALLOC = 1; then
394 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
398 if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then
402 gl_WCHAR_MODULE_INDICATOR([mbrtowc])
404 if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then
408 gl_WCHAR_MODULE_INDICATOR([mbsinit])
410 if test $HAVE_MBSRTOWCS = 0 || test $REPLACE_MBSRTOWCS = 1; then
411 AC_LIBOBJ([mbsrtowcs])
412 AC_LIBOBJ([mbsrtowcs-state])
415 gl_WCHAR_MODULE_INDICATOR([mbsrtowcs])
417 if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
421 gl_STRING_MODULE_INDICATOR([memchr])
423 if test $HAVE_MEMMEM = 0 || test $REPLACE_MEMMEM = 1; then
426 gl_FUNC_MEMMEM_SIMPLE
427 if test $HAVE_MEMMEM = 0 || test $REPLACE_MEMMEM = 1; then
430 gl_STRING_MODULE_INDICATOR([memmem])
432 if test $HAVE_MEMPCPY = 0; then
436 gl_STRING_MODULE_INDICATOR([mempcpy])
438 if test $ac_cv_func_memrchr = no; then
442 gl_STRING_MODULE_INDICATOR([memrchr])
444 if test $REPLACE_MKDIR = 1; then
448 if test $HAVE_MKSTEMP = 0 || test $REPLACE_MKSTEMP = 1; then
452 gl_STDLIB_MODULE_INDICATOR([mkstemp])
453 AC_REQUIRE([gl_MSVC_INVAL])
454 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
455 AC_LIBOBJ([msvc-inval])
457 AC_REQUIRE([gl_MSVC_NOTHROW])
458 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
459 AC_LIBOBJ([msvc-nothrow])
465 if test $REPLACE_OPEN = 1; then
469 gl_FCNTL_MODULE_INDICATOR([open])
471 if test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1; then
475 gl_MODULE_INDICATOR([openat]) dnl for lib/getcwd.c
476 gl_FCNTL_MODULE_INDICATOR([openat])
478 if test $HAVE_OPENDIR = 0 || test $REPLACE_OPENDIR = 1; then
481 gl_DIRENT_MODULE_INDICATOR([opendir])
484 if test $HAVE_RAWMEMCHR = 0; then
485 AC_LIBOBJ([rawmemchr])
488 gl_STRING_MODULE_INDICATOR([rawmemchr])
490 if test $HAVE_READDIR = 0; then
493 gl_DIRENT_MODULE_INDICATOR([readdir])
495 if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then
496 AC_LIBOBJ([readlink])
499 gl_UNISTD_MODULE_INDICATOR([readlink])
500 gl_FUNC_REALLOC_POSIX
501 if test $REPLACE_REALLOC = 1; then
504 gl_STDLIB_MODULE_INDICATOR([realloc-posix])
506 if test $REPLACE_RENAME = 1; then
509 gl_STDIO_MODULE_INDICATOR([rename])
511 if test $HAVE_REWINDDIR = 0; then
512 AC_LIBOBJ([rewinddir])
514 gl_DIRENT_MODULE_INDICATOR([rewinddir])
516 if test $REPLACE_RMDIR = 1; then
519 gl_UNISTD_MODULE_INDICATOR([rmdir])
521 gl_FUNC_SECURE_GETENV
522 if test $HAVE_SECURE_GETENV = 0; then
523 AC_LIBOBJ([secure_getenv])
524 gl_PREREQ_SECURE_GETENV
526 gl_STDLIB_MODULE_INDICATOR([secure_getenv])
528 if test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1; then
531 gl_STDLIB_MODULE_INDICATOR([setenv])
536 if test $REPLACE_STAT = 1; then
540 gl_SYS_STAT_MODULE_INDICATOR([stat])
548 if test $HAVE_STRCHRNUL = 0 || test $REPLACE_STRCHRNUL = 1; then
549 AC_LIBOBJ([strchrnul])
552 gl_STRING_MODULE_INDICATOR([strchrnul])
554 if test $ac_cv_func_strdup = no || test $REPLACE_STRDUP = 1; then
558 gl_STRING_MODULE_INDICATOR([strdup])
560 if test $REPLACE_STRERROR = 1; then
561 AC_LIBOBJ([strerror])
563 gl_MODULE_INDICATOR([strerror])
564 gl_STRING_MODULE_INDICATOR([strerror])
565 AC_REQUIRE([gl_HEADER_ERRNO_H])
566 AC_REQUIRE([gl_FUNC_STRERROR_0])
567 if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then
568 AC_LIBOBJ([strerror-override])
569 gl_PREREQ_SYS_H_WINSOCK2
573 if test $REPLACE_STRSTR = 1; then
576 gl_FUNC_STRSTR_SIMPLE
577 if test $REPLACE_STRSTR = 1; then
580 gl_STRING_MODULE_INDICATOR([strstr])
582 if test $HAVE_STRTOK_R = 0 || test $REPLACE_STRTOK_R = 1; then
583 AC_LIBOBJ([strtok_r])
586 gl_STRING_MODULE_INDICATOR([strtok_r])
587 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
602 if test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1; then
603 AC_LIBOBJ([unsetenv])
606 gl_STDLIB_MODULE_INDICATOR([unsetenv])
609 # End of code from modules
610 m4_ifval(gl_LIBSOURCES_LIST, [
611 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
612 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
613 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
614 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
618 m4_if(m4_sysval, [0], [],
619 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
621 m4_popdef([gl_LIBSOURCES_DIR])
622 m4_popdef([gl_LIBSOURCES_LIST])
623 m4_popdef([AC_LIBSOURCES])
624 m4_popdef([AC_REPLACE_FUNCS])
625 m4_popdef([AC_LIBOBJ])
626 AC_CONFIG_COMMANDS_PRE([
629 if test -n "$gl_LIBOBJS"; then
630 # Remove the extension.
631 sed_drop_objext='s/\.o$//;s/\.obj$//'
632 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
633 gl_libobjs="$gl_libobjs $i.$ac_objext"
634 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
637 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
638 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
642 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
643 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
644 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
645 m4_pushdef([gltests_LIBSOURCES_LIST], [])
646 m4_pushdef([gltests_LIBSOURCES_DIR], [])
648 gl_source_base='tests'
650 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
652 AC_SUBST([gltests_WITNESS])
653 gl_module_indicator_condition=$gltests_WITNESS
654 m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
655 m4_popdef([gl_MODULE_INDICATOR_CONDITION])
656 m4_ifval(gltests_LIBSOURCES_LIST, [
657 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
658 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
659 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
660 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
664 m4_if(m4_sysval, [0], [],
665 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
667 m4_popdef([gltests_LIBSOURCES_DIR])
668 m4_popdef([gltests_LIBSOURCES_LIST])
669 m4_popdef([AC_LIBSOURCES])
670 m4_popdef([AC_REPLACE_FUNCS])
671 m4_popdef([AC_LIBOBJ])
672 AC_CONFIG_COMMANDS_PRE([
675 if test -n "$gltests_LIBOBJS"; then
676 # Remove the extension.
677 sed_drop_objext='s/\.o$//;s/\.obj$//'
678 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
679 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
680 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
683 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
684 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
686 LIBGNU_LIBDEPS="$gl_libdeps"
687 AC_SUBST([LIBGNU_LIBDEPS])
688 LIBGNU_LTLIBDEPS="$gl_ltlibdeps"
689 AC_SUBST([LIBGNU_LTLIBDEPS])
692 # Like AC_LIBOBJ, except that the module name goes
693 # into gl_LIBOBJS instead of into LIBOBJS.
694 AC_DEFUN([gl_LIBOBJ], [
695 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
696 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
699 # Like AC_REPLACE_FUNCS, except that the module name goes
700 # into gl_LIBOBJS instead of into LIBOBJS.
701 AC_DEFUN([gl_REPLACE_FUNCS], [
702 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
703 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
706 # Like AC_LIBSOURCES, except the directory where the source file is
707 # expected is derived from the gnulib-tool parameterization,
708 # and alloca is special cased (for the alloca-opt module).
709 # We could also entirely rely on EXTRA_lib..._SOURCES.
710 AC_DEFUN([gl_LIBSOURCES], [
711 m4_foreach([_gl_NAME], [$1], [
712 m4_if(_gl_NAME, [alloca.c], [], [
713 m4_define([gl_LIBSOURCES_DIR], [import])
714 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
719 # Like AC_LIBOBJ, except that the module name goes
720 # into gltests_LIBOBJS instead of into LIBOBJS.
721 AC_DEFUN([gltests_LIBOBJ], [
722 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
723 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
726 # Like AC_REPLACE_FUNCS, except that the module name goes
727 # into gltests_LIBOBJS instead of into LIBOBJS.
728 AC_DEFUN([gltests_REPLACE_FUNCS], [
729 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
730 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
733 # Like AC_LIBSOURCES, except the directory where the source file is
734 # expected is derived from the gnulib-tool parameterization,
735 # and alloca is special cased (for the alloca-opt module).
736 # We could also entirely rely on EXTRA_lib..._SOURCES.
737 AC_DEFUN([gltests_LIBSOURCES], [
738 m4_foreach([_gl_NAME], [$1], [
739 m4_if(_gl_NAME, [alloca.c], [], [
740 m4_define([gltests_LIBSOURCES_DIR], [tests])
741 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
746 # This macro records the list of files which have been installed by
747 # gnulib-tool and may be removed by future gnulib-tool invocations.
748 AC_DEFUN([gl_FILE_LIST], [
749 build-aux/snippet/_Noreturn.h
750 build-aux/snippet/arg-nonnull.h
751 build-aux/snippet/c++defs.h
752 build-aux/snippet/warn-on-use.h
753 build-aux/update-copyright
760 lib/canonicalize-lgpl.c
790 lib/filenamecat-lgpl.c
839 lib/mbsrtowcs-state.c
863 lib/rawmemchr.valgrind
887 lib/strchrnul.valgrind
890 lib/strerror-override.c
891 lib/strerror-override.h
918 m4/absolute-header.m4
932 m4/double-slash-root.m4
957 m4/getcwd-abort-bug.m4
958 m4/getcwd-path-max.m4