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