1 # -*- buffer-read-only: t -*- vi: set ro:
2 # DO NOT EDIT! GENERATED AUTOMATICALLY!
3 # DO NOT EDIT! GENERATED AUTOMATICALLY!
4 # Copyright (C) 2002-2010 Free Software Foundation, Inc.
6 # This file is free software, distributed under the terms of the GNU
7 # General Public License. As a special exception to the GNU General
8 # Public License, this file may be distributed as part of a program
9 # that contains a configuration script generated by Autoconf, under
10 # the same distribution terms as the rest of that program.
12 # Generated by gnulib-tool.
14 # This file represents the compiled summary of the specification in
15 # gnulib-cache.m4. It lists the computed macro invocations that need
16 # to be invoked from configure.ac.
17 # In projects that use version control, this file can be treated like
21 # This macro should be invoked from ./configure.ac, in the section
22 # "Checks for programs", right after AC_PROG_CC, and certainly before
23 # any checks for libraries, header files, types and library functions.
26 m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace
27 m4_pattern_allow([^gl_ES$])dnl a valid locale name
28 m4_pattern_allow([^gl_LIBOBJS$])dnl a variable
29 m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable
30 AC_REQUIRE([AC_PROG_RANLIB])
31 AC_REQUIRE([AM_PROG_CC_C_O])
32 # Code from module alloca:
33 # Code from module alloca-opt:
34 # Code from module areadlink:
35 # Code from module areadlinkat:
36 # Code from module arg-nonnull:
37 # Code from module argmatch:
38 # Code from module argp:
39 # Code from module argp-version-etc:
40 # Code from module backupfile:
41 # Code from module bitrotate:
42 # Code from module btowc:
43 # Code from module c++defs:
44 # Code from module c-ctype:
45 # Code from module canonicalize-lgpl:
46 # Code from module chdir-long:
47 # Code from module chown:
48 # Code from module clock-time:
49 # Code from module cloexec:
50 # Code from module close:
51 # Code from module close-hook:
52 # Code from module close-stream:
53 # Code from module closeout:
54 # Code from module configmake:
55 # Code from module d-ino:
56 # Code from module dirent:
57 # Code from module dirent-safer:
58 # Code from module dirfd:
59 # Code from module dirname:
60 # Code from module dirname-lgpl:
61 # Code from module double-slash-root:
62 # Code from module dup2:
63 # Code from module environ:
64 # Code from module errno:
65 # Code from module error:
66 # Code from module exclude:
67 # Code from module exitfail:
68 # Code from module extensions:
69 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
70 # Code from module fchdir:
71 # Code from module fclose:
72 # Code from module fcntl:
73 # Code from module fcntl-h:
74 # Code from module fdopendir:
75 # Code from module fdutimensat:
76 # Code from module fileblocks:
77 # Code from module filenamecat-lgpl:
78 # Code from module float:
79 # Code from module fnmatch:
80 # Code from module fnmatch-gnu:
81 # Code from module fpending:
82 # Code from module fseeko:
83 AC_REQUIRE([AC_FUNC_FSEEKO])
84 # Code from module full-write:
85 # Code from module futimens:
86 # Code from module getcwd:
87 # Code from module getdelim:
88 # Code from module getdtablesize:
89 # Code from module getline:
90 # Code from module getopt-gnu:
91 # Code from module getopt-posix:
92 # Code from module getpagesize:
93 # Code from module gettext:
94 # Code from module gettext-h:
95 # Code from module gettime:
96 # Code from module gettimeofday:
97 # Code from module gitlog-to-changelog:
98 # Code from module hash:
99 # Code from module havelib:
100 # Code from module human:
101 # Code from module include_next:
102 # Code from module inline:
103 # Code from module intprops:
104 # Code from module inttostr:
105 # Code from module inttypes:
106 # Code from module langinfo:
107 # Code from module lchown:
108 # Code from module link:
109 # Code from module link-follow:
110 # Code from module linkat:
111 # Code from module localcharset:
112 # Code from module lseek:
113 # Code from module lstat:
114 # Code from module malloc-gnu:
115 # Code from module malloc-posix:
116 # Code from module malloca:
117 # Code from module mbchar:
118 # Code from module mbrtowc:
119 # Code from module mbscasecmp:
120 # Code from module mbsinit:
121 # Code from module mbsrtowcs:
122 # Code from module mbuiter:
123 # Code from module memchr:
124 # Code from module mempcpy:
125 # Code from module memrchr:
126 # Code from module mkdir:
127 # Code from module mkdtemp:
128 # Code from module mkfifo:
129 # Code from module mkfifoat:
130 # Code from module mknod:
131 # Code from module mktime:
132 # Code from module modechange:
133 # Code from module multiarch:
134 # Code from module nl_langinfo:
135 # Code from module obstack:
136 # Code from module open:
137 # Code from module openat:
138 # Code from module openat-die:
139 # Code from module parse-datetime:
140 # Code from module pathmax:
141 # Code from module priv-set:
142 # Code from module progname:
143 # Code from module quote:
144 # Code from module quotearg:
145 # Code from module quotearg-simple:
146 # Code from module rawmemchr:
147 # Code from module readlink:
148 # Code from module readlinkat:
149 # Code from module realloc-posix:
150 # Code from module regex:
151 # Code from module rename:
152 # Code from module renameat:
153 # Code from module rmdir:
154 # Code from module rpmatch:
155 # Code from module safe-read:
156 # Code from module safe-write:
157 # Code from module same-inode:
158 # Code from module save-cwd:
159 # Code from module savedir:
160 # Code from module setenv:
161 # Code from module size_max:
162 # Code from module sleep:
163 # Code from module snprintf:
164 # Code from module ssize_t:
165 # Code from module stat:
166 # Code from module stat-macros:
167 # Code from module stat-time:
168 # Code from module stdarg:
169 dnl Some compilers (e.g., AIX 5.3 cc) need to be in c99 mode
170 dnl for the builtin va_copy to work. With Autoconf 2.60 or later,
171 dnl AC_PROG_CC_STDC arranges for this. With older Autoconf AC_PROG_CC_STDC
172 dnl shouldn't hurt, though installers are on their own to set c99 mode.
173 AC_REQUIRE([AC_PROG_CC_STDC])
174 # Code from module stdbool:
175 # Code from module stddef:
176 # Code from module stdint:
177 # Code from module stdio:
178 # Code from module stdlib:
179 # Code from module stpcpy:
180 # Code from module strcase:
181 # Code from module strchrnul:
182 # Code from module strdup-posix:
183 # Code from module streq:
184 # Code from module strerror:
185 # Code from module string:
186 # Code from module strings:
187 # Code from module strndup:
188 # Code from module strnlen:
189 # Code from module strnlen1:
190 # Code from module strtoimax:
191 # Code from module strtol:
192 # Code from module strtoll:
193 # Code from module strtoul:
194 # Code from module strtoull:
195 # Code from module strtoumax:
196 # Code from module symlink:
197 # Code from module symlinkat:
198 # Code from module sys_stat:
199 # Code from module sys_time:
200 # Code from module sysexits:
201 # Code from module tempname:
202 # Code from module time:
203 # Code from module time_r:
204 # Code from module timespec:
205 # Code from module unistd:
206 # Code from module unistd-safer:
207 # Code from module unitypes:
208 # Code from module uniwidth/base:
209 # Code from module uniwidth/width:
210 # Code from module unlink:
211 # Code from module unlinkdir:
212 # Code from module unlocked-io:
213 # Code from module unsetenv:
214 # Code from module utimens:
215 # Code from module utimensat:
216 # Code from module vasnprintf:
217 # Code from module vasprintf:
218 # Code from module verify:
219 # Code from module version-etc:
220 # Code from module version-etc-fsf:
221 # Code from module vsnprintf:
222 # Code from module warn-on-use:
223 # Code from module wchar:
224 # Code from module wcrtomb:
225 # Code from module wctype:
226 # Code from module wcwidth:
227 # Code from module write:
228 # Code from module xalloc:
229 # Code from module xalloc-die:
230 # Code from module xgetcwd:
231 # Code from module xsize:
232 # Code from module xstrndup:
233 # Code from module xstrtol:
234 # Code from module xstrtoumax:
235 # Code from module xvasprintf:
238 # This macro should be invoked from ./configure.ac, in the section
239 # "Check for header files, types and library functions".
242 AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
243 gl_cond_libtool=false
247 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
248 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
249 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
250 m4_pushdef([gl_LIBSOURCES_LIST], [])
251 m4_pushdef([gl_LIBSOURCES_DIR], [])
254 # Code from module alloca:
255 # Code from module alloca-opt:
257 # Code from module areadlink:
258 # Code from module areadlinkat:
259 gl_MODULE_INDICATOR([areadlinkat])
260 # Code from module arg-nonnull:
261 # Code from module argmatch:
263 # Code from module argp:
265 m4_ifdef([AM_XGETTEXT_OPTION],
266 [AM_][XGETTEXT_OPTION([--flag=argp_error:2:c-format])
267 AM_][XGETTEXT_OPTION([--flag=argp_failure:4:c-format])])
268 # Code from module argp-version-etc:
269 # Code from module backupfile:
271 # Code from module bitrotate:
272 AC_REQUIRE([AC_C_INLINE])
273 # Code from module btowc:
275 gl_WCHAR_MODULE_INDICATOR([btowc])
276 # Code from module c++defs:
277 # Code from module c-ctype:
278 # Code from module canonicalize-lgpl:
280 gl_MODULE_INDICATOR([canonicalize-lgpl])
281 gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name])
282 gl_STDLIB_MODULE_INDICATOR([realpath])
283 # Code from module chdir-long:
285 # Code from module chown:
287 gl_UNISTD_MODULE_INDICATOR([chown])
288 # Code from module clock-time:
290 # Code from module cloexec:
292 gl_MODULE_INDICATOR_FOR_TESTS([cloexec])
293 # Code from module close:
295 gl_UNISTD_MODULE_INDICATOR([close])
296 # Code from module close-hook:
297 # Code from module close-stream:
299 gl_MODULE_INDICATOR([close-stream])
300 # Code from module closeout:
302 # Code from module configmake:
303 # Code from module d-ino:
304 gl_CHECK_TYPE_STRUCT_DIRENT_D_INO
305 # Code from module dirent:
307 # Code from module dirent-safer:
309 gl_MODULE_INDICATOR([dirent-safer])
310 # Code from module dirfd:
312 gl_DIRENT_MODULE_INDICATOR([dirfd])
313 # Code from module dirname:
315 gl_MODULE_INDICATOR([dirname])
316 # Code from module dirname-lgpl:
318 # Code from module double-slash-root:
320 # Code from module dup2:
322 gl_UNISTD_MODULE_INDICATOR([dup2])
323 # Code from module environ:
325 gl_UNISTD_MODULE_INDICATOR([environ])
326 # Code from module errno:
328 # Code from module error:
330 m4_ifdef([AM_XGETTEXT_OPTION],
331 [AM_][XGETTEXT_OPTION([--flag=error:3:c-format])
332 AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])])
333 # Code from module exclude:
335 # Code from module exitfail:
336 # Code from module extensions:
337 # Code from module fchdir:
339 gl_UNISTD_MODULE_INDICATOR([fchdir])
340 # Code from module fclose:
342 gl_STDIO_MODULE_INDICATOR([fclose])
343 # Code from module fcntl:
345 gl_FCNTL_MODULE_INDICATOR([fcntl])
346 # Code from module fcntl-h:
348 # Code from module fdopendir:
350 gl_DIRENT_MODULE_INDICATOR([fdopendir])
351 gl_MODULE_INDICATOR([fdopendir])
352 # Code from module fdutimensat:
353 AC_REQUIRE([AC_C_INLINE]) dnl because 'inline' is used in lib/utimens.h
354 gl_MODULE_INDICATOR([fdutimensat])
355 # Code from module fileblocks:
357 # Code from module filenamecat-lgpl:
358 gl_FILE_NAME_CONCAT_LGPL
359 # Code from module float:
361 # Code from module fnmatch:
362 gl_FUNC_FNMATCH_POSIX
363 # Code from module fnmatch-gnu:
365 # Code from module fpending:
367 # Code from module fseeko:
369 gl_STDIO_MODULE_INDICATOR([fseeko])
370 # Code from module full-write:
371 # Code from module futimens:
373 gl_SYS_STAT_MODULE_INDICATOR([futimens])
374 # Code from module getcwd:
376 gl_UNISTD_MODULE_INDICATOR([getcwd])
377 # Code from module getdelim:
379 gl_STDIO_MODULE_INDICATOR([getdelim])
380 # Code from module getdtablesize:
381 gl_FUNC_GETDTABLESIZE
382 gl_UNISTD_MODULE_INDICATOR([getdtablesize])
383 # Code from module getline:
385 gl_STDIO_MODULE_INDICATOR([getline])
386 # Code from module getopt-gnu:
388 gl_MODULE_INDICATOR_FOR_TESTS([getopt-gnu])
389 # Code from module getopt-posix:
391 # Code from module getpagesize:
393 gl_UNISTD_MODULE_INDICATOR([getpagesize])
394 # Code from module gettext:
395 dnl you must add AM_GNU_GETTEXT([external]) or similar to configure.ac.
396 AM_GNU_GETTEXT_VERSION([0.18.1])
397 # Code from module gettext-h:
399 AC_SUBST([LTLIBINTL])
400 # Code from module gettime:
402 # Code from module gettimeofday:
404 gl_SYS_TIME_MODULE_INDICATOR([gettimeofday])
405 # Code from module gitlog-to-changelog:
406 # Code from module hash:
408 # Code from module havelib:
409 # Code from module human:
411 # Code from module include_next:
412 # Code from module inline:
414 # Code from module intprops:
415 # Code from module inttostr:
417 # Code from module inttypes:
419 # Code from module langinfo:
421 # Code from module lchown:
423 gl_UNISTD_MODULE_INDICATOR([lchown])
424 # Code from module link:
426 gl_UNISTD_MODULE_INDICATOR([link])
427 # Code from module link-follow:
428 gl_FUNC_LINK_FOLLOWS_SYMLINK
429 # Code from module linkat:
431 gl_UNISTD_MODULE_INDICATOR([linkat])
432 # Code from module localcharset:
434 LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\""
435 AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
436 # Code from module lseek:
438 gl_UNISTD_MODULE_INDICATOR([lseek])
439 # Code from module lstat:
441 gl_SYS_STAT_MODULE_INDICATOR([lstat])
442 # Code from module malloc-gnu:
444 gl_MODULE_INDICATOR([malloc-gnu])
445 # Code from module malloc-posix:
447 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
448 # Code from module malloca:
450 # Code from module mbchar:
452 # Code from module mbrtowc:
454 gl_WCHAR_MODULE_INDICATOR([mbrtowc])
455 # Code from module mbscasecmp:
456 gl_STRING_MODULE_INDICATOR([mbscasecmp])
457 # Code from module mbsinit:
459 gl_WCHAR_MODULE_INDICATOR([mbsinit])
460 # Code from module mbsrtowcs:
462 gl_WCHAR_MODULE_INDICATOR([mbsrtowcs])
463 # Code from module mbuiter:
465 # Code from module memchr:
467 gl_STRING_MODULE_INDICATOR([memchr])
468 # Code from module mempcpy:
470 gl_STRING_MODULE_INDICATOR([mempcpy])
471 # Code from module memrchr:
473 gl_STRING_MODULE_INDICATOR([memrchr])
474 # Code from module mkdir:
476 # Code from module mkdtemp:
478 gl_STDLIB_MODULE_INDICATOR([mkdtemp])
479 # Code from module mkfifo:
481 gl_UNISTD_MODULE_INDICATOR([mkfifo])
482 # Code from module mkfifoat:
484 gl_UNISTD_MODULE_INDICATOR([mkfifoat])
485 gl_UNISTD_MODULE_INDICATOR([mknodat])
486 # Code from module mknod:
488 gl_UNISTD_MODULE_INDICATOR([mknod])
489 # Code from module mktime:
491 gl_TIME_MODULE_INDICATOR([mktime])
492 # Code from module modechange:
494 # Code from module multiarch:
496 # Code from module nl_langinfo:
498 gl_LANGINFO_MODULE_INDICATOR([nl_langinfo])
499 # Code from module obstack:
501 dnl Note: AC_FUNC_OBSTACK does AC_LIBSOURCES([obstack.h, obstack.c]).
502 # Code from module open:
504 gl_FCNTL_MODULE_INDICATOR([open])
505 # Code from module openat:
507 # Code from module openat-die:
508 # Code from module parse-datetime:
510 # Code from module pathmax:
512 # Code from module priv-set:
514 # Code from module progname:
515 AC_CHECK_DECLS([program_invocation_name], [], [], [#include <errno.h>])
516 AC_CHECK_DECLS([program_invocation_short_name], [], [], [#include <errno.h>])
517 # Code from module quote:
519 # Code from module quotearg:
521 # Code from module quotearg-simple:
522 # Code from module rawmemchr:
524 gl_STRING_MODULE_INDICATOR([rawmemchr])
525 # Code from module readlink:
527 gl_UNISTD_MODULE_INDICATOR([readlink])
528 # Code from module readlinkat:
530 gl_UNISTD_MODULE_INDICATOR([readlinkat])
531 # Code from module realloc-posix:
532 gl_FUNC_REALLOC_POSIX
533 gl_STDLIB_MODULE_INDICATOR([realloc-posix])
534 # Code from module regex:
536 # Code from module rename:
538 gl_STDIO_MODULE_INDICATOR([rename])
539 # Code from module renameat:
541 gl_STDIO_MODULE_INDICATOR([renameat])
542 # Code from module rmdir:
544 gl_UNISTD_MODULE_INDICATOR([rmdir])
545 # Code from module rpmatch:
547 gl_STDLIB_MODULE_INDICATOR([rpmatch])
548 # Code from module safe-read:
550 # Code from module safe-write:
552 # Code from module same-inode:
553 # Code from module save-cwd:
555 # Code from module savedir:
557 # Code from module setenv:
559 gl_STDLIB_MODULE_INDICATOR([setenv])
560 # Code from module size_max:
562 # Code from module sleep:
564 gl_UNISTD_MODULE_INDICATOR([sleep])
565 # Code from module snprintf:
567 gl_STDIO_MODULE_INDICATOR([snprintf])
568 # Code from module ssize_t:
570 # Code from module stat:
572 gl_SYS_STAT_MODULE_INDICATOR([stat])
573 # Code from module stat-macros:
574 # Code from module stat-time:
577 # Code from module stdarg:
579 # Code from module stdbool:
581 # Code from module stddef:
583 # Code from module stdint:
585 # Code from module stdio:
587 # Code from module stdlib:
589 # Code from module stpcpy:
591 gl_STRING_MODULE_INDICATOR([stpcpy])
592 # Code from module strcase:
594 # Code from module strchrnul:
596 gl_STRING_MODULE_INDICATOR([strchrnul])
597 # Code from module strdup-posix:
599 gl_STRING_MODULE_INDICATOR([strdup])
600 # Code from module streq:
601 # Code from module strerror:
603 gl_STRING_MODULE_INDICATOR([strerror])
604 # Code from module string:
606 # Code from module strings:
608 # Code from module strndup:
610 gl_STRING_MODULE_INDICATOR([strndup])
611 # Code from module strnlen:
613 gl_STRING_MODULE_INDICATOR([strnlen])
614 # Code from module strnlen1:
615 # Code from module strtoimax:
617 gl_INTTYPES_MODULE_INDICATOR([strtoimax])
618 # Code from module strtol:
620 # Code from module strtoll:
622 gl_STDLIB_MODULE_INDICATOR([strtoll])
623 # Code from module strtoul:
625 # Code from module strtoull:
627 gl_STDLIB_MODULE_INDICATOR([strtoull])
628 # Code from module strtoumax:
630 gl_INTTYPES_MODULE_INDICATOR([strtoumax])
631 # Code from module symlink:
633 gl_UNISTD_MODULE_INDICATOR([symlink])
634 # Code from module symlinkat:
636 gl_UNISTD_MODULE_INDICATOR([symlinkat])
637 # Code from module sys_stat:
640 # Code from module sys_time:
643 # Code from module sysexits:
645 # Code from module tempname:
647 # Code from module time:
649 # Code from module time_r:
651 gl_TIME_MODULE_INDICATOR([time_r])
652 # Code from module timespec:
654 # Code from module unistd:
656 # Code from module unistd-safer:
658 # Code from module unitypes:
659 gl_LIBUNISTRING_LIBHEADER([0.9], [unitypes.h])
660 # Code from module uniwidth/base:
661 gl_LIBUNISTRING_LIBHEADER([0.9], [uniwidth.h])
662 # Code from module uniwidth/width:
663 gl_LIBUNISTRING_MODULE([0.9], [uniwidth/width])
664 # Code from module unlink:
666 gl_UNISTD_MODULE_INDICATOR([unlink])
667 # Code from module unlinkdir:
669 # Code from module unlocked-io:
670 gl_FUNC_GLIBC_UNLOCKED_IO
671 # Code from module unsetenv:
673 gl_STDLIB_MODULE_INDICATOR([unsetenv])
674 # Code from module utimens:
676 # Code from module utimensat:
678 gl_SYS_STAT_MODULE_INDICATOR([utimensat])
679 # Code from module vasnprintf:
681 # Code from module vasprintf:
683 gl_STDIO_MODULE_INDICATOR([vasprintf])
684 m4_ifdef([AM_XGETTEXT_OPTION],
685 [AM_][XGETTEXT_OPTION([--flag=asprintf:2:c-format])
686 AM_][XGETTEXT_OPTION([--flag=vasprintf:2:c-format])])
687 # Code from module verify:
688 # Code from module version-etc:
690 # Code from module version-etc-fsf:
691 # Code from module vsnprintf:
693 gl_STDIO_MODULE_INDICATOR([vsnprintf])
694 # Code from module warn-on-use:
695 # Code from module wchar:
697 # Code from module wcrtomb:
699 gl_WCHAR_MODULE_INDICATOR([wcrtomb])
700 # Code from module wctype:
702 # Code from module wcwidth:
704 gl_WCHAR_MODULE_INDICATOR([wcwidth])
705 # Code from module write:
707 gl_UNISTD_MODULE_INDICATOR([write])
708 # Code from module xalloc:
710 # Code from module xalloc-die:
711 # Code from module xgetcwd:
713 # Code from module xsize:
715 # Code from module xstrndup:
717 # Code from module xstrtol:
719 # Code from module xstrtoumax:
720 # Code from module xvasprintf:
722 m4_ifdef([AM_XGETTEXT_OPTION],
723 [AM_][XGETTEXT_OPTION([--flag=xasprintf:1:c-format])])
724 # End of code from modules
725 m4_ifval(gl_LIBSOURCES_LIST, [
726 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
727 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
728 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
729 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
733 m4_if(m4_sysval, [0], [],
734 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
736 m4_popdef([gl_LIBSOURCES_DIR])
737 m4_popdef([gl_LIBSOURCES_LIST])
738 m4_popdef([AC_LIBSOURCES])
739 m4_popdef([AC_REPLACE_FUNCS])
740 m4_popdef([AC_LIBOBJ])
741 AC_CONFIG_COMMANDS_PRE([
744 if test -n "$gl_LIBOBJS"; then
745 # Remove the extension.
746 sed_drop_objext='s/\.o$//;s/\.obj$//'
747 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
748 gl_libobjs="$gl_libobjs $i.$ac_objext"
749 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
752 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
753 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
757 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
758 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
759 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
760 m4_pushdef([gltests_LIBSOURCES_LIST], [])
761 m4_pushdef([gltests_LIBSOURCES_DIR], [])
763 gl_source_base='tests'
765 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
767 AC_SUBST([gltests_WITNESS])
768 gl_module_indicator_condition=$gltests_WITNESS
769 m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
770 m4_popdef([gl_MODULE_INDICATOR_CONDITION])
771 m4_ifval(gltests_LIBSOURCES_LIST, [
772 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
773 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
774 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
775 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
779 m4_if(m4_sysval, [0], [],
780 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
782 m4_popdef([gltests_LIBSOURCES_DIR])
783 m4_popdef([gltests_LIBSOURCES_LIST])
784 m4_popdef([AC_LIBSOURCES])
785 m4_popdef([AC_REPLACE_FUNCS])
786 m4_popdef([AC_LIBOBJ])
787 AC_CONFIG_COMMANDS_PRE([
790 if test -n "$gltests_LIBOBJS"; then
791 # Remove the extension.
792 sed_drop_objext='s/\.o$//;s/\.obj$//'
793 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
794 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
795 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
798 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
799 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
801 LIBGNU_LIBDEPS="$gl_libdeps"
802 AC_SUBST([LIBGNU_LIBDEPS])
803 LIBGNU_LTLIBDEPS="$gl_ltlibdeps"
804 AC_SUBST([LIBGNU_LTLIBDEPS])
807 # Like AC_LIBOBJ, except that the module name goes
808 # into gl_LIBOBJS instead of into LIBOBJS.
809 AC_DEFUN([gl_LIBOBJ], [
810 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
811 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
814 # Like AC_REPLACE_FUNCS, except that the module name goes
815 # into gl_LIBOBJS instead of into LIBOBJS.
816 AC_DEFUN([gl_REPLACE_FUNCS], [
817 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
818 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
821 # Like AC_LIBSOURCES, except the directory where the source file is
822 # expected is derived from the gnulib-tool parameterization,
823 # and alloca is special cased (for the alloca-opt module).
824 # We could also entirely rely on EXTRA_lib..._SOURCES.
825 AC_DEFUN([gl_LIBSOURCES], [
826 m4_foreach([_gl_NAME], [$1], [
827 m4_if(_gl_NAME, [alloca.c], [], [
828 m4_define([gl_LIBSOURCES_DIR], [gnu])
829 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
834 # Like AC_LIBOBJ, except that the module name goes
835 # into gltests_LIBOBJS instead of into LIBOBJS.
836 AC_DEFUN([gltests_LIBOBJ], [
837 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
838 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
841 # Like AC_REPLACE_FUNCS, except that the module name goes
842 # into gltests_LIBOBJS instead of into LIBOBJS.
843 AC_DEFUN([gltests_REPLACE_FUNCS], [
844 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
845 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
848 # Like AC_LIBSOURCES, except the directory where the source file is
849 # expected is derived from the gnulib-tool parameterization,
850 # and alloca is special cased (for the alloca-opt module).
851 # We could also entirely rely on EXTRA_lib..._SOURCES.
852 AC_DEFUN([gltests_LIBSOURCES], [
853 m4_foreach([_gl_NAME], [$1], [
854 m4_if(_gl_NAME, [alloca.c], [], [
855 m4_define([gltests_LIBSOURCES_DIR], [tests])
856 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
861 # This macro records the list of files which have been installed by
862 # gnulib-tool and may be removed by future gnulib-tool invocations.
863 AC_DEFUN([gl_FILE_LIST], [
864 build-aux/arg-nonnull.h
866 build-aux/config.rpath
867 build-aux/gitlog-to-changelog
868 build-aux/warn-on-use.h
869 doc/parse-datetime.texi
889 lib/argp-version-etc.c
890 lib/argp-version-etc.h
905 lib/canonicalize-lgpl.c
946 lib/filenamecat-lgpl.c
998 lib/mbsrtowcs-state.c
1012 lib/mktime-internal.h
1027 lib/parse-datetime.h
1028 lib/parse-datetime.y
1044 lib/rawmemchr.valgrind
1053 lib/regex_internal.c
1054 lib/regex_internal.h
1087 lib/strchrnul.valgrind
1123 lib/uniwidth/width.c
1137 lib/version-etc-fsf.c
1166 m4/asm-underscore.m4
1185 m4/double-slash-root.m4
1206 m4/getcwd-abort-bug.m4
1207 m4/getcwd-path-max.m4
1241 m4/libunistring-base.m4
1278 m4/parse-datetime.m4