25
25
m4_pattern_allow([^gl_LIBOBJS$])dnl a variable
26
26
m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable
27
27
AC_REQUIRE([AC_PROG_RANLIB])
28
# Code from module alignof:
29
# Code from module alloca-opt:
30
# Code from module alloca-opt-tests:
31
# Code from module arg-nonnull:
32
# Code from module byteswap:
33
# Code from module byteswap-tests:
34
# Code from module c++defs:
35
# Code from module c-ctype:
36
# Code from module c-ctype-tests:
37
# Code from module close-hook:
38
# Code from module errno:
39
# Code from module errno-tests:
40
# Code from module extensions:
28
41
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
42
# Code from module float:
43
# Code from module fseeko:
29
44
AC_REQUIRE([AC_FUNC_FSEEKO])
45
# Code from module fseeko-tests:
46
# Code from module func:
47
# Code from module func-tests:
48
# Code from module gettext:
49
# Code from module gettext-h:
50
# Code from module havelib:
51
# Code from module include_next:
52
# Code from module intprops:
53
# Code from module lib-msvc-compat:
54
# Code from module lib-symbol-versions:
55
# Code from module lseek:
56
# Code from module memchr:
57
# Code from module memchr-tests:
58
# Code from module memmem-simple:
59
# Code from module minmax:
60
# Code from module multiarch:
61
# Code from module netdb:
62
# Code from module netdb-tests:
63
# Code from module read-file:
64
# Code from module read-file-tests:
65
# Code from module realloc-posix:
66
# Code from module size_max:
67
# Code from module snprintf:
68
# Code from module snprintf-tests:
69
# Code from module sockets:
70
# Code from module sockets-tests:
71
# Code from module socklen:
72
# Code from module stdbool:
73
# Code from module stdbool-tests:
74
# Code from module stddef:
75
# Code from module stddef-tests:
76
# Code from module stdint:
77
# Code from module stdint-tests:
78
# Code from module stdio:
79
# Code from module stdio-tests:
80
# Code from module stdlib:
81
# Code from module stdlib-tests:
82
# Code from module strcase:
83
# Code from module string:
84
# Code from module string-tests:
85
# Code from module strings:
86
# Code from module strings-tests:
87
# Code from module strverscmp:
88
# Code from module strverscmp-tests:
89
# Code from module sys_socket:
90
# Code from module sys_socket-tests:
91
# Code from module sys_stat:
92
# Code from module sys_stat-tests:
93
# Code from module time:
94
# Code from module time-tests:
95
# Code from module time_r:
96
# Code from module unistd:
97
# Code from module unistd-tests:
98
# Code from module vasnprintf:
99
# Code from module vasnprintf-tests:
100
# Code from module vasprintf:
101
# Code from module vasprintf-tests:
102
# Code from module verify:
103
# Code from module vsnprintf:
104
# Code from module vsnprintf-tests:
105
# Code from module warn-on-use:
106
# Code from module wchar:
107
# Code from module wchar-tests:
108
# Code from module xsize:
32
111
# This macro should be invoked from ./configure.ac, in the section
42
122
m4_pushdef([lgl_LIBSOURCES_DIR], [])
44
124
gl_source_base='gl'
125
# Code from module alignof:
126
# Code from module alloca-opt:
128
# Code from module arg-nonnull:
129
# Code from module byteswap:
131
# Code from module c++defs:
132
# Code from module c-ctype:
133
# Code from module close-hook:
134
# Code from module errno:
136
# Code from module extensions:
137
# Code from module float:
139
# Code from module fseeko:
50
141
gl_STDIO_MODULE_INDICATOR([fseeko])
142
# Code from module func:
144
# Code from module gettext:
52
145
dnl you must add AM_GNU_GETTEXT([external]) or similar to configure.ac.
53
146
AM_GNU_GETTEXT_VERSION([0.17])
147
# Code from module gettext-h:
54
148
AC_SUBST([LIBINTL])
55
149
AC_SUBST([LTLIBINTL])
150
# Code from module havelib:
151
# Code from module include_next:
152
# Code from module lib-msvc-compat:
154
# Code from module lib-symbol-versions:
57
155
gl_LD_VERSION_SCRIPT
156
# Code from module lseek:
59
158
gl_UNISTD_MODULE_INDICATOR([lseek])
159
# Code from module memchr:
61
161
gl_STRING_MODULE_INDICATOR([memchr])
162
# Code from module memmem-simple:
62
163
gl_FUNC_MEMMEM_SIMPLE
63
164
gl_STRING_MODULE_INDICATOR([memmem])
165
# Code from module minmax:
167
# Code from module multiarch:
169
# Code from module netdb:
171
# Code from module read-file:
173
# Code from module realloc-posix:
68
174
gl_FUNC_REALLOC_POSIX
69
175
gl_STDLIB_MODULE_INDICATOR([realloc-posix])
176
# Code from module size_max:
178
# Code from module snprintf:
72
180
gl_STDIO_MODULE_INDICATOR([snprintf])
181
# Code from module sockets:
183
# Code from module socklen:
185
# Code from module stdbool:
187
# Code from module stddef:
189
# Code from module stdint:
191
# Code from module stdio:
193
# Code from module stdlib:
195
# Code from module strcase:
197
# Code from module string:
81
198
gl_HEADER_STRING_H
199
# Code from module strings:
82
200
gl_HEADER_STRINGS_H
201
# Code from module strverscmp:
83
202
gl_FUNC_STRVERSCMP
84
203
gl_STRING_MODULE_INDICATOR([strverscmp])
204
# Code from module sys_socket:
85
205
gl_HEADER_SYS_SOCKET
207
# Code from module sys_stat:
87
208
gl_HEADER_SYS_STAT_H
210
# Code from module time:
212
# Code from module time_r:
214
gl_TIME_MODULE_INDICATOR([time_r])
215
# Code from module unistd:
217
# Code from module vasnprintf:
92
218
gl_FUNC_VASNPRINTF
219
# Code from module vasprintf:
94
221
gl_STDIO_MODULE_INDICATOR([vasprintf])
95
222
m4_ifdef([AM_XGETTEXT_OPTION],
96
223
[AM_][XGETTEXT_OPTION([--flag=asprintf:2:c-format])
97
224
AM_][XGETTEXT_OPTION([--flag=vasprintf:2:c-format])])
225
# Code from module vsnprintf:
99
227
gl_STDIO_MODULE_INDICATOR([vsnprintf])
228
# Code from module warn-on-use:
229
# Code from module wchar:
231
# Code from module xsize:
233
# End of code from modules
102
234
m4_ifval(lgl_LIBSOURCES_LIST, [
103
235
m4_syscmd([test ! -d ]m4_defn([lgl_LIBSOURCES_DIR])[ ||
104
236
for gl_file in ]lgl_LIBSOURCES_LIST[ ; do
138
270
m4_pushdef([lgltests_LIBSOURCES_DIR], [])
140
272
gl_source_base='gl/tests'
274
lgltests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS
276
AC_SUBST([lgltests_WITNESS])
277
gl_module_indicator_condition=$lgltests_WITNESS
278
m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
141
279
gl_FUNC_UNGETC_WORKS
144
282
AC_CHECK_FUNCS_ONCE([shutdown])
283
m4_popdef([gl_MODULE_INDICATOR_CONDITION])
145
284
m4_ifval(lgltests_LIBSOURCES_LIST, [
146
285
m4_syscmd([test ! -d ]m4_defn([lgltests_LIBSOURCES_DIR])[ ||
147
286
for gl_file in ]lgltests_LIBSOURCES_LIST[ ; do