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-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 fd-safer-flag:
81 # Code from module fdatasync:
82 # Code from module fdl:
83 # Code from module fdopendir:
84 # Code from module fflush:
85 AC_REQUIRE([AC_FUNC_FSEEKO])
86 # Code from module filename:
87 # Code from module filenamecat-lgpl:
88 # Code from module float:
89 # Code from module fpieee:
90 AC_REQUIRE([gl_FP_IEEE])
91 # Code from module fprintf-posix:
92 # Code from module fpucw:
93 # Code from module fpurge:
94 # Code from module freading:
95 # Code from module frexp-nolibm:
96 # Code from module frexpl-nolibm:
97 # Code from module fseek:
98 # Code from module fseeko:
99 AC_REQUIRE([AC_FUNC_FSEEKO])
100 # Code from module fseterr:
101 # Code from module fstat:
102 # Code from module fstatat:
103 # Code from module fsync:
104 # Code from module ftell:
105 # Code from module ftello:
106 AC_REQUIRE([AC_FUNC_FSEEKO])
107 # Code from module gendocs:
108 # Code from module getcwd-lgpl:
109 # Code from module getdtablesize:
110 # Code from module getopt-gnu:
111 # Code from module getopt-posix:
112 # Code from module getprogname:
113 # Code from module gettext-h:
114 # Code from module gettime:
115 # Code from module gettimeofday:
116 # Code from module git-version-gen:
117 # Code from module gitlog-to-changelog:
118 # Code from module gnu-make:
119 # Code from module gnu-web-doc-update:
120 # Code from module gnumakefile:
121 # Code from module gnupload:
122 # Code from module havelib:
123 # Code from module host-cpu-c-abi:
124 # Code from module ignore-value:
125 # Code from module include_next:
126 # Code from module intprops:
127 # Code from module isnand-nolibm:
128 # Code from module isnanf-nolibm:
129 # Code from module isnanl-nolibm:
130 # Code from module largefile:
131 AC_REQUIRE([AC_SYS_LARGEFILE])
132 # Code from module lib-ignore:
133 # Code from module limits-h:
134 # Code from module localtime-buffer:
135 # Code from module lock:
136 # Code from module lseek:
137 # Code from module lstat:
138 # Code from module maintainer-makefile:
139 # Code from module malloc-gnu:
140 # Code from module malloc-posix:
141 # Code from module malloca:
142 # Code from module manywarnings:
143 # Code from module math:
144 # Code from module memchr:
145 # Code from module mempcpy:
146 # Code from module memrchr:
147 # Code from module msvc-inval:
148 # Code from module msvc-nothrow:
149 # Code from module multiarch:
150 # Code from module nocrash:
151 # Code from module open:
152 # Code from module openat:
153 # Code from module openat-die:
154 # Code from module openat-h:
155 # Code from module openat-safer:
156 # Code from module opendir:
157 # Code from module pathmax:
158 # Code from module perror:
159 # Code from module printf-frexp:
160 # Code from module printf-frexpl:
161 # Code from module printf-posix:
162 # Code from module printf-safe:
163 # Code from module readdir:
164 # Code from module readme-release:
165 # Code from module realloc-gnu:
166 # Code from module realloc-posix:
167 # Code from module rmdir:
168 # Code from module save-cwd:
169 # Code from module savedir:
170 # Code from module signbit:
171 # Code from module size_max:
172 # Code from module snippet/_Noreturn:
173 # Code from module snippet/arg-nonnull:
174 # Code from module snippet/c++defs:
175 # Code from module snippet/unused-parameter:
176 # Code from module snippet/warn-on-use:
177 # Code from module ssize_t:
178 # Code from module stat:
179 # Code from module stat-time:
180 # Code from module statat:
181 # Code from module stdbool:
182 # Code from module stddef:
183 # Code from module stdint:
184 # Code from module stdio:
185 # Code from module stdlib:
186 # Code from module stdnoreturn:
187 # Code from module stpcpy:
188 # Code from module strdup-posix:
189 # Code from module strerror:
190 # Code from module strerror-override:
191 # Code from module strerror_r-posix:
192 # Code from module string:
193 # Code from module sys_stat:
194 # Code from module sys_time:
195 # Code from module sys_types:
196 # Code from module threadlib:
198 # Code from module time:
199 # Code from module timespec:
200 # Code from module unistd:
201 # Code from module unistd-safer:
202 # Code from module unlink:
203 # Code from module unlinkat:
204 # Code from module update-copyright:
205 # Code from module useless-if-before-free:
206 # Code from module utime:
207 # Code from module utime-h:
208 # Code from module utimens:
209 # Code from module vasnprintf:
210 # Code from module vc-list-files:
211 # Code from module verify:
212 # Code from module vfprintf-posix:
213 # Code from module warnings:
214 # Code from module wchar:
215 # Code from module xalloc:
216 # Code from module xalloc-die:
217 # Code from module xalloc-oversized:
218 # Code from module xsize:
219 # Code from module year2038:
220 AC_REQUIRE([gl_YEAR2038_EARLY])
221 # Code from module yesno:
224 # This macro should be invoked from ./configure.ac, in the section
225 # "Check for header files, types and library functions".
228 AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
229 gl_cond_libtool=false
233 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
234 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
235 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
236 m4_pushdef([gl_LIBSOURCES_LIST], [])
237 m4_pushdef([gl_LIBSOURCES_DIR], [])
241 AC_LIBOBJ([openat-proc])
243 if test $REPLACE_CALLOC = 1; then
246 gl_MODULE_INDICATOR([calloc-gnu])
248 if test $REPLACE_CALLOC = 1; then
251 gl_STDLIB_MODULE_INDICATOR([calloc-posix])
252 gl_UNISTD_MODULE_INDICATOR([chdir])
254 if test $gl_cv_have_arbitrary_file_name_length_limit = yes; then
255 AC_LIBOBJ([chdir-long])
259 gl_MODULE_INDICATOR_FOR_TESTS([cloexec])
261 if test $REPLACE_CLOSE = 1; then
264 gl_UNISTD_MODULE_INDICATOR([close])
266 if test $HAVE_CLOSEDIR = 0 || test $REPLACE_CLOSEDIR = 1; then
267 AC_LIBOBJ([closedir])
269 gl_DIRENT_MODULE_INDICATOR([closedir])
272 gl_MODULE_INDICATOR([dirent-safer])
274 if test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no \
275 || test $REPLACE_DIRFD = 1; then
279 gl_DIRENT_MODULE_INDICATOR([dirfd])
283 if test $REPLACE_DUP = 1; then
287 gl_UNISTD_MODULE_INDICATOR([dup])
289 if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then
293 gl_UNISTD_MODULE_INDICATOR([dup2])
296 if test $ac_cv_lib_error_at_line = no; then
300 m4_ifdef([AM_XGETTEXT_OPTION],
301 [AM_][XGETTEXT_OPTION([--flag=error:3:c-format])
302 AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])])
303 AC_REQUIRE([gl_EXTERN_INLINE])
305 gl_UNISTD_MODULE_INDICATOR([fchdir])
307 if test $REPLACE_FCLOSE = 1; then
310 gl_STDIO_MODULE_INDICATOR([fclose])
312 if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then
315 gl_FCNTL_MODULE_INDICATOR([fcntl])
318 gl_MODULE_INDICATOR([fcntl-safer])
319 gl_MODULE_INDICATOR([fd-safer-flag])
321 if test $HAVE_FDATASYNC = 0; then
322 AC_LIBOBJ([fdatasync])
324 gl_UNISTD_MODULE_INDICATOR([fdatasync])
326 if test $HAVE_FDOPENDIR = 0 || test $REPLACE_FDOPENDIR = 1; then
327 AC_LIBOBJ([fdopendir])
329 gl_DIRENT_MODULE_INDICATOR([fdopendir])
330 gl_MODULE_INDICATOR([fdopendir])
332 if test $REPLACE_FFLUSH = 1; then
336 gl_MODULE_INDICATOR([fflush])
337 gl_STDIO_MODULE_INDICATOR([fflush])
338 gl_FILE_NAME_CONCAT_LGPL
340 if test $REPLACE_FLOAT_LDBL = 1; then
343 if test $REPLACE_ITOLD = 1; then
346 gl_FUNC_FPRINTF_POSIX
347 gl_STDIO_MODULE_INDICATOR([fprintf-posix])
349 if test $HAVE_FPURGE = 0 || test $REPLACE_FPURGE = 1; then
352 gl_STDIO_MODULE_INDICATOR([fpurge])
354 gl_FUNC_FREXP_NO_LIBM
355 if test $gl_func_frexp_no_libm != yes; then
358 gl_MATH_MODULE_INDICATOR([frexp])
359 gl_FUNC_FREXPL_NO_LIBM
360 if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no; then
363 gl_MATH_MODULE_INDICATOR([frexpl])
365 if test $REPLACE_FSEEK = 1; then
368 gl_STDIO_MODULE_INDICATOR([fseek])
370 if test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1; then
374 gl_STDIO_MODULE_INDICATOR([fseeko])
376 if test $ac_cv_func___fseterr = no; then
380 if test $REPLACE_FSTAT = 1; then
384 AC_LIBOBJ([stat-w32])
389 gl_SYS_STAT_MODULE_INDICATOR([fstat])
391 if test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1; then
394 gl_SYS_STAT_MODULE_INDICATOR([fstatat])
396 if test $HAVE_FSYNC = 0; then
400 gl_UNISTD_MODULE_INDICATOR([fsync])
402 if test $REPLACE_FTELL = 1; then
405 gl_STDIO_MODULE_INDICATOR([ftell])
407 if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then
411 gl_STDIO_MODULE_INDICATOR([ftello])
413 if test $REPLACE_GETCWD = 1; then
414 AC_LIBOBJ([getcwd-lgpl])
416 gl_UNISTD_MODULE_INDICATOR([getcwd])
417 gl_FUNC_GETDTABLESIZE
418 if test $HAVE_GETDTABLESIZE = 0 || test $REPLACE_GETDTABLESIZE = 1; then
419 AC_LIBOBJ([getdtablesize])
420 gl_PREREQ_GETDTABLESIZE
422 gl_UNISTD_MODULE_INDICATOR([getdtablesize])
424 dnl Because of the way gl_FUNC_GETOPT_GNU is implemented (the gl_getopt_required
425 dnl mechanism), there is no need to do any AC_LIBOBJ or AC_SUBST here; they are
426 dnl done in the getopt-posix module.
428 if test $REPLACE_GETOPT = 1; then
431 dnl Arrange for unistd.h to include getopt.h.
432 GNULIB_GL_UNISTD_H_GETOPT=1
434 AC_SUBST([GNULIB_GL_UNISTD_H_GETOPT])
437 AC_SUBST([LTLIBINTL])
440 if test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1; then
441 AC_LIBOBJ([gettimeofday])
442 gl_PREREQ_GETTIMEOFDAY
444 gl_SYS_TIME_MODULE_INDICATOR([gettimeofday])
446 # Autoconf 2.61a.99 and earlier don't support linking a file only
447 # in VPATH builds. But since GNUmakefile is for maintainer use
448 # only, it does not matter if we skip the link with older autoconf.
449 # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
450 # builds, so use a shell variable to bypass this.
451 GNUmakefile=GNUmakefile
452 m4_if(m4_version_compare([2.61a.100],
453 m4_defn([m4_PACKAGE_VERSION])), [1], [],
454 [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
455 [GNUmakefile=$GNUmakefile])])
456 AC_REQUIRE([gl_HOST_CPU_C_ABI])
457 gl_FUNC_ISNAND_NO_LIBM
458 if test $gl_func_isnand_no_libm != yes; then
462 gl_FUNC_ISNANF_NO_LIBM
463 if test $gl_func_isnanf_no_libm != yes; then
467 gl_FUNC_ISNANL_NO_LIBM
468 if test $gl_func_isnanl_no_libm != yes; then
472 AC_REQUIRE([gl_LARGEFILE])
473 gl_IGNORE_UNUSED_LIBRARIES
475 AC_REQUIRE([gl_LOCALTIME_BUFFER_DEFAULTS])
476 AC_LIBOBJ([localtime-buffer])
478 gl_MODULE_INDICATOR([lock])
480 if test $REPLACE_LSEEK = 1; then
483 gl_UNISTD_MODULE_INDICATOR([lseek])
485 if test $REPLACE_LSTAT = 1; then
489 gl_SYS_STAT_MODULE_INDICATOR([lstat])
490 AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER],
491 [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])])
492 AC_REQUIRE([AC_PROG_SED])
494 if test $REPLACE_MALLOC = 1; then
497 gl_MODULE_INDICATOR([malloc-gnu])
499 if test $REPLACE_MALLOC = 1; then
502 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
506 if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
510 gl_STRING_MODULE_INDICATOR([memchr])
512 if test $HAVE_MEMPCPY = 0; then
516 gl_STRING_MODULE_INDICATOR([mempcpy])
518 if test $ac_cv_func_memrchr = no; then
522 gl_STRING_MODULE_INDICATOR([memrchr])
523 AC_REQUIRE([gl_MSVC_INVAL])
524 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
525 AC_LIBOBJ([msvc-inval])
527 AC_REQUIRE([gl_MSVC_NOTHROW])
528 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
529 AC_LIBOBJ([msvc-nothrow])
531 gl_MODULE_INDICATOR([msvc-nothrow])
534 if test $REPLACE_OPEN = 1; then
538 gl_FCNTL_MODULE_INDICATOR([open])
540 if test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1; then
544 gl_MODULE_INDICATOR([openat]) dnl for lib/getcwd.c
545 gl_FCNTL_MODULE_INDICATOR([openat])
547 gl_MODULE_INDICATOR([openat-safer])
549 if test $HAVE_OPENDIR = 0 || test $REPLACE_OPENDIR = 1; then
552 gl_DIRENT_MODULE_INDICATOR([opendir])
555 if test $REPLACE_PERROR = 1; then
558 gl_STRING_MODULE_INDICATOR([perror])
560 gl_FUNC_PRINTF_FREXPL
562 gl_STDIO_MODULE_INDICATOR([printf-posix])
563 m4_divert_text([INIT_PREPARE], [gl_printf_safe=yes])
565 if test $HAVE_READDIR = 0; then
568 gl_DIRENT_MODULE_INDICATOR([readdir])
570 if test $REPLACE_REALLOC = 1; then
573 gl_MODULE_INDICATOR([realloc-gnu])
574 gl_FUNC_REALLOC_POSIX
575 if test $REPLACE_REALLOC = 1; then
578 gl_STDLIB_MODULE_INDICATOR([realloc-posix])
580 if test $REPLACE_RMDIR = 1; then
583 gl_UNISTD_MODULE_INDICATOR([rmdir])
587 if test $REPLACE_SIGNBIT = 1; then
588 AC_LIBOBJ([signbitf])
589 AC_LIBOBJ([signbitd])
590 AC_LIBOBJ([signbitl])
592 gl_MATH_MODULE_INDICATOR([signbit])
596 if test $REPLACE_STAT = 1; then
600 AC_LIBOBJ([stat-w32])
605 gl_SYS_STAT_MODULE_INDICATOR([stat])
608 gl_MODULE_INDICATOR([statat]) dnl for lib/openat.h
616 if test $HAVE_STPCPY = 0; then
620 gl_STRING_MODULE_INDICATOR([stpcpy])
622 if test $ac_cv_func_strdup = no || test $REPLACE_STRDUP = 1; then
626 gl_STRING_MODULE_INDICATOR([strdup])
628 if test $REPLACE_STRERROR = 1; then
629 AC_LIBOBJ([strerror])
631 gl_MODULE_INDICATOR([strerror])
632 gl_STRING_MODULE_INDICATOR([strerror])
633 AC_REQUIRE([gl_HEADER_ERRNO_H])
634 AC_REQUIRE([gl_FUNC_STRERROR_0])
635 if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then
636 AC_LIBOBJ([strerror-override])
637 gl_PREREQ_SYS_H_WINSOCK2
640 if test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1; then
641 AC_LIBOBJ([strerror_r])
644 gl_STRING_MODULE_INDICATOR([strerror_r])
645 dnl For the modules argp, error.
646 gl_MODULE_INDICATOR([strerror_r-posix])
660 if test $REPLACE_UNLINK = 1; then
663 gl_UNISTD_MODULE_INDICATOR([unlink])
665 if test $HAVE_UNLINKAT = 0 || test $REPLACE_UNLINKAT = 1; then
666 AC_LIBOBJ([unlinkat])
668 gl_UNISTD_MODULE_INDICATOR([unlinkat])
670 if test $HAVE_UTIME = 0 || test $REPLACE_UTIME = 1; then
674 gl_UTIME_MODULE_INDICATOR([utime])
678 gl_FUNC_VFPRINTF_POSIX
679 gl_STDIO_MODULE_INDICATOR([vfprintf-posix])
683 AC_REQUIRE([gl_YEAR2038])
685 # End of code from modules
686 m4_ifval(gl_LIBSOURCES_LIST, [
687 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
688 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
689 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
690 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
694 m4_if(m4_sysval, [0], [],
695 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
697 m4_popdef([gl_LIBSOURCES_DIR])
698 m4_popdef([gl_LIBSOURCES_LIST])
699 m4_popdef([AC_LIBSOURCES])
700 m4_popdef([AC_REPLACE_FUNCS])
701 m4_popdef([AC_LIBOBJ])
702 AC_CONFIG_COMMANDS_PRE([
705 if test -n "$gl_LIBOBJS"; then
706 # Remove the extension.
707 sed_drop_objext='s/\.o$//;s/\.obj$//'
708 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
709 gl_libobjs="$gl_libobjs $i.$ac_objext"
710 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
713 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
714 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
718 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
719 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
720 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
721 m4_pushdef([gltests_LIBSOURCES_LIST], [])
722 m4_pushdef([gltests_LIBSOURCES_DIR], [])
724 gl_source_base='tests'
726 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
728 AC_SUBST([gltests_WITNESS])
729 gl_module_indicator_condition=$gltests_WITNESS
730 m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
731 m4_popdef([gl_MODULE_INDICATOR_CONDITION])
732 m4_ifval(gltests_LIBSOURCES_LIST, [
733 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
734 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
735 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
736 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
740 m4_if(m4_sysval, [0], [],
741 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
743 m4_popdef([gltests_LIBSOURCES_DIR])
744 m4_popdef([gltests_LIBSOURCES_LIST])
745 m4_popdef([AC_LIBSOURCES])
746 m4_popdef([AC_REPLACE_FUNCS])
747 m4_popdef([AC_LIBOBJ])
748 AC_CONFIG_COMMANDS_PRE([
751 if test -n "$gltests_LIBOBJS"; then
752 # Remove the extension.
753 sed_drop_objext='s/\.o$//;s/\.obj$//'
754 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
755 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
756 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
759 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
760 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
762 LIBGZIP_LIBDEPS="$gl_libdeps"
763 AC_SUBST([LIBGZIP_LIBDEPS])
764 LIBGZIP_LTLIBDEPS="$gl_ltlibdeps"
765 AC_SUBST([LIBGZIP_LTLIBDEPS])
768 # Like AC_LIBOBJ, except that the module name goes
769 # into gl_LIBOBJS instead of into LIBOBJS.
770 AC_DEFUN([gl_LIBOBJ], [
771 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
772 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
775 # Like AC_REPLACE_FUNCS, except that the module name goes
776 # into gl_LIBOBJS instead of into LIBOBJS.
777 AC_DEFUN([gl_REPLACE_FUNCS], [
778 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
779 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
782 # Like AC_LIBSOURCES, except the directory where the source file is
783 # expected is derived from the gnulib-tool parameterization,
784 # and alloca is special cased (for the alloca-opt module).
785 # We could also entirely rely on EXTRA_lib..._SOURCES.
786 AC_DEFUN([gl_LIBSOURCES], [
787 m4_foreach([_gl_NAME], [$1], [
788 m4_if(_gl_NAME, [alloca.c], [], [
789 m4_define([gl_LIBSOURCES_DIR], [lib])
790 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
795 # Like AC_LIBOBJ, except that the module name goes
796 # into gltests_LIBOBJS instead of into LIBOBJS.
797 AC_DEFUN([gltests_LIBOBJ], [
798 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
799 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
802 # Like AC_REPLACE_FUNCS, except that the module name goes
803 # into gltests_LIBOBJS instead of into LIBOBJS.
804 AC_DEFUN([gltests_REPLACE_FUNCS], [
805 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
806 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
809 # Like AC_LIBSOURCES, except the directory where the source file is
810 # expected is derived from the gnulib-tool parameterization,
811 # and alloca is special cased (for the alloca-opt module).
812 # We could also entirely rely on EXTRA_lib..._SOURCES.
813 AC_DEFUN([gltests_LIBSOURCES], [
814 m4_foreach([_gl_NAME], [$1], [
815 m4_if(_gl_NAME, [alloca.c], [], [
816 m4_define([gltests_LIBSOURCES_DIR], [tests])
817 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
822 # This macro records the list of files which have been installed by
823 # gnulib-tool and may be removed by future gnulib-tool invocations.
824 AC_DEFUN([gl_FILE_LIST], [
825 build-aux/announce-gen
826 build-aux/config.rpath
827 build-aux/do-release-commit-and-tag
829 build-aux/git-version-gen
830 build-aux/gitlog-to-changelog
831 build-aux/gnu-web-doc-update
833 build-aux/update-copyright
834 build-aux/useless-if-before-free
835 build-aux/vc-list-files
838 doc/gendocs_template_min
886 lib/filenamecat-lgpl.c
909 lib/getopt-cdefs.in.h
912 lib/getopt-pfx-core.h
925 lib/glthread/threadlib.c
937 lib/localtime-buffer.c
938 lib/localtime-buffer.h
1000 lib/stdnoreturn.in.h
1003 lib/strerror-override.c
1004 lib/strerror-override.h
1021 lib/unused-parameter.h
1033 lib/xalloc-oversized.h
1041 m4/absolute-header.m4
1043 m4/asm-underscore.m4
1053 m4/double-slash-root.m4
1097 m4/host-cpu-c-abi.m4
1111 m4/localtime-buffer.m4
1118 m4/manywarnings-c++.m4
1139 m4/printf-posix-rpl.m4
1141 m4/pthread_rwlock_rdlock.m4
1180 m4/vfprintf-posix.m4