1 # -*- buffer-read-only: t -*- vi: set ro:
2 # DO NOT EDIT! GENERATED AUTOMATICALLY!
3 # DO NOT EDIT! GENERATED AUTOMATICALLY!
4 # Copyright (C) 2002-2011 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 dosname:
62 # Code from module double-slash-root:
63 # Code from module dup2:
64 # Code from module environ:
65 # Code from module errno:
66 # Code from module error:
67 # Code from module exclude:
68 # Code from module exitfail:
69 # Code from module extensions:
70 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
71 # Code from module fchdir:
72 # Code from module fclose:
73 # Code from module fcntl:
74 # Code from module fcntl-h:
75 # Code from module fdopendir:
76 # Code from module fdutimensat:
77 # Code from module fileblocks:
78 # Code from module filenamecat-lgpl:
79 # Code from module float:
80 # Code from module fnmatch:
81 # Code from module fnmatch-gnu:
82 # Code from module fpending:
83 # Code from module fseeko:
84 AC_REQUIRE([AC_FUNC_FSEEKO])
85 # Code from module full-write:
86 # Code from module futimens:
87 # Code from module getcwd:
88 # Code from module getdelim:
89 # Code from module getdtablesize:
90 # Code from module getline:
91 # Code from module getopt-gnu:
92 # Code from module getopt-posix:
93 # Code from module getpagesize:
94 # Code from module gettext:
95 # Code from module gettext-h:
96 # Code from module gettime:
97 # Code from module gettimeofday:
98 # Code from module gitlog-to-changelog:
99 # Code from module hash:
100 # Code from module havelib:
101 # Code from module human:
102 # Code from module include_next:
103 # Code from module inline:
104 # Code from module intprops:
105 # Code from module inttostr:
106 # Code from module inttypes:
107 # Code from module iswblank:
108 # Code from module langinfo:
109 # Code from module lchown:
110 # Code from module link:
111 # Code from module link-follow:
112 # Code from module linkat:
113 # Code from module localcharset:
114 # Code from module lseek:
115 # Code from module lstat:
116 # Code from module malloc-gnu:
117 # Code from module malloc-posix:
118 # Code from module malloca:
119 # Code from module mbchar:
120 # Code from module mbrtowc:
121 # Code from module mbscasecmp:
122 # Code from module mbsinit:
123 # Code from module mbsrtowcs:
124 # Code from module mbtowc:
125 # Code from module mbuiter:
126 # Code from module memchr:
127 # Code from module mempcpy:
128 # Code from module memrchr:
129 # Code from module mkdir:
130 # Code from module mkdtemp:
131 # Code from module mkfifo:
132 # Code from module mkfifoat:
133 # Code from module mknod:
134 # Code from module mktime:
135 # Code from module modechange:
136 # Code from module multiarch:
137 # Code from module nl_langinfo:
138 # Code from module obstack:
139 # Code from module open:
140 # Code from module openat:
141 # Code from module openat-die:
142 # Code from module parse-datetime:
143 # Code from module pathmax:
144 # Code from module priv-set:
145 # Code from module progname:
146 # Code from module quote:
147 # Code from module quotearg:
148 # Code from module quotearg-simple:
149 # Code from module rawmemchr:
150 # Code from module readlink:
151 # Code from module readlinkat:
152 # Code from module realloc-posix:
153 # Code from module regex:
154 # Code from module rename:
155 # Code from module renameat:
156 # Code from module rmdir:
157 # Code from module rpmatch:
158 # Code from module safe-read:
159 # Code from module safe-write:
160 # Code from module same-inode:
161 # Code from module save-cwd:
162 # Code from module savedir:
163 # Code from module setenv:
164 # Code from module size_max:
165 # Code from module sleep:
166 # Code from module snprintf:
167 # Code from module ssize_t:
168 # Code from module stat:
169 # Code from module stat-macros:
170 # Code from module stat-time:
171 # Code from module stdarg:
172 dnl Some compilers (e.g., AIX 5.3 cc) need to be in c99 mode
173 dnl for the builtin va_copy to work. With Autoconf 2.60 or later,
174 dnl AC_PROG_CC_STDC arranges for this. With older Autoconf AC_PROG_CC_STDC
175 dnl shouldn't hurt, though installers are on their own to set c99 mode.
176 AC_REQUIRE([AC_PROG_CC_STDC])
177 # Code from module stdbool:
178 # Code from module stddef:
179 # Code from module stdint:
180 # Code from module stdio:
181 # Code from module stdlib:
182 # Code from module stpcpy:
183 # Code from module strcase:
184 # Code from module strchrnul:
185 # Code from module strdup-posix:
186 # Code from module streq:
187 # Code from module strerror:
188 # Code from module string:
189 # Code from module strings:
190 # Code from module strndup:
191 # Code from module strnlen:
192 # Code from module strnlen1:
193 # Code from module strtoimax:
194 # Code from module strtol:
195 # Code from module strtoll:
196 # Code from module strtoul:
197 # Code from module strtoull:
198 # Code from module strtoumax:
199 # Code from module symlink:
200 # Code from module symlinkat:
201 # Code from module sys_stat:
202 # Code from module sys_time:
203 # Code from module sysexits:
204 # Code from module tempname:
205 # Code from module time:
206 # Code from module time_r:
207 # Code from module timespec:
208 # Code from module unistd:
209 # Code from module unistd-safer:
210 # Code from module unitypes:
211 # Code from module uniwidth/base:
212 # Code from module uniwidth/width:
213 # Code from module unlink:
214 # Code from module unlinkdir:
215 # Code from module unlocked-io:
216 # Code from module unsetenv:
217 # Code from module utimens:
218 # Code from module utimensat:
219 # Code from module vasnprintf:
220 # Code from module vasprintf:
221 # Code from module verify:
222 # Code from module version-etc:
223 # Code from module version-etc-fsf:
224 # Code from module vsnprintf:
225 # Code from module warn-on-use:
226 # Code from module wchar:
227 # Code from module wcrtomb:
228 # Code from module wctype-h:
229 # Code from module wcwidth:
230 # Code from module write:
231 # Code from module xalloc:
232 # Code from module xalloc-die:
233 # Code from module xgetcwd:
234 # Code from module xsize:
235 # Code from module xstrndup:
236 # Code from module xstrtol:
237 # Code from module xstrtoumax:
238 # Code from module xvasprintf:
241 # This macro should be invoked from ./configure.ac, in the section
242 # "Check for header files, types and library functions".
245 AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
246 gl_cond_libtool=false
250 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
251 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
252 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
253 m4_pushdef([gl_LIBSOURCES_LIST], [])
254 m4_pushdef([gl_LIBSOURCES_DIR], [])
257 # Code from module alloca:
258 # Code from module alloca-opt:
260 # Code from module areadlink:
261 # Code from module areadlinkat:
262 gl_MODULE_INDICATOR([areadlinkat])
263 # Code from module arg-nonnull:
264 # Code from module argmatch:
266 # Code from module argp:
268 m4_ifdef([AM_XGETTEXT_OPTION],
269 [AM_][XGETTEXT_OPTION([--flag=argp_error:2:c-format])
270 AM_][XGETTEXT_OPTION([--flag=argp_failure:4:c-format])])
271 # Code from module argp-version-etc:
272 # Code from module backupfile:
274 # Code from module bitrotate:
275 AC_REQUIRE([AC_C_INLINE])
276 # Code from module btowc:
278 gl_WCHAR_MODULE_INDICATOR([btowc])
279 # Code from module c++defs:
280 # Code from module c-ctype:
281 # Code from module canonicalize-lgpl:
283 gl_MODULE_INDICATOR([canonicalize-lgpl])
284 gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name])
285 gl_STDLIB_MODULE_INDICATOR([realpath])
286 # Code from module chdir-long:
288 # Code from module chown:
290 gl_UNISTD_MODULE_INDICATOR([chown])
291 # Code from module clock-time:
293 # Code from module cloexec:
295 gl_MODULE_INDICATOR_FOR_TESTS([cloexec])
296 # Code from module close:
298 gl_UNISTD_MODULE_INDICATOR([close])
299 # Code from module close-hook:
300 # Code from module close-stream:
302 gl_MODULE_INDICATOR([close-stream])
303 # Code from module closeout:
305 # Code from module configmake:
307 # Code from module d-ino:
308 gl_CHECK_TYPE_STRUCT_DIRENT_D_INO
309 # Code from module dirent:
311 # Code from module dirent-safer:
313 gl_MODULE_INDICATOR([dirent-safer])
314 # Code from module dirfd:
316 gl_DIRENT_MODULE_INDICATOR([dirfd])
317 # Code from module dirname:
319 gl_MODULE_INDICATOR([dirname])
320 # Code from module dirname-lgpl:
322 # Code from module dosname:
323 # Code from module double-slash-root:
325 # Code from module dup2:
327 gl_UNISTD_MODULE_INDICATOR([dup2])
328 # Code from module environ:
330 gl_UNISTD_MODULE_INDICATOR([environ])
331 # Code from module errno:
333 # Code from module error:
335 m4_ifdef([AM_XGETTEXT_OPTION],
336 [AM_][XGETTEXT_OPTION([--flag=error:3:c-format])
337 AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])])
338 # Code from module exclude:
340 # Code from module exitfail:
341 # Code from module extensions:
342 # Code from module fchdir:
344 gl_UNISTD_MODULE_INDICATOR([fchdir])
345 # Code from module fclose:
347 gl_STDIO_MODULE_INDICATOR([fclose])
348 # Code from module fcntl:
350 gl_FCNTL_MODULE_INDICATOR([fcntl])
351 # Code from module fcntl-h:
353 # Code from module fdopendir:
355 gl_DIRENT_MODULE_INDICATOR([fdopendir])
356 gl_MODULE_INDICATOR([fdopendir])
357 # Code from module fdutimensat:
358 AC_REQUIRE([AC_C_INLINE]) dnl because 'inline' is used in lib/utimens.h
359 gl_MODULE_INDICATOR([fdutimensat])
360 # Code from module fileblocks:
362 # Code from module filenamecat-lgpl:
363 gl_FILE_NAME_CONCAT_LGPL
364 # Code from module float:
366 # Code from module fnmatch:
367 gl_FUNC_FNMATCH_POSIX
368 # Code from module fnmatch-gnu:
370 # Code from module fpending:
372 # Code from module fseeko:
374 gl_STDIO_MODULE_INDICATOR([fseeko])
375 # Code from module full-write:
376 # Code from module futimens:
378 gl_SYS_STAT_MODULE_INDICATOR([futimens])
379 # Code from module getcwd:
381 gl_UNISTD_MODULE_INDICATOR([getcwd])
382 # Code from module getdelim:
384 gl_STDIO_MODULE_INDICATOR([getdelim])
385 # Code from module getdtablesize:
386 gl_FUNC_GETDTABLESIZE
387 gl_UNISTD_MODULE_INDICATOR([getdtablesize])
388 # Code from module getline:
390 gl_STDIO_MODULE_INDICATOR([getline])
391 # Code from module getopt-gnu:
393 gl_MODULE_INDICATOR_FOR_TESTS([getopt-gnu])
394 # Code from module getopt-posix:
396 # Code from module getpagesize:
398 gl_UNISTD_MODULE_INDICATOR([getpagesize])
399 # Code from module gettext:
400 dnl you must add AM_GNU_GETTEXT([external]) or similar to configure.ac.
401 AM_GNU_GETTEXT_VERSION([0.18.1])
402 # Code from module gettext-h:
404 AC_SUBST([LTLIBINTL])
405 # Code from module gettime:
407 # Code from module gettimeofday:
409 gl_SYS_TIME_MODULE_INDICATOR([gettimeofday])
410 # Code from module gitlog-to-changelog:
411 # Code from module hash:
413 # Code from module havelib:
414 # Code from module human:
416 # Code from module include_next:
417 # Code from module inline:
419 # Code from module intprops:
420 # Code from module inttostr:
422 # Code from module inttypes:
424 # Code from module iswblank:
426 gl_WCTYPE_MODULE_INDICATOR([iswblank])
427 # Code from module langinfo:
429 # Code from module lchown:
431 gl_UNISTD_MODULE_INDICATOR([lchown])
432 # Code from module link:
434 gl_UNISTD_MODULE_INDICATOR([link])
435 # Code from module link-follow:
436 gl_FUNC_LINK_FOLLOWS_SYMLINK
437 # Code from module linkat:
439 gl_UNISTD_MODULE_INDICATOR([linkat])
440 # Code from module localcharset:
442 LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\""
443 AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
444 # Code from module lseek:
446 gl_UNISTD_MODULE_INDICATOR([lseek])
447 # Code from module lstat:
449 gl_SYS_STAT_MODULE_INDICATOR([lstat])
450 # Code from module malloc-gnu:
452 gl_MODULE_INDICATOR([malloc-gnu])
453 # Code from module malloc-posix:
455 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
456 # Code from module malloca:
458 # Code from module mbchar:
460 # Code from module mbrtowc:
462 gl_WCHAR_MODULE_INDICATOR([mbrtowc])
463 # Code from module mbscasecmp:
464 gl_STRING_MODULE_INDICATOR([mbscasecmp])
465 # Code from module mbsinit:
467 gl_WCHAR_MODULE_INDICATOR([mbsinit])
468 # Code from module mbsrtowcs:
470 gl_WCHAR_MODULE_INDICATOR([mbsrtowcs])
471 # Code from module mbtowc:
473 gl_STDLIB_MODULE_INDICATOR([mbtowc])
474 # Code from module mbuiter:
476 # Code from module memchr:
478 gl_STRING_MODULE_INDICATOR([memchr])
479 # Code from module mempcpy:
481 gl_STRING_MODULE_INDICATOR([mempcpy])
482 # Code from module memrchr:
484 gl_STRING_MODULE_INDICATOR([memrchr])
485 # Code from module mkdir:
487 # Code from module mkdtemp:
489 gl_STDLIB_MODULE_INDICATOR([mkdtemp])
490 # Code from module mkfifo:
492 gl_UNISTD_MODULE_INDICATOR([mkfifo])
493 # Code from module mkfifoat:
495 gl_UNISTD_MODULE_INDICATOR([mkfifoat])
496 gl_UNISTD_MODULE_INDICATOR([mknodat])
497 # Code from module mknod:
499 gl_UNISTD_MODULE_INDICATOR([mknod])
500 # Code from module mktime:
502 gl_TIME_MODULE_INDICATOR([mktime])
503 # Code from module modechange:
505 # Code from module multiarch:
507 # Code from module nl_langinfo:
509 gl_LANGINFO_MODULE_INDICATOR([nl_langinfo])
510 # Code from module obstack:
512 dnl Note: AC_FUNC_OBSTACK does AC_LIBSOURCES([obstack.h, obstack.c]).
513 # Code from module open:
515 gl_FCNTL_MODULE_INDICATOR([open])
516 # Code from module openat:
518 # Code from module openat-die:
519 # Code from module parse-datetime:
521 # Code from module pathmax:
523 # Code from module priv-set:
525 # Code from module progname:
526 AC_CHECK_DECLS([program_invocation_name], [], [], [#include <errno.h>])
527 AC_CHECK_DECLS([program_invocation_short_name], [], [], [#include <errno.h>])
528 # Code from module quote:
530 # Code from module quotearg:
532 # Code from module quotearg-simple:
533 # Code from module rawmemchr:
535 gl_STRING_MODULE_INDICATOR([rawmemchr])
536 # Code from module readlink:
538 gl_UNISTD_MODULE_INDICATOR([readlink])
539 # Code from module readlinkat:
541 gl_UNISTD_MODULE_INDICATOR([readlinkat])
542 # Code from module realloc-posix:
543 gl_FUNC_REALLOC_POSIX
544 gl_STDLIB_MODULE_INDICATOR([realloc-posix])
545 # Code from module regex:
547 # Code from module rename:
549 gl_STDIO_MODULE_INDICATOR([rename])
550 # Code from module renameat:
552 gl_STDIO_MODULE_INDICATOR([renameat])
553 # Code from module rmdir:
555 gl_UNISTD_MODULE_INDICATOR([rmdir])
556 # Code from module rpmatch:
558 gl_STDLIB_MODULE_INDICATOR([rpmatch])
559 # Code from module safe-read:
561 # Code from module safe-write:
563 # Code from module same-inode:
564 # Code from module save-cwd:
566 # Code from module savedir:
568 # Code from module setenv:
570 gl_STDLIB_MODULE_INDICATOR([setenv])
571 # Code from module size_max:
573 # Code from module sleep:
575 gl_UNISTD_MODULE_INDICATOR([sleep])
576 # Code from module snprintf:
578 gl_STDIO_MODULE_INDICATOR([snprintf])
579 gl_MODULE_INDICATOR([snprintf])
580 # Code from module ssize_t:
582 # Code from module stat:
584 gl_SYS_STAT_MODULE_INDICATOR([stat])
585 # Code from module stat-macros:
586 # Code from module stat-time:
589 # Code from module stdarg:
591 # Code from module stdbool:
593 # Code from module stddef:
595 # Code from module stdint:
597 # Code from module stdio:
599 # Code from module stdlib:
601 # Code from module stpcpy:
603 gl_STRING_MODULE_INDICATOR([stpcpy])
604 # Code from module strcase:
606 # Code from module strchrnul:
608 gl_STRING_MODULE_INDICATOR([strchrnul])
609 # Code from module strdup-posix:
611 gl_STRING_MODULE_INDICATOR([strdup])
612 # Code from module streq:
613 # Code from module strerror:
615 gl_STRING_MODULE_INDICATOR([strerror])
616 # Code from module string:
618 # Code from module strings:
620 # Code from module strndup:
622 gl_STRING_MODULE_INDICATOR([strndup])
623 # Code from module strnlen:
625 gl_STRING_MODULE_INDICATOR([strnlen])
626 # Code from module strnlen1:
627 # Code from module strtoimax:
629 gl_INTTYPES_MODULE_INDICATOR([strtoimax])
630 # Code from module strtol:
632 # Code from module strtoll:
634 gl_STDLIB_MODULE_INDICATOR([strtoll])
635 # Code from module strtoul:
637 # Code from module strtoull:
639 gl_STDLIB_MODULE_INDICATOR([strtoull])
640 # Code from module strtoumax:
642 gl_INTTYPES_MODULE_INDICATOR([strtoumax])
643 # Code from module symlink:
645 gl_UNISTD_MODULE_INDICATOR([symlink])
646 # Code from module symlinkat:
648 gl_UNISTD_MODULE_INDICATOR([symlinkat])
649 # Code from module sys_stat:
652 # Code from module sys_time:
655 # Code from module sysexits:
657 # Code from module tempname:
659 # Code from module time:
661 # Code from module time_r:
663 gl_TIME_MODULE_INDICATOR([time_r])
664 # Code from module timespec:
666 # Code from module unistd:
668 # Code from module unistd-safer:
670 # Code from module unitypes:
671 gl_LIBUNISTRING_LIBHEADER([0.9], [unitypes.h])
672 # Code from module uniwidth/base:
673 gl_LIBUNISTRING_LIBHEADER([0.9], [uniwidth.h])
674 # Code from module uniwidth/width:
675 gl_LIBUNISTRING_MODULE([0.9.4], [uniwidth/width])
676 # Code from module unlink:
678 gl_UNISTD_MODULE_INDICATOR([unlink])
679 # Code from module unlinkdir:
681 # Code from module unlocked-io:
682 gl_FUNC_GLIBC_UNLOCKED_IO
683 # Code from module unsetenv:
685 gl_STDLIB_MODULE_INDICATOR([unsetenv])
686 # Code from module utimens:
688 # Code from module utimensat:
690 gl_SYS_STAT_MODULE_INDICATOR([utimensat])
691 # Code from module vasnprintf:
693 # Code from module vasprintf:
695 gl_STDIO_MODULE_INDICATOR([vasprintf])
696 m4_ifdef([AM_XGETTEXT_OPTION],
697 [AM_][XGETTEXT_OPTION([--flag=asprintf:2:c-format])
698 AM_][XGETTEXT_OPTION([--flag=vasprintf:2:c-format])])
699 # Code from module verify:
700 # Code from module version-etc:
702 # Code from module version-etc-fsf:
703 # Code from module vsnprintf:
705 gl_STDIO_MODULE_INDICATOR([vsnprintf])
706 # Code from module warn-on-use:
707 # Code from module wchar:
709 # Code from module wcrtomb:
711 gl_WCHAR_MODULE_INDICATOR([wcrtomb])
712 # Code from module wctype-h:
714 # Code from module wcwidth:
716 gl_WCHAR_MODULE_INDICATOR([wcwidth])
717 # Code from module write:
719 gl_UNISTD_MODULE_INDICATOR([write])
720 # Code from module xalloc:
722 # Code from module xalloc-die:
723 # Code from module xgetcwd:
725 # Code from module xsize:
727 # Code from module xstrndup:
729 # Code from module xstrtol:
731 # Code from module xstrtoumax:
732 # Code from module xvasprintf:
734 m4_ifdef([AM_XGETTEXT_OPTION],
735 [AM_][XGETTEXT_OPTION([--flag=xasprintf:1:c-format])])
736 # End of code from modules
737 m4_ifval(gl_LIBSOURCES_LIST, [
738 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
739 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
740 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
741 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
745 m4_if(m4_sysval, [0], [],
746 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
748 m4_popdef([gl_LIBSOURCES_DIR])
749 m4_popdef([gl_LIBSOURCES_LIST])
750 m4_popdef([AC_LIBSOURCES])
751 m4_popdef([AC_REPLACE_FUNCS])
752 m4_popdef([AC_LIBOBJ])
753 AC_CONFIG_COMMANDS_PRE([
756 if test -n "$gl_LIBOBJS"; then
757 # Remove the extension.
758 sed_drop_objext='s/\.o$//;s/\.obj$//'
759 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
760 gl_libobjs="$gl_libobjs $i.$ac_objext"
761 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
764 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
765 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
769 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
770 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
771 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
772 m4_pushdef([gltests_LIBSOURCES_LIST], [])
773 m4_pushdef([gltests_LIBSOURCES_DIR], [])
775 gl_source_base='tests'
777 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
779 AC_SUBST([gltests_WITNESS])
780 gl_module_indicator_condition=$gltests_WITNESS
781 m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
782 m4_popdef([gl_MODULE_INDICATOR_CONDITION])
783 m4_ifval(gltests_LIBSOURCES_LIST, [
784 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
785 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
786 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
787 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
791 m4_if(m4_sysval, [0], [],
792 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
794 m4_popdef([gltests_LIBSOURCES_DIR])
795 m4_popdef([gltests_LIBSOURCES_LIST])
796 m4_popdef([AC_LIBSOURCES])
797 m4_popdef([AC_REPLACE_FUNCS])
798 m4_popdef([AC_LIBOBJ])
799 AC_CONFIG_COMMANDS_PRE([
802 if test -n "$gltests_LIBOBJS"; then
803 # Remove the extension.
804 sed_drop_objext='s/\.o$//;s/\.obj$//'
805 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
806 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
807 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
810 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
811 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
813 LIBGNU_LIBDEPS="$gl_libdeps"
814 AC_SUBST([LIBGNU_LIBDEPS])
815 LIBGNU_LTLIBDEPS="$gl_ltlibdeps"
816 AC_SUBST([LIBGNU_LTLIBDEPS])
819 # Like AC_LIBOBJ, except that the module name goes
820 # into gl_LIBOBJS instead of into LIBOBJS.
821 AC_DEFUN([gl_LIBOBJ], [
822 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
823 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
826 # Like AC_REPLACE_FUNCS, except that the module name goes
827 # into gl_LIBOBJS instead of into LIBOBJS.
828 AC_DEFUN([gl_REPLACE_FUNCS], [
829 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
830 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
833 # Like AC_LIBSOURCES, except the directory where the source file is
834 # expected is derived from the gnulib-tool parameterization,
835 # and alloca is special cased (for the alloca-opt module).
836 # We could also entirely rely on EXTRA_lib..._SOURCES.
837 AC_DEFUN([gl_LIBSOURCES], [
838 m4_foreach([_gl_NAME], [$1], [
839 m4_if(_gl_NAME, [alloca.c], [], [
840 m4_define([gl_LIBSOURCES_DIR], [gnu])
841 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
846 # Like AC_LIBOBJ, except that the module name goes
847 # into gltests_LIBOBJS instead of into LIBOBJS.
848 AC_DEFUN([gltests_LIBOBJ], [
849 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
850 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
853 # Like AC_REPLACE_FUNCS, except that the module name goes
854 # into gltests_LIBOBJS instead of into LIBOBJS.
855 AC_DEFUN([gltests_REPLACE_FUNCS], [
856 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
857 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
860 # Like AC_LIBSOURCES, except the directory where the source file is
861 # expected is derived from the gnulib-tool parameterization,
862 # and alloca is special cased (for the alloca-opt module).
863 # We could also entirely rely on EXTRA_lib..._SOURCES.
864 AC_DEFUN([gltests_LIBSOURCES], [
865 m4_foreach([_gl_NAME], [$1], [
866 m4_if(_gl_NAME, [alloca.c], [], [
867 m4_define([gltests_LIBSOURCES_DIR], [tests])
868 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
873 # This macro records the list of files which have been installed by
874 # gnulib-tool and may be removed by future gnulib-tool invocations.
875 AC_DEFUN([gl_FILE_LIST], [
876 build-aux/arg-nonnull.h
878 build-aux/config.rpath
879 build-aux/gitlog-to-changelog
880 build-aux/warn-on-use.h
881 doc/parse-datetime.texi
901 lib/argp-version-etc.c
902 lib/argp-version-etc.h
917 lib/canonicalize-lgpl.c
959 lib/filenamecat-lgpl.c
1006 lib/malloca.valgrind
1012 lib/mbsrtowcs-impl.h
1013 lib/mbsrtowcs-state.c
1029 lib/mktime-internal.h
1044 lib/parse-datetime.h
1045 lib/parse-datetime.y
1061 lib/rawmemchr.valgrind
1070 lib/regex_internal.c
1071 lib/regex_internal.h
1103 lib/strchrnul.valgrind
1139 lib/uniwidth/width.c
1153 lib/version-etc-fsf.c
1200 m4/double-slash-root.m4
1221 m4/getcwd-abort-bug.m4
1222 m4/getcwd-path-max.m4
1257 m4/libunistring-base.m4
1295 m4/parse-datetime.m4