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 AC_REQUIRE([AM_PROG_CC_C_O])
46 # Code from module absolute-header:
47 # Code from module alloca-opt:
48 # Code from module announce-gen:
49 # Code from module assure:
50 # Code from module at-internal:
51 # Code from module calloc:
52 # Code from module calloc-gnu:
53 # Code from module calloc-posix:
54 # Code from module chdir:
55 # Code from module chdir-long:
56 # Code from module clock-time:
57 # Code from module cloexec:
58 # Code from module close:
59 # Code from module closedir:
60 # Code from module dirent:
61 # Code from module dirent-safer:
62 # Code from module dirfd:
63 # Code from module dirname-lgpl:
64 # Code from module do-release-commit-and-tag:
65 # Code from module dosname:
66 # Code from module double-slash-root:
67 # Code from module dup:
68 # Code from module dup2:
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 fclose:
76 # Code from module fcntl:
77 # Code from module fcntl-h:
78 # Code from module fcntl-safer:
79 # Code from module fd-hook:
80 # Code from module fdatasync:
81 # Code from module fdl:
82 # Code from module fdopendir:
83 # Code from module fflush:
84 AC_REQUIRE([AC_FUNC_FSEEKO])
85 # Code from module filename:
86 # Code from module filenamecat-lgpl:
87 # Code from module float:
88 # Code from module fpieee:
89 AC_REQUIRE([gl_FP_IEEE])
90 # Code from module fprintf-posix:
91 # Code from module fpucw:
92 # Code from module fpurge:
93 # Code from module freading:
94 # Code from module frexp-nolibm:
95 # Code from module frexpl-nolibm:
96 # Code from module fseek:
97 # Code from module fseeko:
98 AC_REQUIRE([AC_FUNC_FSEEKO])
99 # Code from module fseterr:
100 # Code from module fstat:
101 # Code from module fstatat:
102 # Code from module fsync:
103 # Code from module ftell:
104 # Code from module ftello:
105 AC_REQUIRE([AC_FUNC_FSEEKO])
106 # Code from module gendocs:
107 # Code from module getcwd-lgpl:
108 # Code from module getdtablesize:
109 # Code from module getopt-gnu:
110 # Code from module getopt-posix:
111 # Code from module gettext-h:
112 # Code from module gettime:
113 # Code from module gettimeofday:
114 # Code from module git-version-gen:
115 # Code from module gitlog-to-changelog:
116 # Code from module gnu-make:
117 # Code from module gnu-web-doc-update:
118 # Code from module gnumakefile:
119 # Code from module gnupload:
120 # Code from module havelib:
121 # Code from module ignore-value:
122 # Code from module include_next:
123 # Code from module intprops:
124 # Code from module isnand-nolibm:
125 # Code from module isnanf-nolibm:
126 # Code from module isnanl-nolibm:
127 # Code from module largefile:
128 AC_REQUIRE([AC_SYS_LARGEFILE])
129 # Code from module lib-ignore:
130 # Code from module lock:
131 # Code from module lseek:
132 # Code from module lstat:
133 # Code from module maintainer-makefile:
134 # Code from module malloc-gnu:
135 # Code from module malloc-posix:
136 # Code from module manywarnings:
137 # Code from module math:
138 # Code from module memchr:
139 # Code from module mempcpy:
140 # Code from module memrchr:
141 # Code from module msvc-inval:
142 # Code from module msvc-nothrow:
143 # Code from module multiarch:
144 # Code from module nocrash:
145 # Code from module open:
146 # Code from module openat:
147 # Code from module openat-die:
148 # Code from module openat-h:
149 # Code from module openat-safer:
150 # Code from module opendir:
151 # Code from module pathmax:
152 # Code from module perror:
153 # Code from module printf-frexp:
154 # Code from module printf-frexpl:
155 # Code from module printf-posix:
156 # Code from module printf-safe:
157 # Code from module readdir:
158 # Code from module readme-release:
159 # Code from module realloc-gnu:
160 # Code from module realloc-posix:
161 # Code from module rmdir:
162 # Code from module save-cwd:
163 # Code from module savedir:
164 # Code from module signbit:
165 # Code from module size_max:
166 # Code from module snippet/_Noreturn:
167 # Code from module snippet/arg-nonnull:
168 # Code from module snippet/c++defs:
169 # Code from module snippet/unused-parameter:
170 # Code from module snippet/warn-on-use:
171 # Code from module ssize_t:
172 # Code from module stat:
173 # Code from module stat-time:
174 # Code from module statat:
175 # Code from module stdbool:
176 # Code from module stddef:
177 # Code from module stdint:
178 # Code from module stdio:
179 # Code from module stdlib:
180 # Code from module stpcpy:
181 # Code from module strdup-posix:
182 # Code from module strerror:
183 # Code from module strerror-override:
184 # Code from module strerror_r-posix:
185 # Code from module string:
186 # Code from module sys_stat:
187 # Code from module sys_time:
188 # Code from module sys_types:
189 # Code from module threadlib:
191 # Code from module time:
192 # Code from module timespec:
193 # Code from module unistd:
194 # Code from module unistd-safer:
195 # Code from module unlink:
196 # Code from module unlinkat:
197 # Code from module update-copyright:
198 # Code from module useless-if-before-free:
199 # Code from module utimens:
200 # Code from module vasnprintf:
201 # Code from module vc-list-files:
202 # Code from module verify:
203 # Code from module vfprintf-posix:
204 # Code from module warnings:
205 # Code from module wchar:
206 # Code from module xalloc:
207 # Code from module xalloc-die:
208 # Code from module xalloc-oversized:
209 # Code from module xsize:
210 # Code from module yesno:
213 # This macro should be invoked from ./configure.ac, in the section
214 # "Check for header files, types and library functions".
217 AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
218 gl_cond_libtool=false
222 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
223 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
224 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
225 m4_pushdef([gl_LIBSOURCES_LIST], [])
226 m4_pushdef([gl_LIBSOURCES_DIR], [])
230 AC_LIBOBJ([openat-proc])
232 if test $REPLACE_CALLOC = 1; then
235 gl_MODULE_INDICATOR([calloc-gnu])
237 if test $REPLACE_CALLOC = 1; then
240 gl_STDLIB_MODULE_INDICATOR([calloc-posix])
241 gl_UNISTD_MODULE_INDICATOR([chdir])
243 if test $gl_cv_have_arbitrary_file_name_length_limit = yes; then
244 AC_LIBOBJ([chdir-long])
248 gl_MODULE_INDICATOR_FOR_TESTS([cloexec])
250 if test $REPLACE_CLOSE = 1; then
253 gl_UNISTD_MODULE_INDICATOR([close])
255 if test $HAVE_CLOSEDIR = 0 || test $REPLACE_CLOSEDIR = 1; then
256 AC_LIBOBJ([closedir])
258 gl_DIRENT_MODULE_INDICATOR([closedir])
261 gl_MODULE_INDICATOR([dirent-safer])
263 if test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no \
264 || test $REPLACE_DIRFD = 1; then
268 gl_DIRENT_MODULE_INDICATOR([dirfd])
272 if test $REPLACE_DUP = 1; then
276 gl_UNISTD_MODULE_INDICATOR([dup])
278 if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then
282 gl_UNISTD_MODULE_INDICATOR([dup2])
285 if test $ac_cv_lib_error_at_line = no; then
289 m4_ifdef([AM_XGETTEXT_OPTION],
290 [AM_][XGETTEXT_OPTION([--flag=error:3:c-format])
291 AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])])
292 AC_REQUIRE([gl_EXTERN_INLINE])
294 gl_UNISTD_MODULE_INDICATOR([fchdir])
296 if test $REPLACE_FCLOSE = 1; then
299 gl_STDIO_MODULE_INDICATOR([fclose])
301 if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then
304 gl_FCNTL_MODULE_INDICATOR([fcntl])
307 gl_MODULE_INDICATOR([fcntl-safer])
309 if test $HAVE_FDATASYNC = 0; then
310 AC_LIBOBJ([fdatasync])
312 gl_UNISTD_MODULE_INDICATOR([fdatasync])
314 if test $HAVE_FDOPENDIR = 0 || test $REPLACE_FDOPENDIR = 1; then
315 AC_LIBOBJ([fdopendir])
317 gl_DIRENT_MODULE_INDICATOR([fdopendir])
318 gl_MODULE_INDICATOR([fdopendir])
320 if test $REPLACE_FFLUSH = 1; then
324 gl_MODULE_INDICATOR([fflush])
325 gl_STDIO_MODULE_INDICATOR([fflush])
326 gl_FILE_NAME_CONCAT_LGPL
328 if test $REPLACE_FLOAT_LDBL = 1; then
331 if test $REPLACE_ITOLD = 1; then
334 gl_FUNC_FPRINTF_POSIX
335 gl_STDIO_MODULE_INDICATOR([fprintf-posix])
337 if test $HAVE_FPURGE = 0 || test $REPLACE_FPURGE = 1; then
340 gl_STDIO_MODULE_INDICATOR([fpurge])
342 gl_FUNC_FREXP_NO_LIBM
343 if test $gl_func_frexp_no_libm != yes; then
346 gl_MATH_MODULE_INDICATOR([frexp])
347 gl_FUNC_FREXPL_NO_LIBM
348 if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no; then
351 gl_MATH_MODULE_INDICATOR([frexpl])
353 if test $REPLACE_FSEEK = 1; then
356 gl_STDIO_MODULE_INDICATOR([fseek])
358 if test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1; then
362 gl_STDIO_MODULE_INDICATOR([fseeko])
364 if test $ac_cv_func___fseterr = no; then
368 if test $REPLACE_FSTAT = 1; then
372 gl_SYS_STAT_MODULE_INDICATOR([fstat])
374 if test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1; then
377 gl_SYS_STAT_MODULE_INDICATOR([fstatat])
379 if test $HAVE_FSYNC = 0; then
383 gl_UNISTD_MODULE_INDICATOR([fsync])
385 if test $REPLACE_FTELL = 1; then
388 gl_STDIO_MODULE_INDICATOR([ftell])
390 if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then
394 gl_STDIO_MODULE_INDICATOR([ftello])
396 if test $REPLACE_GETCWD = 1; then
397 AC_LIBOBJ([getcwd-lgpl])
399 gl_UNISTD_MODULE_INDICATOR([getcwd])
400 gl_FUNC_GETDTABLESIZE
401 if test $HAVE_GETDTABLESIZE = 0 || test $REPLACE_GETDTABLESIZE = 1; then
402 AC_LIBOBJ([getdtablesize])
403 gl_PREREQ_GETDTABLESIZE
405 gl_UNISTD_MODULE_INDICATOR([getdtablesize])
407 if test $REPLACE_GETOPT = 1; then
411 dnl Arrange for unistd.h to include getopt.h.
412 GNULIB_GL_UNISTD_H_GETOPT=1
414 AC_SUBST([GNULIB_GL_UNISTD_H_GETOPT])
415 gl_MODULE_INDICATOR_FOR_TESTS([getopt-gnu])
417 if test $REPLACE_GETOPT = 1; then
421 dnl Arrange for unistd.h to include getopt.h.
422 GNULIB_GL_UNISTD_H_GETOPT=1
424 AC_SUBST([GNULIB_GL_UNISTD_H_GETOPT])
426 AC_SUBST([LTLIBINTL])
429 if test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1; then
430 AC_LIBOBJ([gettimeofday])
431 gl_PREREQ_GETTIMEOFDAY
433 gl_SYS_TIME_MODULE_INDICATOR([gettimeofday])
435 # Autoconf 2.61a.99 and earlier don't support linking a file only
436 # in VPATH builds. But since GNUmakefile is for maintainer use
437 # only, it does not matter if we skip the link with older autoconf.
438 # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
439 # builds, so use a shell variable to bypass this.
440 GNUmakefile=GNUmakefile
441 m4_if(m4_version_compare([2.61a.100],
442 m4_defn([m4_PACKAGE_VERSION])), [1], [],
443 [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
444 [GNUmakefile=$GNUmakefile])])
445 gl_FUNC_ISNAND_NO_LIBM
446 if test $gl_func_isnand_no_libm != yes; then
450 gl_FUNC_ISNANF_NO_LIBM
451 if test $gl_func_isnanf_no_libm != yes; then
455 gl_FUNC_ISNANL_NO_LIBM
456 if test $gl_func_isnanl_no_libm != yes; then
460 AC_REQUIRE([gl_LARGEFILE])
461 gl_IGNORE_UNUSED_LIBRARIES
463 gl_MODULE_INDICATOR([lock])
465 if test $REPLACE_LSEEK = 1; then
468 gl_UNISTD_MODULE_INDICATOR([lseek])
470 if test $REPLACE_LSTAT = 1; then
474 gl_SYS_STAT_MODULE_INDICATOR([lstat])
475 AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER],
476 [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])])
477 AC_REQUIRE([AC_PROG_SED])
479 if test $REPLACE_MALLOC = 1; then
482 gl_MODULE_INDICATOR([malloc-gnu])
484 if test $REPLACE_MALLOC = 1; then
487 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
490 if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
494 gl_STRING_MODULE_INDICATOR([memchr])
496 if test $HAVE_MEMPCPY = 0; then
500 gl_STRING_MODULE_INDICATOR([mempcpy])
502 if test $ac_cv_func_memrchr = no; then
506 gl_STRING_MODULE_INDICATOR([memrchr])
507 AC_REQUIRE([gl_MSVC_INVAL])
508 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
509 AC_LIBOBJ([msvc-inval])
511 AC_REQUIRE([gl_MSVC_NOTHROW])
512 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
513 AC_LIBOBJ([msvc-nothrow])
517 if test $REPLACE_OPEN = 1; then
521 gl_FCNTL_MODULE_INDICATOR([open])
523 if test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1; then
527 gl_MODULE_INDICATOR([openat]) dnl for lib/getcwd.c
528 gl_FCNTL_MODULE_INDICATOR([openat])
530 gl_MODULE_INDICATOR([openat-safer])
532 if test $HAVE_OPENDIR = 0 || test $REPLACE_OPENDIR = 1; then
535 gl_DIRENT_MODULE_INDICATOR([opendir])
538 if test $REPLACE_PERROR = 1; then
541 gl_STRING_MODULE_INDICATOR([perror])
543 gl_FUNC_PRINTF_FREXPL
545 gl_STDIO_MODULE_INDICATOR([printf-posix])
546 m4_divert_text([INIT_PREPARE], [gl_printf_safe=yes])
548 if test $HAVE_READDIR = 0; then
551 gl_DIRENT_MODULE_INDICATOR([readdir])
553 if test $REPLACE_REALLOC = 1; then
556 gl_MODULE_INDICATOR([realloc-gnu])
557 gl_FUNC_REALLOC_POSIX
558 if test $REPLACE_REALLOC = 1; then
561 gl_STDLIB_MODULE_INDICATOR([realloc-posix])
563 if test $REPLACE_RMDIR = 1; then
566 gl_UNISTD_MODULE_INDICATOR([rmdir])
570 if test $REPLACE_SIGNBIT = 1; then
571 AC_LIBOBJ([signbitf])
572 AC_LIBOBJ([signbitd])
573 AC_LIBOBJ([signbitl])
575 gl_MATH_MODULE_INDICATOR([signbit])
579 if test $REPLACE_STAT = 1; then
583 gl_SYS_STAT_MODULE_INDICATOR([stat])
586 gl_MODULE_INDICATOR([statat]) dnl for lib/openat.h
593 if test $HAVE_STPCPY = 0; then
597 gl_STRING_MODULE_INDICATOR([stpcpy])
599 if test $ac_cv_func_strdup = no || test $REPLACE_STRDUP = 1; then
603 gl_STRING_MODULE_INDICATOR([strdup])
605 if test $REPLACE_STRERROR = 1; then
606 AC_LIBOBJ([strerror])
608 gl_MODULE_INDICATOR([strerror])
609 gl_STRING_MODULE_INDICATOR([strerror])
610 AC_REQUIRE([gl_HEADER_ERRNO_H])
611 AC_REQUIRE([gl_FUNC_STRERROR_0])
612 if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then
613 AC_LIBOBJ([strerror-override])
614 gl_PREREQ_SYS_H_WINSOCK2
617 if test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1; then
618 AC_LIBOBJ([strerror_r])
621 gl_STRING_MODULE_INDICATOR([strerror_r])
635 if test $REPLACE_UNLINK = 1; then
638 gl_UNISTD_MODULE_INDICATOR([unlink])
640 if test $HAVE_UNLINKAT = 0 || test $REPLACE_UNLINKAT = 1; then
641 AC_LIBOBJ([unlinkat])
643 gl_UNISTD_MODULE_INDICATOR([unlinkat])
646 gl_FUNC_VFPRINTF_POSIX
647 gl_STDIO_MODULE_INDICATOR([vfprintf-posix])
652 # End of code from modules
653 m4_ifval(gl_LIBSOURCES_LIST, [
654 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
655 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
656 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
657 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
661 m4_if(m4_sysval, [0], [],
662 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
664 m4_popdef([gl_LIBSOURCES_DIR])
665 m4_popdef([gl_LIBSOURCES_LIST])
666 m4_popdef([AC_LIBSOURCES])
667 m4_popdef([AC_REPLACE_FUNCS])
668 m4_popdef([AC_LIBOBJ])
669 AC_CONFIG_COMMANDS_PRE([
672 if test -n "$gl_LIBOBJS"; then
673 # Remove the extension.
674 sed_drop_objext='s/\.o$//;s/\.obj$//'
675 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
676 gl_libobjs="$gl_libobjs $i.$ac_objext"
677 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
680 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
681 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
685 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
686 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
687 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
688 m4_pushdef([gltests_LIBSOURCES_LIST], [])
689 m4_pushdef([gltests_LIBSOURCES_DIR], [])
691 gl_source_base='tests'
693 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
695 AC_SUBST([gltests_WITNESS])
696 gl_module_indicator_condition=$gltests_WITNESS
697 m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
698 m4_popdef([gl_MODULE_INDICATOR_CONDITION])
699 m4_ifval(gltests_LIBSOURCES_LIST, [
700 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
701 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
702 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
703 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
707 m4_if(m4_sysval, [0], [],
708 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
710 m4_popdef([gltests_LIBSOURCES_DIR])
711 m4_popdef([gltests_LIBSOURCES_LIST])
712 m4_popdef([AC_LIBSOURCES])
713 m4_popdef([AC_REPLACE_FUNCS])
714 m4_popdef([AC_LIBOBJ])
715 AC_CONFIG_COMMANDS_PRE([
718 if test -n "$gltests_LIBOBJS"; then
719 # Remove the extension.
720 sed_drop_objext='s/\.o$//;s/\.obj$//'
721 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
722 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
723 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
726 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
727 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
729 LIBGZIP_LIBDEPS="$gl_libdeps"
730 AC_SUBST([LIBGZIP_LIBDEPS])
731 LIBGZIP_LTLIBDEPS="$gl_ltlibdeps"
732 AC_SUBST([LIBGZIP_LTLIBDEPS])
735 # Like AC_LIBOBJ, except that the module name goes
736 # into gl_LIBOBJS instead of into LIBOBJS.
737 AC_DEFUN([gl_LIBOBJ], [
738 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
739 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
742 # Like AC_REPLACE_FUNCS, except that the module name goes
743 # into gl_LIBOBJS instead of into LIBOBJS.
744 AC_DEFUN([gl_REPLACE_FUNCS], [
745 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
746 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
749 # Like AC_LIBSOURCES, except the directory where the source file is
750 # expected is derived from the gnulib-tool parameterization,
751 # and alloca is special cased (for the alloca-opt module).
752 # We could also entirely rely on EXTRA_lib..._SOURCES.
753 AC_DEFUN([gl_LIBSOURCES], [
754 m4_foreach([_gl_NAME], [$1], [
755 m4_if(_gl_NAME, [alloca.c], [], [
756 m4_define([gl_LIBSOURCES_DIR], [lib])
757 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
762 # Like AC_LIBOBJ, except that the module name goes
763 # into gltests_LIBOBJS instead of into LIBOBJS.
764 AC_DEFUN([gltests_LIBOBJ], [
765 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
766 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
769 # Like AC_REPLACE_FUNCS, except that the module name goes
770 # into gltests_LIBOBJS instead of into LIBOBJS.
771 AC_DEFUN([gltests_REPLACE_FUNCS], [
772 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
773 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
776 # Like AC_LIBSOURCES, except the directory where the source file is
777 # expected is derived from the gnulib-tool parameterization,
778 # and alloca is special cased (for the alloca-opt module).
779 # We could also entirely rely on EXTRA_lib..._SOURCES.
780 AC_DEFUN([gltests_LIBSOURCES], [
781 m4_foreach([_gl_NAME], [$1], [
782 m4_if(_gl_NAME, [alloca.c], [], [
783 m4_define([gltests_LIBSOURCES_DIR], [tests])
784 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
789 # This macro records the list of files which have been installed by
790 # gnulib-tool and may be removed by future gnulib-tool invocations.
791 AC_DEFUN([gl_FILE_LIST], [
792 build-aux/announce-gen
793 build-aux/config.rpath
794 build-aux/do-release-commit-and-tag
796 build-aux/git-version-gen
797 build-aux/gitlog-to-changelog
798 build-aux/gnu-web-doc-update
800 build-aux/snippet/_Noreturn.h
801 build-aux/snippet/arg-nonnull.h
802 build-aux/snippet/c++defs.h
803 build-aux/snippet/unused-parameter.h
804 build-aux/snippet/warn-on-use.h
805 build-aux/update-copyright
806 build-aux/useless-if-before-free
807 build-aux/vc-list-files
810 doc/gendocs_template_min
853 lib/filenamecat-lgpl.c
885 lib/glthread/threadlib.c
954 lib/strerror-override.c
955 lib/strerror-override.h
980 lib/xalloc-oversized.h
988 m4/absolute-header.m4
1000 m4/double-slash-root.m4
1078 m4/printf-posix-rpl.m4
1116 m4/vfprintf-posix.m4