421
|
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 ./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([gl_USE_SYSTEM_EXTENSIONS])
|
|
29 ])
|
|
30
|
|
31 # This macro should be invoked from ./configure.ac, in the section
|
|
32 # "Check for header files, types and library functions".
|
|
33 AC_DEFUN([gl_INIT],
|
|
34 [
|
|
35 AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
|
|
36 gl_cond_libtool=false
|
|
37 gl_libdeps=
|
|
38 gl_ltlibdeps=
|
|
39 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
|
|
40 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
|
|
41 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
|
|
42 m4_pushdef([gl_LIBSOURCES_LIST], [])
|
|
43 m4_pushdef([gl_LIBSOURCES_DIR], [])
|
|
44 gl_COMMON
|
|
45 gl_source_base='lib'
|
|
46 gl_FUNC_ALLOCA
|
|
47 gl_ARGP
|
|
48 m4_ifdef([AM_XGETTEXT_OPTION],
|
|
49 [AM_][XGETTEXT_OPTION([--flag=argp_error:2:c-format])
|
|
50 AM_][XGETTEXT_OPTION([--flag=argp_failure:4:c-format])])
|
|
51 gl_DIRNAME_LGPL
|
|
52 gl_DOUBLE_SLASH_ROOT
|
|
53 gl_HEADER_ERRNO_H
|
|
54 gl_FLOAT_H
|
|
55 gl_FUNC_GETOPT_GNU
|
|
56 gl_MODULE_INDICATOR([getopt-gnu])
|
|
57 gl_FUNC_GETOPT_POSIX
|
|
58 AC_SUBST([LIBINTL])
|
|
59 AC_SUBST([LTLIBINTL])
|
|
60 AC_FUNC_MALLOC
|
|
61 AC_DEFINE([GNULIB_MALLOC_GNU], 1, [Define to indicate the 'malloc' module.])
|
|
62 gl_FUNC_MALLOC_POSIX
|
|
63 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
|
|
64 gl_FUNC_MEMCHR
|
|
65 gl_STRING_MODULE_INDICATOR([memchr])
|
|
66 gl_FUNC_MEMPCPY
|
|
67 gl_STRING_MODULE_INDICATOR([mempcpy])
|
|
68 gl_MULTIARCH
|
|
69 gl_FUNC_RAWMEMCHR
|
|
70 gl_STRING_MODULE_INDICATOR([rawmemchr])
|
|
71 gl_SIZE_MAX
|
|
72 gl_FUNC_SLEEP
|
|
73 gl_UNISTD_MODULE_INDICATOR([sleep])
|
|
74 AM_STDBOOL_H
|
|
75 gl_STDDEF_H
|
|
76 gl_STDINT_H
|
|
77 gl_STDIO_H
|
|
78 gl_STDLIB_H
|
|
79 gl_STRCASE
|
|
80 gl_FUNC_STRCHRNUL
|
|
81 gl_STRING_MODULE_INDICATOR([strchrnul])
|
|
82 gl_FUNC_STRERROR
|
|
83 gl_STRING_MODULE_INDICATOR([strerror])
|
|
84 gl_HEADER_STRING_H
|
|
85 gl_HEADER_STRINGS_H
|
|
86 gl_FUNC_STRNDUP
|
|
87 gl_STRING_MODULE_INDICATOR([strndup])
|
|
88 gl_FUNC_STRNLEN
|
|
89 gl_STRING_MODULE_INDICATOR([strnlen])
|
|
90 gl_SYSEXITS
|
|
91 gl_UNISTD_H
|
|
92 gl_FUNC_VASNPRINTF
|
|
93 gl_FUNC_VASPRINTF
|
|
94 gl_STDIO_MODULE_INDICATOR([vasprintf])
|
|
95 m4_ifdef([AM_XGETTEXT_OPTION],
|
|
96 [AM_][XGETTEXT_OPTION([--flag=asprintf:2:c-format])
|
|
97 AM_][XGETTEXT_OPTION([--flag=vasprintf:2:c-format])])
|
|
98 gl_FUNC_VSNPRINTF
|
|
99 gl_STDIO_MODULE_INDICATOR([vsnprintf])
|
|
100 gl_WCHAR_H
|
|
101 gl_XSIZE
|
|
102 m4_ifval(gl_LIBSOURCES_LIST, [
|
|
103 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
|
|
104 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
|
|
105 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
|
|
106 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
|
|
107 exit 1
|
|
108 fi
|
|
109 done])dnl
|
|
110 m4_if(m4_sysval, [0], [],
|
|
111 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
|
|
112 ])
|
|
113 m4_popdef([gl_LIBSOURCES_DIR])
|
|
114 m4_popdef([gl_LIBSOURCES_LIST])
|
|
115 m4_popdef([AC_LIBSOURCES])
|
|
116 m4_popdef([AC_REPLACE_FUNCS])
|
|
117 m4_popdef([AC_LIBOBJ])
|
|
118 AC_CONFIG_COMMANDS_PRE([
|
|
119 gl_libobjs=
|
|
120 gl_ltlibobjs=
|
|
121 if test -n "$gl_LIBOBJS"; then
|
|
122 # Remove the extension.
|
|
123 sed_drop_objext='s/\.o$//;s/\.obj$//'
|
|
124 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
|
|
125 gl_libobjs="$gl_libobjs $i.$ac_objext"
|
|
126 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
|
|
127 done
|
|
128 fi
|
|
129 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
|
|
130 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
|
|
131 ])
|
|
132 gltests_libdeps=
|
|
133 gltests_ltlibdeps=
|
|
134 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
|
|
135 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
|
|
136 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
|
|
137 m4_pushdef([gltests_LIBSOURCES_LIST], [])
|
|
138 m4_pushdef([gltests_LIBSOURCES_DIR], [])
|
|
139 gl_COMMON
|
|
140 gl_source_base='tests'
|
|
141 m4_ifval(gltests_LIBSOURCES_LIST, [
|
|
142 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
|
|
143 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
|
|
144 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
|
|
145 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
|
|
146 exit 1
|
|
147 fi
|
|
148 done])dnl
|
|
149 m4_if(m4_sysval, [0], [],
|
|
150 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
|
|
151 ])
|
|
152 m4_popdef([gltests_LIBSOURCES_DIR])
|
|
153 m4_popdef([gltests_LIBSOURCES_LIST])
|
|
154 m4_popdef([AC_LIBSOURCES])
|
|
155 m4_popdef([AC_REPLACE_FUNCS])
|
|
156 m4_popdef([AC_LIBOBJ])
|
|
157 AC_CONFIG_COMMANDS_PRE([
|
|
158 gltests_libobjs=
|
|
159 gltests_ltlibobjs=
|
|
160 if test -n "$gltests_LIBOBJS"; then
|
|
161 # Remove the extension.
|
|
162 sed_drop_objext='s/\.o$//;s/\.obj$//'
|
|
163 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
|
|
164 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
|
|
165 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
|
|
166 done
|
|
167 fi
|
|
168 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
|
|
169 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
|
|
170 ])
|
|
171 LIBGNU_LIBDEPS="$gl_libdeps"
|
|
172 AC_SUBST([LIBGNU_LIBDEPS])
|
|
173 LIBGNU_LTLIBDEPS="$gl_ltlibdeps"
|
|
174 AC_SUBST([LIBGNU_LTLIBDEPS])
|
|
175 ])
|
|
176
|
|
177 # Like AC_LIBOBJ, except that the module name goes
|
|
178 # into gl_LIBOBJS instead of into LIBOBJS.
|
|
179 AC_DEFUN([gl_LIBOBJ], [
|
|
180 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
|
|
181 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
|
|
182 ])
|
|
183
|
|
184 # Like AC_REPLACE_FUNCS, except that the module name goes
|
|
185 # into gl_LIBOBJS instead of into LIBOBJS.
|
|
186 AC_DEFUN([gl_REPLACE_FUNCS], [
|
|
187 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
|
|
188 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
|
|
189 ])
|
|
190
|
|
191 # Like AC_LIBSOURCES, except the directory where the source file is
|
|
192 # expected is derived from the gnulib-tool parameterization,
|
|
193 # and alloca is special cased (for the alloca-opt module).
|
|
194 # We could also entirely rely on EXTRA_lib..._SOURCES.
|
|
195 AC_DEFUN([gl_LIBSOURCES], [
|
|
196 m4_foreach([_gl_NAME], [$1], [
|
|
197 m4_if(_gl_NAME, [alloca.c], [], [
|
|
198 m4_define([gl_LIBSOURCES_DIR], [lib])
|
|
199 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
|
|
200 ])
|
|
201 ])
|
|
202 ])
|
|
203
|
|
204 # Like AC_LIBOBJ, except that the module name goes
|
|
205 # into gltests_LIBOBJS instead of into LIBOBJS.
|
|
206 AC_DEFUN([gltests_LIBOBJ], [
|
|
207 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
|
|
208 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
|
|
209 ])
|
|
210
|
|
211 # Like AC_REPLACE_FUNCS, except that the module name goes
|
|
212 # into gltests_LIBOBJS instead of into LIBOBJS.
|
|
213 AC_DEFUN([gltests_REPLACE_FUNCS], [
|
|
214 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
|
|
215 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
|
|
216 ])
|
|
217
|
|
218 # Like AC_LIBSOURCES, except the directory where the source file is
|
|
219 # expected is derived from the gnulib-tool parameterization,
|
|
220 # and alloca is special cased (for the alloca-opt module).
|
|
221 # We could also entirely rely on EXTRA_lib..._SOURCES.
|
|
222 AC_DEFUN([gltests_LIBSOURCES], [
|
|
223 m4_foreach([_gl_NAME], [$1], [
|
|
224 m4_if(_gl_NAME, [alloca.c], [], [
|
|
225 m4_define([gltests_LIBSOURCES_DIR], [tests])
|
|
226 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
|
|
227 ])
|
|
228 ])
|
|
229 ])
|
|
230
|
|
231 # This macro records the list of files which have been installed by
|
|
232 # gnulib-tool and may be removed by future gnulib-tool invocations.
|
|
233 AC_DEFUN([gl_FILE_LIST], [
|
|
234 build-aux/arg-nonnull.h
|
|
235 build-aux/link-warning.h
|
|
236 lib/alloca.c
|
|
237 lib/alloca.in.h
|
|
238 lib/argp-ba.c
|
|
239 lib/argp-eexst.c
|
|
240 lib/argp-fmtstream.c
|
|
241 lib/argp-fmtstream.h
|
|
242 lib/argp-fs-xinl.c
|
|
243 lib/argp-help.c
|
|
244 lib/argp-namefrob.h
|
|
245 lib/argp-parse.c
|
|
246 lib/argp-pin.c
|
|
247 lib/argp-pv.c
|
|
248 lib/argp-pvh.c
|
|
249 lib/argp-xinl.c
|
|
250 lib/argp.h
|
|
251 lib/asnprintf.c
|
|
252 lib/asprintf.c
|
|
253 lib/basename-lgpl.c
|
|
254 lib/dirname-lgpl.c
|
|
255 lib/dirname.h
|
|
256 lib/errno.in.h
|
|
257 lib/float+.h
|
|
258 lib/float.in.h
|
|
259 lib/getopt.c
|
|
260 lib/getopt.in.h
|
|
261 lib/getopt1.c
|
|
262 lib/getopt_int.h
|
|
263 lib/gettext.h
|
|
264 lib/intprops.h
|
|
265 lib/malloc.c
|
|
266 lib/memchr.c
|
|
267 lib/memchr.valgrind
|
|
268 lib/mempcpy.c
|
|
269 lib/printf-args.c
|
|
270 lib/printf-args.h
|
|
271 lib/printf-parse.c
|
|
272 lib/printf-parse.h
|
|
273 lib/rawmemchr.c
|
|
274 lib/rawmemchr.valgrind
|
|
275 lib/size_max.h
|
|
276 lib/sleep.c
|
|
277 lib/stdbool.in.h
|
|
278 lib/stddef.in.h
|
|
279 lib/stdint.in.h
|
|
280 lib/stdio-write.c
|
|
281 lib/stdio.in.h
|
|
282 lib/stdlib.in.h
|
|
283 lib/strcasecmp.c
|
|
284 lib/strchrnul.c
|
|
285 lib/strchrnul.valgrind
|
|
286 lib/strerror.c
|
|
287 lib/string.in.h
|
|
288 lib/strings.in.h
|
|
289 lib/stripslash.c
|
|
290 lib/strncasecmp.c
|
|
291 lib/strndup.c
|
|
292 lib/strnlen.c
|
|
293 lib/sysexits.in.h
|
|
294 lib/unistd.in.h
|
|
295 lib/vasnprintf.c
|
|
296 lib/vasnprintf.h
|
|
297 lib/vasprintf.c
|
|
298 lib/verify.h
|
|
299 lib/vsnprintf.c
|
|
300 lib/wchar.in.h
|
|
301 lib/xsize.h
|
|
302 m4/00gnulib.m4
|
|
303 m4/alloca.m4
|
|
304 m4/argp.m4
|
|
305 m4/dirname.m4
|
|
306 m4/dos.m4
|
|
307 m4/double-slash-root.m4
|
|
308 m4/errno_h.m4
|
|
309 m4/extensions.m4
|
|
310 m4/float_h.m4
|
|
311 m4/getopt.m4
|
|
312 m4/gnulib-common.m4
|
|
313 m4/include_next.m4
|
|
314 m4/intmax_t.m4
|
|
315 m4/inttypes_h.m4
|
|
316 m4/longlong.m4
|
|
317 m4/malloc.m4
|
|
318 m4/memchr.m4
|
|
319 m4/mempcpy.m4
|
|
320 m4/mmap-anon.m4
|
|
321 m4/multiarch.m4
|
|
322 m4/onceonly.m4
|
|
323 m4/printf.m4
|
|
324 m4/rawmemchr.m4
|
|
325 m4/size_max.m4
|
|
326 m4/sleep.m4
|
|
327 m4/stdbool.m4
|
|
328 m4/stddef_h.m4
|
|
329 m4/stdint.m4
|
|
330 m4/stdint_h.m4
|
|
331 m4/stdio_h.m4
|
|
332 m4/stdlib_h.m4
|
|
333 m4/strcase.m4
|
|
334 m4/strchrnul.m4
|
|
335 m4/strerror.m4
|
|
336 m4/string_h.m4
|
|
337 m4/strings_h.m4
|
|
338 m4/strndup.m4
|
|
339 m4/strnlen.m4
|
|
340 m4/sysexits.m4
|
|
341 m4/unistd_h.m4
|
|
342 m4/vasnprintf.m4
|
|
343 m4/vasprintf.m4
|
|
344 m4/vsnprintf.m4
|
|
345 m4/wchar.m4
|
|
346 m4/wchar_t.m4
|
|
347 m4/wint_t.m4
|
|
348 m4/xsize.m4
|
|
349 ])
|