• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-tools/libgettextpo/gnulib-m4/
1# DO NOT EDIT! GENERATED AUTOMATICALLY!
2# Copyright (C) 2004-2007 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-tools/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.
21AC_DEFUN([gtpo_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  AC_REQUIRE([AC_GNU_SOURCE])
30  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
31  AC_REQUIRE([gl_LOCK_EARLY])
32  dnl Some compilers (e.g., AIX 5.3 cc) need to be in c99 mode
33  dnl for the builtin va_copy to work.  With Autoconf 2.60 or later,
34  dnl AC_PROG_CC_STDC arranges for this.  With older Autoconf AC_PROG_CC_STDC
35  dnl shouldn't hurt, though installers are on their own to set c99 mode.
36  AC_REQUIRE([AC_PROG_CC_STDC])
37])
38
39# This macro should be invoked from gettext-tools/configure.ac, in the section
40# "Check for header files, types and library functions".
41AC_DEFUN([gtpo_INIT],
42[
43  m4_pushdef([AC_LIBOBJ], m4_defn([gtpo_LIBOBJ]))
44  m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gtpo_REPLACE_FUNCS]))
45  m4_pushdef([AC_LIBSOURCES], m4_defn([gtpo_LIBSOURCES]))
46  AM_CONDITIONAL([GL_COND_LIBTOOL], [true])
47  gl_cond_libtool=true
48  gl_source_base='libgettextpo'
49  gl_FUNC_ALLOCA
50  gl_ERROR
51  m4_ifdef([AM_XGETTEXT_OPTION],
52    [AM_XGETTEXT_OPTION([--flag=error:3:c-format])
53     AM_XGETTEXT_OPTION([--flag=error_at_line:5:c-format])])
54  gl_EXITFAIL
55  gl_FUNC_FOPEN
56  gl_STDIO_MODULE_INDICATOR([fopen])
57  gl_MODULE_INDICATOR([fwriteerror])
58  gl_FUNC_GETDELIM
59  gl_STDIO_MODULE_INDICATOR([getdelim])
60  gl_FUNC_GETLINE
61  gl_STDIO_MODULE_INDICATOR([getline])
62  AC_SUBST([LIBINTL])
63  AC_SUBST([LTLIBINTL])
64  AM_ICONV
65  gl_ICONV_H
66  gl_FUNC_ICONV_OPEN
67  gl_INLINE
68  gl_LINEBREAK
69  gl_LOCALCHARSET
70  gl_LOCK
71  gl_FUNC_MALLOC_POSIX
72  gl_STDLIB_MODULE_INDICATOR([malloc-posix])
73  gl_MALLOCA
74  gl_MBSWIDTH
75  gl_MINMAX
76  gl_MOO
77  AC_FUNC_OBSTACK
78  dnl Note: AC_FUNC_OBSTACK does AC_LIBSOURCES([obstack.h, obstack.c]).
79  gl_FUNC_REALLOC_POSIX
80  gl_STDLIB_MODULE_INDICATOR([realloc-posix])
81  gl_RELOCATABLE_LIBRARY
82  gl_SIZE_MAX
83  gl_STDARG_H
84  AM_STDBOOL_H
85  gl_STDINT_H
86  gl_STDIO_H
87  gl_STDLIB_H
88  gl_FUNC_STPCPY
89  gl_STRING_MODULE_INDICATOR([stpcpy])
90  gl_FUNC_STRDUP
91  gl_STRING_MODULE_INDICATOR([strdup])
92  gl_FUNC_STRERROR
93  gl_STRING_MODULE_INDICATOR([strerror])
94  if test $gl_cond_libtool = false; then
95    gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV"
96    gl_libdeps="$gl_libdeps $LIBICONV"
97  fi
98  gl_HEADER_STRING_H
99  gl_FUNC_STRNLEN
100  gl_STRING_MODULE_INDICATOR([strnlen])
101  gl_TLS
102  gl_UNISTD_H
103  gl_MODULE_INDICATOR([unistr/u16-mbtouc])
104  gl_MODULE_INDICATOR([unistr/u16-mbtouc-unsafe])
105  gl_MODULE_INDICATOR([unistr/u8-mbtouc])
106  gl_MODULE_INDICATOR([unistr/u8-mbtouc-unsafe])
107  gl_MODULE_INDICATOR([unistr/u8-uctomb])
108  gl_FUNC_GLIBC_UNLOCKED_IO
109  gl_FUNC_VASPRINTF
110  gl_STDIO_MODULE_INDICATOR([vasprintf])
111  m4_ifdef([AM_XGETTEXT_OPTION],
112    [AM_XGETTEXT_OPTION([--flag=asprintf:2:c-format])
113     AM_XGETTEXT_OPTION([--flag=vasprintf:2:c-format])])
114  gl_WCHAR_H
115  gl_WCTYPE_H
116  gl_FUNC_WCWIDTH
117  gl_WCHAR_MODULE_INDICATOR([wcwidth])
118  gl_XSIZE
119  gl_XVASPRINTF
120  m4_ifdef([AM_XGETTEXT_OPTION],
121    [AM_XGETTEXT_OPTION([--flag=xasprintf:1:c-format])])
122  m4_popdef([AC_LIBSOURCES])
123  m4_popdef([AC_REPLACE_FUNCS])
124  m4_popdef([AC_LIBOBJ])
125  AC_CONFIG_COMMANDS_PRE([
126    gtpo_libobjs=
127    gtpo_ltlibobjs=
128    if test -n "$gtpo_LIBOBJS"; then
129      # Remove the extension.
130      sed_drop_objext='s/\.o$//;s/\.obj$//'
131      for i in `for i in $gtpo_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
132        gtpo_libobjs="$gtpo_libobjs $i.$ac_objext"
133        gtpo_ltlibobjs="$gtpo_ltlibobjs $i.lo"
134      done
135    fi
136    AC_SUBST([gtpo_LIBOBJS], [$gtpo_libobjs])
137    AC_SUBST([gtpo_LTLIBOBJS], [$gtpo_ltlibobjs])
138  ])
139])
140
141# Like AC_LIBOBJ, except that the module name goes
142# into gtpo_LIBOBJS instead of into LIBOBJS.
143AC_DEFUN([gtpo_LIBOBJ], [
144  AS_LITERAL_IF([$1], [gtpo_LIBSOURCES([$1.c])])dnl
145  gtpo_LIBOBJS="$gtpo_LIBOBJS $1.$ac_objext"
146])
147
148# Like AC_REPLACE_FUNCS, except that the module name goes
149# into gtpo_LIBOBJS instead of into LIBOBJS.
150AC_DEFUN([gtpo_REPLACE_FUNCS], [
151  m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
152  AC_CHECK_FUNCS([$1], , [gtpo_LIBOBJ($ac_func)])
153])
154
155# Like AC_LIBSOURCES, except the directory where the source file is
156# expected is derived from the gnulib-tool parametrization,
157# and alloca is special cased (for the alloca-opt module).
158# We could also entirely rely on EXTRA_lib..._SOURCES.
159AC_DEFUN([gtpo_LIBSOURCES], [
160  m4_foreach([_gl_NAME], [$1], [
161    m4_if(_gl_NAME, [alloca.c], [], [
162      m4_syscmd([test -r libgettextpo/]_gl_NAME[ || test ! -d libgettextpo])dnl
163      m4_if(m4_sysval, [0], [],
164        [AC_FATAL([missing libgettextpo/]_gl_NAME)])
165    ])
166  ])
167])
168
169# This macro records the list of files which have been installed by
170# gnulib-tool and may be removed by future gnulib-tool invocations.
171AC_DEFUN([gtpo_FILE_LIST], [
172  build-aux/config.rpath
173  build-aux/link-warning.h
174  build-aux/moopp
175  doc/relocatable.texi
176  lib/alloca.in.h
177  lib/basename.c
178  lib/basename.h
179  lib/c-ctype.c
180  lib/c-ctype.h
181  lib/c-strcase.h
182  lib/c-strcasecmp.c
183  lib/c-strncasecmp.c
184  lib/c-strstr.c
185  lib/c-strstr.h
186  lib/concat-filename.c
187  lib/config.charset
188  lib/diffseq.h
189  lib/error-progname.c
190  lib/error-progname.h
191  lib/error.c
192  lib/error.h
193  lib/exitfail.c
194  lib/exitfail.h
195  lib/file-ostream.oo.c
196  lib/file-ostream.oo.h
197  lib/filename.h
198  lib/fopen.c
199  lib/fstrcmp.c
200  lib/fstrcmp.h
201  lib/fwriteerror.c
202  lib/fwriteerror.h
203  lib/gcd.c
204  lib/gcd.h
205  lib/getdelim.c
206  lib/getline.c
207  lib/gettext.h
208  lib/hash.c
209  lib/hash.h
210  lib/iconv.in.h
211  lib/iconv_open-aix.gperf
212  lib/iconv_open-hpux.gperf
213  lib/iconv_open-irix.gperf
214  lib/iconv_open-osf.gperf
215  lib/iconv_open.c
216  lib/intprops.h
217  lib/lbrkprop.h
218  lib/linebreak.c
219  lib/linebreak.h
220  lib/localcharset.c
221  lib/localcharset.h
222  lib/lock.c
223  lib/lock.h
224  lib/malloc.c
225  lib/malloca.c
226  lib/malloca.h
227  lib/malloca.valgrind
228  lib/mbswidth.c
229  lib/mbswidth.h
230  lib/minmax.h
231  lib/moo.h
232  lib/obstack.c
233  lib/obstack.h
234  lib/ostream.oo.c
235  lib/ostream.oo.h
236  lib/progname.c
237  lib/progname.h
238  lib/realloc.c
239  lib/ref-add.sin
240  lib/ref-del.sin
241  lib/relocatable.c
242  lib/relocatable.h
243  lib/size_max.h
244  lib/stdbool.in.h
245  lib/stdint.in.h
246  lib/stdio.in.h
247  lib/stdlib.in.h
248  lib/stpcpy.c
249  lib/strdup.c
250  lib/streq.h
251  lib/strerror.c
252  lib/striconv.c
253  lib/striconv.h
254  lib/string.in.h
255  lib/strnlen.c
256  lib/tls.c
257  lib/tls.h
258  lib/unistd.in.h
259  lib/unistr.h
260  lib/unistr/u16-mbtouc-aux.c
261  lib/unistr/u16-mbtouc-unsafe-aux.c
262  lib/unistr/u16-mbtouc-unsafe.c
263  lib/unistr/u16-mbtouc.c
264  lib/unistr/u8-mbtouc-aux.c
265  lib/unistr/u8-mbtouc-unsafe-aux.c
266  lib/unistr/u8-mbtouc-unsafe.c
267  lib/unistr/u8-mbtouc.c
268  lib/unistr/u8-uctomb-aux.c
269  lib/unistr/u8-uctomb.c
270  lib/unitypes.h
271  lib/uniwidth.h
272  lib/uniwidth/cjk.h
273  lib/uniwidth/width.c
274  lib/unlocked-io.h
275  lib/vasprintf.c
276  lib/wchar.in.h
277  lib/wctype.in.h
278  lib/wcwidth.c
279  lib/xalloc.h
280  lib/xasprintf.c
281  lib/xerror.c
282  lib/xerror.h
283  lib/xmalloc.c
284  lib/xmalloca.c
285  lib/xmalloca.h
286  lib/xsize.h
287  lib/xstrdup.c
288  lib/xstriconv.c
289  lib/xstriconv.h
290  lib/xvasprintf.c
291  lib/xvasprintf.h
292  m4/absolute-header.m4
293  m4/alloca.m4
294  m4/codeset.m4
295  m4/eealloc.m4
296  m4/error.m4
297  m4/exitfail.m4
298  m4/extensions.m4
299  m4/fopen.m4
300  m4/getdelim.m4
301  m4/getline.m4
302  m4/glibc21.m4
303  m4/gnulib-common.m4
304  m4/iconv.m4
305  m4/iconv_h.m4
306  m4/iconv_open.m4
307  m4/include_next.m4
308  m4/inline.m4
309  m4/lib-ld.m4
310  m4/lib-link.m4
311  m4/lib-prefix.m4
312  m4/linebreak.m4
313  m4/localcharset.m4
314  m4/lock.m4
315  m4/longlong.m4
316  m4/malloc.m4
317  m4/malloca.m4
318  m4/mbrtowc.m4
319  m4/mbstate_t.m4
320  m4/mbswidth.m4
321  m4/minmax.m4
322  m4/moo.m4
323  m4/onceonly_2_57.m4
324  m4/realloc.m4
325  m4/relocatable-lib.m4
326  m4/size_max.m4
327  m4/stdarg.m4
328  m4/stdbool.m4
329  m4/stdint.m4
330  m4/stdio_h.m4
331  m4/stdlib_h.m4
332  m4/stpcpy.m4
333  m4/strdup.m4
334  m4/strerror.m4
335  m4/string_h.m4
336  m4/strnlen.m4
337  m4/tls.m4
338  m4/unistd_h.m4
339  m4/unlocked-io.m4
340  m4/vasprintf.m4
341  m4/wchar.m4
342  m4/wchar_t.m4
343  m4/wctype.m4
344  m4/wcwidth.m4
345  m4/wint_t.m4
346  m4/xsize.m4
347  m4/xvasprintf.m4
348])
349