~win-cross-dev/win-cross/gettext

« back to all changes in this revision

Viewing changes to gettext-runtime/gnulib-m4/gnulib-comp.m4

  • Committer: Nathan Osman
  • Date: 2012-08-11 05:06:52 UTC
  • Revision ID: admin@quickmediasolutions.com-20120811050652-ochkxjtonbw6kkve
Initial commit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# DO NOT EDIT! GENERATED AUTOMATICALLY!
 
2
# Copyright (C) 2002-2010 Free Software Foundation, Inc.
 
3
#
 
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.
 
9
#
 
10
# Generated by gnulib-tool.
 
11
#
 
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.
 
16
 
 
17
 
 
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.
 
21
AC_DEFUN([gl_EARLY],
 
22
[
 
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:
 
115
])
 
116
 
 
117
# This macro should be invoked from gettext-runtime/configure.ac, in the section
 
118
# "Check for header files, types and library functions".
 
119
AC_DEFUN([gl_INIT],
 
120
[
 
121
  AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
 
122
  gl_cond_libtool=false
 
123
  gl_libdeps=
 
124
  gl_ltlibdeps=
 
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], [])
 
131
  gl_COMMON
 
132
  gl_source_base='gnulib-lib'
 
133
  # Code from module alloca-opt:
 
134
  gl_FUNC_ALLOCA
 
135
  # Code from module areadlink:
 
136
  # Code from module arg-nonnull:
 
137
  # Code from module atexit:
 
138
  gl_FUNC_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:
 
144
  gl_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:
 
154
  gl_DOUBLE_SLASH_ROOT
 
155
  # Code from module environ:
 
156
  gl_ENVIRON
 
157
  gl_UNISTD_MODULE_INDICATOR([environ])
 
158
  # Code from module errno:
 
159
  gl_HEADER_ERRNO_H
 
160
  # Code from module error:
 
161
  gl_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:
 
169
  gl_FUNC_GETOPT_GNU
 
170
  gl_MODULE_INDICATOR_FOR_TESTS([getopt-gnu])
 
171
  # Code from module getopt-posix:
 
172
  gl_FUNC_GETOPT_POSIX
 
173
  # Code from module gettext-h:
 
174
  AC_SUBST([LIBINTL])
 
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:
 
180
  AM_ICONV
 
181
  # Code from module iconv-h:
 
182
  gl_ICONV_H
 
183
  # Code from module iconv_open:
 
184
  gl_FUNC_ICONV_OPEN
 
185
  # Code from module include_next:
 
186
  # Code from module intprops:
 
187
  # Code from module java:
 
188
  gt_JAVA_CHOICE
 
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:
 
193
  gl_LOCALCHARSET
 
194
  LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\""
 
195
  AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
 
196
  # Code from module lstat:
 
197
  gl_FUNC_LSTAT
 
198
  gl_SYS_STAT_MODULE_INDICATOR([lstat])
 
199
  # Code from module malloc-posix:
 
200
  gl_FUNC_MALLOC_POSIX
 
201
  gl_STDLIB_MODULE_INDICATOR([malloc-posix])
 
202
  # Code from module malloca:
 
203
  gl_MALLOCA
 
204
  # Code from module mbchar:
 
205
  gl_MBCHAR
 
206
  # Code from module mbiter:
 
207
  gl_MBITER
 
208
  # Code from module mbrtowc:
 
209
  gl_FUNC_MBRTOWC
 
210
  gl_WCHAR_MODULE_INDICATOR([mbrtowc])
 
211
  # Code from module mbsinit:
 
212
  gl_FUNC_MBSINIT
 
213
  gl_WCHAR_MODULE_INDICATOR([mbsinit])
 
214
  # Code from module mbslen:
 
215
  gl_FUNC_MBSLEN
 
216
  gl_STRING_MODULE_INDICATOR([mbslen])
 
217
  # Code from module mbsstr:
 
218
  gl_STRING_MODULE_INDICATOR([mbsstr])
 
219
  # Code from module mbuiter:
 
220
  gl_MBITER
 
221
  # Code from module memchr:
 
222
  gl_FUNC_MEMCHR
 
223
  gl_STRING_MODULE_INDICATOR([memchr])
 
224
  # Code from module memmove:
 
225
  gl_FUNC_MEMMOVE
 
226
  # Code from module multiarch:
 
227
  gl_MULTIARCH
 
228
  # Code from module pathmax:
 
229
  gl_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:
 
238
  gl_FUNC_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
 
245
  gl_MALLOCA
 
246
  gl_RELOCATABLE_LIBRARY_SEPARATE
 
247
  gl_FUNC_SETENV_SEPARATE
 
248
  gl_FUNC_STRERROR_SEPARATE
 
249
  # Code from module signal:
 
250
  gl_SIGNAL_H
 
251
  # Code from module sigpipe:
 
252
  gl_SIGNAL_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:
 
265
  gl_SIGNALBLOCKING
 
266
  gl_SIGNAL_MODULE_INDICATOR([sigprocmask])
 
267
  # Code from module ssize_t:
 
268
  gt_TYPE_SSIZE_T
 
269
  # Code from module stat:
 
270
  gl_FUNC_STAT
 
271
  gl_SYS_STAT_MODULE_INDICATOR([stat])
 
272
  # Code from module stdbool:
 
273
  AM_STDBOOL_H
 
274
  # Code from module stddef:
 
275
  gl_STDDEF_H
 
276
  # Code from module stdint:
 
277
  gl_STDINT_H
 
278
  # Code from module stdio:
 
279
  gl_STDIO_H
 
280
  # Code from module stdlib:
 
281
  gl_STDLIB_H
 
282
  # Code from module streq:
 
283
  # Code from module strerror:
 
284
  gl_FUNC_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"
 
290
  fi
 
291
  # Code from module string:
 
292
  gl_HEADER_STRING_H
 
293
  # Code from module strnlen:
 
294
  gl_FUNC_STRNLEN
 
295
  gl_STRING_MODULE_INDICATOR([strnlen])
 
296
  # Code from module strnlen1:
 
297
  # Code from module strtol:
 
298
  gl_FUNC_STRTOL
 
299
  # Code from module strtoul:
 
300
  gl_FUNC_STRTOUL
 
301
  # Code from module sys_stat:
 
302
  gl_HEADER_SYS_STAT_H
 
303
  AC_PROG_MKDIR_P
 
304
  # Code from module time:
 
305
  gl_HEADER_TIME_H
 
306
  # Code from module trim:
 
307
  # Code from module unistd:
 
308
  gl_UNISTD_H
 
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:
 
317
  gl_WCHAR_H
 
318
  # Code from module wctype:
 
319
  gl_WCTYPE_H
 
320
  # Code from module wcwidth:
 
321
  gl_FUNC_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
 
332
          exit 1
 
333
        fi
 
334
      done])dnl
 
335
      m4_if(m4_sysval, [0], [],
 
336
        [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
 
337
  ])
 
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([
 
344
    gl_libobjs=
 
345
    gl_ltlibobjs=
 
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"
 
352
      done
 
353
    fi
 
354
    AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
 
355
    AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
 
356
  ])
 
357
  gltests_libdeps=
 
358
  gltests_ltlibdeps=
 
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], [])
 
364
  gl_COMMON
 
365
  gl_source_base='tests'
 
366
changequote(,)dnl
 
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
 
368
changequote([, ])dnl
 
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
 
378
          exit 1
 
379
        fi
 
380
      done])dnl
 
381
      m4_if(m4_sysval, [0], [],
 
382
        [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
 
383
  ])
 
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([
 
390
    gltests_libobjs=
 
391
    gltests_ltlibobjs=
 
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"
 
398
      done
 
399
    fi
 
400
    AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
 
401
    AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
 
402
  ])
 
403
  LIBGRT_LIBDEPS="$gl_libdeps"
 
404
  AC_SUBST([LIBGRT_LIBDEPS])
 
405
  LIBGRT_LTLIBDEPS="$gl_ltlibdeps"
 
406
  AC_SUBST([LIBGRT_LTLIBDEPS])
 
407
])
 
408
 
 
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"
 
414
])
 
415
 
 
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)])
 
421
])
 
422
 
 
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, [ ])
 
432
    ])
 
433
  ])
 
434
])
 
435
 
 
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"
 
441
])
 
442
 
 
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)])
 
448
])
 
449
 
 
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, [ ])
 
459
    ])
 
460
  ])
 
461
])
 
462
 
 
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
 
467
  build-aux/c++defs.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
 
475
  doc/relocatable.texi
 
476
  lib/alloca.in.h
 
477
  lib/areadlink.c
 
478
  lib/areadlink.h
 
479
  lib/atexit.c
 
480
  lib/basename.c
 
481
  lib/basename.h
 
482
  lib/c-ctype.c
 
483
  lib/c-ctype.h
 
484
  lib/c-strcase.h
 
485
  lib/c-strcasecmp.c
 
486
  lib/c-strncasecmp.c
 
487
  lib/canonicalize-lgpl.c
 
488
  lib/closeout.c
 
489
  lib/closeout.h
 
490
  lib/config.charset
 
491
  lib/errno.in.h
 
492
  lib/error.c
 
493
  lib/error.h
 
494
  lib/fwriteerror.c
 
495
  lib/fwriteerror.h
 
496
  lib/getopt.c
 
497
  lib/getopt.in.h
 
498
  lib/getopt1.c
 
499
  lib/getopt_int.h
 
500
  lib/gettext.h
 
501
  lib/iconv.in.h
 
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
 
507
  lib/iconv_open.c
 
508
  lib/intprops.h
 
509
  lib/localcharset.c
 
510
  lib/localcharset.h
 
511
  lib/lstat.c
 
512
  lib/malloc.c
 
513
  lib/malloca.c
 
514
  lib/malloca.h
 
515
  lib/malloca.valgrind
 
516
  lib/mbchar.c
 
517
  lib/mbchar.h
 
518
  lib/mbiter.h
 
519
  lib/mbrtowc.c
 
520
  lib/mbsinit.c
 
521
  lib/mbslen.c
 
522
  lib/mbsstr.c
 
523
  lib/mbuiter.h
 
524
  lib/memchr.c
 
525
  lib/memchr.valgrind
 
526
  lib/memmove.c
 
527
  lib/pathmax.h
 
528
  lib/progname.c
 
529
  lib/progname.h
 
530
  lib/progreloc.c
 
531
  lib/propername.c
 
532
  lib/propername.h
 
533
  lib/readlink.c
 
534
  lib/ref-add.sin
 
535
  lib/ref-del.sin
 
536
  lib/relocatable.c
 
537
  lib/relocatable.h
 
538
  lib/relocwrapper.c
 
539
  lib/setenv.c
 
540
  lib/signal.in.h
 
541
  lib/sigprocmask.c
 
542
  lib/stat.c
 
543
  lib/stdbool.in.h
 
544
  lib/stddef.in.h
 
545
  lib/stdint.in.h
 
546
  lib/stdio-write.c
 
547
  lib/stdio.in.h
 
548
  lib/stdlib.in.h
 
549
  lib/str-kmp.h
 
550
  lib/streq.h
 
551
  lib/strerror.c
 
552
  lib/striconv.c
 
553
  lib/striconv.h
 
554
  lib/string.in.h
 
555
  lib/strnlen.c
 
556
  lib/strnlen1.c
 
557
  lib/strnlen1.h
 
558
  lib/strtol.c
 
559
  lib/strtoul.c
 
560
  lib/sys_stat.in.h
 
561
  lib/time.in.h
 
562
  lib/trim.c
 
563
  lib/trim.h
 
564
  lib/unistd.in.h
 
565
  lib/unitypes.h
 
566
  lib/uniwidth.h
 
567
  lib/uniwidth/cjk.h
 
568
  lib/uniwidth/width.c
 
569
  lib/unlocked-io.h
 
570
  lib/verify.h
 
571
  lib/wchar.in.h
 
572
  lib/wctype.in.h
 
573
  lib/wcwidth.c
 
574
  lib/xalloc.h
 
575
  lib/xmalloc.c
 
576
  lib/xreadlink.c
 
577
  lib/xreadlink.h
 
578
  lib/xstrdup.c
 
579
  lib/xstriconv.c
 
580
  lib/xstriconv.h
 
581
  m4/00gnulib.m4
 
582
  m4/alloca.m4
 
583
  m4/atexit.m4
 
584
  m4/canonicalize.m4
 
585
  m4/codeset.m4
 
586
  m4/csharp.m4
 
587
  m4/csharpcomp.m4
 
588
  m4/dos.m4
 
589
  m4/double-slash-root.m4
 
590
  m4/eealloc.m4
 
591
  m4/environ.m4
 
592
  m4/errno_h.m4
 
593
  m4/error.m4
 
594
  m4/extensions.m4
 
595
  m4/fcntl-o.m4
 
596
  m4/getopt.m4
 
597
  m4/glibc21.m4
 
598
  m4/gnulib-common.m4
 
599
  m4/iconv.m4
 
600
  m4/iconv_h.m4
 
601
  m4/iconv_open.m4
 
602
  m4/include_next.m4
 
603
  m4/java.m4
 
604
  m4/javacomp.m4
 
605
  m4/lib-ld.m4
 
606
  m4/lib-link.m4
 
607
  m4/lib-prefix.m4
 
608
  m4/localcharset.m4
 
609
  m4/locale-fr.m4
 
610
  m4/locale-ja.m4
 
611
  m4/locale-zh.m4
 
612
  m4/longlong.m4
 
613
  m4/lstat.m4
 
614
  m4/malloc.m4
 
615
  m4/malloca.m4
 
616
  m4/mbchar.m4
 
617
  m4/mbiter.m4
 
618
  m4/mbrtowc.m4
 
619
  m4/mbsinit.m4
 
620
  m4/mbslen.m4
 
621
  m4/mbstate_t.m4
 
622
  m4/memchr.m4
 
623
  m4/memmove.m4
 
624
  m4/mmap-anon.m4
 
625
  m4/multiarch.m4
 
626
  m4/onceonly.m4
 
627
  m4/pathmax.m4
 
628
  m4/readlink.m4
 
629
  m4/relocatable-lib.m4
 
630
  m4/relocatable.m4
 
631
  m4/setenv.m4
 
632
  m4/signal_h.m4
 
633
  m4/signalblocking.m4
 
634
  m4/sigpipe.m4
 
635
  m4/ssize_t.m4
 
636
  m4/stat.m4
 
637
  m4/stdbool.m4
 
638
  m4/stddef_h.m4
 
639
  m4/stdint.m4
 
640
  m4/stdio_h.m4
 
641
  m4/stdlib_h.m4
 
642
  m4/strerror.m4
 
643
  m4/string_h.m4
 
644
  m4/strnlen.m4
 
645
  m4/strtol.m4
 
646
  m4/strtoul.m4
 
647
  m4/sys_stat_h.m4
 
648
  m4/time_h.m4
 
649
  m4/unistd_h.m4
 
650
  m4/unlocked-io.m4
 
651
  m4/warn-on-use.m4
 
652
  m4/wchar_h.m4
 
653
  m4/wchar_t.m4
 
654
  m4/wctype_h.m4
 
655
  m4/wcwidth.m4
 
656
  m4/wint_t.m4
 
657
])