112303
|
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])
|
112308
|
29 # Code from module arg-nonnull:
|
|
30 # Code from module c++defs:
|
|
31 # Code from module extensions:
|
|
32 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
112305
|
33 # Code from module ftoastr:
|
112308
|
34 # Code from module include_next:
|
112305
|
35 # Code from module intprops:
|
112308
|
36 # Code from module mktime:
|
|
37 # Code from module multiarch:
|
|
38 # Code from module stddef:
|
|
39 # Code from module time:
|
|
40 # Code from module time_r:
|
|
41 # Code from module warn-on-use:
|
112303
|
42 ])
|
|
43
|
|
44 # This macro should be invoked from ./configure.in, in the section
|
|
45 # "Check for header files, types and library functions".
|
|
46 AC_DEFUN([gl_INIT],
|
|
47 [
|
|
48 AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
|
|
49 gl_cond_libtool=false
|
|
50 gl_libdeps=
|
|
51 gl_ltlibdeps=
|
|
52 gl_m4_base='m4'
|
|
53 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
|
|
54 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
|
|
55 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
|
|
56 m4_pushdef([gl_LIBSOURCES_LIST], [])
|
|
57 m4_pushdef([gl_LIBSOURCES_DIR], [])
|
|
58 gl_COMMON
|
|
59 gl_source_base='lib'
|
112308
|
60 # Code from module arg-nonnull:
|
|
61 # Code from module c++defs:
|
|
62 # Code from module extensions:
|
112305
|
63 # Code from module ftoastr:
|
|
64 AC_REQUIRE([gl_C99_STRTOLD])
|
112308
|
65 # Code from module include_next:
|
112305
|
66 # Code from module intprops:
|
112308
|
67 # Code from module mktime:
|
|
68 gl_FUNC_MKTIME
|
|
69 gl_TIME_MODULE_INDICATOR([mktime])
|
|
70 # Code from module multiarch:
|
|
71 gl_MULTIARCH
|
|
72 # Code from module stddef:
|
|
73 gl_STDDEF_H
|
|
74 # Code from module time:
|
|
75 gl_HEADER_TIME_H
|
|
76 # Code from module time_r:
|
|
77 gl_TIME_R
|
|
78 gl_TIME_MODULE_INDICATOR([time_r])
|
|
79 # Code from module warn-on-use:
|
112303
|
80 # End of code from modules
|
|
81 m4_ifval(gl_LIBSOURCES_LIST, [
|
|
82 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
|
|
83 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
|
|
84 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
|
|
85 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
|
|
86 exit 1
|
|
87 fi
|
|
88 done])dnl
|
|
89 m4_if(m4_sysval, [0], [],
|
|
90 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
|
|
91 ])
|
|
92 m4_popdef([gl_LIBSOURCES_DIR])
|
|
93 m4_popdef([gl_LIBSOURCES_LIST])
|
|
94 m4_popdef([AC_LIBSOURCES])
|
|
95 m4_popdef([AC_REPLACE_FUNCS])
|
|
96 m4_popdef([AC_LIBOBJ])
|
|
97 AC_CONFIG_COMMANDS_PRE([
|
|
98 gl_libobjs=
|
|
99 gl_ltlibobjs=
|
|
100 if test -n "$gl_LIBOBJS"; then
|
|
101 # Remove the extension.
|
|
102 sed_drop_objext='s/\.o$//;s/\.obj$//'
|
|
103 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
|
|
104 gl_libobjs="$gl_libobjs $i.$ac_objext"
|
|
105 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
|
|
106 done
|
|
107 fi
|
|
108 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
|
|
109 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
|
|
110 ])
|
|
111 gltests_libdeps=
|
|
112 gltests_ltlibdeps=
|
|
113 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
|
|
114 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
|
|
115 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
|
|
116 m4_pushdef([gltests_LIBSOURCES_LIST], [])
|
|
117 m4_pushdef([gltests_LIBSOURCES_DIR], [])
|
|
118 gl_COMMON
|
|
119 gl_source_base='tests'
|
|
120 changequote(,)dnl
|
|
121 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
|
|
122 changequote([, ])dnl
|
|
123 AC_SUBST([gltests_WITNESS])
|
|
124 gl_module_indicator_condition=$gltests_WITNESS
|
|
125 m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
|
|
126 m4_popdef([gl_MODULE_INDICATOR_CONDITION])
|
|
127 m4_ifval(gltests_LIBSOURCES_LIST, [
|
|
128 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
|
|
129 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
|
|
130 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
|
|
131 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
|
|
132 exit 1
|
|
133 fi
|
|
134 done])dnl
|
|
135 m4_if(m4_sysval, [0], [],
|
|
136 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
|
|
137 ])
|
|
138 m4_popdef([gltests_LIBSOURCES_DIR])
|
|
139 m4_popdef([gltests_LIBSOURCES_LIST])
|
|
140 m4_popdef([AC_LIBSOURCES])
|
|
141 m4_popdef([AC_REPLACE_FUNCS])
|
|
142 m4_popdef([AC_LIBOBJ])
|
|
143 AC_CONFIG_COMMANDS_PRE([
|
|
144 gltests_libobjs=
|
|
145 gltests_ltlibobjs=
|
|
146 if test -n "$gltests_LIBOBJS"; then
|
|
147 # Remove the extension.
|
|
148 sed_drop_objext='s/\.o$//;s/\.obj$//'
|
|
149 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
|
|
150 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
|
|
151 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
|
|
152 done
|
|
153 fi
|
|
154 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
|
|
155 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
|
|
156 ])
|
|
157 LIBGNU_LIBDEPS="$gl_libdeps"
|
|
158 AC_SUBST([LIBGNU_LIBDEPS])
|
|
159 LIBGNU_LTLIBDEPS="$gl_ltlibdeps"
|
|
160 AC_SUBST([LIBGNU_LTLIBDEPS])
|
|
161 ])
|
|
162
|
|
163 # Like AC_LIBOBJ, except that the module name goes
|
|
164 # into gl_LIBOBJS instead of into LIBOBJS.
|
|
165 AC_DEFUN([gl_LIBOBJ], [
|
|
166 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
|
|
167 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
|
|
168 ])
|
|
169
|
|
170 # Like AC_REPLACE_FUNCS, except that the module name goes
|
|
171 # into gl_LIBOBJS instead of into LIBOBJS.
|
|
172 AC_DEFUN([gl_REPLACE_FUNCS], [
|
|
173 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
|
|
174 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
|
|
175 ])
|
|
176
|
|
177 # Like AC_LIBSOURCES, except the directory where the source file is
|
|
178 # expected is derived from the gnulib-tool parameterization,
|
|
179 # and alloca is special cased (for the alloca-opt module).
|
|
180 # We could also entirely rely on EXTRA_lib..._SOURCES.
|
|
181 AC_DEFUN([gl_LIBSOURCES], [
|
|
182 m4_foreach([_gl_NAME], [$1], [
|
|
183 m4_if(_gl_NAME, [alloca.c], [], [
|
|
184 m4_define([gl_LIBSOURCES_DIR], [lib])
|
|
185 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
|
|
186 ])
|
|
187 ])
|
|
188 ])
|
|
189
|
|
190 # Like AC_LIBOBJ, except that the module name goes
|
|
191 # into gltests_LIBOBJS instead of into LIBOBJS.
|
|
192 AC_DEFUN([gltests_LIBOBJ], [
|
|
193 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
|
|
194 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
|
|
195 ])
|
|
196
|
|
197 # Like AC_REPLACE_FUNCS, except that the module name goes
|
|
198 # into gltests_LIBOBJS instead of into LIBOBJS.
|
|
199 AC_DEFUN([gltests_REPLACE_FUNCS], [
|
|
200 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
|
|
201 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
|
|
202 ])
|
|
203
|
|
204 # Like AC_LIBSOURCES, except the directory where the source file is
|
|
205 # expected is derived from the gnulib-tool parameterization,
|
|
206 # and alloca is special cased (for the alloca-opt module).
|
|
207 # We could also entirely rely on EXTRA_lib..._SOURCES.
|
|
208 AC_DEFUN([gltests_LIBSOURCES], [
|
|
209 m4_foreach([_gl_NAME], [$1], [
|
|
210 m4_if(_gl_NAME, [alloca.c], [], [
|
|
211 m4_define([gltests_LIBSOURCES_DIR], [tests])
|
|
212 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
|
|
213 ])
|
|
214 ])
|
|
215 ])
|
|
216
|
|
217 # This macro records the list of files which have been installed by
|
|
218 # gnulib-tool and may be removed by future gnulib-tool invocations.
|
|
219 AC_DEFUN([gl_FILE_LIST], [
|
112308
|
220 build-aux/arg-nonnull.h
|
|
221 build-aux/c++defs.h
|
|
222 build-aux/warn-on-use.h
|
112305
|
223 lib/dtoastr.c
|
|
224 lib/ftoastr.c
|
|
225 lib/ftoastr.h
|
|
226 lib/intprops.h
|
|
227 lib/ldtoastr.c
|
112308
|
228 lib/mktime-internal.h
|
|
229 lib/mktime.c
|
|
230 lib/stddef.in.h
|
|
231 lib/time.in.h
|
|
232 lib/time_r.c
|
112303
|
233 m4/00gnulib.m4
|
112305
|
234 m4/c-strtod.m4
|
112308
|
235 m4/extensions.m4
|
112303
|
236 m4/gnulib-common.m4
|
112308
|
237 m4/include_next.m4
|
|
238 m4/mktime.m4
|
|
239 m4/multiarch.m4
|
|
240 m4/stddef_h.m4
|
|
241 m4/time_h.m4
|
|
242 m4/time_r.m4
|
|
243 m4/warn-on-use.m4
|
|
244 m4/wchar_t.m4
|
112303
|
245 ])
|