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 ignore-value:
124 # Code from module include_next:
125 # Code from module intprops:
126 # Code from module isnand-nolibm:
127 # Code from module isnanf-nolibm:
128 # Code from module isnanl-nolibm:
129 # Code from module largefile:
130 AC_REQUIRE([AC_SYS_LARGEFILE])
131 # Code from module lib-ignore:
132 # Code from module limits-h:
133 # Code from module localtime-buffer:
134 # Code from module lock:
135 # Code from module lseek:
136 # Code from module lstat:
137 # Code from module maintainer-makefile:
138 # Code from module malloc-gnu:
139 # Code from module malloc-posix:
140 # Code from module malloca:
141 # Code from module manywarnings:
142 # Code from module math:
143 # Code from module memchr:
144 # Code from module mempcpy:
145 # Code from module memrchr:
146 # Code from module msvc-inval:
147 # Code from module msvc-nothrow:
148 # Code from module multiarch:
149 # Code from module nocrash:
150 # Code from module open:
151 # Code from module openat:
152 # Code from module openat-die:
153 # Code from module openat-h:
154 # Code from module openat-safer:
155 # Code from module opendir:
156 # Code from module pathmax:
157 # Code from module perror:
158 # Code from module printf-frexp:
159 # Code from module printf-frexpl:
160 # Code from module printf-posix:
161 # Code from module printf-safe:
162 # Code from module raise:
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 sigaction:
171 # Code from module signal-h:
172 # Code from module signbit:
173 # Code from module sigprocmask:
174 # Code from module size_max:
175 # Code from module snippet/_Noreturn:
176 # Code from module snippet/arg-nonnull:
177 # Code from module snippet/c++defs:
178 # Code from module snippet/unused-parameter:
179 # Code from module snippet/warn-on-use:
180 # Code from module ssize_t:
181 # Code from module stat:
182 # Code from module stat-time:
183 # Code from module statat:
184 # Code from module stdbool:
185 # Code from module stddef:
186 # Code from module stdint:
187 # Code from module stdio:
188 # Code from module stdlib:
189 # Code from module stdnoreturn:
190 # Code from module stpcpy:
191 # Code from module strdup-posix:
192 # Code from module strerror:
193 # Code from module strerror-override:
194 # Code from module strerror_r-posix:
195 # Code from module string:
196 # Code from module sys_stat:
197 # Code from module sys_time:
198 # Code from module sys_types:
199 # Code from module threadlib:
201 # Code from module time:
202 # Code from module timespec:
203 # Code from module unistd:
204 # Code from module unistd-safer:
205 # Code from module unlink:
206 # Code from module unlinkat:
207 # Code from module update-copyright:
208 # Code from module useless-if-before-free:
209 # Code from module utime:
210 # Code from module utime-h:
211 # Code from module utimens:
212 # Code from module vasnprintf:
213 # Code from module vc-list-files:
214 # Code from module verify:
215 # Code from module vfprintf-posix:
216 # Code from module warnings:
217 # Code from module wchar:
218 # Code from module xalloc:
219 # Code from module xalloc-die:
220 # Code from module xalloc-oversized:
221 # Code from module xsize:
222 # Code from module year2038:
223 AC_REQUIRE([gl_YEAR2038_EARLY])
224 # Code from module yesno:
227 # This macro should be invoked from ./configure.ac, in the section
228 # "Check for header files, types and library functions".
231 AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
232 gl_cond_libtool=false
236 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
237 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
238 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
239 m4_pushdef([gl_LIBSOURCES_LIST], [])
240 m4_pushdef([gl_LIBSOURCES_DIR], [])
244 AC_LIBOBJ([openat-proc])
246 if test $REPLACE_CALLOC = 1; then
249 gl_MODULE_INDICATOR([calloc-gnu])
251 if test $REPLACE_CALLOC = 1; then
254 gl_STDLIB_MODULE_INDICATOR([calloc-posix])
255 gl_UNISTD_MODULE_INDICATOR([chdir])
257 if test $gl_cv_have_arbitrary_file_name_length_limit = yes; then
258 AC_LIBOBJ([chdir-long])
262 gl_MODULE_INDICATOR_FOR_TESTS([cloexec])
264 if test $REPLACE_CLOSE = 1; then
267 gl_UNISTD_MODULE_INDICATOR([close])
269 if test $HAVE_CLOSEDIR = 0 || test $REPLACE_CLOSEDIR = 1; then
270 AC_LIBOBJ([closedir])
272 gl_DIRENT_MODULE_INDICATOR([closedir])
275 gl_MODULE_INDICATOR([dirent-safer])
277 if test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no \
278 || test $REPLACE_DIRFD = 1; then
282 gl_DIRENT_MODULE_INDICATOR([dirfd])
286 if test $REPLACE_DUP = 1; then
290 gl_UNISTD_MODULE_INDICATOR([dup])
292 if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then
296 gl_UNISTD_MODULE_INDICATOR([dup2])
299 if test $ac_cv_lib_error_at_line = no; then
303 m4_ifdef([AM_XGETTEXT_OPTION],
304 [AM_][XGETTEXT_OPTION([--flag=error:3:c-format])
305 AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])])
306 AC_REQUIRE([gl_EXTERN_INLINE])
308 gl_UNISTD_MODULE_INDICATOR([fchdir])
310 if test $REPLACE_FCLOSE = 1; then
313 gl_STDIO_MODULE_INDICATOR([fclose])
315 if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then
318 gl_FCNTL_MODULE_INDICATOR([fcntl])
321 gl_MODULE_INDICATOR([fcntl-safer])
322 gl_MODULE_INDICATOR([fd-safer-flag])
324 if test $HAVE_FDATASYNC = 0; then
325 AC_LIBOBJ([fdatasync])
327 gl_UNISTD_MODULE_INDICATOR([fdatasync])
329 if test $HAVE_FDOPENDIR = 0 || test $REPLACE_FDOPENDIR = 1; then
330 AC_LIBOBJ([fdopendir])
332 gl_DIRENT_MODULE_INDICATOR([fdopendir])
333 gl_MODULE_INDICATOR([fdopendir])
335 if test $REPLACE_FFLUSH = 1; then
339 gl_MODULE_INDICATOR([fflush])
340 gl_STDIO_MODULE_INDICATOR([fflush])
341 gl_FILE_NAME_CONCAT_LGPL
343 if test $REPLACE_FLOAT_LDBL = 1; then
346 if test $REPLACE_ITOLD = 1; then
349 gl_FUNC_FPRINTF_POSIX
350 gl_STDIO_MODULE_INDICATOR([fprintf-posix])
352 if test $HAVE_FPURGE = 0 || test $REPLACE_FPURGE = 1; then
355 gl_STDIO_MODULE_INDICATOR([fpurge])
357 gl_FUNC_FREXP_NO_LIBM
358 if test $gl_func_frexp_no_libm != yes; then
361 gl_MATH_MODULE_INDICATOR([frexp])
362 gl_FUNC_FREXPL_NO_LIBM
363 if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no; then
366 gl_MATH_MODULE_INDICATOR([frexpl])
368 if test $REPLACE_FSEEK = 1; then
371 gl_STDIO_MODULE_INDICATOR([fseek])
373 if test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1; then
377 gl_STDIO_MODULE_INDICATOR([fseeko])
379 if test $ac_cv_func___fseterr = no; then
383 if test $REPLACE_FSTAT = 1; then
387 AC_LIBOBJ([stat-w32])
392 gl_SYS_STAT_MODULE_INDICATOR([fstat])
394 if test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1; then
397 gl_SYS_STAT_MODULE_INDICATOR([fstatat])
399 if test $HAVE_FSYNC = 0; then
403 gl_UNISTD_MODULE_INDICATOR([fsync])
405 if test $REPLACE_FTELL = 1; then
408 gl_STDIO_MODULE_INDICATOR([ftell])
410 if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then
414 gl_STDIO_MODULE_INDICATOR([ftello])
416 if test $REPLACE_GETCWD = 1; then
417 AC_LIBOBJ([getcwd-lgpl])
419 gl_UNISTD_MODULE_INDICATOR([getcwd])
420 gl_FUNC_GETDTABLESIZE
421 if test $HAVE_GETDTABLESIZE = 0 || test $REPLACE_GETDTABLESIZE = 1; then
422 AC_LIBOBJ([getdtablesize])
423 gl_PREREQ_GETDTABLESIZE
425 gl_UNISTD_MODULE_INDICATOR([getdtablesize])
427 dnl Because of the way gl_FUNC_GETOPT_GNU is implemented (the gl_getopt_required
428 dnl mechanism), there is no need to do any AC_LIBOBJ or AC_SUBST here; they are
429 dnl done in the getopt-posix module.
431 if test $REPLACE_GETOPT = 1; then
434 dnl Arrange for unistd.h to include getopt.h.
435 GNULIB_GL_UNISTD_H_GETOPT=1
437 AC_SUBST([GNULIB_GL_UNISTD_H_GETOPT])
440 AC_SUBST([LTLIBINTL])
443 if test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1; then
444 AC_LIBOBJ([gettimeofday])
445 gl_PREREQ_GETTIMEOFDAY
447 gl_SYS_TIME_MODULE_INDICATOR([gettimeofday])
449 # Autoconf 2.61a.99 and earlier don't support linking a file only
450 # in VPATH builds. But since GNUmakefile is for maintainer use
451 # only, it does not matter if we skip the link with older autoconf.
452 # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
453 # builds, so use a shell variable to bypass this.
454 GNUmakefile=GNUmakefile
455 m4_if(m4_version_compare([2.61a.100],
456 m4_defn([m4_PACKAGE_VERSION])), [1], [],
457 [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
458 [GNUmakefile=$GNUmakefile])])
459 gl_FUNC_ISNAND_NO_LIBM
460 if test $gl_func_isnand_no_libm != yes; then
464 gl_FUNC_ISNANF_NO_LIBM
465 if test $gl_func_isnanf_no_libm != yes; then
469 gl_FUNC_ISNANL_NO_LIBM
470 if test $gl_func_isnanl_no_libm != yes; then
474 AC_REQUIRE([gl_LARGEFILE])
475 gl_IGNORE_UNUSED_LIBRARIES
477 AC_REQUIRE([gl_LOCALTIME_BUFFER_DEFAULTS])
478 AC_LIBOBJ([localtime-buffer])
480 gl_MODULE_INDICATOR([lock])
482 if test $REPLACE_LSEEK = 1; then
485 gl_UNISTD_MODULE_INDICATOR([lseek])
487 if test $REPLACE_LSTAT = 1; then
491 gl_SYS_STAT_MODULE_INDICATOR([lstat])
492 AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER],
493 [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])])
494 AC_REQUIRE([AC_PROG_SED])
496 if test $REPLACE_MALLOC = 1; then
499 gl_MODULE_INDICATOR([malloc-gnu])
501 if test $REPLACE_MALLOC = 1; then
504 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
508 if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
512 gl_STRING_MODULE_INDICATOR([memchr])
514 if test $HAVE_MEMPCPY = 0; then
518 gl_STRING_MODULE_INDICATOR([mempcpy])
520 if test $ac_cv_func_memrchr = no; then
524 gl_STRING_MODULE_INDICATOR([memrchr])
525 AC_REQUIRE([gl_MSVC_INVAL])
526 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
527 AC_LIBOBJ([msvc-inval])
529 AC_REQUIRE([gl_MSVC_NOTHROW])
530 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
531 AC_LIBOBJ([msvc-nothrow])
533 gl_MODULE_INDICATOR([msvc-nothrow])
536 if test $REPLACE_OPEN = 1; then
540 gl_FCNTL_MODULE_INDICATOR([open])
542 if test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1; then
546 gl_MODULE_INDICATOR([openat]) dnl for lib/getcwd.c
547 gl_FCNTL_MODULE_INDICATOR([openat])
549 gl_MODULE_INDICATOR([openat-safer])
551 if test $HAVE_OPENDIR = 0 || test $REPLACE_OPENDIR = 1; then
554 gl_DIRENT_MODULE_INDICATOR([opendir])
557 if test $REPLACE_PERROR = 1; then
560 gl_STRING_MODULE_INDICATOR([perror])
562 gl_FUNC_PRINTF_FREXPL
564 gl_STDIO_MODULE_INDICATOR([printf-posix])
565 m4_divert_text([INIT_PREPARE], [gl_printf_safe=yes])
567 if test $HAVE_RAISE = 0 || test $REPLACE_RAISE = 1; then
571 gl_SIGNAL_MODULE_INDICATOR([raise])
573 if test $HAVE_READDIR = 0; then
576 gl_DIRENT_MODULE_INDICATOR([readdir])
578 if test $REPLACE_REALLOC = 1; then
581 gl_MODULE_INDICATOR([realloc-gnu])
582 gl_FUNC_REALLOC_POSIX
583 if test $REPLACE_REALLOC = 1; then
586 gl_STDLIB_MODULE_INDICATOR([realloc-posix])
588 if test $REPLACE_RMDIR = 1; then
591 gl_UNISTD_MODULE_INDICATOR([rmdir])
595 if test $HAVE_SIGACTION = 0; then
596 AC_LIBOBJ([sigaction])
599 gl_SIGNAL_MODULE_INDICATOR([sigaction])
602 if test $REPLACE_SIGNBIT = 1; then
603 AC_LIBOBJ([signbitf])
604 AC_LIBOBJ([signbitd])
605 AC_LIBOBJ([signbitl])
607 gl_MATH_MODULE_INDICATOR([signbit])
609 if test $HAVE_POSIX_SIGNALBLOCKING = 0; then
610 AC_LIBOBJ([sigprocmask])
611 gl_PREREQ_SIGPROCMASK
613 gl_SIGNAL_MODULE_INDICATOR([sigprocmask])
617 if test $REPLACE_STAT = 1; then
621 AC_LIBOBJ([stat-w32])
626 gl_SYS_STAT_MODULE_INDICATOR([stat])
629 gl_MODULE_INDICATOR([statat]) dnl for lib/openat.h
637 if test $HAVE_STPCPY = 0; then
641 gl_STRING_MODULE_INDICATOR([stpcpy])
643 if test $ac_cv_func_strdup = no || test $REPLACE_STRDUP = 1; then
647 gl_STRING_MODULE_INDICATOR([strdup])
649 if test $REPLACE_STRERROR = 1; then
650 AC_LIBOBJ([strerror])
652 gl_MODULE_INDICATOR([strerror])
653 gl_STRING_MODULE_INDICATOR([strerror])
654 AC_REQUIRE([gl_HEADER_ERRNO_H])
655 AC_REQUIRE([gl_FUNC_STRERROR_0])
656 if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then
657 AC_LIBOBJ([strerror-override])
658 gl_PREREQ_SYS_H_WINSOCK2
661 if test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1; then
662 AC_LIBOBJ([strerror_r])
665 gl_STRING_MODULE_INDICATOR([strerror_r])
666 dnl For the modules argp, error.
667 gl_MODULE_INDICATOR([strerror_r-posix])
681 if test $REPLACE_UNLINK = 1; then
684 gl_UNISTD_MODULE_INDICATOR([unlink])
686 if test $HAVE_UNLINKAT = 0 || test $REPLACE_UNLINKAT = 1; then
687 AC_LIBOBJ([unlinkat])
689 gl_UNISTD_MODULE_INDICATOR([unlinkat])
691 if test $HAVE_UTIME = 0 || test $REPLACE_UTIME = 1; then
695 gl_UTIME_MODULE_INDICATOR([utime])
699 gl_FUNC_VFPRINTF_POSIX
700 gl_STDIO_MODULE_INDICATOR([vfprintf-posix])
704 AC_REQUIRE([gl_YEAR2038])
706 # End of code from modules
707 m4_ifval(gl_LIBSOURCES_LIST, [
708 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
709 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
710 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
711 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
715 m4_if(m4_sysval, [0], [],
716 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
718 m4_popdef([gl_LIBSOURCES_DIR])
719 m4_popdef([gl_LIBSOURCES_LIST])
720 m4_popdef([AC_LIBSOURCES])
721 m4_popdef([AC_REPLACE_FUNCS])
722 m4_popdef([AC_LIBOBJ])
723 AC_CONFIG_COMMANDS_PRE([
726 if test -n "$gl_LIBOBJS"; then
727 # Remove the extension.
728 sed_drop_objext='s/\.o$//;s/\.obj$//'
729 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
730 gl_libobjs="$gl_libobjs $i.$ac_objext"
731 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
734 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
735 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
739 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
740 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
741 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
742 m4_pushdef([gltests_LIBSOURCES_LIST], [])
743 m4_pushdef([gltests_LIBSOURCES_DIR], [])
745 gl_source_base='tests'
747 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
749 AC_SUBST([gltests_WITNESS])
750 gl_module_indicator_condition=$gltests_WITNESS
751 m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
752 m4_popdef([gl_MODULE_INDICATOR_CONDITION])
753 m4_ifval(gltests_LIBSOURCES_LIST, [
754 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
755 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
756 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
757 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
761 m4_if(m4_sysval, [0], [],
762 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
764 m4_popdef([gltests_LIBSOURCES_DIR])
765 m4_popdef([gltests_LIBSOURCES_LIST])
766 m4_popdef([AC_LIBSOURCES])
767 m4_popdef([AC_REPLACE_FUNCS])
768 m4_popdef([AC_LIBOBJ])
769 AC_CONFIG_COMMANDS_PRE([
772 if test -n "$gltests_LIBOBJS"; then
773 # Remove the extension.
774 sed_drop_objext='s/\.o$//;s/\.obj$//'
775 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
776 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
777 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
780 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
781 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
783 LIBGZIP_LIBDEPS="$gl_libdeps"
784 AC_SUBST([LIBGZIP_LIBDEPS])
785 LIBGZIP_LTLIBDEPS="$gl_ltlibdeps"
786 AC_SUBST([LIBGZIP_LTLIBDEPS])
789 # Like AC_LIBOBJ, except that the module name goes
790 # into gl_LIBOBJS instead of into LIBOBJS.
791 AC_DEFUN([gl_LIBOBJ], [
792 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
793 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
796 # Like AC_REPLACE_FUNCS, except that the module name goes
797 # into gl_LIBOBJS instead of into LIBOBJS.
798 AC_DEFUN([gl_REPLACE_FUNCS], [
799 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
800 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
803 # Like AC_LIBSOURCES, except the directory where the source file is
804 # expected is derived from the gnulib-tool parameterization,
805 # and alloca is special cased (for the alloca-opt module).
806 # We could also entirely rely on EXTRA_lib..._SOURCES.
807 AC_DEFUN([gl_LIBSOURCES], [
808 m4_foreach([_gl_NAME], [$1], [
809 m4_if(_gl_NAME, [alloca.c], [], [
810 m4_define([gl_LIBSOURCES_DIR], [lib])
811 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
816 # Like AC_LIBOBJ, except that the module name goes
817 # into gltests_LIBOBJS instead of into LIBOBJS.
818 AC_DEFUN([gltests_LIBOBJ], [
819 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
820 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
823 # Like AC_REPLACE_FUNCS, except that the module name goes
824 # into gltests_LIBOBJS instead of into LIBOBJS.
825 AC_DEFUN([gltests_REPLACE_FUNCS], [
826 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
827 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
830 # Like AC_LIBSOURCES, except the directory where the source file is
831 # expected is derived from the gnulib-tool parameterization,
832 # and alloca is special cased (for the alloca-opt module).
833 # We could also entirely rely on EXTRA_lib..._SOURCES.
834 AC_DEFUN([gltests_LIBSOURCES], [
835 m4_foreach([_gl_NAME], [$1], [
836 m4_if(_gl_NAME, [alloca.c], [], [
837 m4_define([gltests_LIBSOURCES_DIR], [tests])
838 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
843 # This macro records the list of files which have been installed by
844 # gnulib-tool and may be removed by future gnulib-tool invocations.
845 AC_DEFUN([gl_FILE_LIST], [
846 build-aux/announce-gen
847 build-aux/config.rpath
848 build-aux/do-release-commit-and-tag
850 build-aux/git-version-gen
851 build-aux/gitlog-to-changelog
852 build-aux/gnu-web-doc-update
854 build-aux/update-copyright
855 build-aux/useless-if-before-free
856 build-aux/vc-list-files
859 doc/gendocs_template_min
907 lib/filenamecat-lgpl.c
930 lib/getopt-cdefs.in.h
933 lib/getopt-pfx-core.h
946 lib/glthread/threadlib.c
958 lib/localtime-buffer.c
959 lib/localtime-buffer.h
1026 lib/stdnoreturn.in.h
1029 lib/strerror-override.c
1030 lib/strerror-override.h
1047 lib/unused-parameter.h
1059 lib/xalloc-oversized.h
1067 m4/absolute-header.m4
1069 m4/asm-underscore.m4
1079 m4/double-slash-root.m4
1123 m4/host-cpu-c-abi.m4
1137 m4/localtime-buffer.m4
1144 m4/manywarnings-c++.m4
1165 m4/printf-posix-rpl.m4
1167 m4/pthread_rwlock_rdlock.m4
1176 m4/signalblocking.m4
1210 m4/vfprintf-posix.m4