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]) | |
a451f14b PE |
29 | # Code from module ftoastr: |
30 | # Code from module intprops: | |
743c80a7 PE |
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], [false]) | |
38 | gl_cond_libtool=false | |
39 | gl_libdeps= | |
40 | gl_ltlibdeps= | |
41 | gl_m4_base='m4' | |
42 | m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ])) | |
43 | m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS])) | |
44 | m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES])) | |
45 | m4_pushdef([gl_LIBSOURCES_LIST], []) | |
46 | m4_pushdef([gl_LIBSOURCES_DIR], []) | |
47 | gl_COMMON | |
48 | gl_source_base='lib' | |
a451f14b PE |
49 | # Code from module ftoastr: |
50 | AC_REQUIRE([gl_C99_STRTOLD]) | |
51 | # Code from module intprops: | |
743c80a7 PE |
52 | # End of code from modules |
53 | m4_ifval(gl_LIBSOURCES_LIST, [ | |
54 | m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ || | |
55 | for gl_file in ]gl_LIBSOURCES_LIST[ ; do | |
56 | if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then | |
57 | echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2 | |
58 | exit 1 | |
59 | fi | |
60 | done])dnl | |
61 | m4_if(m4_sysval, [0], [], | |
62 | [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) | |
63 | ]) | |
64 | m4_popdef([gl_LIBSOURCES_DIR]) | |
65 | m4_popdef([gl_LIBSOURCES_LIST]) | |
66 | m4_popdef([AC_LIBSOURCES]) | |
67 | m4_popdef([AC_REPLACE_FUNCS]) | |
68 | m4_popdef([AC_LIBOBJ]) | |
69 | AC_CONFIG_COMMANDS_PRE([ | |
70 | gl_libobjs= | |
71 | gl_ltlibobjs= | |
72 | if test -n "$gl_LIBOBJS"; then | |
73 | # Remove the extension. | |
74 | sed_drop_objext='s/\.o$//;s/\.obj$//' | |
75 | for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do | |
76 | gl_libobjs="$gl_libobjs $i.$ac_objext" | |
77 | gl_ltlibobjs="$gl_ltlibobjs $i.lo" | |
78 | done | |
79 | fi | |
80 | AC_SUBST([gl_LIBOBJS], [$gl_libobjs]) | |
81 | AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs]) | |
82 | ]) | |
83 | gltests_libdeps= | |
84 | gltests_ltlibdeps= | |
85 | m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ])) | |
86 | m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS])) | |
87 | m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES])) | |
88 | m4_pushdef([gltests_LIBSOURCES_LIST], []) | |
89 | m4_pushdef([gltests_LIBSOURCES_DIR], []) | |
90 | gl_COMMON | |
91 | gl_source_base='tests' | |
92 | changequote(,)dnl | |
93 | 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 | |
94 | changequote([, ])dnl | |
95 | AC_SUBST([gltests_WITNESS]) | |
96 | gl_module_indicator_condition=$gltests_WITNESS | |
97 | m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition]) | |
98 | m4_popdef([gl_MODULE_INDICATOR_CONDITION]) | |
99 | m4_ifval(gltests_LIBSOURCES_LIST, [ | |
100 | m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ || | |
101 | for gl_file in ]gltests_LIBSOURCES_LIST[ ; do | |
102 | if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then | |
103 | echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2 | |
104 | exit 1 | |
105 | fi | |
106 | done])dnl | |
107 | m4_if(m4_sysval, [0], [], | |
108 | [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) | |
109 | ]) | |
110 | m4_popdef([gltests_LIBSOURCES_DIR]) | |
111 | m4_popdef([gltests_LIBSOURCES_LIST]) | |
112 | m4_popdef([AC_LIBSOURCES]) | |
113 | m4_popdef([AC_REPLACE_FUNCS]) | |
114 | m4_popdef([AC_LIBOBJ]) | |
115 | AC_CONFIG_COMMANDS_PRE([ | |
116 | gltests_libobjs= | |
117 | gltests_ltlibobjs= | |
118 | if test -n "$gltests_LIBOBJS"; then | |
119 | # Remove the extension. | |
120 | sed_drop_objext='s/\.o$//;s/\.obj$//' | |
121 | for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do | |
122 | gltests_libobjs="$gltests_libobjs $i.$ac_objext" | |
123 | gltests_ltlibobjs="$gltests_ltlibobjs $i.lo" | |
124 | done | |
125 | fi | |
126 | AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs]) | |
127 | AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs]) | |
128 | ]) | |
129 | LIBGNU_LIBDEPS="$gl_libdeps" | |
130 | AC_SUBST([LIBGNU_LIBDEPS]) | |
131 | LIBGNU_LTLIBDEPS="$gl_ltlibdeps" | |
132 | AC_SUBST([LIBGNU_LTLIBDEPS]) | |
133 | ]) | |
134 | ||
135 | # Like AC_LIBOBJ, except that the module name goes | |
136 | # into gl_LIBOBJS instead of into LIBOBJS. | |
137 | AC_DEFUN([gl_LIBOBJ], [ | |
138 | AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl | |
139 | gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext" | |
140 | ]) | |
141 | ||
142 | # Like AC_REPLACE_FUNCS, except that the module name goes | |
143 | # into gl_LIBOBJS instead of into LIBOBJS. | |
144 | AC_DEFUN([gl_REPLACE_FUNCS], [ | |
145 | m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl | |
146 | AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)]) | |
147 | ]) | |
148 | ||
149 | # Like AC_LIBSOURCES, except the directory where the source file is | |
150 | # expected is derived from the gnulib-tool parameterization, | |
151 | # and alloca is special cased (for the alloca-opt module). | |
152 | # We could also entirely rely on EXTRA_lib..._SOURCES. | |
153 | AC_DEFUN([gl_LIBSOURCES], [ | |
154 | m4_foreach([_gl_NAME], [$1], [ | |
155 | m4_if(_gl_NAME, [alloca.c], [], [ | |
156 | m4_define([gl_LIBSOURCES_DIR], [lib]) | |
157 | m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ]) | |
158 | ]) | |
159 | ]) | |
160 | ]) | |
161 | ||
162 | # Like AC_LIBOBJ, except that the module name goes | |
163 | # into gltests_LIBOBJS instead of into LIBOBJS. | |
164 | AC_DEFUN([gltests_LIBOBJ], [ | |
165 | AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl | |
166 | gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext" | |
167 | ]) | |
168 | ||
169 | # Like AC_REPLACE_FUNCS, except that the module name goes | |
170 | # into gltests_LIBOBJS instead of into LIBOBJS. | |
171 | AC_DEFUN([gltests_REPLACE_FUNCS], [ | |
172 | m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl | |
173 | AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)]) | |
174 | ]) | |
175 | ||
176 | # Like AC_LIBSOURCES, except the directory where the source file is | |
177 | # expected is derived from the gnulib-tool parameterization, | |
178 | # and alloca is special cased (for the alloca-opt module). | |
179 | # We could also entirely rely on EXTRA_lib..._SOURCES. | |
180 | AC_DEFUN([gltests_LIBSOURCES], [ | |
181 | m4_foreach([_gl_NAME], [$1], [ | |
182 | m4_if(_gl_NAME, [alloca.c], [], [ | |
183 | m4_define([gltests_LIBSOURCES_DIR], [tests]) | |
184 | m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ]) | |
185 | ]) | |
186 | ]) | |
187 | ]) | |
188 | ||
189 | # This macro records the list of files which have been installed by | |
190 | # gnulib-tool and may be removed by future gnulib-tool invocations. | |
191 | AC_DEFUN([gl_FILE_LIST], [ | |
a451f14b PE |
192 | lib/dtoastr.c |
193 | lib/ftoastr.c | |
194 | lib/ftoastr.h | |
195 | lib/intprops.h | |
196 | lib/ldtoastr.c | |
743c80a7 | 197 | m4/00gnulib.m4 |
a451f14b | 198 | m4/c-strtod.m4 |
743c80a7 PE |
199 | m4/gnulib-common.m4 |
200 | ]) |