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