Commit | Line | Data |
---|---|---|
103dc4d4 | 1 | # DO NOT EDIT! GENERATED AUTOMATICALLY! |
4a462e35 | 2 | # Copyright (C) 2002-2009 Free Software Foundation, Inc. |
103dc4d4 LC |
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.in, 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]) | |
ac47b09a | 28 | AB_INIT |
103dc4d4 | 29 | AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) |
f240aacb | 30 | AC_REQUIRE([gl_FP_IEEE]) |
103dc4d4 LC |
31 | ]) |
32 | ||
33 | # This macro should be invoked from ./configure.in, in the section | |
34 | # "Check for header files, types and library functions". | |
35 | AC_DEFUN([gl_INIT], | |
36 | [ | |
37 | AM_CONDITIONAL([GL_COND_LIBTOOL], [true]) | |
38 | gl_cond_libtool=true | |
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' | |
103dc4d4 | 46 | gl_FUNC_ALLOCA |
d7014610 | 47 | gl_COUNT_ONE_BITS |
f240aacb LC |
48 | gl_FUNC_FLOCK |
49 | gl_HEADER_SYS_FILE_MODULE_INDICATOR([flock]) | |
d7014610 | 50 | gl_INLINE |
4a462e35 NJ |
51 | gl_LOCALCHARSET |
52 | LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\"" | |
53 | AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT]) | |
f240aacb LC |
54 | gl_FUNC_MALLOC_POSIX |
55 | gl_STDLIB_MODULE_INDICATOR([malloc-posix]) | |
4a462e35 NJ |
56 | gl_FUNC_MBRLEN |
57 | gl_WCHAR_MODULE_INDICATOR([mbrlen]) | |
58 | gl_FUNC_MBRTOWC | |
59 | gl_WCHAR_MODULE_INDICATOR([mbrtowc]) | |
60 | gl_FUNC_MBSINIT | |
61 | gl_WCHAR_MODULE_INDICATOR([mbsinit]) | |
f240aacb LC |
62 | gl_MULTIARCH |
63 | gl_FUNC_PUTENV | |
64 | gl_STDLIB_MODULE_INDICATOR([putenv]) | |
9b36a80c LC |
65 | gl_SAFE_READ |
66 | gl_SAFE_WRITE | |
67 | gt_TYPE_SSIZE_T | |
e65fc94b | 68 | AM_STDBOOL_H |
f240aacb LC |
69 | gl_STDINT_H |
70 | gl_STDLIB_H | |
103dc4d4 | 71 | gl_STRCASE |
e65fc94b | 72 | gl_FUNC_GNU_STRFTIME |
103dc4d4 | 73 | gl_HEADER_STRINGS_H |
f240aacb LC |
74 | gl_HEADER_SYS_FILE_H |
75 | AC_PROG_MKDIR_P | |
e65fc94b LC |
76 | gl_HEADER_TIME_H |
77 | gl_TIME_R | |
9b36a80c | 78 | gl_UNISTD_H |
e65fc94b | 79 | gl_WCHAR_H |
9b36a80c LC |
80 | gl_FUNC_WRITE |
81 | gl_UNISTD_MODULE_INDICATOR([write]) | |
103dc4d4 LC |
82 | m4_ifval(gl_LIBSOURCES_LIST, [ |
83 | m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ || | |
84 | for gl_file in ]gl_LIBSOURCES_LIST[ ; do | |
85 | if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then | |
86 | echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2 | |
87 | exit 1 | |
88 | fi | |
89 | done])dnl | |
90 | m4_if(m4_sysval, [0], [], | |
91 | [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) | |
92 | ]) | |
93 | m4_popdef([gl_LIBSOURCES_DIR]) | |
94 | m4_popdef([gl_LIBSOURCES_LIST]) | |
95 | m4_popdef([AC_LIBSOURCES]) | |
96 | m4_popdef([AC_REPLACE_FUNCS]) | |
97 | m4_popdef([AC_LIBOBJ]) | |
98 | AC_CONFIG_COMMANDS_PRE([ | |
99 | gl_libobjs= | |
100 | gl_ltlibobjs= | |
101 | if test -n "$gl_LIBOBJS"; then | |
102 | # Remove the extension. | |
103 | sed_drop_objext='s/\.o$//;s/\.obj$//' | |
104 | for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do | |
105 | gl_libobjs="$gl_libobjs $i.$ac_objext" | |
106 | gl_ltlibobjs="$gl_ltlibobjs $i.lo" | |
107 | done | |
108 | fi | |
109 | AC_SUBST([gl_LIBOBJS], [$gl_libobjs]) | |
110 | AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs]) | |
111 | ]) | |
112 | gltests_libdeps= | |
113 | gltests_ltlibdeps= | |
114 | m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ])) | |
115 | m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS])) | |
116 | m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES])) | |
117 | m4_pushdef([gltests_LIBSOURCES_LIST], []) | |
118 | m4_pushdef([gltests_LIBSOURCES_DIR], []) | |
119 | gl_COMMON | |
120 | gl_source_base='tests' | |
121 | m4_ifval(gltests_LIBSOURCES_LIST, [ | |
122 | m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ || | |
123 | for gl_file in ]gltests_LIBSOURCES_LIST[ ; do | |
124 | if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then | |
125 | echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2 | |
126 | exit 1 | |
127 | fi | |
128 | done])dnl | |
129 | m4_if(m4_sysval, [0], [], | |
130 | [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) | |
131 | ]) | |
132 | m4_popdef([gltests_LIBSOURCES_DIR]) | |
133 | m4_popdef([gltests_LIBSOURCES_LIST]) | |
134 | m4_popdef([AC_LIBSOURCES]) | |
135 | m4_popdef([AC_REPLACE_FUNCS]) | |
136 | m4_popdef([AC_LIBOBJ]) | |
137 | AC_CONFIG_COMMANDS_PRE([ | |
138 | gltests_libobjs= | |
139 | gltests_ltlibobjs= | |
140 | if test -n "$gltests_LIBOBJS"; then | |
141 | # Remove the extension. | |
142 | sed_drop_objext='s/\.o$//;s/\.obj$//' | |
143 | for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do | |
144 | gltests_libobjs="$gltests_libobjs $i.$ac_objext" | |
145 | gltests_ltlibobjs="$gltests_ltlibobjs $i.lo" | |
146 | done | |
147 | fi | |
148 | AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs]) | |
149 | AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs]) | |
150 | ]) | |
151 | ]) | |
152 | ||
153 | # Like AC_LIBOBJ, except that the module name goes | |
154 | # into gl_LIBOBJS instead of into LIBOBJS. | |
155 | AC_DEFUN([gl_LIBOBJ], [ | |
156 | AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl | |
157 | gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext" | |
158 | ]) | |
159 | ||
160 | # Like AC_REPLACE_FUNCS, except that the module name goes | |
161 | # into gl_LIBOBJS instead of into LIBOBJS. | |
162 | AC_DEFUN([gl_REPLACE_FUNCS], [ | |
163 | m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl | |
164 | AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)]) | |
165 | ]) | |
166 | ||
167 | # Like AC_LIBSOURCES, except the directory where the source file is | |
168 | # expected is derived from the gnulib-tool parameterization, | |
169 | # and alloca is special cased (for the alloca-opt module). | |
170 | # We could also entirely rely on EXTRA_lib..._SOURCES. | |
171 | AC_DEFUN([gl_LIBSOURCES], [ | |
172 | m4_foreach([_gl_NAME], [$1], [ | |
173 | m4_if(_gl_NAME, [alloca.c], [], [ | |
174 | m4_define([gl_LIBSOURCES_DIR], [lib]) | |
175 | m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ]) | |
176 | ]) | |
177 | ]) | |
178 | ]) | |
179 | ||
180 | # Like AC_LIBOBJ, except that the module name goes | |
181 | # into gltests_LIBOBJS instead of into LIBOBJS. | |
182 | AC_DEFUN([gltests_LIBOBJ], [ | |
183 | AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl | |
184 | gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext" | |
185 | ]) | |
186 | ||
187 | # Like AC_REPLACE_FUNCS, except that the module name goes | |
188 | # into gltests_LIBOBJS instead of into LIBOBJS. | |
189 | AC_DEFUN([gltests_REPLACE_FUNCS], [ | |
190 | m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl | |
191 | AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)]) | |
192 | ]) | |
193 | ||
194 | # Like AC_LIBSOURCES, except the directory where the source file is | |
195 | # expected is derived from the gnulib-tool parameterization, | |
196 | # and alloca is special cased (for the alloca-opt module). | |
197 | # We could also entirely rely on EXTRA_lib..._SOURCES. | |
198 | AC_DEFUN([gltests_LIBSOURCES], [ | |
199 | m4_foreach([_gl_NAME], [$1], [ | |
200 | m4_if(_gl_NAME, [alloca.c], [], [ | |
201 | m4_define([gltests_LIBSOURCES_DIR], [tests]) | |
202 | m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ]) | |
203 | ]) | |
204 | ]) | |
205 | ]) | |
206 | ||
207 | # This macro records the list of files which have been installed by | |
208 | # gnulib-tool and may be removed by future gnulib-tool invocations. | |
209 | AC_DEFUN([gl_FILE_LIST], [ | |
210 | build-aux/link-warning.h | |
103dc4d4 | 211 | lib/alloca.in.h |
4a462e35 | 212 | lib/config.charset |
d7014610 | 213 | lib/count-one-bits.h |
f240aacb | 214 | lib/flock.c |
9b36a80c LC |
215 | lib/full-read.c |
216 | lib/full-read.h | |
217 | lib/full-write.c | |
218 | lib/full-write.h | |
4a462e35 NJ |
219 | lib/localcharset.c |
220 | lib/localcharset.h | |
f240aacb | 221 | lib/malloc.c |
4a462e35 NJ |
222 | lib/mbrlen.c |
223 | lib/mbrtowc.c | |
224 | lib/mbsinit.c | |
f240aacb | 225 | lib/putenv.c |
4a462e35 NJ |
226 | lib/ref-add.sin |
227 | lib/ref-del.sin | |
9b36a80c LC |
228 | lib/safe-read.c |
229 | lib/safe-read.h | |
230 | lib/safe-write.c | |
231 | lib/safe-write.h | |
e65fc94b | 232 | lib/stdbool.in.h |
f240aacb LC |
233 | lib/stdint.in.h |
234 | lib/stdlib.in.h | |
103dc4d4 | 235 | lib/strcasecmp.c |
4a462e35 | 236 | lib/streq.h |
e65fc94b LC |
237 | lib/strftime.c |
238 | lib/strftime.h | |
103dc4d4 LC |
239 | lib/strings.in.h |
240 | lib/strncasecmp.c | |
f240aacb | 241 | lib/sys_file.in.h |
e65fc94b LC |
242 | lib/time.in.h |
243 | lib/time_r.c | |
9b36a80c | 244 | lib/unistd.in.h |
d7014610 | 245 | lib/verify.h |
e65fc94b | 246 | lib/wchar.in.h |
9b36a80c | 247 | lib/write.c |
f240aacb | 248 | m4/00gnulib.m4 |
103dc4d4 | 249 | m4/alloca.m4 |
ac47b09a | 250 | m4/autobuild.m4 |
4a462e35 | 251 | m4/codeset.m4 |
d7014610 | 252 | m4/count-one-bits.m4 |
103dc4d4 | 253 | m4/extensions.m4 |
f240aacb LC |
254 | m4/flock.m4 |
255 | m4/fpieee.m4 | |
4a462e35 | 256 | m4/glibc21.m4 |
103dc4d4 LC |
257 | m4/gnulib-common.m4 |
258 | m4/include_next.m4 | |
d7014610 | 259 | m4/inline.m4 |
4a462e35 NJ |
260 | m4/localcharset.m4 |
261 | m4/locale-fr.m4 | |
262 | m4/locale-ja.m4 | |
263 | m4/locale-zh.m4 | |
f240aacb LC |
264 | m4/longlong.m4 |
265 | m4/malloc.m4 | |
4a462e35 NJ |
266 | m4/mbrlen.m4 |
267 | m4/mbrtowc.m4 | |
268 | m4/mbsinit.m4 | |
e65fc94b | 269 | m4/mbstate_t.m4 |
f240aacb LC |
270 | m4/multiarch.m4 |
271 | m4/putenv.m4 | |
9b36a80c LC |
272 | m4/safe-read.m4 |
273 | m4/safe-write.m4 | |
274 | m4/ssize_t.m4 | |
e65fc94b | 275 | m4/stdbool.m4 |
f240aacb LC |
276 | m4/stdint.m4 |
277 | m4/stdlib_h.m4 | |
103dc4d4 | 278 | m4/strcase.m4 |
e65fc94b | 279 | m4/strftime.m4 |
103dc4d4 | 280 | m4/strings_h.m4 |
f240aacb | 281 | m4/sys_file_h.m4 |
e65fc94b LC |
282 | m4/time_h.m4 |
283 | m4/time_r.m4 | |
284 | m4/tm_gmtoff.m4 | |
9b36a80c | 285 | m4/unistd_h.m4 |
e65fc94b | 286 | m4/wchar.m4 |
aa7a939c | 287 | m4/wint_t.m4 |
9b36a80c | 288 | m4/write.m4 |
103dc4d4 | 289 | ]) |