Commit | Line | Data |
---|---|---|
743c80a7 PE |
1 | # DO NOT EDIT! GENERATED AUTOMATICALLY! |
2 | # Copyright (C) 2002-2011 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 that use version control, this file can be treated like | |
16 | # other built files. | |
17 | ||
18 | ||
19 | # This macro should be invoked from ./configure.in, in the section | |
20 | # "Checks for programs", right after AC_PROG_CC, and certainly before | |
21 | # any checks for libraries, header files, types and library functions. | |
22 | AC_DEFUN([gl_EARLY], | |
23 | [ | |
24 | m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace | |
25 | m4_pattern_allow([^gl_ES$])dnl a valid locale name | |
26 | m4_pattern_allow([^gl_LIBOBJS$])dnl a variable | |
27 | m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable | |
28 | AC_REQUIRE([AC_PROG_RANLIB]) | |
1fd182f0 PE |
29 | # Code from module arg-nonnull: |
30 | # Code from module c++defs: | |
d1fdcab7 | 31 | # Code from module careadlinkat: |
942f733f | 32 | # Code from module crypto/md5: |
36f13e16 | 33 | # Code from module dosname: |
f737437b | 34 | # Code from module dtoastr: |
1fd182f0 PE |
35 | # Code from module extensions: |
36 | AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) | |
5fa4ac76 | 37 | # Code from module filemode: |
79ab4b7f | 38 | # Code from module getloadavg: |
e275c824 PE |
39 | # Code from module getopt-gnu: |
40 | # Code from module getopt-posix: | |
41 | # Code from module gettext-h: | |
67342916 | 42 | # Code from module ignore-value: |
1fd182f0 | 43 | # Code from module include_next: |
a451f14b | 44 | # Code from module intprops: |
ae0d7250 | 45 | # Code from module lstat: |
1fd182f0 PE |
46 | # Code from module mktime: |
47 | # Code from module multiarch: | |
ae0d7250 | 48 | # Code from module readlink: |
401bf9b4 | 49 | # Code from module socklen: |
d1fdcab7 | 50 | # Code from module ssize_t: |
ae0d7250 | 51 | # Code from module stat: |
16c3e636 | 52 | # Code from module stdbool: |
1fd182f0 | 53 | # Code from module stddef: |
5f90be1b | 54 | # Code from module stdint: |
77185bdf | 55 | # Code from module stdio: |
79ab4b7f | 56 | # Code from module stdlib: |
16c3e636 | 57 | # Code from module strftime: |
ae0d7250 | 58 | # Code from module symlink: |
5fa4ac76 | 59 | # Code from module sys_stat: |
1fd182f0 PE |
60 | # Code from module time: |
61 | # Code from module time_r: | |
e275c824 | 62 | # Code from module unistd: |
1fd182f0 | 63 | # Code from module warn-on-use: |
743c80a7 PE |
64 | ]) |
65 | ||
66 | # This macro should be invoked from ./configure.in, in the section | |
67 | # "Check for header files, types and library functions". | |
68 | AC_DEFUN([gl_INIT], | |
69 | [ | |
70 | AM_CONDITIONAL([GL_COND_LIBTOOL], [false]) | |
71 | gl_cond_libtool=false | |
72 | gl_libdeps= | |
73 | gl_ltlibdeps= | |
74 | gl_m4_base='m4' | |
75 | m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ])) | |
76 | m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS])) | |
77 | m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES])) | |
78 | m4_pushdef([gl_LIBSOURCES_LIST], []) | |
79 | m4_pushdef([gl_LIBSOURCES_DIR], []) | |
80 | gl_COMMON | |
81 | gl_source_base='lib' | |
1fd182f0 PE |
82 | # Code from module arg-nonnull: |
83 | # Code from module c++defs: | |
d1fdcab7 PE |
84 | # Code from module careadlinkat: |
85 | AC_CHECK_FUNCS_ONCE([readlinkat]) | |
942f733f PE |
86 | # Code from module crypto/md5: |
87 | gl_MD5 | |
36f13e16 | 88 | # Code from module dosname: |
f737437b | 89 | # Code from module dtoastr: |
a451f14b | 90 | AC_REQUIRE([gl_C99_STRTOLD]) |
f737437b | 91 | # Code from module extensions: |
5fa4ac76 PE |
92 | # Code from module filemode: |
93 | gl_FILEMODE | |
79ab4b7f PE |
94 | # Code from module getloadavg: |
95 | gl_GETLOADAVG([$gl_source_base]) | |
96 | gl_STDLIB_MODULE_INDICATOR([getloadavg]) | |
e275c824 PE |
97 | # Code from module getopt-gnu: |
98 | gl_FUNC_GETOPT_GNU | |
99 | gl_MODULE_INDICATOR_FOR_TESTS([getopt-gnu]) | |
100 | # Code from module getopt-posix: | |
101 | gl_FUNC_GETOPT_POSIX | |
102 | # Code from module gettext-h: | |
103 | AC_SUBST([LIBINTL]) | |
104 | AC_SUBST([LTLIBINTL]) | |
67342916 PE |
105 | # Code from module ignore-value: |
106 | AC_REQUIRE([AC_C_INLINE]) | |
1fd182f0 | 107 | # Code from module include_next: |
a451f14b | 108 | # Code from module intprops: |
ae0d7250 PE |
109 | # Code from module lstat: |
110 | gl_FUNC_LSTAT | |
111 | gl_SYS_STAT_MODULE_INDICATOR([lstat]) | |
1fd182f0 PE |
112 | # Code from module mktime: |
113 | gl_FUNC_MKTIME | |
114 | gl_TIME_MODULE_INDICATOR([mktime]) | |
115 | # Code from module multiarch: | |
116 | gl_MULTIARCH | |
ae0d7250 PE |
117 | # Code from module readlink: |
118 | gl_FUNC_READLINK | |
119 | gl_UNISTD_MODULE_INDICATOR([readlink]) | |
401bf9b4 PE |
120 | # Code from module socklen: |
121 | gl_TYPE_SOCKLEN_T | |
d1fdcab7 PE |
122 | # Code from module ssize_t: |
123 | gt_TYPE_SSIZE_T | |
ae0d7250 PE |
124 | # Code from module stat: |
125 | gl_FUNC_STAT | |
126 | gl_SYS_STAT_MODULE_INDICATOR([stat]) | |
16c3e636 PE |
127 | # Code from module stdbool: |
128 | AM_STDBOOL_H | |
1fd182f0 PE |
129 | # Code from module stddef: |
130 | gl_STDDEF_H | |
5f90be1b PE |
131 | # Code from module stdint: |
132 | gl_STDINT_H | |
77185bdf PE |
133 | # Code from module stdio: |
134 | gl_STDIO_H | |
79ab4b7f PE |
135 | # Code from module stdlib: |
136 | gl_STDLIB_H | |
16c3e636 PE |
137 | # Code from module strftime: |
138 | gl_FUNC_GNU_STRFTIME | |
ae0d7250 PE |
139 | # Code from module symlink: |
140 | gl_FUNC_SYMLINK | |
141 | gl_UNISTD_MODULE_INDICATOR([symlink]) | |
5fa4ac76 PE |
142 | # Code from module sys_stat: |
143 | gl_HEADER_SYS_STAT_H | |
144 | AC_PROG_MKDIR_P | |
1fd182f0 PE |
145 | # Code from module time: |
146 | gl_HEADER_TIME_H | |
147 | # Code from module time_r: | |
148 | gl_TIME_R | |
149 | gl_TIME_MODULE_INDICATOR([time_r]) | |
e275c824 PE |
150 | # Code from module unistd: |
151 | gl_UNISTD_H | |
1fd182f0 | 152 | # Code from module warn-on-use: |
743c80a7 PE |
153 | # End of code from modules |
154 | m4_ifval(gl_LIBSOURCES_LIST, [ | |
155 | m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ || | |
156 | for gl_file in ]gl_LIBSOURCES_LIST[ ; do | |
157 | if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then | |
158 | echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2 | |
159 | exit 1 | |
160 | fi | |
161 | done])dnl | |
162 | m4_if(m4_sysval, [0], [], | |
163 | [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) | |
164 | ]) | |
165 | m4_popdef([gl_LIBSOURCES_DIR]) | |
166 | m4_popdef([gl_LIBSOURCES_LIST]) | |
167 | m4_popdef([AC_LIBSOURCES]) | |
168 | m4_popdef([AC_REPLACE_FUNCS]) | |
169 | m4_popdef([AC_LIBOBJ]) | |
170 | AC_CONFIG_COMMANDS_PRE([ | |
171 | gl_libobjs= | |
172 | gl_ltlibobjs= | |
173 | if test -n "$gl_LIBOBJS"; then | |
174 | # Remove the extension. | |
175 | sed_drop_objext='s/\.o$//;s/\.obj$//' | |
176 | for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do | |
177 | gl_libobjs="$gl_libobjs $i.$ac_objext" | |
178 | gl_ltlibobjs="$gl_ltlibobjs $i.lo" | |
179 | done | |
180 | fi | |
181 | AC_SUBST([gl_LIBOBJS], [$gl_libobjs]) | |
182 | AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs]) | |
183 | ]) | |
184 | gltests_libdeps= | |
185 | gltests_ltlibdeps= | |
186 | m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ])) | |
187 | m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS])) | |
188 | m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES])) | |
189 | m4_pushdef([gltests_LIBSOURCES_LIST], []) | |
190 | m4_pushdef([gltests_LIBSOURCES_DIR], []) | |
191 | gl_COMMON | |
192 | gl_source_base='tests' | |
193 | changequote(,)dnl | |
194 | 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 | |
195 | changequote([, ])dnl | |
196 | AC_SUBST([gltests_WITNESS]) | |
197 | gl_module_indicator_condition=$gltests_WITNESS | |
198 | m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition]) | |
199 | m4_popdef([gl_MODULE_INDICATOR_CONDITION]) | |
200 | m4_ifval(gltests_LIBSOURCES_LIST, [ | |
201 | m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ || | |
202 | for gl_file in ]gltests_LIBSOURCES_LIST[ ; do | |
203 | if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then | |
204 | echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2 | |
205 | exit 1 | |
206 | fi | |
207 | done])dnl | |
208 | m4_if(m4_sysval, [0], [], | |
209 | [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) | |
210 | ]) | |
211 | m4_popdef([gltests_LIBSOURCES_DIR]) | |
212 | m4_popdef([gltests_LIBSOURCES_LIST]) | |
213 | m4_popdef([AC_LIBSOURCES]) | |
214 | m4_popdef([AC_REPLACE_FUNCS]) | |
215 | m4_popdef([AC_LIBOBJ]) | |
216 | AC_CONFIG_COMMANDS_PRE([ | |
217 | gltests_libobjs= | |
218 | gltests_ltlibobjs= | |
219 | if test -n "$gltests_LIBOBJS"; then | |
220 | # Remove the extension. | |
221 | sed_drop_objext='s/\.o$//;s/\.obj$//' | |
222 | for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do | |
223 | gltests_libobjs="$gltests_libobjs $i.$ac_objext" | |
224 | gltests_ltlibobjs="$gltests_ltlibobjs $i.lo" | |
225 | done | |
226 | fi | |
227 | AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs]) | |
228 | AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs]) | |
229 | ]) | |
230 | LIBGNU_LIBDEPS="$gl_libdeps" | |
231 | AC_SUBST([LIBGNU_LIBDEPS]) | |
232 | LIBGNU_LTLIBDEPS="$gl_ltlibdeps" | |
233 | AC_SUBST([LIBGNU_LTLIBDEPS]) | |
234 | ]) | |
235 | ||
236 | # Like AC_LIBOBJ, except that the module name goes | |
237 | # into gl_LIBOBJS instead of into LIBOBJS. | |
238 | AC_DEFUN([gl_LIBOBJ], [ | |
239 | AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl | |
240 | gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext" | |
241 | ]) | |
242 | ||
243 | # Like AC_REPLACE_FUNCS, except that the module name goes | |
244 | # into gl_LIBOBJS instead of into LIBOBJS. | |
245 | AC_DEFUN([gl_REPLACE_FUNCS], [ | |
246 | m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl | |
247 | AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)]) | |
248 | ]) | |
249 | ||
250 | # Like AC_LIBSOURCES, except the directory where the source file is | |
251 | # expected is derived from the gnulib-tool parameterization, | |
252 | # and alloca is special cased (for the alloca-opt module). | |
253 | # We could also entirely rely on EXTRA_lib..._SOURCES. | |
254 | AC_DEFUN([gl_LIBSOURCES], [ | |
255 | m4_foreach([_gl_NAME], [$1], [ | |
256 | m4_if(_gl_NAME, [alloca.c], [], [ | |
257 | m4_define([gl_LIBSOURCES_DIR], [lib]) | |
258 | m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ]) | |
259 | ]) | |
260 | ]) | |
261 | ]) | |
262 | ||
263 | # Like AC_LIBOBJ, except that the module name goes | |
264 | # into gltests_LIBOBJS instead of into LIBOBJS. | |
265 | AC_DEFUN([gltests_LIBOBJ], [ | |
266 | AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl | |
267 | gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext" | |
268 | ]) | |
269 | ||
270 | # Like AC_REPLACE_FUNCS, except that the module name goes | |
271 | # into gltests_LIBOBJS instead of into LIBOBJS. | |
272 | AC_DEFUN([gltests_REPLACE_FUNCS], [ | |
273 | m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl | |
274 | AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)]) | |
275 | ]) | |
276 | ||
277 | # Like AC_LIBSOURCES, except the directory where the source file is | |
278 | # expected is derived from the gnulib-tool parameterization, | |
279 | # and alloca is special cased (for the alloca-opt module). | |
280 | # We could also entirely rely on EXTRA_lib..._SOURCES. | |
281 | AC_DEFUN([gltests_LIBSOURCES], [ | |
282 | m4_foreach([_gl_NAME], [$1], [ | |
283 | m4_if(_gl_NAME, [alloca.c], [], [ | |
284 | m4_define([gltests_LIBSOURCES_DIR], [tests]) | |
285 | m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ]) | |
286 | ]) | |
287 | ]) | |
288 | ]) | |
289 | ||
290 | # This macro records the list of files which have been installed by | |
291 | # gnulib-tool and may be removed by future gnulib-tool invocations. | |
292 | AC_DEFUN([gl_FILE_LIST], [ | |
1fd182f0 PE |
293 | build-aux/arg-nonnull.h |
294 | build-aux/c++defs.h | |
295 | build-aux/warn-on-use.h | |
d1fdcab7 PE |
296 | lib/allocator.h |
297 | lib/careadlinkat.c | |
298 | lib/careadlinkat.h | |
36f13e16 | 299 | lib/dosname.h |
a451f14b | 300 | lib/dtoastr.c |
5fa4ac76 PE |
301 | lib/filemode.c |
302 | lib/filemode.h | |
a451f14b PE |
303 | lib/ftoastr.c |
304 | lib/ftoastr.h | |
79ab4b7f | 305 | lib/getloadavg.c |
e275c824 PE |
306 | lib/getopt.c |
307 | lib/getopt.in.h | |
308 | lib/getopt1.c | |
309 | lib/getopt_int.h | |
310 | lib/gettext.h | |
67342916 | 311 | lib/ignore-value.h |
a451f14b | 312 | lib/intprops.h |
ae0d7250 | 313 | lib/lstat.c |
942f733f PE |
314 | lib/md5.c |
315 | lib/md5.h | |
1fd182f0 PE |
316 | lib/mktime-internal.h |
317 | lib/mktime.c | |
ae0d7250 PE |
318 | lib/readlink.c |
319 | lib/stat.c | |
16c3e636 | 320 | lib/stdbool.in.h |
1fd182f0 | 321 | lib/stddef.in.h |
5f90be1b | 322 | lib/stdint.in.h |
77185bdf | 323 | lib/stdio.in.h |
79ab4b7f | 324 | lib/stdlib.in.h |
16c3e636 PE |
325 | lib/strftime.c |
326 | lib/strftime.h | |
ae0d7250 | 327 | lib/symlink.c |
5fa4ac76 | 328 | lib/sys_stat.in.h |
1fd182f0 PE |
329 | lib/time.in.h |
330 | lib/time_r.c | |
e275c824 | 331 | lib/unistd.in.h |
743c80a7 | 332 | m4/00gnulib.m4 |
a451f14b | 333 | m4/c-strtod.m4 |
1fd182f0 | 334 | m4/extensions.m4 |
5fa4ac76 | 335 | m4/filemode.m4 |
79ab4b7f | 336 | m4/getloadavg.m4 |
e275c824 | 337 | m4/getopt.m4 |
743c80a7 | 338 | m4/gnulib-common.m4 |
1fd182f0 | 339 | m4/include_next.m4 |
5f90be1b | 340 | m4/longlong.m4 |
ae0d7250 | 341 | m4/lstat.m4 |
942f733f | 342 | m4/md5.m4 |
1fd182f0 PE |
343 | m4/mktime.m4 |
344 | m4/multiarch.m4 | |
ae0d7250 | 345 | m4/readlink.m4 |
401bf9b4 | 346 | m4/socklen.m4 |
d1fdcab7 | 347 | m4/ssize_t.m4 |
5fa4ac76 | 348 | m4/st_dm_mode.m4 |
ae0d7250 | 349 | m4/stat.m4 |
16c3e636 | 350 | m4/stdbool.m4 |
1fd182f0 | 351 | m4/stddef_h.m4 |
5f90be1b | 352 | m4/stdint.m4 |
77185bdf | 353 | m4/stdio_h.m4 |
79ab4b7f | 354 | m4/stdlib_h.m4 |
16c3e636 | 355 | m4/strftime.m4 |
ae0d7250 | 356 | m4/symlink.m4 |
5fa4ac76 | 357 | m4/sys_stat_h.m4 |
1fd182f0 PE |
358 | m4/time_h.m4 |
359 | m4/time_r.m4 | |
16c3e636 | 360 | m4/tm_gmtoff.m4 |
e275c824 | 361 | m4/unistd_h.m4 |
1fd182f0 PE |
362 | m4/warn-on-use.m4 |
363 | m4/wchar_t.m4 | |
743c80a7 | 364 | ]) |