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