~ubuntu-branches/ubuntu/trusty/nagios-plugins/trusty-proposed

« back to all changes in this revision

Viewing changes to gl/m4/gnulib-comp.m4

  • Committer: Package Import Robot
  • Author(s): Yolanda Robla
  • Date: 2013-12-11 10:09:01 UTC
  • mfrom: (12.2.22 sid)
  • Revision ID: package-import@ubuntu.com-20131211100901-g0kqwx300l24be53
Tags: 1.5-1ubuntu1
* Merge from Debian unstable (LP: #1259863).  Remaining changes:
  - debian/control, debian/rules, debian/nagios-plugins-extra.dirs
     + add package nagios-plugins-extra
     + Suggest nagios-plugins-contrib in the universe package (-extras).
  - debian/control
     - replaces on nagios-plugins-basic (<< 1.4.16-1ubuntu1)
     - conflicts and replaces on nagios-plugins-extra

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# DO NOT EDIT! GENERATED AUTOMATICALLY!
2
 
# Copyright (C) 2002-2010 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
 
2
# Copyright (C) 2002-2013 Free Software Foundation, Inc.
 
3
#
 
4
# This file is free software; you can redistribute it and/or modify
 
5
# it under the terms of the GNU General Public License as published by
 
6
# the Free Software Foundation; either version 3 of the License, or
 
7
# (at your option) any later version.
 
8
#
 
9
# This file is distributed in the hope that it will be useful,
 
10
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
# GNU General Public License for more details.
 
13
#
 
14
# You should have received a copy of the GNU General Public License
 
15
# along with this file.  If not, see <http://www.gnu.org/licenses/>.
 
16
#
 
17
# As a special exception to the GNU General Public License,
 
18
# this file may be distributed as part of a program that
 
19
# contains a configuration script generated by Autoconf, under
8
20
# the same distribution terms as the rest of that program.
9
21
#
10
22
# Generated by gnulib-tool.
12
24
# This file represents the compiled summary of the specification in
13
25
# gnulib-cache.m4. It lists the computed macro invocations that need
14
26
# to be invoked from configure.ac.
15
 
# In projects using CVS, this file can be treated like other built files.
 
27
# In projects that use version control, this file can be treated like
 
28
# other built files.
16
29
 
17
30
 
18
31
# This macro should be invoked from ./configure.in, in the section
24
37
  m4_pattern_allow([^gl_ES$])dnl a valid locale name
25
38
  m4_pattern_allow([^gl_LIBOBJS$])dnl a variable
26
39
  m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable
27
 
  AC_REQUIRE([AC_PROG_RANLIB])
28
 
  # Code from module alignof:
 
40
  AC_REQUIRE([gl_PROG_AR_RANLIB])
 
41
  AC_REQUIRE([AM_PROG_CC_C_O])
29
42
  # Code from module alloca-opt:
30
 
  # Code from module arg-nonnull:
31
43
  # Code from module arpa_inet:
32
44
  # Code from module base64:
33
45
  # Code from module btowc:
34
 
  # Code from module c++defs:
35
 
  # Code from module c-strtod:
36
 
  # Code from module cloexec:
37
 
  # Code from module close-hook:
38
46
  # Code from module configmake:
39
47
  # Code from module crypto/sha1:
40
48
  # Code from module dirname:
41
49
  # Code from module dirname-lgpl:
 
50
  # Code from module dosname:
42
51
  # Code from module double-slash-root:
43
 
  # Code from module dup2:
44
52
  # Code from module environ:
45
53
  # Code from module errno:
46
54
  # Code from module error:
47
55
  # Code from module exitfail:
48
56
  # Code from module extensions:
49
57
  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
50
 
  # Code from module fcntl:
51
 
  # Code from module fcntl-h:
52
 
  # Code from module fcntl-safer:
 
58
  # Code from module extern-inline:
 
59
  # Code from module fd-hook:
53
60
  # Code from module float:
54
61
  # Code from module floorf:
55
62
  # Code from module fsusage:
56
63
  # Code from module full-read:
57
 
  # Code from module full-write:
58
64
  # Code from module getaddrinfo:
59
 
  # Code from module getdtablesize:
60
65
  # Code from module gethostname:
61
66
  # Code from module getloadavg:
62
 
  # Code from module getopt:
63
67
  # Code from module getopt-gnu:
64
68
  # Code from module getopt-posix:
65
69
  # Code from module gettext:
68
72
  # Code from module hostent:
69
73
  # Code from module include_next:
70
74
  # Code from module inet_ntop:
71
 
  # Code from module inline:
72
75
  # Code from module intprops:
73
76
  # Code from module langinfo:
 
77
  # Code from module largefile:
 
78
  AC_REQUIRE([AC_SYS_LARGEFILE])
74
79
  # Code from module localcharset:
75
80
  # Code from module locale:
76
 
  # Code from module malloc:
 
81
  # Code from module localeconv:
 
82
  # Code from module lock:
 
83
  # Code from module malloc-gnu:
77
84
  # Code from module malloc-posix:
78
85
  # Code from module malloca:
79
86
  # Code from module math:
80
87
  # Code from module mbrtowc:
81
88
  # Code from module mbsinit:
 
89
  # Code from module mbtowc:
82
90
  # Code from module memchr:
83
91
  # Code from module mktime:
 
92
  # Code from module mktime-internal:
84
93
  # Code from module mountlist:
 
94
  # Code from module msvc-inval:
 
95
  # Code from module msvc-nothrow:
85
96
  # Code from module multiarch:
86
97
  # Code from module netdb:
87
98
  # Code from module netinet_in:
88
99
  # Code from module nl_langinfo:
89
 
  # Code from module open:
 
100
  # Code from module nocrash:
 
101
  # Code from module read:
90
102
  # Code from module regex:
91
103
  # Code from module safe-read:
92
 
  # Code from module safe-write:
93
104
  # Code from module servent:
94
105
  # Code from module setenv:
95
106
  # Code from module size_max:
 
107
  # Code from module snippet/_Noreturn:
 
108
  # Code from module snippet/arg-nonnull:
 
109
  # Code from module snippet/c++defs:
 
110
  # Code from module snippet/warn-on-use:
96
111
  # Code from module snprintf:
 
112
  # Code from module socketlib:
97
113
  # Code from module sockets:
98
114
  # Code from module socklen:
99
115
  # Code from module ssize_t:
100
 
  # Code from module stat:
 
116
  # Code from module stdalign:
101
117
  # Code from module stdbool:
102
118
  # Code from module stddef:
103
119
  # Code from module stdint:
104
120
  # Code from module stdio:
105
121
  # Code from module stdlib:
106
 
  # Code from module strdup-posix:
107
122
  # Code from module streq:
108
123
  # Code from module strerror:
 
124
  # Code from module strerror-override:
109
125
  # Code from module string:
110
126
  # Code from module strndup:
111
127
  # Code from module strnlen:
112
128
  # Code from module strsep:
113
129
  # Code from module strstr-simple:
114
130
  # Code from module sys_socket:
115
 
  # Code from module sys_stat:
 
131
  # Code from module sys_types:
 
132
  # Code from module sys_uio:
 
133
  # Code from module threadlib:
 
134
  gl_THREADLIB_EARLY
116
135
  # Code from module time:
117
136
  # Code from module time_r:
118
137
  # Code from module timegm:
119
138
  # Code from module unistd:
120
 
  # Code from module unistd-safer:
121
139
  # Code from module unsetenv:
122
140
  # Code from module vasnprintf:
123
141
  # Code from module vasprintf:
124
142
  # Code from module verify:
125
143
  # Code from module vsnprintf:
126
 
  # Code from module warn-on-use:
127
144
  # Code from module wchar:
128
145
  # Code from module wcrtomb:
129
 
  # Code from module wctype:
130
 
  # Code from module write:
 
146
  # Code from module wctype-h:
131
147
  # Code from module xalloc:
132
148
  # Code from module xalloc-die:
 
149
  # Code from module xalloc-oversized:
133
150
  # Code from module xsize:
134
151
  # Code from module xstrndup:
135
152
])
150
167
  m4_pushdef([gl_LIBSOURCES_DIR], [])
151
168
  gl_COMMON
152
169
  gl_source_base='gl'
153
 
  # Code from module alignof:
154
 
  # Code from module alloca-opt:
155
170
  gl_FUNC_ALLOCA
156
 
  # Code from module arg-nonnull:
157
 
  # Code from module arpa_inet:
158
171
  gl_HEADER_ARPA_INET
159
172
  AC_PROG_MKDIR_P
160
 
  # Code from module base64:
161
173
  gl_FUNC_BASE64
162
 
  # Code from module btowc:
163
174
  gl_FUNC_BTOWC
 
175
  if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then
 
176
    AC_LIBOBJ([btowc])
 
177
    gl_PREREQ_BTOWC
 
178
  fi
164
179
  gl_WCHAR_MODULE_INDICATOR([btowc])
165
 
  # Code from module c++defs:
166
 
  # Code from module c-strtod:
167
 
  gl_C_STRTOD
168
 
  # Code from module cloexec:
169
 
  gl_CLOEXEC
170
 
  gl_MODULE_INDICATOR_FOR_TESTS([cloexec])
171
 
  # Code from module close-hook:
172
 
  # Code from module configmake:
173
 
  # Code from module crypto/sha1:
 
180
  gl_CONFIGMAKE_PREP
174
181
  gl_SHA1
175
 
  # Code from module dirname:
176
182
  gl_DIRNAME
177
183
  gl_MODULE_INDICATOR([dirname])
178
 
  # Code from module dirname-lgpl:
179
184
  gl_DIRNAME_LGPL
180
 
  # Code from module double-slash-root:
181
185
  gl_DOUBLE_SLASH_ROOT
182
 
  # Code from module dup2:
183
 
  gl_FUNC_DUP2
184
 
  gl_UNISTD_MODULE_INDICATOR([dup2])
185
 
  # Code from module environ:
186
186
  gl_ENVIRON
187
187
  gl_UNISTD_MODULE_INDICATOR([environ])
188
 
  # Code from module errno:
189
188
  gl_HEADER_ERRNO_H
190
 
  # Code from module error:
191
189
  gl_ERROR
 
190
  if test $ac_cv_lib_error_at_line = no; then
 
191
    AC_LIBOBJ([error])
 
192
    gl_PREREQ_ERROR
 
193
  fi
192
194
  m4_ifdef([AM_XGETTEXT_OPTION],
193
195
    [AM_][XGETTEXT_OPTION([--flag=error:3:c-format])
194
196
     AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])])
195
 
  # Code from module exitfail:
196
 
  # Code from module extensions:
197
 
  # Code from module fcntl:
198
 
  gl_FUNC_FCNTL
199
 
  gl_FCNTL_MODULE_INDICATOR([fcntl])
200
 
  # Code from module fcntl-h:
201
 
  gl_FCNTL_H
202
 
  # Code from module fcntl-safer:
203
 
  gl_FCNTL_SAFER
204
 
  gl_MODULE_INDICATOR([fcntl-safer])
205
 
  # Code from module float:
 
197
  AC_REQUIRE([gl_EXTERN_INLINE])
206
198
  gl_FLOAT_H
207
 
  # Code from module floorf:
 
199
  if test $REPLACE_FLOAT_LDBL = 1; then
 
200
    AC_LIBOBJ([float])
 
201
  fi
 
202
  if test $REPLACE_ITOLD = 1; then
 
203
    AC_LIBOBJ([itold])
 
204
  fi
208
205
  gl_FUNC_FLOORF
 
206
  if test $HAVE_DECL_FLOORF = 0 || test $REPLACE_FLOORF = 1; then
 
207
    AC_LIBOBJ([floorf])
 
208
  fi
209
209
  gl_MATH_MODULE_INDICATOR([floorf])
210
 
  # Code from module fsusage:
211
210
  gl_FSUSAGE
212
 
  # Code from module full-read:
213
 
  # Code from module full-write:
214
 
  # Code from module getaddrinfo:
 
211
  if test $gl_cv_fs_space = yes; then
 
212
    AC_LIBOBJ([fsusage])
 
213
    gl_PREREQ_FSUSAGE_EXTRA
 
214
  fi
215
215
  gl_GETADDRINFO
 
216
  if test $HAVE_GETADDRINFO = 0; then
 
217
    AC_LIBOBJ([getaddrinfo])
 
218
  fi
 
219
  if test $HAVE_DECL_GAI_STRERROR = 0 || test $REPLACE_GAI_STRERROR = 1; then
 
220
    AC_LIBOBJ([gai_strerror])
 
221
  fi
216
222
  gl_NETDB_MODULE_INDICATOR([getaddrinfo])
217
 
  # Code from module getdtablesize:
218
 
  gl_FUNC_GETDTABLESIZE
219
 
  gl_UNISTD_MODULE_INDICATOR([getdtablesize])
220
 
  # Code from module gethostname:
221
223
  gl_FUNC_GETHOSTNAME
 
224
  if test $HAVE_GETHOSTNAME = 0; then
 
225
    AC_LIBOBJ([gethostname])
 
226
    gl_PREREQ_GETHOSTNAME
 
227
  fi
222
228
  gl_UNISTD_MODULE_INDICATOR([gethostname])
223
 
  # Code from module getloadavg:
224
 
  gl_GETLOADAVG([$gl_source_base])
 
229
  gl_GETLOADAVG
 
230
  if test $HAVE_GETLOADAVG = 0; then
 
231
    AC_LIBOBJ([getloadavg])
 
232
    gl_PREREQ_GETLOADAVG
 
233
  fi
225
234
  gl_STDLIB_MODULE_INDICATOR([getloadavg])
226
 
  # Code from module getopt:
227
 
  # Code from module getopt-gnu:
228
235
  gl_FUNC_GETOPT_GNU
 
236
  if test $REPLACE_GETOPT = 1; then
 
237
    AC_LIBOBJ([getopt])
 
238
    AC_LIBOBJ([getopt1])
 
239
    gl_PREREQ_GETOPT
 
240
    dnl Arrange for unistd.h to include getopt.h.
 
241
    GNULIB_GL_UNISTD_H_GETOPT=1
 
242
  fi
 
243
  AC_SUBST([GNULIB_GL_UNISTD_H_GETOPT])
229
244
  gl_MODULE_INDICATOR_FOR_TESTS([getopt-gnu])
230
 
  # Code from module getopt-posix:
231
245
  gl_FUNC_GETOPT_POSIX
232
 
  # Code from module gettext:
 
246
  if test $REPLACE_GETOPT = 1; then
 
247
    AC_LIBOBJ([getopt])
 
248
    AC_LIBOBJ([getopt1])
 
249
    gl_PREREQ_GETOPT
 
250
    dnl Arrange for unistd.h to include getopt.h.
 
251
    GNULIB_GL_UNISTD_H_GETOPT=1
 
252
  fi
 
253
  AC_SUBST([GNULIB_GL_UNISTD_H_GETOPT])
233
254
  dnl you must add AM_GNU_GETTEXT([external]) or similar to configure.ac.
234
255
  AM_GNU_GETTEXT_VERSION([0.18.1])
235
 
  # Code from module gettext-h:
236
256
  AC_SUBST([LIBINTL])
237
257
  AC_SUBST([LTLIBINTL])
238
 
  # Code from module havelib:
239
 
  # Code from module hostent:
240
258
  gl_HOSTENT
241
 
  # Code from module include_next:
242
 
  # Code from module inet_ntop:
243
259
  gl_FUNC_INET_NTOP
 
260
  if test $HAVE_INET_NTOP = 0 || test $REPLACE_INET_NTOP = 1; then
 
261
    AC_LIBOBJ([inet_ntop])
 
262
    gl_PREREQ_INET_NTOP
 
263
  fi
244
264
  gl_ARPA_INET_MODULE_INDICATOR([inet_ntop])
245
 
  # Code from module inline:
246
 
  gl_INLINE
247
 
  # Code from module intprops:
248
 
  # Code from module langinfo:
249
265
  gl_LANGINFO_H
250
 
  # Code from module localcharset:
 
266
  AC_REQUIRE([gl_LARGEFILE])
251
267
  gl_LOCALCHARSET
252
 
  LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\""
 
268
  LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(abs_top_builddir)/$gl_source_base\""
253
269
  AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
254
 
  # Code from module locale:
255
270
  gl_LOCALE_H
256
 
  # Code from module malloc:
257
 
  AC_FUNC_MALLOC
258
 
  AC_DEFINE([GNULIB_MALLOC_GNU], 1, [Define to indicate the 'malloc' module.])
259
 
  # Code from module malloc-posix:
 
271
  gl_FUNC_LOCALECONV
 
272
  if test $REPLACE_LOCALECONV = 1; then
 
273
    AC_LIBOBJ([localeconv])
 
274
    gl_PREREQ_LOCALECONV
 
275
  fi
 
276
  gl_LOCALE_MODULE_INDICATOR([localeconv])
 
277
  gl_LOCK
 
278
  gl_MODULE_INDICATOR([lock])
 
279
  gl_FUNC_MALLOC_GNU
 
280
  if test $REPLACE_MALLOC = 1; then
 
281
    AC_LIBOBJ([malloc])
 
282
  fi
 
283
  gl_MODULE_INDICATOR([malloc-gnu])
260
284
  gl_FUNC_MALLOC_POSIX
 
285
  if test $REPLACE_MALLOC = 1; then
 
286
    AC_LIBOBJ([malloc])
 
287
  fi
261
288
  gl_STDLIB_MODULE_INDICATOR([malloc-posix])
262
 
  # Code from module malloca:
263
289
  gl_MALLOCA
264
 
  # Code from module math:
265
290
  gl_MATH_H
266
 
  # Code from module mbrtowc:
267
291
  gl_FUNC_MBRTOWC
 
292
  if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then
 
293
    AC_LIBOBJ([mbrtowc])
 
294
    gl_PREREQ_MBRTOWC
 
295
  fi
268
296
  gl_WCHAR_MODULE_INDICATOR([mbrtowc])
269
 
  # Code from module mbsinit:
270
297
  gl_FUNC_MBSINIT
 
298
  if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then
 
299
    AC_LIBOBJ([mbsinit])
 
300
    gl_PREREQ_MBSINIT
 
301
  fi
271
302
  gl_WCHAR_MODULE_INDICATOR([mbsinit])
272
 
  # Code from module memchr:
 
303
  gl_FUNC_MBTOWC
 
304
  if test $REPLACE_MBTOWC = 1; then
 
305
    AC_LIBOBJ([mbtowc])
 
306
    gl_PREREQ_MBTOWC
 
307
  fi
 
308
  gl_STDLIB_MODULE_INDICATOR([mbtowc])
273
309
  gl_FUNC_MEMCHR
 
310
  if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
 
311
    AC_LIBOBJ([memchr])
 
312
    gl_PREREQ_MEMCHR
 
313
  fi
274
314
  gl_STRING_MODULE_INDICATOR([memchr])
275
 
  # Code from module mktime:
276
315
  gl_FUNC_MKTIME
 
316
  if test $REPLACE_MKTIME = 1; then
 
317
    AC_LIBOBJ([mktime])
 
318
    gl_PREREQ_MKTIME
 
319
  fi
277
320
  gl_TIME_MODULE_INDICATOR([mktime])
278
 
  # Code from module mountlist:
 
321
  gl_FUNC_MKTIME_INTERNAL
 
322
  if test $REPLACE_MKTIME = 1; then
 
323
    AC_LIBOBJ([mktime])
 
324
    gl_PREREQ_MKTIME
 
325
  fi
279
326
  gl_MOUNTLIST
280
 
  # Code from module multiarch:
 
327
  if test $gl_cv_list_mounted_fs = yes; then
 
328
    AC_LIBOBJ([mountlist])
 
329
    gl_PREREQ_MOUNTLIST_EXTRA
 
330
  fi
 
331
  gl_MSVC_INVAL
 
332
  if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
 
333
    AC_LIBOBJ([msvc-inval])
 
334
  fi
 
335
  gl_MSVC_NOTHROW
 
336
  if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
 
337
    AC_LIBOBJ([msvc-nothrow])
 
338
  fi
281
339
  gl_MULTIARCH
282
 
  # Code from module netdb:
283
340
  gl_HEADER_NETDB
284
 
  # Code from module netinet_in:
285
341
  gl_HEADER_NETINET_IN
286
342
  AC_PROG_MKDIR_P
287
 
  # Code from module nl_langinfo:
288
343
  gl_FUNC_NL_LANGINFO
 
344
  if test $HAVE_NL_LANGINFO = 0 || test $REPLACE_NL_LANGINFO = 1; then
 
345
    AC_LIBOBJ([nl_langinfo])
 
346
  fi
289
347
  gl_LANGINFO_MODULE_INDICATOR([nl_langinfo])
290
 
  # Code from module open:
291
 
  gl_FUNC_OPEN
292
 
  gl_FCNTL_MODULE_INDICATOR([open])
293
 
  # Code from module regex:
 
348
  gl_FUNC_READ
 
349
  if test $REPLACE_READ = 1; then
 
350
    AC_LIBOBJ([read])
 
351
    gl_PREREQ_READ
 
352
  fi
 
353
  gl_UNISTD_MODULE_INDICATOR([read])
294
354
  gl_REGEX
295
 
  # Code from module safe-read:
296
 
  gl_SAFE_READ
297
 
  # Code from module safe-write:
298
 
  gl_SAFE_WRITE
299
 
  # Code from module servent:
 
355
  if test $ac_use_included_regex = yes; then
 
356
    AC_LIBOBJ([regex])
 
357
    gl_PREREQ_REGEX
 
358
  fi
 
359
  gl_PREREQ_SAFE_READ
300
360
  gl_SERVENT
301
 
  # Code from module setenv:
302
361
  gl_FUNC_SETENV
 
362
  if test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1; then
 
363
    AC_LIBOBJ([setenv])
 
364
  fi
303
365
  gl_STDLIB_MODULE_INDICATOR([setenv])
304
 
  # Code from module size_max:
305
366
  gl_SIZE_MAX
306
 
  # Code from module snprintf:
307
367
  gl_FUNC_SNPRINTF
308
368
  gl_STDIO_MODULE_INDICATOR([snprintf])
309
 
  # Code from module sockets:
 
369
  gl_MODULE_INDICATOR([snprintf])
 
370
  gl_SOCKETLIB
310
371
  gl_SOCKETS
311
 
  # Code from module socklen:
312
372
  gl_TYPE_SOCKLEN_T
313
 
  # Code from module ssize_t:
314
373
  gt_TYPE_SSIZE_T
315
 
  # Code from module stat:
316
 
  gl_FUNC_STAT
317
 
  gl_SYS_STAT_MODULE_INDICATOR([stat])
318
 
  # Code from module stdbool:
 
374
  gl_STDALIGN_H
319
375
  AM_STDBOOL_H
320
 
  # Code from module stddef:
321
376
  gl_STDDEF_H
322
 
  # Code from module stdint:
323
377
  gl_STDINT_H
324
 
  # Code from module stdio:
325
378
  gl_STDIO_H
326
 
  # Code from module stdlib:
327
379
  gl_STDLIB_H
328
 
  # Code from module strdup-posix:
329
 
  gl_FUNC_STRDUP_POSIX
330
 
  gl_STRING_MODULE_INDICATOR([strdup])
331
 
  # Code from module streq:
332
 
  # Code from module strerror:
333
380
  gl_FUNC_STRERROR
 
381
  if test $REPLACE_STRERROR = 1; then
 
382
    AC_LIBOBJ([strerror])
 
383
  fi
 
384
  gl_MODULE_INDICATOR([strerror])
334
385
  gl_STRING_MODULE_INDICATOR([strerror])
335
 
  # Code from module string:
 
386
  AC_REQUIRE([gl_HEADER_ERRNO_H])
 
387
  AC_REQUIRE([gl_FUNC_STRERROR_0])
 
388
  if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then
 
389
    AC_LIBOBJ([strerror-override])
 
390
    gl_PREREQ_SYS_H_WINSOCK2
 
391
  fi
336
392
  gl_HEADER_STRING_H
337
 
  # Code from module strndup:
338
393
  gl_FUNC_STRNDUP
 
394
  if test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1; then
 
395
    AC_LIBOBJ([strndup])
 
396
  fi
339
397
  gl_STRING_MODULE_INDICATOR([strndup])
340
 
  # Code from module strnlen:
341
398
  gl_FUNC_STRNLEN
 
399
  if test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1; then
 
400
    AC_LIBOBJ([strnlen])
 
401
    gl_PREREQ_STRNLEN
 
402
  fi
342
403
  gl_STRING_MODULE_INDICATOR([strnlen])
343
 
  # Code from module strsep:
344
404
  gl_FUNC_STRSEP
 
405
  if test $HAVE_STRSEP = 0; then
 
406
    AC_LIBOBJ([strsep])
 
407
    gl_PREREQ_STRSEP
 
408
  fi
345
409
  gl_STRING_MODULE_INDICATOR([strsep])
346
 
  # Code from module strstr-simple:
347
410
  gl_FUNC_STRSTR_SIMPLE
 
411
  if test $REPLACE_STRSTR = 1; then
 
412
    AC_LIBOBJ([strstr])
 
413
  fi
348
414
  gl_STRING_MODULE_INDICATOR([strstr])
349
 
  # Code from module sys_socket:
350
415
  gl_HEADER_SYS_SOCKET
351
416
  AC_PROG_MKDIR_P
352
 
  # Code from module sys_stat:
353
 
  gl_HEADER_SYS_STAT_H
354
 
  AC_PROG_MKDIR_P
355
 
  # Code from module time:
 
417
  gl_SYS_TYPES_H
 
418
  AC_PROG_MKDIR_P
 
419
  gl_HEADER_SYS_UIO
 
420
  AC_PROG_MKDIR_P
 
421
  gl_THREADLIB
356
422
  gl_HEADER_TIME_H
357
 
  # Code from module time_r:
358
423
  gl_TIME_R
 
424
  if test $HAVE_LOCALTIME_R = 0 || test $REPLACE_LOCALTIME_R = 1; then
 
425
    AC_LIBOBJ([time_r])
 
426
    gl_PREREQ_TIME_R
 
427
  fi
359
428
  gl_TIME_MODULE_INDICATOR([time_r])
360
 
  # Code from module timegm:
361
429
  gl_FUNC_TIMEGM
 
430
  if test $HAVE_TIMEGM = 0 || test $REPLACE_TIMEGM = 1; then
 
431
    AC_LIBOBJ([timegm])
 
432
    gl_PREREQ_TIMEGM
 
433
  fi
362
434
  gl_TIME_MODULE_INDICATOR([timegm])
363
 
  # Code from module unistd:
364
435
  gl_UNISTD_H
365
 
  # Code from module unistd-safer:
366
 
  gl_UNISTD_SAFER
367
 
  # Code from module unsetenv:
368
436
  gl_FUNC_UNSETENV
 
437
  if test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1; then
 
438
    AC_LIBOBJ([unsetenv])
 
439
    gl_PREREQ_UNSETENV
 
440
  fi
369
441
  gl_STDLIB_MODULE_INDICATOR([unsetenv])
370
 
  # Code from module vasnprintf:
371
442
  gl_FUNC_VASNPRINTF
372
 
  # Code from module vasprintf:
373
443
  gl_FUNC_VASPRINTF
374
444
  gl_STDIO_MODULE_INDICATOR([vasprintf])
375
445
  m4_ifdef([AM_XGETTEXT_OPTION],
376
446
    [AM_][XGETTEXT_OPTION([--flag=asprintf:2:c-format])
377
447
     AM_][XGETTEXT_OPTION([--flag=vasprintf:2:c-format])])
378
 
  # Code from module verify:
379
 
  # Code from module vsnprintf:
380
448
  gl_FUNC_VSNPRINTF
381
449
  gl_STDIO_MODULE_INDICATOR([vsnprintf])
382
 
  # Code from module warn-on-use:
383
 
  # Code from module wchar:
384
450
  gl_WCHAR_H
385
 
  # Code from module wcrtomb:
386
451
  gl_FUNC_WCRTOMB
 
452
  if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then
 
453
    AC_LIBOBJ([wcrtomb])
 
454
    gl_PREREQ_WCRTOMB
 
455
  fi
387
456
  gl_WCHAR_MODULE_INDICATOR([wcrtomb])
388
 
  # Code from module wctype:
389
457
  gl_WCTYPE_H
390
 
  # Code from module write:
391
 
  gl_FUNC_WRITE
392
 
  gl_UNISTD_MODULE_INDICATOR([write])
393
 
  # Code from module xalloc:
394
458
  gl_XALLOC
395
 
  # Code from module xalloc-die:
396
 
  # Code from module xsize:
397
459
  gl_XSIZE
398
 
  # Code from module xstrndup:
399
460
  gl_XSTRNDUP
400
461
  # End of code from modules
401
462
  m4_ifval(gl_LIBSOURCES_LIST, [
537
598
# This macro records the list of files which have been installed by
538
599
# gnulib-tool and may be removed by future gnulib-tool invocations.
539
600
AC_DEFUN([gl_FILE_LIST], [
540
 
  build-aux/arg-nonnull.h
541
 
  build-aux/c++defs.h
542
601
  build-aux/config.rpath
543
 
  build-aux/warn-on-use.h
544
 
  lib/alignof.h
 
602
  build-aux/snippet/_Noreturn.h
 
603
  build-aux/snippet/arg-nonnull.h
 
604
  build-aux/snippet/c++defs.h
 
605
  build-aux/snippet/warn-on-use.h
545
606
  lib/alloca.in.h
546
607
  lib/arpa_inet.in.h
547
608
  lib/asnprintf.c
551
612
  lib/basename-lgpl.c
552
613
  lib/basename.c
553
614
  lib/btowc.c
554
 
  lib/c-strtod.c
555
 
  lib/c-strtod.h
556
 
  lib/cloexec.c
557
 
  lib/cloexec.h
558
 
  lib/close-hook.c
559
 
  lib/close-hook.h
560
615
  lib/config.charset
561
 
  lib/creat-safer.c
562
616
  lib/dirname-lgpl.c
563
617
  lib/dirname.c
564
618
  lib/dirname.h
565
 
  lib/dup-safer.c
566
 
  lib/dup2.c
 
619
  lib/dosname.h
567
620
  lib/errno.in.h
568
621
  lib/error.c
569
622
  lib/error.h
570
623
  lib/exitfail.c
571
624
  lib/exitfail.h
572
 
  lib/fcntl--.h
573
 
  lib/fcntl-safer.h
574
 
  lib/fcntl.c
575
 
  lib/fcntl.in.h
576
 
  lib/fd-safer.c
 
625
  lib/fd-hook.c
 
626
  lib/fd-hook.h
577
627
  lib/float+.h
 
628
  lib/float.c
578
629
  lib/float.in.h
579
630
  lib/floor.c
580
631
  lib/floorf.c
583
634
  lib/full-read.c
584
635
  lib/full-read.h
585
636
  lib/full-write.c
586
 
  lib/full-write.h
587
637
  lib/gai_strerror.c
588
638
  lib/getaddrinfo.c
589
 
  lib/getdtablesize.c
590
639
  lib/gethostname.c
591
640
  lib/getloadavg.c
592
641
  lib/getopt.c
594
643
  lib/getopt1.c
595
644
  lib/getopt_int.h
596
645
  lib/gettext.h
 
646
  lib/glthread/lock.c
 
647
  lib/glthread/lock.h
 
648
  lib/glthread/threadlib.c
597
649
  lib/inet_ntop.c
598
650
  lib/intprops.h
 
651
  lib/itold.c
599
652
  lib/langinfo.in.h
600
653
  lib/localcharset.c
601
654
  lib/localcharset.h
602
655
  lib/locale.in.h
 
656
  lib/localeconv.c
603
657
  lib/malloc.c
604
658
  lib/malloca.c
605
659
  lib/malloca.h
606
660
  lib/malloca.valgrind
 
661
  lib/math.c
607
662
  lib/math.in.h
608
663
  lib/mbrtowc.c
609
664
  lib/mbsinit.c
 
665
  lib/mbtowc-impl.h
 
666
  lib/mbtowc.c
610
667
  lib/memchr.c
611
668
  lib/memchr.valgrind
612
669
  lib/mktime-internal.h
613
670
  lib/mktime.c
614
671
  lib/mountlist.c
615
672
  lib/mountlist.h
 
673
  lib/msvc-inval.c
 
674
  lib/msvc-inval.h
 
675
  lib/msvc-nothrow.c
 
676
  lib/msvc-nothrow.h
616
677
  lib/netdb.in.h
617
678
  lib/netinet_in.in.h
618
679
  lib/nl_langinfo.c
619
 
  lib/open-safer.c
620
 
  lib/open.c
621
 
  lib/pipe-safer.c
622
680
  lib/printf-args.c
623
681
  lib/printf-args.h
624
682
  lib/printf-parse.c
625
683
  lib/printf-parse.h
 
684
  lib/read.c
626
685
  lib/ref-add.sin
627
686
  lib/ref-del.sin
628
687
  lib/regcomp.c
633
692
  lib/regexec.c
634
693
  lib/safe-read.c
635
694
  lib/safe-read.h
636
 
  lib/safe-write.c
637
 
  lib/safe-write.h
638
695
  lib/setenv.c
639
696
  lib/sha1.c
640
697
  lib/sha1.h
642
699
  lib/snprintf.c
643
700
  lib/sockets.c
644
701
  lib/sockets.h
645
 
  lib/stat.c
 
702
  lib/stdalign.in.h
646
703
  lib/stdbool.in.h
647
704
  lib/stddef.in.h
648
705
  lib/stdint.in.h
649
 
  lib/stdio-write.c
650
706
  lib/stdio.in.h
651
707
  lib/stdlib.in.h
652
708
  lib/str-two-way.h
653
 
  lib/strdup.c
654
709
  lib/streq.h
 
710
  lib/strerror-override.c
 
711
  lib/strerror-override.h
655
712
  lib/strerror.c
656
713
  lib/string.in.h
657
714
  lib/stripslash.c
659
716
  lib/strnlen.c
660
717
  lib/strsep.c
661
718
  lib/strstr.c
 
719
  lib/sys_socket.c
662
720
  lib/sys_socket.in.h
663
 
  lib/sys_stat.in.h
 
721
  lib/sys_types.in.h
 
722
  lib/sys_uio.in.h
664
723
  lib/time.in.h
665
724
  lib/time_r.c
666
725
  lib/timegm.c
667
 
  lib/unistd--.h
668
 
  lib/unistd-safer.h
 
726
  lib/unistd.c
669
727
  lib/unistd.in.h
670
728
  lib/unsetenv.c
671
729
  lib/vasnprintf.c
676
734
  lib/w32sock.h
677
735
  lib/wchar.in.h
678
736
  lib/wcrtomb.c
 
737
  lib/wctype-h.c
679
738
  lib/wctype.in.h
680
 
  lib/write.c
681
739
  lib/xalloc-die.c
 
740
  lib/xalloc-oversized.h
682
741
  lib/xalloc.h
683
742
  lib/xmalloc.c
 
743
  lib/xsize.c
684
744
  lib/xsize.h
685
745
  lib/xstrndup.c
686
746
  lib/xstrndup.h
687
747
  m4/00gnulib.m4
688
748
  m4/alloca.m4
689
749
  m4/arpa_inet_h.m4
690
 
  m4/asm-underscore.m4
691
750
  m4/base64.m4
692
751
  m4/btowc.m4
693
 
  m4/c-strtod.m4
694
 
  m4/cloexec.m4
695
752
  m4/codeset.m4
 
753
  m4/configmake.m4
696
754
  m4/dirname.m4
697
 
  m4/dos.m4
698
755
  m4/double-slash-root.m4
699
 
  m4/dup2.m4
700
756
  m4/eealloc.m4
701
757
  m4/environ.m4
702
758
  m4/errno_h.m4
703
759
  m4/error.m4
 
760
  m4/exponentd.m4
704
761
  m4/extensions.m4
 
762
  m4/extern-inline.m4
705
763
  m4/fcntl-o.m4
706
 
  m4/fcntl-safer.m4
707
 
  m4/fcntl.m4
708
 
  m4/fcntl_h.m4
709
764
  m4/float_h.m4
710
765
  m4/floorf.m4
711
766
  m4/fstypename.m4
712
767
  m4/fsusage.m4
713
768
  m4/getaddrinfo.m4
714
 
  m4/getdtablesize.m4
715
769
  m4/gethostname.m4
716
770
  m4/getloadavg.m4
717
771
  m4/getopt.m4
723
777
  m4/iconv.m4
724
778
  m4/include_next.m4
725
779
  m4/inet_ntop.m4
726
 
  m4/inline.m4
727
780
  m4/intdiv0.m4
728
781
  m4/intl.m4
729
782
  m4/intldir.m4
733
786
  m4/inttypes-pri.m4
734
787
  m4/inttypes_h.m4
735
788
  m4/langinfo_h.m4
 
789
  m4/largefile.m4
736
790
  m4/lcmessage.m4
737
791
  m4/lib-ld.m4
738
792
  m4/lib-link.m4
742
796
  m4/locale-ja.m4
743
797
  m4/locale-zh.m4
744
798
  m4/locale_h.m4
 
799
  m4/localeconv.m4
745
800
  m4/lock.m4
746
801
  m4/longlong.m4
747
802
  m4/ls-mntd-fs.m4
751
806
  m4/mbrtowc.m4
752
807
  m4/mbsinit.m4
753
808
  m4/mbstate_t.m4
 
809
  m4/mbtowc.m4
754
810
  m4/memchr.m4
755
811
  m4/mktime.m4
756
812
  m4/mmap-anon.m4
757
 
  m4/mode_t.m4
758
813
  m4/mountlist.m4
 
814
  m4/msvc-inval.m4
 
815
  m4/msvc-nothrow.m4
759
816
  m4/multiarch.m4
760
817
  m4/netdb_h.m4
761
818
  m4/netinet_in_h.m4
762
819
  m4/nl_langinfo.m4
763
820
  m4/nls.m4
 
821
  m4/nocrash.m4
 
822
  m4/off_t.m4
764
823
  m4/onceonly.m4
765
 
  m4/open.m4
766
824
  m4/po.m4
767
825
  m4/printf-posix.m4
768
826
  m4/printf.m4
769
827
  m4/progtest.m4
 
828
  m4/read.m4
770
829
  m4/regex.m4
771
830
  m4/safe-read.m4
772
 
  m4/safe-write.m4
773
831
  m4/servent.m4
774
832
  m4/setenv.m4
775
833
  m4/sha1.m4
776
834
  m4/size_max.m4
777
835
  m4/snprintf.m4
 
836
  m4/socketlib.m4
778
837
  m4/sockets.m4
779
838
  m4/socklen.m4
780
839
  m4/sockpfaf.m4
781
840
  m4/ssize_t.m4
782
 
  m4/stat.m4
 
841
  m4/stdalign.m4
783
842
  m4/stdbool.m4
784
843
  m4/stddef_h.m4
785
844
  m4/stdint.m4
786
845
  m4/stdint_h.m4
787
846
  m4/stdio_h.m4
788
847
  m4/stdlib_h.m4
789
 
  m4/strdup.m4
790
848
  m4/strerror.m4
791
849
  m4/string_h.m4
792
850
  m4/strndup.m4
794
852
  m4/strsep.m4
795
853
  m4/strstr.m4
796
854
  m4/sys_socket_h.m4
797
 
  m4/sys_stat_h.m4
 
855
  m4/sys_types_h.m4
 
856
  m4/sys_uio_h.m4
798
857
  m4/threadlib.m4
799
858
  m4/time_h.m4
800
859
  m4/time_r.m4
801
860
  m4/timegm.m4
802
861
  m4/uintmax_t.m4
803
 
  m4/unistd-safer.m4
804
862
  m4/unistd_h.m4
805
863
  m4/vasnprintf.m4
806
864
  m4/vasprintf.m4
812
870
  m4/wcrtomb.m4
813
871
  m4/wctype_h.m4
814
872
  m4/wint_t.m4
815
 
  m4/write.m4
816
873
  m4/xalloc.m4
817
874
  m4/xsize.m4
818
875
  m4/xstrndup.m4