1
# DO NOT EDIT! GENERATED AUTOMATICALLY!
2
# Copyright (C) 2002-2010 Free Software Foundation, Inc.
4
# This file is free software, distributed under the terms of the GNU
5
# General Public License. As a special exception to the GNU General
6
# Public License, this file may be distributed as part of a program
7
# that contains a configuration script generated by Autoconf, under
8
# the same distribution terms as the rest of that program.
10
# Generated by gnulib-tool.
12
# This file represents the compiled summary of the specification in
13
# gnulib-cache.m4. It lists the computed macro invocations that need
14
# to be invoked from configure.ac.
15
# In projects using CVS, this file can be treated like other built files.
18
# This macro should be invoked from gettext-runtime/configure.ac, in the section
19
# "Checks for programs", right after AC_PROG_CC, and certainly before
20
# any checks for libraries, header files, types and library functions.
23
m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace
24
m4_pattern_allow([^gl_ES$])dnl a valid locale name
25
m4_pattern_allow([^gl_LIBOBJS$])dnl a variable
26
m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable
27
AC_REQUIRE([AC_PROG_RANLIB])
28
AC_REQUIRE([AM_PROG_CC_C_O])
29
# Code from module alloca-opt:
30
# Code from module areadlink:
31
# Code from module arg-nonnull:
32
# Code from module atexit:
33
# Code from module basename:
34
# Code from module c++defs:
35
# Code from module c-ctype:
36
# Code from module c-strcase:
37
# Code from module canonicalize-lgpl:
38
# Code from module closeout:
39
# Code from module configmake:
40
# Code from module csharpcomp-script:
41
# Code from module double-slash-root:
42
# Code from module environ:
43
# Code from module errno:
44
# Code from module error:
45
# Code from module extensions:
46
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
47
# Code from module fwriteerror:
48
# Code from module getopt-gnu:
49
# Code from module getopt-posix:
50
# Code from module gettext-h:
51
# Code from module gettext-runtime-misc:
52
# Code from module gperf:
53
# Code from module havelib:
54
# Code from module iconv:
55
# Code from module iconv-h:
56
# Code from module iconv_open:
57
# Code from module include_next:
58
# Code from module intprops:
59
# Code from module java:
60
# Code from module javacomp-script:
61
# Code from module localcharset:
62
# Code from module lstat:
63
# Code from module malloc-posix:
64
# Code from module malloca:
65
# Code from module mbchar:
66
# Code from module mbiter:
67
# Code from module mbrtowc:
68
# Code from module mbsinit:
69
# Code from module mbslen:
70
# Code from module mbsstr:
71
# Code from module mbuiter:
72
# Code from module memchr:
73
# Code from module memmove:
74
# Code from module multiarch:
75
# Code from module pathmax:
76
# Code from module progname:
77
# Code from module propername:
78
# Code from module readlink:
79
# Code from module relocatable-prog:
80
# Code from module relocatable-prog-wrapper:
81
# Code from module signal:
82
# Code from module sigpipe:
83
# Code from module sigprocmask:
84
# Code from module ssize_t:
85
# Code from module stat:
86
# Code from module stdbool:
87
# Code from module stddef:
88
# Code from module stdint:
89
# Code from module stdio:
90
# Code from module stdlib:
91
# Code from module streq:
92
# Code from module strerror:
93
# Code from module striconv:
94
# Code from module string:
95
# Code from module strnlen:
96
# Code from module strnlen1:
97
# Code from module strtol:
98
# Code from module strtoul:
99
# Code from module sys_stat:
100
# Code from module time:
101
# Code from module trim:
102
# Code from module unistd:
103
# Code from module unitypes:
104
# Code from module uniwidth/base:
105
# Code from module uniwidth/width:
106
# Code from module unlocked-io:
107
# Code from module verify:
108
# Code from module warn-on-use:
109
# Code from module wchar:
110
# Code from module wctype:
111
# Code from module wcwidth:
112
# Code from module xalloc:
113
# Code from module xreadlink:
114
# Code from module xstriconv:
117
# This macro should be invoked from gettext-runtime/configure.ac, in the section
118
# "Check for header files, types and library functions".
121
AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
122
gl_cond_libtool=false
125
gl_m4_base='gnulib-m4'
126
m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
127
m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
128
m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
129
m4_pushdef([gl_LIBSOURCES_LIST], [])
130
m4_pushdef([gl_LIBSOURCES_DIR], [])
132
gl_source_base='gnulib-lib'
133
# Code from module alloca-opt:
135
# Code from module areadlink:
136
# Code from module arg-nonnull:
137
# Code from module atexit:
139
# Code from module basename:
140
# Code from module c++defs:
141
# Code from module c-ctype:
142
# Code from module c-strcase:
143
# Code from module canonicalize-lgpl:
145
gl_MODULE_INDICATOR([canonicalize-lgpl])
146
gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name])
147
gl_STDLIB_MODULE_INDICATOR([realpath])
148
# Code from module closeout:
149
# Code from module configmake:
150
# Code from module csharpcomp-script:
151
AC_REQUIRE([gt_CSHARPCOMP])
152
AC_CONFIG_FILES([csharpcomp.sh:../build-aux/csharpcomp.sh.in])
153
# Code from module double-slash-root:
155
# Code from module environ:
157
gl_UNISTD_MODULE_INDICATOR([environ])
158
# Code from module errno:
160
# Code from module error:
162
m4_ifdef([AM_XGETTEXT_OPTION],
163
[AM_][XGETTEXT_OPTION([--flag=error:3:c-format])
164
AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])])
165
# Code from module extensions:
166
# Code from module fwriteerror:
167
gl_MODULE_INDICATOR([fwriteerror])
168
# Code from module getopt-gnu:
170
gl_MODULE_INDICATOR_FOR_TESTS([getopt-gnu])
171
# Code from module getopt-posix:
173
# Code from module gettext-h:
175
AC_SUBST([LTLIBINTL])
176
# Code from module gettext-runtime-misc:
177
# Code from module gperf:
178
# Code from module havelib:
179
# Code from module iconv:
181
# Code from module iconv-h:
183
# Code from module iconv_open:
185
# Code from module include_next:
186
# Code from module intprops:
187
# Code from module java:
189
# Code from module javacomp-script:
190
# You need to invoke gt_JAVACOMP yourself, possibly with arguments.
191
AC_CONFIG_FILES([javacomp.sh:../build-aux/javacomp.sh.in])
192
# Code from module localcharset:
194
LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\""
195
AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
196
# Code from module lstat:
198
gl_SYS_STAT_MODULE_INDICATOR([lstat])
199
# Code from module malloc-posix:
201
gl_STDLIB_MODULE_INDICATOR([malloc-posix])
202
# Code from module malloca:
204
# Code from module mbchar:
206
# Code from module mbiter:
208
# Code from module mbrtowc:
210
gl_WCHAR_MODULE_INDICATOR([mbrtowc])
211
# Code from module mbsinit:
213
gl_WCHAR_MODULE_INDICATOR([mbsinit])
214
# Code from module mbslen:
216
gl_STRING_MODULE_INDICATOR([mbslen])
217
# Code from module mbsstr:
218
gl_STRING_MODULE_INDICATOR([mbsstr])
219
# Code from module mbuiter:
221
# Code from module memchr:
223
gl_STRING_MODULE_INDICATOR([memchr])
224
# Code from module memmove:
226
# Code from module multiarch:
228
# Code from module pathmax:
230
# Code from module progname:
231
AC_CHECK_DECLS([program_invocation_name], [], [], [#include <errno.h>])
232
AC_CHECK_DECLS([program_invocation_short_name], [], [], [#include <errno.h>])
233
# Code from module propername:
234
m4_ifdef([AM_XGETTEXT_OPTION],
235
[AM_][XGETTEXT_OPTION([--keyword='proper_name:1,\"This is a proper name. See the gettext manual, section Names.\"'])
236
AM_][XGETTEXT_OPTION([--keyword='proper_name_utf8:1,\"This is a proper name. See the gettext manual, section Names.\"'])])
237
# Code from module readlink:
239
gl_UNISTD_MODULE_INDICATOR([readlink])
240
# Code from module relocatable-prog:
241
gl_RELOCATABLE([$gl_source_base])
242
# Code from module relocatable-prog-wrapper:
243
gl_FUNC_READLINK_SEPARATE
244
gl_CANONICALIZE_LGPL_SEPARATE
246
gl_RELOCATABLE_LIBRARY_SEPARATE
247
gl_FUNC_SETENV_SEPARATE
248
gl_FUNC_STRERROR_SEPARATE
249
# Code from module signal:
251
# Code from module sigpipe:
253
dnl Define the C macro GNULIB_SIGPIPE to 1.
254
gl_MODULE_INDICATOR([sigpipe])
255
dnl Define the substituted variable GNULIB_SIGNAL_H_SIGPIPE to 1.
256
AC_REQUIRE([gl_SIGNAL_H_DEFAULTS])
257
GNULIB_SIGNAL_H_SIGPIPE=1
258
dnl Define the substituted variable GNULIB_STDIO_H_SIGPIPE to 1.
259
AC_REQUIRE([gl_STDIO_H_DEFAULTS])
260
GNULIB_STDIO_H_SIGPIPE=1
261
dnl Define the substituted variable GNULIB_UNISTD_H_SIGPIPE to 1.
262
AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
263
GNULIB_UNISTD_H_SIGPIPE=1
264
# Code from module sigprocmask:
266
gl_SIGNAL_MODULE_INDICATOR([sigprocmask])
267
# Code from module ssize_t:
269
# Code from module stat:
271
gl_SYS_STAT_MODULE_INDICATOR([stat])
272
# Code from module stdbool:
274
# Code from module stddef:
276
# Code from module stdint:
278
# Code from module stdio:
280
# Code from module stdlib:
282
# Code from module streq:
283
# Code from module strerror:
285
gl_STRING_MODULE_INDICATOR([strerror])
286
# Code from module striconv:
287
if test $gl_cond_libtool = false; then
288
gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV"
289
gl_libdeps="$gl_libdeps $LIBICONV"
291
# Code from module string:
293
# Code from module strnlen:
295
gl_STRING_MODULE_INDICATOR([strnlen])
296
# Code from module strnlen1:
297
# Code from module strtol:
299
# Code from module strtoul:
301
# Code from module sys_stat:
304
# Code from module time:
306
# Code from module trim:
307
# Code from module unistd:
309
# Code from module unitypes:
310
# Code from module uniwidth/base:
311
# Code from module uniwidth/width:
312
# Code from module unlocked-io:
313
gl_FUNC_GLIBC_UNLOCKED_IO
314
# Code from module verify:
315
# Code from module warn-on-use:
316
# Code from module wchar:
318
# Code from module wctype:
320
# Code from module wcwidth:
322
gl_WCHAR_MODULE_INDICATOR([wcwidth])
323
# Code from module xalloc:
324
# Code from module xreadlink:
325
# Code from module xstriconv:
326
# End of code from modules
327
m4_ifval(gl_LIBSOURCES_LIST, [
328
m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
329
for gl_file in ]gl_LIBSOURCES_LIST[ ; do
330
if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
331
echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
335
m4_if(m4_sysval, [0], [],
336
[AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
338
m4_popdef([gl_LIBSOURCES_DIR])
339
m4_popdef([gl_LIBSOURCES_LIST])
340
m4_popdef([AC_LIBSOURCES])
341
m4_popdef([AC_REPLACE_FUNCS])
342
m4_popdef([AC_LIBOBJ])
343
AC_CONFIG_COMMANDS_PRE([
346
if test -n "$gl_LIBOBJS"; then
347
# Remove the extension.
348
sed_drop_objext='s/\.o$//;s/\.obj$//'
349
for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
350
gl_libobjs="$gl_libobjs $i.$ac_objext"
351
gl_ltlibobjs="$gl_ltlibobjs $i.lo"
354
AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
355
AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
359
m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
360
m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
361
m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
362
m4_pushdef([gltests_LIBSOURCES_LIST], [])
363
m4_pushdef([gltests_LIBSOURCES_DIR], [])
365
gl_source_base='tests'
367
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
369
AC_SUBST([gltests_WITNESS])
370
gl_module_indicator_condition=$gltests_WITNESS
371
m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
372
m4_popdef([gl_MODULE_INDICATOR_CONDITION])
373
m4_ifval(gltests_LIBSOURCES_LIST, [
374
m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
375
for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
376
if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
377
echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
381
m4_if(m4_sysval, [0], [],
382
[AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
384
m4_popdef([gltests_LIBSOURCES_DIR])
385
m4_popdef([gltests_LIBSOURCES_LIST])
386
m4_popdef([AC_LIBSOURCES])
387
m4_popdef([AC_REPLACE_FUNCS])
388
m4_popdef([AC_LIBOBJ])
389
AC_CONFIG_COMMANDS_PRE([
392
if test -n "$gltests_LIBOBJS"; then
393
# Remove the extension.
394
sed_drop_objext='s/\.o$//;s/\.obj$//'
395
for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
396
gltests_libobjs="$gltests_libobjs $i.$ac_objext"
397
gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
400
AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
401
AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
403
LIBGRT_LIBDEPS="$gl_libdeps"
404
AC_SUBST([LIBGRT_LIBDEPS])
405
LIBGRT_LTLIBDEPS="$gl_ltlibdeps"
406
AC_SUBST([LIBGRT_LTLIBDEPS])
409
# Like AC_LIBOBJ, except that the module name goes
410
# into gl_LIBOBJS instead of into LIBOBJS.
411
AC_DEFUN([gl_LIBOBJ], [
412
AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
413
gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
416
# Like AC_REPLACE_FUNCS, except that the module name goes
417
# into gl_LIBOBJS instead of into LIBOBJS.
418
AC_DEFUN([gl_REPLACE_FUNCS], [
419
m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
420
AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
423
# Like AC_LIBSOURCES, except the directory where the source file is
424
# expected is derived from the gnulib-tool parameterization,
425
# and alloca is special cased (for the alloca-opt module).
426
# We could also entirely rely on EXTRA_lib..._SOURCES.
427
AC_DEFUN([gl_LIBSOURCES], [
428
m4_foreach([_gl_NAME], [$1], [
429
m4_if(_gl_NAME, [alloca.c], [], [
430
m4_define([gl_LIBSOURCES_DIR], [gnulib-lib])
431
m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
436
# Like AC_LIBOBJ, except that the module name goes
437
# into gltests_LIBOBJS instead of into LIBOBJS.
438
AC_DEFUN([gltests_LIBOBJ], [
439
AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
440
gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
443
# Like AC_REPLACE_FUNCS, except that the module name goes
444
# into gltests_LIBOBJS instead of into LIBOBJS.
445
AC_DEFUN([gltests_REPLACE_FUNCS], [
446
m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
447
AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
450
# Like AC_LIBSOURCES, except the directory where the source file is
451
# expected is derived from the gnulib-tool parameterization,
452
# and alloca is special cased (for the alloca-opt module).
453
# We could also entirely rely on EXTRA_lib..._SOURCES.
454
AC_DEFUN([gltests_LIBSOURCES], [
455
m4_foreach([_gl_NAME], [$1], [
456
m4_if(_gl_NAME, [alloca.c], [], [
457
m4_define([gltests_LIBSOURCES_DIR], [tests])
458
m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
463
# This macro records the list of files which have been installed by
464
# gnulib-tool and may be removed by future gnulib-tool invocations.
465
AC_DEFUN([gl_FILE_LIST], [
466
build-aux/arg-nonnull.h
468
build-aux/config.libpath
469
build-aux/config.rpath
470
build-aux/csharpcomp.sh.in
471
build-aux/install-reloc
472
build-aux/javacomp.sh.in
473
build-aux/reloc-ldflags
474
build-aux/warn-on-use.h
487
lib/canonicalize-lgpl.c
502
lib/iconv_open-aix.gperf
503
lib/iconv_open-hpux.gperf
504
lib/iconv_open-irix.gperf
505
lib/iconv_open-osf.gperf
506
lib/iconv_open-solaris.gperf
589
m4/double-slash-root.m4
629
m4/relocatable-lib.m4