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