1 # DO NOT EDIT! GENERATED AUTOMATICALLY!
2 # Copyright (C) 2002-2013 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 extern-inline:
76 # Code from module fchdir:
77 # Code from module fclose:
78 # Code from module fcntl:
79 # Code from module fcntl-h:
80 # Code from module fcntl-safer:
81 # Code from module fd-hook:
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 fpending:
90 # Code from module fpieee:
91 AC_REQUIRE([gl_FP_IEEE])
92 # Code from module fprintf-posix:
93 # Code from module fpucw:
94 # Code from module fpurge:
95 # Code from module freadahead:
96 # Code from module freading:
97 # Code from module frexp-nolibm:
98 # Code from module frexpl-nolibm:
99 # Code from module fseek:
100 # Code from module fseeko:
101 AC_REQUIRE([AC_FUNC_FSEEKO])
102 # Code from module fseterr:
103 # Code from module fstat:
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 gettext-h:
113 # Code from module gettime:
114 # Code from module gettimeofday:
115 # Code from module git-version-gen:
116 # Code from module gitlog-to-changelog:
117 # Code from module gnu-make:
118 # Code from module gnu-web-doc-update:
119 # Code from module gnumakefile:
120 # Code from module gnupload:
121 # Code from module havelib:
122 # Code from module ignore-value:
123 # Code from module include_next:
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])])
298 AC_REQUIRE([gl_EXTERN_INLINE])
300 gl_UNISTD_MODULE_INDICATOR([fchdir])
302 if test $REPLACE_FCLOSE = 1; then
305 gl_STDIO_MODULE_INDICATOR([fclose])
307 if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then
310 gl_FCNTL_MODULE_INDICATOR([fcntl])
313 gl_MODULE_INDICATOR([fcntl-safer])
315 if test $HAVE_FDOPENDIR = 0 || test $REPLACE_FDOPENDIR = 1; then
316 AC_LIBOBJ([fdopendir])
318 gl_DIRENT_MODULE_INDICATOR([fdopendir])
319 gl_MODULE_INDICATOR([fdopendir])
321 if test $REPLACE_FFLUSH = 1; then
325 gl_MODULE_INDICATOR([fflush])
326 gl_STDIO_MODULE_INDICATOR([fflush])
327 gl_FILE_NAME_CONCAT_LGPL
329 if test $REPLACE_FLOAT_LDBL = 1; then
332 if test $REPLACE_ITOLD = 1; then
336 if test $ac_cv_func___fpending = no; then
337 AC_LIBOBJ([fpending])
340 gl_FUNC_FPRINTF_POSIX
341 gl_STDIO_MODULE_INDICATOR([fprintf-posix])
343 if test $HAVE_FPURGE = 0 || test $REPLACE_FPURGE = 1; then
346 gl_STDIO_MODULE_INDICATOR([fpurge])
348 if test $ac_cv_func___freadahead = no; then
349 AC_LIBOBJ([freadahead])
352 gl_FUNC_FREXP_NO_LIBM
353 if test $gl_func_frexp_no_libm != yes; then
356 gl_MATH_MODULE_INDICATOR([frexp])
357 gl_FUNC_FREXPL_NO_LIBM
358 if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no; then
361 gl_MATH_MODULE_INDICATOR([frexpl])
363 if test $REPLACE_FSEEK = 1; then
366 gl_STDIO_MODULE_INDICATOR([fseek])
368 if test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1; then
372 gl_STDIO_MODULE_INDICATOR([fseeko])
374 if test $ac_cv_func___fseterr = no; then
378 if test $REPLACE_FSTAT = 1; then
382 gl_SYS_STAT_MODULE_INDICATOR([fstat])
384 if test $REPLACE_FTELL = 1; then
387 gl_STDIO_MODULE_INDICATOR([ftell])
389 if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then
393 gl_STDIO_MODULE_INDICATOR([ftello])
395 if test $REPLACE_GETCWD = 1; then
396 AC_LIBOBJ([getcwd-lgpl])
398 gl_UNISTD_MODULE_INDICATOR([getcwd])
399 gl_FUNC_GETDTABLESIZE
400 if test $HAVE_GETDTABLESIZE = 0; then
401 AC_LIBOBJ([getdtablesize])
402 gl_PREREQ_GETDTABLESIZE
404 gl_UNISTD_MODULE_INDICATOR([getdtablesize])
406 if test $REPLACE_GETOPT = 1; then
410 dnl Arrange for unistd.h to include getopt.h.
411 GNULIB_GL_UNISTD_H_GETOPT=1
413 AC_SUBST([GNULIB_GL_UNISTD_H_GETOPT])
414 gl_MODULE_INDICATOR_FOR_TESTS([getopt-gnu])
416 if test $REPLACE_GETOPT = 1; then
420 dnl Arrange for unistd.h to include getopt.h.
421 GNULIB_GL_UNISTD_H_GETOPT=1
423 AC_SUBST([GNULIB_GL_UNISTD_H_GETOPT])
425 AC_SUBST([LTLIBINTL])
428 if test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1; then
429 AC_LIBOBJ([gettimeofday])
430 gl_PREREQ_GETTIMEOFDAY
432 gl_SYS_TIME_MODULE_INDICATOR([gettimeofday])
434 # Autoconf 2.61a.99 and earlier don't support linking a file only
435 # in VPATH builds. But since GNUmakefile is for maintainer use
436 # only, it does not matter if we skip the link with older autoconf.
437 # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
438 # builds, so use a shell variable to bypass this.
439 GNUmakefile=GNUmakefile
440 m4_if(m4_version_compare([2.61a.100],
441 m4_defn([m4_PACKAGE_VERSION])), [1], [],
442 [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
443 [GNUmakefile=$GNUmakefile])])
444 gl_FUNC_ISNAND_NO_LIBM
445 if test $gl_func_isnand_no_libm != yes; then
449 gl_FUNC_ISNANF_NO_LIBM
450 if test $gl_func_isnanf_no_libm != yes; then
454 gl_FUNC_ISNANL_NO_LIBM
455 if test $gl_func_isnanl_no_libm != yes; then
459 AC_REQUIRE([gl_LARGEFILE])
460 gl_IGNORE_UNUSED_LIBRARIES
462 LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(abs_top_builddir)/$gl_source_base\""
463 AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
465 gl_MODULE_INDICATOR([lock])
467 if test $REPLACE_LSEEK = 1; then
470 gl_UNISTD_MODULE_INDICATOR([lseek])
472 if test $REPLACE_LSTAT = 1; then
476 gl_SYS_STAT_MODULE_INDICATOR([lstat])
477 AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER],
478 [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])])
480 if test $REPLACE_MALLOC = 1; then
483 gl_MODULE_INDICATOR([malloc-gnu])
485 if test $REPLACE_MALLOC = 1; then
488 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
491 if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then
495 gl_WCHAR_MODULE_INDICATOR([mbrtowc])
497 if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then
501 gl_WCHAR_MODULE_INDICATOR([mbsinit])
503 if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
507 gl_STRING_MODULE_INDICATOR([memchr])
509 if test $HAVE_MEMPCPY = 0; then
513 gl_STRING_MODULE_INDICATOR([mempcpy])
515 if test $ac_cv_func_memrchr = no; then
519 gl_STRING_MODULE_INDICATOR([memrchr])
521 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
522 AC_LIBOBJ([msvc-inval])
525 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
526 AC_LIBOBJ([msvc-nothrow])
530 if test $REPLACE_OPEN = 1; then
534 gl_FCNTL_MODULE_INDICATOR([open])
536 if test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1; then
540 gl_MODULE_INDICATOR([openat]) dnl for lib/getcwd.c
541 gl_FCNTL_MODULE_INDICATOR([openat])
543 if test $HAVE_OPENDIR = 0 || test $REPLACE_OPENDIR = 1; then
546 gl_DIRENT_MODULE_INDICATOR([opendir])
549 if test $REPLACE_PERROR = 1; then
552 gl_STRING_MODULE_INDICATOR([perror])
554 gl_FUNC_PRINTF_FREXPL
556 gl_STDIO_MODULE_INDICATOR([printf-posix])
557 m4_divert_text([INIT_PREPARE], [gl_printf_safe=yes])
560 if test $HAVE_READDIR = 0; then
563 gl_DIRENT_MODULE_INDICATOR([readdir])
565 if test $REPLACE_REALLOC = 1; then
568 gl_MODULE_INDICATOR([realloc-gnu])
569 gl_FUNC_REALLOC_POSIX
570 if test $REPLACE_REALLOC = 1; then
573 gl_STDLIB_MODULE_INDICATOR([realloc-posix])
577 if test $REPLACE_SIGNBIT = 1; then
578 AC_LIBOBJ([signbitf])
579 AC_LIBOBJ([signbitd])
580 AC_LIBOBJ([signbitl])
582 gl_MATH_MODULE_INDICATOR([signbit])
586 if test $REPLACE_STAT = 1; then
590 gl_SYS_STAT_MODULE_INDICATOR([stat])
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])
636 gl_FUNC_VFPRINTF_POSIX
637 gl_STDIO_MODULE_INDICATOR([vfprintf-posix])
643 # End of code from modules
644 m4_ifval(gl_LIBSOURCES_LIST, [
645 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
646 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
647 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
648 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
652 m4_if(m4_sysval, [0], [],
653 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
655 m4_popdef([gl_LIBSOURCES_DIR])
656 m4_popdef([gl_LIBSOURCES_LIST])
657 m4_popdef([AC_LIBSOURCES])
658 m4_popdef([AC_REPLACE_FUNCS])
659 m4_popdef([AC_LIBOBJ])
660 AC_CONFIG_COMMANDS_PRE([
663 if test -n "$gl_LIBOBJS"; then
664 # Remove the extension.
665 sed_drop_objext='s/\.o$//;s/\.obj$//'
666 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
667 gl_libobjs="$gl_libobjs $i.$ac_objext"
668 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
671 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
672 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
676 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
677 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
678 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
679 m4_pushdef([gltests_LIBSOURCES_LIST], [])
680 m4_pushdef([gltests_LIBSOURCES_DIR], [])
682 gl_source_base='tests'
684 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
686 AC_SUBST([gltests_WITNESS])
687 gl_module_indicator_condition=$gltests_WITNESS
688 m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
689 m4_popdef([gl_MODULE_INDICATOR_CONDITION])
690 m4_ifval(gltests_LIBSOURCES_LIST, [
691 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
692 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
693 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
694 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
698 m4_if(m4_sysval, [0], [],
699 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
701 m4_popdef([gltests_LIBSOURCES_DIR])
702 m4_popdef([gltests_LIBSOURCES_LIST])
703 m4_popdef([AC_LIBSOURCES])
704 m4_popdef([AC_REPLACE_FUNCS])
705 m4_popdef([AC_LIBOBJ])
706 AC_CONFIG_COMMANDS_PRE([
709 if test -n "$gltests_LIBOBJS"; then
710 # Remove the extension.
711 sed_drop_objext='s/\.o$//;s/\.obj$//'
712 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
713 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
714 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
717 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
718 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
720 LIBGZIP_LIBDEPS="$gl_libdeps"
721 AC_SUBST([LIBGZIP_LIBDEPS])
722 LIBGZIP_LTLIBDEPS="$gl_ltlibdeps"
723 AC_SUBST([LIBGZIP_LTLIBDEPS])
726 # Like AC_LIBOBJ, except that the module name goes
727 # into gl_LIBOBJS instead of into LIBOBJS.
728 AC_DEFUN([gl_LIBOBJ], [
729 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
730 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
733 # Like AC_REPLACE_FUNCS, except that the module name goes
734 # into gl_LIBOBJS instead of into LIBOBJS.
735 AC_DEFUN([gl_REPLACE_FUNCS], [
736 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
737 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
740 # Like AC_LIBSOURCES, except the directory where the source file is
741 # expected is derived from the gnulib-tool parameterization,
742 # and alloca is special cased (for the alloca-opt module).
743 # We could also entirely rely on EXTRA_lib..._SOURCES.
744 AC_DEFUN([gl_LIBSOURCES], [
745 m4_foreach([_gl_NAME], [$1], [
746 m4_if(_gl_NAME, [alloca.c], [], [
747 m4_define([gl_LIBSOURCES_DIR], [lib])
748 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
753 # Like AC_LIBOBJ, except that the module name goes
754 # into gltests_LIBOBJS instead of into LIBOBJS.
755 AC_DEFUN([gltests_LIBOBJ], [
756 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
757 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
760 # Like AC_REPLACE_FUNCS, except that the module name goes
761 # into gltests_LIBOBJS instead of into LIBOBJS.
762 AC_DEFUN([gltests_REPLACE_FUNCS], [
763 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
764 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
767 # Like AC_LIBSOURCES, except the directory where the source file is
768 # expected is derived from the gnulib-tool parameterization,
769 # and alloca is special cased (for the alloca-opt module).
770 # We could also entirely rely on EXTRA_lib..._SOURCES.
771 AC_DEFUN([gltests_LIBSOURCES], [
772 m4_foreach([_gl_NAME], [$1], [
773 m4_if(_gl_NAME, [alloca.c], [], [
774 m4_define([gltests_LIBSOURCES_DIR], [tests])
775 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
780 # This macro records the list of files which have been installed by
781 # gnulib-tool and may be removed by future gnulib-tool invocations.
782 AC_DEFUN([gl_FILE_LIST], [
783 build-aux/announce-gen
784 build-aux/config.rpath
785 build-aux/do-release-commit-and-tag
787 build-aux/git-version-gen
788 build-aux/gitlog-to-changelog
789 build-aux/gnu-web-doc-update
791 build-aux/snippet/_Noreturn.h
792 build-aux/snippet/arg-nonnull.h
793 build-aux/snippet/c++defs.h
794 build-aux/snippet/unused-parameter.h
795 build-aux/snippet/warn-on-use.h
796 build-aux/update-copyright
797 build-aux/useless-if-before-free
798 build-aux/vc-list-files
853 lib/filenamecat-lgpl.c
887 lib/glthread/threadlib.c
962 lib/strerror-override.c
963 lib/strerror-override.h
988 lib/xalloc-oversized.h
1012 m4/double-slash-root.m4
1097 m4/printf-posix-rpl.m4
1132 m4/vfprintf-posix.m4