1 # DO NOT EDIT! GENERATED AUTOMATICALLY!
2 # Copyright (C) 2002-2012 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
40 AC_REQUIRE([gl_PROG_AR_RANLIB])
41 AC_REQUIRE([AM_PROG_CC_C_O])
42 # Code from module alloca-opt:
43 # Code from module announce-gen:
44 # Code from module at-internal:
45 # Code from module c-ctype:
46 # Code from module c-strcase:
47 # Code from module c-strcaseeq:
48 # Code from module calloc:
49 # Code from module calloc-gnu:
50 # Code from module calloc-posix:
51 # Code from module chdir:
52 # Code from module chdir-long:
53 # Code from module clock-time:
54 # Code from module cloexec:
55 # Code from module close:
56 # Code from module close-stream:
57 # Code from module closedir:
58 # Code from module closein:
59 # Code from module closeout:
60 # Code from module configmake:
61 # Code from module dirent:
62 # Code from module dirent-safer:
63 # Code from module dirfd:
64 # Code from module dirname-lgpl:
65 # Code from module do-release-commit-and-tag:
66 # Code from module dosname:
67 # Code from module double-slash-root:
68 # Code from module dup:
69 # Code from module dup2:
70 # Code from module errno:
71 # Code from module error:
72 # Code from module exitfail:
73 # Code from module extensions:
74 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
75 # Code from module fchdir:
76 # Code from module fclose:
77 # Code from module fcntl:
78 # Code from module fcntl-h:
79 # Code from module fcntl-safer:
80 # Code from module fd-hook:
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 fpending:
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 freadahead:
95 # Code from module freading:
96 # Code from module frexp-nolibm:
97 # Code from module frexpl-nolibm:
98 # Code from module fseek:
99 # Code from module fseeko:
100 AC_REQUIRE([AC_FUNC_FSEEKO])
101 # Code from module fseterr:
102 # Code from module fstat:
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 inline:
124 # Code from module intprops:
125 # Code from module isnand-nolibm:
126 # Code from module isnanf-nolibm:
127 # Code from module isnanl-nolibm:
128 # Code from module largefile:
129 AC_REQUIRE([AC_SYS_LARGEFILE])
130 # Code from module lib-ignore:
131 # Code from module localcharset:
132 # Code from module lock:
133 # Code from module lseek:
134 # Code from module lstat:
135 # Code from module maintainer-makefile:
136 # Code from module malloc-gnu:
137 # Code from module malloc-posix:
138 # Code from module manywarnings:
139 # Code from module math:
140 # Code from module mbrtowc:
141 # Code from module mbsinit:
142 # Code from module memchr:
143 # Code from module mempcpy:
144 # Code from module memrchr:
145 # Code from module msvc-inval:
146 # Code from module msvc-nothrow:
147 # Code from module multiarch:
148 # Code from module nocrash:
149 # Code from module open:
150 # Code from module openat:
151 # Code from module openat-die:
152 # Code from module openat-h:
153 # Code from module opendir:
154 # Code from module pathmax:
155 # Code from module perror:
156 # Code from module printf-frexp:
157 # Code from module printf-frexpl:
158 # Code from module printf-posix:
159 # Code from module printf-safe:
160 # Code from module quotearg:
161 # Code from module quotearg-simple:
162 # Code from module readdir:
163 # Code from module readme-release:
164 # Code from module realloc-gnu:
165 # Code from module realloc-posix:
166 # Code from module save-cwd:
167 # Code from module savedir:
168 # Code from module signbit:
169 # Code from module size_max:
170 # Code from module snippet/_Noreturn:
171 # Code from module snippet/arg-nonnull:
172 # Code from module snippet/c++defs:
173 # Code from module snippet/unused-parameter:
174 # Code from module snippet/warn-on-use:
175 # Code from module ssize_t:
176 # Code from module stat:
177 # Code from module stat-time:
178 # Code from module stdbool:
179 # Code from module stddef:
180 # Code from module stdint:
181 # Code from module stdio:
182 # Code from module stdlib:
183 # Code from module strdup-posix:
184 # Code from module streq:
185 # Code from module strerror:
186 # Code from module strerror-override:
187 # Code from module strerror_r-posix:
188 # Code from module string:
189 # Code from module sys_stat:
190 # Code from module sys_time:
191 # Code from module sys_types:
192 # Code from module threadlib:
194 # Code from module time:
195 # Code from module timespec:
196 # Code from module unistd:
197 # Code from module unistd-safer:
198 # Code from module update-copyright:
199 # Code from module useless-if-before-free:
200 # Code from module utimens:
201 # Code from module vasnprintf:
202 # Code from module vc-list-files:
203 # Code from module verify:
204 # Code from module vfprintf-posix:
205 # Code from module warnings:
206 # Code from module wchar:
207 # Code from module wctype-h:
208 # Code from module xalloc:
209 # Code from module xalloc-die:
210 # Code from module xalloc-oversized:
211 # Code from module xsize:
212 # Code from module yesno:
215 # This macro should be invoked from ./configure.ac, in the section
216 # "Check for header files, types and library functions".
219 AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
220 gl_cond_libtool=false
224 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
225 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
226 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
227 m4_pushdef([gl_LIBSOURCES_LIST], [])
228 m4_pushdef([gl_LIBSOURCES_DIR], [])
232 AC_LIBOBJ([openat-proc])
234 if test $REPLACE_CALLOC = 1; then
237 gl_MODULE_INDICATOR([calloc-gnu])
239 if test $REPLACE_CALLOC = 1; then
242 gl_STDLIB_MODULE_INDICATOR([calloc-posix])
243 gl_UNISTD_MODULE_INDICATOR([chdir])
245 if test $gl_cv_have_arbitrary_file_name_length_limit = yes; then
246 AC_LIBOBJ([chdir-long])
250 gl_MODULE_INDICATOR_FOR_TESTS([cloexec])
252 if test $REPLACE_CLOSE = 1; then
255 gl_UNISTD_MODULE_INDICATOR([close])
257 gl_MODULE_INDICATOR([close-stream])
259 if test $HAVE_CLOSEDIR = 0 || test $REPLACE_CLOSEDIR = 1; then
260 AC_LIBOBJ([closedir])
262 gl_DIRENT_MODULE_INDICATOR([closedir])
268 gl_MODULE_INDICATOR([dirent-safer])
270 if test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no; then
274 gl_DIRENT_MODULE_INDICATOR([dirfd])
278 if test $REPLACE_DUP = 1; then
282 gl_UNISTD_MODULE_INDICATOR([dup])
284 if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then
288 gl_UNISTD_MODULE_INDICATOR([dup2])
291 if test $ac_cv_lib_error_at_line = no; then
295 m4_ifdef([AM_XGETTEXT_OPTION],
296 [AM_][XGETTEXT_OPTION([--flag=error:3:c-format])
297 AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])])
299 gl_UNISTD_MODULE_INDICATOR([fchdir])
301 if test $REPLACE_FCLOSE = 1; then
304 gl_STDIO_MODULE_INDICATOR([fclose])
306 if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then
309 gl_FCNTL_MODULE_INDICATOR([fcntl])
312 gl_MODULE_INDICATOR([fcntl-safer])
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
335 if test $ac_cv_func___fpending = no; then
336 AC_LIBOBJ([fpending])
339 gl_FUNC_FPRINTF_POSIX
340 gl_STDIO_MODULE_INDICATOR([fprintf-posix])
342 if test $HAVE_FPURGE = 0 || test $REPLACE_FPURGE = 1; then
345 gl_STDIO_MODULE_INDICATOR([fpurge])
347 gl_FUNC_FREXP_NO_LIBM
348 if test $gl_func_frexp_no_libm != yes; then
351 gl_MATH_MODULE_INDICATOR([frexp])
352 gl_FUNC_FREXPL_NO_LIBM
353 if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no; then
356 gl_MATH_MODULE_INDICATOR([frexpl])
358 if test $REPLACE_FSEEK = 1; then
361 gl_STDIO_MODULE_INDICATOR([fseek])
363 if test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1; then
367 gl_STDIO_MODULE_INDICATOR([fseeko])
369 if test $REPLACE_FSTAT = 1; then
373 gl_SYS_STAT_MODULE_INDICATOR([fstat])
375 if test $REPLACE_FTELL = 1; then
378 gl_STDIO_MODULE_INDICATOR([ftell])
380 if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then
384 gl_STDIO_MODULE_INDICATOR([ftello])
386 if test $REPLACE_GETCWD = 1; then
387 AC_LIBOBJ([getcwd-lgpl])
389 gl_UNISTD_MODULE_INDICATOR([getcwd])
390 gl_FUNC_GETDTABLESIZE
391 if test $HAVE_GETDTABLESIZE = 0; then
392 AC_LIBOBJ([getdtablesize])
393 gl_PREREQ_GETDTABLESIZE
395 gl_UNISTD_MODULE_INDICATOR([getdtablesize])
397 if test $REPLACE_GETOPT = 1; then
401 dnl Arrange for unistd.h to include getopt.h.
402 GNULIB_GL_UNISTD_H_GETOPT=1
404 AC_SUBST([GNULIB_GL_UNISTD_H_GETOPT])
405 gl_MODULE_INDICATOR_FOR_TESTS([getopt-gnu])
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])
416 AC_SUBST([LTLIBINTL])
419 if test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1; then
420 AC_LIBOBJ([gettimeofday])
421 gl_PREREQ_GETTIMEOFDAY
423 gl_SYS_TIME_MODULE_INDICATOR([gettimeofday])
425 # Autoconf 2.61a.99 and earlier don't support linking a file only
426 # in VPATH builds. But since GNUmakefile is for maintainer use
427 # only, it does not matter if we skip the link with older autoconf.
428 # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
429 # builds, so use a shell variable to bypass this.
430 GNUmakefile=GNUmakefile
431 m4_if(m4_version_compare([2.61a.100],
432 m4_defn([m4_PACKAGE_VERSION])), [1], [],
433 [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
434 [GNUmakefile=$GNUmakefile])])
435 AC_REQUIRE([AC_C_INLINE])
437 gl_FUNC_ISNAND_NO_LIBM
438 if test $gl_func_isnand_no_libm != yes; then
442 gl_FUNC_ISNANF_NO_LIBM
443 if test $gl_func_isnanf_no_libm != yes; then
447 gl_FUNC_ISNANL_NO_LIBM
448 if test $gl_func_isnanl_no_libm != yes; then
452 AC_REQUIRE([gl_LARGEFILE])
453 gl_IGNORE_UNUSED_LIBRARIES
455 LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(abs_top_builddir)/$gl_source_base\""
456 AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
459 if test $REPLACE_LSEEK = 1; then
462 gl_UNISTD_MODULE_INDICATOR([lseek])
464 if test $REPLACE_LSTAT = 1; then
468 gl_SYS_STAT_MODULE_INDICATOR([lstat])
469 AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER],
470 [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])])
472 if test $REPLACE_MALLOC = 1; then
475 gl_MODULE_INDICATOR([malloc-gnu])
477 if test $REPLACE_MALLOC = 1; then
480 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
483 if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then
487 gl_WCHAR_MODULE_INDICATOR([mbrtowc])
489 if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then
493 gl_WCHAR_MODULE_INDICATOR([mbsinit])
495 if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
499 gl_STRING_MODULE_INDICATOR([memchr])
501 if test $HAVE_MEMPCPY = 0; then
505 gl_STRING_MODULE_INDICATOR([mempcpy])
507 if test $ac_cv_func_memrchr = no; then
511 gl_STRING_MODULE_INDICATOR([memrchr])
513 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
514 AC_LIBOBJ([msvc-inval])
517 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
518 AC_LIBOBJ([msvc-nothrow])
522 if test $REPLACE_OPEN = 1; then
526 gl_FCNTL_MODULE_INDICATOR([open])
528 if test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1; then
532 gl_MODULE_INDICATOR([openat]) dnl for lib/getcwd.c
533 gl_FCNTL_MODULE_INDICATOR([openat])
535 if test $HAVE_OPENDIR = 0 || test $REPLACE_OPENDIR = 1; then
538 gl_DIRENT_MODULE_INDICATOR([opendir])
541 if test $REPLACE_PERROR = 1; then
544 gl_STRING_MODULE_INDICATOR([perror])
546 gl_FUNC_PRINTF_FREXPL
548 gl_STDIO_MODULE_INDICATOR([printf-posix])
549 m4_divert_text([INIT_PREPARE], [gl_printf_safe=yes])
552 if test $HAVE_READDIR = 0; then
555 gl_DIRENT_MODULE_INDICATOR([readdir])
557 if test $REPLACE_REALLOC = 1; then
560 gl_MODULE_INDICATOR([realloc-gnu])
561 gl_FUNC_REALLOC_POSIX
562 if test $REPLACE_REALLOC = 1; then
565 gl_STDLIB_MODULE_INDICATOR([realloc-posix])
569 if test $REPLACE_SIGNBIT = 1; then
570 AC_LIBOBJ([signbitf])
571 AC_LIBOBJ([signbitd])
572 AC_LIBOBJ([signbitl])
574 gl_MATH_MODULE_INDICATOR([signbit])
578 if test $REPLACE_STAT = 1; then
582 gl_SYS_STAT_MODULE_INDICATOR([stat])
591 if test $ac_cv_func_strdup = no || test $REPLACE_STRDUP = 1; then
595 gl_STRING_MODULE_INDICATOR([strdup])
597 if test $REPLACE_STRERROR = 1; then
598 AC_LIBOBJ([strerror])
600 gl_MODULE_INDICATOR([strerror])
601 gl_STRING_MODULE_INDICATOR([strerror])
602 AC_REQUIRE([gl_HEADER_ERRNO_H])
603 AC_REQUIRE([gl_FUNC_STRERROR_0])
604 if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then
605 AC_LIBOBJ([strerror-override])
606 gl_PREREQ_SYS_H_WINSOCK2
609 if test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1; then
610 AC_LIBOBJ([strerror_r])
613 gl_STRING_MODULE_INDICATOR([strerror_r])
628 gl_FUNC_VFPRINTF_POSIX
629 gl_STDIO_MODULE_INDICATOR([vfprintf-posix])
635 # End of code from modules
636 m4_ifval(gl_LIBSOURCES_LIST, [
637 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
638 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
639 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
640 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
644 m4_if(m4_sysval, [0], [],
645 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
647 m4_popdef([gl_LIBSOURCES_DIR])
648 m4_popdef([gl_LIBSOURCES_LIST])
649 m4_popdef([AC_LIBSOURCES])
650 m4_popdef([AC_REPLACE_FUNCS])
651 m4_popdef([AC_LIBOBJ])
652 AC_CONFIG_COMMANDS_PRE([
655 if test -n "$gl_LIBOBJS"; then
656 # Remove the extension.
657 sed_drop_objext='s/\.o$//;s/\.obj$//'
658 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
659 gl_libobjs="$gl_libobjs $i.$ac_objext"
660 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
663 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
664 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
668 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
669 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
670 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
671 m4_pushdef([gltests_LIBSOURCES_LIST], [])
672 m4_pushdef([gltests_LIBSOURCES_DIR], [])
674 gl_source_base='tests'
676 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
678 AC_SUBST([gltests_WITNESS])
679 gl_module_indicator_condition=$gltests_WITNESS
680 m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
681 m4_popdef([gl_MODULE_INDICATOR_CONDITION])
682 m4_ifval(gltests_LIBSOURCES_LIST, [
683 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
684 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
685 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
686 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
690 m4_if(m4_sysval, [0], [],
691 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
693 m4_popdef([gltests_LIBSOURCES_DIR])
694 m4_popdef([gltests_LIBSOURCES_LIST])
695 m4_popdef([AC_LIBSOURCES])
696 m4_popdef([AC_REPLACE_FUNCS])
697 m4_popdef([AC_LIBOBJ])
698 AC_CONFIG_COMMANDS_PRE([
701 if test -n "$gltests_LIBOBJS"; then
702 # Remove the extension.
703 sed_drop_objext='s/\.o$//;s/\.obj$//'
704 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
705 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
706 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
709 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
710 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
712 LIBGZIP_LIBDEPS="$gl_libdeps"
713 AC_SUBST([LIBGZIP_LIBDEPS])
714 LIBGZIP_LTLIBDEPS="$gl_ltlibdeps"
715 AC_SUBST([LIBGZIP_LTLIBDEPS])
718 # Like AC_LIBOBJ, except that the module name goes
719 # into gl_LIBOBJS instead of into LIBOBJS.
720 AC_DEFUN([gl_LIBOBJ], [
721 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
722 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
725 # Like AC_REPLACE_FUNCS, except that the module name goes
726 # into gl_LIBOBJS instead of into LIBOBJS.
727 AC_DEFUN([gl_REPLACE_FUNCS], [
728 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
729 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
732 # Like AC_LIBSOURCES, except the directory where the source file is
733 # expected is derived from the gnulib-tool parameterization,
734 # and alloca is special cased (for the alloca-opt module).
735 # We could also entirely rely on EXTRA_lib..._SOURCES.
736 AC_DEFUN([gl_LIBSOURCES], [
737 m4_foreach([_gl_NAME], [$1], [
738 m4_if(_gl_NAME, [alloca.c], [], [
739 m4_define([gl_LIBSOURCES_DIR], [lib])
740 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
745 # Like AC_LIBOBJ, except that the module name goes
746 # into gltests_LIBOBJS instead of into LIBOBJS.
747 AC_DEFUN([gltests_LIBOBJ], [
748 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
749 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
752 # Like AC_REPLACE_FUNCS, except that the module name goes
753 # into gltests_LIBOBJS instead of into LIBOBJS.
754 AC_DEFUN([gltests_REPLACE_FUNCS], [
755 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
756 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
759 # Like AC_LIBSOURCES, except the directory where the source file is
760 # expected is derived from the gnulib-tool parameterization,
761 # and alloca is special cased (for the alloca-opt module).
762 # We could also entirely rely on EXTRA_lib..._SOURCES.
763 AC_DEFUN([gltests_LIBSOURCES], [
764 m4_foreach([_gl_NAME], [$1], [
765 m4_if(_gl_NAME, [alloca.c], [], [
766 m4_define([gltests_LIBSOURCES_DIR], [tests])
767 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
772 # This macro records the list of files which have been installed by
773 # gnulib-tool and may be removed by future gnulib-tool invocations.
774 AC_DEFUN([gl_FILE_LIST], [
775 build-aux/announce-gen
776 build-aux/config.rpath
777 build-aux/do-release-commit-and-tag
779 build-aux/git-version-gen
780 build-aux/gitlog-to-changelog
781 build-aux/gnu-web-doc-update
783 build-aux/snippet/_Noreturn.h
784 build-aux/snippet/arg-nonnull.h
785 build-aux/snippet/c++defs.h
786 build-aux/snippet/unused-parameter.h
787 build-aux/snippet/warn-on-use.h
788 build-aux/update-copyright
789 build-aux/useless-if-before-free
790 build-aux/vc-list-files
845 lib/filenamecat-lgpl.c
879 lib/glthread/threadlib.c
952 lib/strerror-override.c
953 lib/strerror-override.h
975 lib/xalloc-oversized.h
998 m4/double-slash-root.m4
1081 m4/printf-posix-rpl.m4
1116 m4/vfprintf-posix.m4