Improve scrolling of windows whose font is different from frame's default.
[bpt/emacs.git] / lib / gnulib.mk
CommitLineData
743c80a7
PE
1## DO NOT EDIT! GENERATED AUTOMATICALLY!
2## Process this file with automake to produce Makefile.in.
9ff99d22 3# Copyright (C) 2002-2013 Free Software Foundation, Inc.
743c80a7 4#
316f8af0
PE
5# This file is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; either version 3 of the License, or
8# (at your option) any later version.
9#
10# This file is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with this file. If not, see <http://www.gnu.org/licenses/>.
17#
18# As a special exception to the GNU General Public License,
19# this file may be distributed as part of a program that
20# contains a configuration script generated by Autoconf, under
743c80a7
PE
21# the same distribution terms as the rest of that program.
22#
23# Generated by gnulib-tool.
ffdc270a 24# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --avoid=dup --avoid=fchdir --avoid=fcntl --avoid=fstat --avoid=malloc-posix --avoid=msvc-inval --avoid=msvc-nothrow --avoid=open --avoid=openat-die --avoid=opendir --avoid=raise --avoid=save-cwd --avoid=select --avoid=sigprocmask --avoid=sys_types --avoid=threadlib --makefile-name=gnulib.mk --conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca-opt c-ctype c-strcase careadlinkat close-stream crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dtoastr dtotimespec dup2 environ execinfo faccessat fcntl-h fdatasync fdopendir filemode fstatat fsync getloadavg getopt-gnu gettime gettimeofday ignore-value intprops largefile lstat manywarnings memrchr mktime pselect pthread_sigmask putenv qacl readlink readlinkat sig2str socklen stat-time stdalign stdarg stdbool stdio strftime strtoimax strtoumax symlink sys_stat sys_time time timer-time timespec-add timespec-sub unsetenv utimens warnings
743c80a7
PE
25
26
27MOSTLYCLEANFILES += core *.stackdump
28
29noinst_LIBRARIES += libgnu.a
30
31libgnu_a_SOURCES =
32libgnu_a_LIBADD = $(gl_LIBOBJS)
33libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
34EXTRA_libgnu_a_SOURCES =
35
fa23e171
PE
36## begin gnulib module alloca-opt
37
38BUILT_SOURCES += $(ALLOCA_H)
39
40# We need the following in order to create <alloca.h> when the system
41# doesn't have one that works with the given compiler.
42if GL_GENERATE_ALLOCA_H
43alloca.h: alloca.in.h $(top_builddir)/config.status
44 $(AM_V_GEN)rm -f $@-t $@ && \
45 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
46 cat $(srcdir)/alloca.in.h; \
47 } > $@-t && \
48 mv -f $@-t $@
49else
50alloca.h: $(top_builddir)/config.status
51 rm -f $@
52endif
53MOSTLYCLEANFILES += alloca.h alloca.h-t
54
55EXTRA_DIST += alloca.in.h
56
57## end gnulib module alloca-opt
58
7ec98caf
PE
59## begin gnulib module allocator
60
61libgnu_a_SOURCES += allocator.c
62
63EXTRA_DIST += allocator.h
64
65## end gnulib module allocator
66
8654f9d7
PE
67## begin gnulib module at-internal
68
69if gl_GNULIB_ENABLED_260941c0e5dc67ec9e87d1fb321c300b
70
71endif
72EXTRA_DIST += openat-priv.h openat-proc.c
73
74EXTRA_libgnu_a_SOURCES += openat-proc.c
75
76## end gnulib module at-internal
77
fee5959d
PE
78## begin gnulib module c-ctype
79
80libgnu_a_SOURCES += c-ctype.h c-ctype.c
81
82## end gnulib module c-ctype
83
84## begin gnulib module c-strcase
85
86libgnu_a_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
87
88## end gnulib module c-strcase
89
d1fdcab7
PE
90## begin gnulib module careadlinkat
91
92libgnu_a_SOURCES += careadlinkat.c
93
7ec98caf 94EXTRA_DIST += careadlinkat.h
d1fdcab7
PE
95
96## end gnulib module careadlinkat
97
7ccfb720
PE
98## begin gnulib module close-stream
99
100libgnu_a_SOURCES += close-stream.c
101
102EXTRA_DIST += close-stream.h
103
104## end gnulib module close-stream
105
942f733f
PE
106## begin gnulib module crypto/md5
107
8aeb5be9 108libgnu_a_SOURCES += md5.c
942f733f 109
8aeb5be9 110EXTRA_DIST += md5.h
942f733f
PE
111
112## end gnulib module crypto/md5
113
13c3daa4
LL
114## begin gnulib module crypto/sha1
115
8aeb5be9 116libgnu_a_SOURCES += sha1.c
13c3daa4 117
8aeb5be9 118EXTRA_DIST += sha1.h
13c3daa4
LL
119
120## end gnulib module crypto/sha1
121
3ce9d0d4
LL
122## begin gnulib module crypto/sha256
123
124libgnu_a_SOURCES += sha256.c
125
126EXTRA_DIST += sha256.h
127
128## end gnulib module crypto/sha256
129
130## begin gnulib module crypto/sha512
131
132libgnu_a_SOURCES += sha512.c
133
134EXTRA_DIST += sha512.h
135
136## end gnulib module crypto/sha512
137
8654f9d7
PE
138## begin gnulib module dirent
139
140BUILT_SOURCES += dirent.h
141
142# We need the following in order to create <dirent.h> when the system
143# doesn't have one that works with the given compiler.
144dirent.h: dirent.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
145 $(AM_V_GEN)rm -f $@-t $@ && \
146 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
147 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
148 -e 's|@''HAVE_DIRENT_H''@|$(HAVE_DIRENT_H)|g' \
149 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
150 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
151 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
152 -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \
153 -e 's/@''GNULIB_OPENDIR''@/$(GNULIB_OPENDIR)/g' \
154 -e 's/@''GNULIB_READDIR''@/$(GNULIB_READDIR)/g' \
155 -e 's/@''GNULIB_REWINDDIR''@/$(GNULIB_REWINDDIR)/g' \
156 -e 's/@''GNULIB_CLOSEDIR''@/$(GNULIB_CLOSEDIR)/g' \
157 -e 's/@''GNULIB_DIRFD''@/$(GNULIB_DIRFD)/g' \
158 -e 's/@''GNULIB_FDOPENDIR''@/$(GNULIB_FDOPENDIR)/g' \
159 -e 's/@''GNULIB_SCANDIR''@/$(GNULIB_SCANDIR)/g' \
160 -e 's/@''GNULIB_ALPHASORT''@/$(GNULIB_ALPHASORT)/g' \
161 -e 's/@''HAVE_OPENDIR''@/$(HAVE_OPENDIR)/g' \
162 -e 's/@''HAVE_READDIR''@/$(HAVE_READDIR)/g' \
163 -e 's/@''HAVE_REWINDDIR''@/$(HAVE_REWINDDIR)/g' \
164 -e 's/@''HAVE_CLOSEDIR''@/$(HAVE_CLOSEDIR)/g' \
165 -e 's|@''HAVE_DECL_DIRFD''@|$(HAVE_DECL_DIRFD)|g' \
166 -e 's|@''HAVE_DECL_FDOPENDIR''@|$(HAVE_DECL_FDOPENDIR)|g' \
167 -e 's|@''HAVE_FDOPENDIR''@|$(HAVE_FDOPENDIR)|g' \
168 -e 's|@''HAVE_SCANDIR''@|$(HAVE_SCANDIR)|g' \
169 -e 's|@''HAVE_ALPHASORT''@|$(HAVE_ALPHASORT)|g' \
170 -e 's|@''REPLACE_OPENDIR''@|$(REPLACE_OPENDIR)|g' \
171 -e 's|@''REPLACE_CLOSEDIR''@|$(REPLACE_CLOSEDIR)|g' \
172 -e 's|@''REPLACE_DIRFD''@|$(REPLACE_DIRFD)|g' \
173 -e 's|@''REPLACE_FDOPENDIR''@|$(REPLACE_FDOPENDIR)|g' \
174 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
175 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
176 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
177 < $(srcdir)/dirent.in.h; \
178 } > $@-t && \
179 mv $@-t $@
180MOSTLYCLEANFILES += dirent.h dirent.h-t
181
182EXTRA_DIST += dirent.in.h
183
184## end gnulib module dirent
185
36f13e16
PE
186## begin gnulib module dosname
187
19548d08 188if gl_GNULIB_ENABLED_dosname
36f13e16 189
19548d08 190endif
36f13e16
PE
191EXTRA_DIST += dosname.h
192
193## end gnulib module dosname
194
f737437b 195## begin gnulib module dtoastr
743c80a7 196
f737437b 197libgnu_a_SOURCES += dtoastr.c
743c80a7 198
f737437b
PE
199EXTRA_DIST += ftoastr.c ftoastr.h
200
201EXTRA_libgnu_a_SOURCES += ftoastr.c
202
203## end gnulib module dtoastr
a451f14b 204
d35af63c
PE
205## begin gnulib module dtotimespec
206
207libgnu_a_SOURCES += dtotimespec.c
208
209## end gnulib module dtotimespec
210
7a7ef429
PE
211## begin gnulib module dup2
212
213
214EXTRA_DIST += dup2.c
215
216EXTRA_libgnu_a_SOURCES += dup2.c
217
218## end gnulib module dup2
219
ffdc270a
PE
220## begin gnulib module errno
221
222BUILT_SOURCES += $(ERRNO_H)
223
224# We need the following in order to create <errno.h> when the system
225# doesn't have one that is POSIX compliant.
226if GL_GENERATE_ERRNO_H
227errno.h: errno.in.h $(top_builddir)/config.status
228 $(AM_V_GEN)rm -f $@-t $@ && \
229 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
230 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
231 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
232 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
233 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
234 -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
235 -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
236 -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
237 -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
238 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
239 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
240 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
241 < $(srcdir)/errno.in.h; \
242 } > $@-t && \
243 mv $@-t $@
244else
245errno.h: $(top_builddir)/config.status
246 rm -f $@
247endif
248MOSTLYCLEANFILES += errno.h errno.h-t
249
250EXTRA_DIST += errno.in.h
251
252## end gnulib module errno
253
73dcdb9f
PE
254## begin gnulib module euidaccess
255
256if gl_GNULIB_ENABLED_euidaccess
257
258endif
259EXTRA_DIST += euidaccess.c
260
261EXTRA_libgnu_a_SOURCES += euidaccess.c
262
263## end gnulib module euidaccess
264
f4a681b0
PE
265## begin gnulib module execinfo
266
267BUILT_SOURCES += $(EXECINFO_H)
268
269# We need the following in order to create <execinfo.h> when the system
270# doesn't have one that works.
271if GL_GENERATE_EXECINFO_H
272execinfo.h: execinfo.in.h $(top_builddir)/config.status
273 $(AM_V_GEN)rm -f $@-t $@ && \
274 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
275 cat $(srcdir)/execinfo.in.h; \
276 } > $@-t && \
277 mv $@-t $@
278else
279execinfo.h: $(top_builddir)/config.status
280 rm -f $@
281endif
282MOSTLYCLEANFILES += execinfo.h execinfo.h-t
283
284EXTRA_DIST += execinfo.c execinfo.in.h
285
286EXTRA_libgnu_a_SOURCES += execinfo.c
287
288## end gnulib module execinfo
289
73dcdb9f
PE
290## begin gnulib module faccessat
291
292
293EXTRA_DIST += at-func.c faccessat.c
294
295EXTRA_libgnu_a_SOURCES += at-func.c faccessat.c
296
297## end gnulib module faccessat
298
299## begin gnulib module fcntl-h
300
301BUILT_SOURCES += fcntl.h
302
303# We need the following in order to create <fcntl.h> when the system
304# doesn't have one that works with the given compiler.
305fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
306 $(AM_V_GEN)rm -f $@-t $@ && \
307 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
308 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
309 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
310 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
311 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
312 -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
313 -e 's/@''GNULIB_FCNTL''@/$(GNULIB_FCNTL)/g' \
314 -e 's/@''GNULIB_NONBLOCKING''@/$(GNULIB_NONBLOCKING)/g' \
315 -e 's/@''GNULIB_OPEN''@/$(GNULIB_OPEN)/g' \
316 -e 's/@''GNULIB_OPENAT''@/$(GNULIB_OPENAT)/g' \
317 -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \
318 -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
319 -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \
320 -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
321 -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
322 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
323 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
324 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
325 < $(srcdir)/fcntl.in.h; \
326 } > $@-t && \
327 mv $@-t $@
328MOSTLYCLEANFILES += fcntl.h fcntl.h-t
329
330EXTRA_DIST += fcntl.in.h
331
332## end gnulib module fcntl-h
333
47d7532e
PE
334## begin gnulib module fdatasync
335
336
337EXTRA_DIST += fdatasync.c
338
339EXTRA_libgnu_a_SOURCES += fdatasync.c
340
341## end gnulib module fdatasync
342
8654f9d7
PE
343## begin gnulib module fdopendir
344
345
346EXTRA_DIST += fdopendir.c
347
348EXTRA_libgnu_a_SOURCES += fdopendir.c
349
350## end gnulib module fdopendir
351
5fa4ac76
PE
352## begin gnulib module filemode
353
8aeb5be9 354libgnu_a_SOURCES += filemode.c
5fa4ac76 355
8aeb5be9 356EXTRA_DIST += filemode.h
5fa4ac76
PE
357
358## end gnulib module filemode
359
7ccfb720
PE
360## begin gnulib module fpending
361
362
363EXTRA_DIST += fpending.c fpending.h
364
365EXTRA_libgnu_a_SOURCES += fpending.c
366
367## end gnulib module fpending
368
8654f9d7
PE
369## begin gnulib module fstatat
370
371
372EXTRA_DIST += at-func.c fstatat.c
373
374EXTRA_libgnu_a_SOURCES += at-func.c fstatat.c
375
376## end gnulib module fstatat
377
47d7532e
PE
378## begin gnulib module fsync
379
380
381EXTRA_DIST += fsync.c
382
383EXTRA_libgnu_a_SOURCES += fsync.c
384
385## end gnulib module fsync
386
73dcdb9f
PE
387## begin gnulib module getgroups
388
389if gl_GNULIB_ENABLED_getgroups
390
391endif
392EXTRA_DIST += getgroups.c
393
394EXTRA_libgnu_a_SOURCES += getgroups.c
395
396## end gnulib module getgroups
397
79ab4b7f
PE
398## begin gnulib module getloadavg
399
400
401EXTRA_DIST += getloadavg.c
402
403EXTRA_libgnu_a_SOURCES += getloadavg.c
404
405## end gnulib module getloadavg
406
e275c824
PE
407## begin gnulib module getopt-posix
408
409BUILT_SOURCES += $(GETOPT_H)
410
411# We need the following in order to create <getopt.h> when the system
412# doesn't have one that works with the given compiler.
54fc1789 413getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
e275c824
PE
414 $(AM_V_GEN)rm -f $@-t $@ && \
415 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
6a3e57bb
PE
416 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
417 -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
e275c824
PE
418 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
419 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
420 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
421 -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
422 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
423 < $(srcdir)/getopt.in.h; \
424 } > $@-t && \
425 mv -f $@-t $@
426MOSTLYCLEANFILES += getopt.h getopt.h-t
427
428EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
429
430EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
431
432## end gnulib module getopt-posix
433
434## begin gnulib module gettext-h
435
19548d08 436if gl_GNULIB_ENABLED_be453cec5eecf5731a274f2de7f2db36
e275c824
PE
437libgnu_a_SOURCES += gettext.h
438
19548d08 439endif
e275c824
PE
440## end gnulib module gettext-h
441
d35af63c
PE
442## begin gnulib module gettime
443
444libgnu_a_SOURCES += gettime.c
445
446## end gnulib module gettime
447
448## begin gnulib module gettimeofday
449
450
451EXTRA_DIST += gettimeofday.c
452
453EXTRA_libgnu_a_SOURCES += gettimeofday.c
454
455## end gnulib module gettimeofday
456
73dcdb9f
PE
457## begin gnulib module group-member
458
459if gl_GNULIB_ENABLED_a9786850e999ae65a836a6041e8e5ed1
460
461endif
462EXTRA_DIST += group-member.c
463
464EXTRA_libgnu_a_SOURCES += group-member.c
465
466## end gnulib module group-member
467
67342916
PE
468## begin gnulib module ignore-value
469
1fc5f204
PE
470
471EXTRA_DIST += ignore-value.h
67342916
PE
472
473## end gnulib module ignore-value
474
a451f14b
PE
475## begin gnulib module intprops
476
477
478EXTRA_DIST += intprops.h
479
480## end gnulib module intprops
743c80a7 481
b6f5355a 482## begin gnulib module inttypes-incomplete
a8a2bb29
PE
483
484BUILT_SOURCES += inttypes.h
485
486# We need the following in order to create <inttypes.h> when the system
487# doesn't have one that works with the given compiler.
caf8a9b2 488inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
a8a2bb29
PE
489 $(AM_V_GEN)rm -f $@-t $@ && \
490 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
491 sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
492 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
493 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
494 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
495 -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
496 -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
497 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
498 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
499 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
500 -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
501 -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \
502 -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \
503 -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \
504 -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \
505 -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
506 -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
507 -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
508 -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
caf8a9b2 509 -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \
a8a2bb29
PE
510 -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
511 -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
512 -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
513 -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
caf8a9b2 514 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
a8a2bb29
PE
515 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
516 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
517 < $(srcdir)/inttypes.in.h; \
518 } > $@-t && \
519 mv $@-t $@
520MOSTLYCLEANFILES += inttypes.h inttypes.h-t
521
522EXTRA_DIST += inttypes.in.h
523
b6f5355a 524## end gnulib module inttypes-incomplete
a8a2bb29 525
ae0d7250
PE
526## begin gnulib module lstat
527
528
529EXTRA_DIST += lstat.c
530
531EXTRA_libgnu_a_SOURCES += lstat.c
532
533## end gnulib module lstat
534
a84b7c53
PE
535## begin gnulib module memrchr
536
537
538EXTRA_DIST += memrchr.c
539
540EXTRA_libgnu_a_SOURCES += memrchr.c
541
542## end gnulib module memrchr
543
1fd182f0
PE
544## begin gnulib module mktime
545
546
547EXTRA_DIST += mktime-internal.h mktime.c
548
549EXTRA_libgnu_a_SOURCES += mktime.c
550
551## end gnulib module mktime
552
8654f9d7
PE
553## begin gnulib module openat-h
554
555if gl_GNULIB_ENABLED_03e0aaad4cb89ca757653bd367a6ccb7
556
557endif
558EXTRA_DIST += openat.h
559
560## end gnulib module openat-h
561
6df37268
PE
562## begin gnulib module pathmax
563
564if gl_GNULIB_ENABLED_pathmax
565
566endif
567EXTRA_DIST += pathmax.h
568
569## end gnulib module pathmax
570
d35af63c
PE
571## begin gnulib module pselect
572
573
574EXTRA_DIST += pselect.c
575
576EXTRA_libgnu_a_SOURCES += pselect.c
577
578## end gnulib module pselect
579
2a84b02d
PE
580## begin gnulib module pthread_sigmask
581
582
583EXTRA_DIST += pthread_sigmask.c
584
585EXTRA_libgnu_a_SOURCES += pthread_sigmask.c
586
587## end gnulib module pthread_sigmask
588
5745a7df
PE
589## begin gnulib module putenv
590
591
592EXTRA_DIST += putenv.c
593
594EXTRA_libgnu_a_SOURCES += putenv.c
595
596## end gnulib module putenv
597
ffdc270a
PE
598## begin gnulib module qacl
599
600libgnu_a_SOURCES += acl-errno-valid.c file-has-acl.c qcopy-acl.c qset-acl.c
601
602EXTRA_DIST += acl-internal.h acl.h acl_entries.c
603
604EXTRA_libgnu_a_SOURCES += acl_entries.c
605
606## end gnulib module qacl
607
ae0d7250
PE
608## begin gnulib module readlink
609
610
611EXTRA_DIST += readlink.c
612
613EXTRA_libgnu_a_SOURCES += readlink.c
614
615## end gnulib module readlink
616
8654f9d7
PE
617## begin gnulib module readlinkat
618
619
620EXTRA_DIST += at-func.c readlinkat.c
621
622EXTRA_libgnu_a_SOURCES += at-func.c readlinkat.c
623
624## end gnulib module readlinkat
625
73dcdb9f
PE
626## begin gnulib module root-uid
627
628if gl_GNULIB_ENABLED_6099e9737f757db36c47fa9d9f02e88c
629
630endif
631EXTRA_DIST += root-uid.h
632
633## end gnulib module root-uid
634
d983a10b
PE
635## begin gnulib module sig2str
636
637
638EXTRA_DIST += sig2str.c sig2str.h
639
640EXTRA_libgnu_a_SOURCES += sig2str.c
641
642## end gnulib module sig2str
643
316f8af0 644## begin gnulib module signal-h
6db30f83
PE
645
646BUILT_SOURCES += signal.h
647
648# We need the following in order to create <signal.h> when the system
649# doesn't have a complete one.
650signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
651 $(AM_V_GEN)rm -f $@-t $@ && \
652 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
653 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
654 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
655 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
656 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
657 -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \
658 -e 's|@''GNULIB_PTHREAD_SIGMASK''@|$(GNULIB_PTHREAD_SIGMASK)|g' \
316f8af0 659 -e 's|@''GNULIB_RAISE''@|$(GNULIB_RAISE)|g' \
6db30f83
PE
660 -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \
661 -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \
662 -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \
663 -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \
2a84b02d 664 -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \
316f8af0 665 -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \
6db30f83
PE
666 -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \
667 -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \
668 -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \
669 -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \
670 -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \
671 -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \
672 -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \
316f8af0 673 -e 's|@''REPLACE_RAISE''@|$(REPLACE_RAISE)|g' \
6db30f83
PE
674 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
675 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
676 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
677 < $(srcdir)/signal.in.h; \
678 } > $@-t && \
679 mv $@-t $@
680MOSTLYCLEANFILES += signal.h signal.h-t
681
682EXTRA_DIST += signal.in.h
683
316f8af0 684## end gnulib module signal-h
6db30f83 685
24e0f6b1
PE
686## begin gnulib module snippet/_Noreturn
687
688# Because this Makefile snippet defines a variable used by other
689# gnulib Makefile snippets, it must be present in all Makefile.am that
690# need it. This is ensured by the applicability 'all' defined above.
691
692_NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
693
694EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
695
696## end gnulib module snippet/_Noreturn
697
698## begin gnulib module snippet/arg-nonnull
699
700# The BUILT_SOURCES created by this Makefile snippet are not used via #include
701# statements but through direct file reference. Therefore this snippet must be
702# present in all Makefile.am that need it. This is ensured by the applicability
703# 'all' defined above.
704
705BUILT_SOURCES += arg-nonnull.h
706# The arg-nonnull.h that gets inserted into generated .h files is the same as
707# build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
708# off.
709arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
710 $(AM_V_GEN)rm -f $@-t $@ && \
711 sed -n -e '/GL_ARG_NONNULL/,$$p' \
712 < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
713 > $@-t && \
714 mv $@-t $@
715MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
716
717ARG_NONNULL_H=arg-nonnull.h
718
719EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
720
721## end gnulib module snippet/arg-nonnull
722
723## begin gnulib module snippet/c++defs
724
725# The BUILT_SOURCES created by this Makefile snippet are not used via #include
726# statements but through direct file reference. Therefore this snippet must be
727# present in all Makefile.am that need it. This is ensured by the applicability
728# 'all' defined above.
729
730BUILT_SOURCES += c++defs.h
731# The c++defs.h that gets inserted into generated .h files is the same as
732# build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
733c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
734 $(AM_V_GEN)rm -f $@-t $@ && \
735 sed -n -e '/_GL_CXXDEFS/,$$p' \
736 < $(top_srcdir)/build-aux/snippet/c++defs.h \
737 > $@-t && \
738 mv $@-t $@
739MOSTLYCLEANFILES += c++defs.h c++defs.h-t
740
741CXXDEFS_H=c++defs.h
742
743EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
744
745## end gnulib module snippet/c++defs
746
747## begin gnulib module snippet/warn-on-use
748
749BUILT_SOURCES += warn-on-use.h
750# The warn-on-use.h that gets inserted into generated .h files is the same as
751# build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
752# off.
753warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
754 $(AM_V_GEN)rm -f $@-t $@ && \
755 sed -n -e '/^.ifndef/,$$p' \
756 < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
757 > $@-t && \
758 mv $@-t $@
759MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
760
761WARN_ON_USE_H=warn-on-use.h
762
763EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
764
765## end gnulib module snippet/warn-on-use
766
ae0d7250
PE
767## begin gnulib module stat
768
19548d08 769if gl_GNULIB_ENABLED_stat
ae0d7250 770
19548d08 771endif
ae0d7250
PE
772EXTRA_DIST += stat.c
773
774EXTRA_libgnu_a_SOURCES += stat.c
775
776## end gnulib module stat
777
d35af63c
PE
778## begin gnulib module stat-time
779
a0d4efe9 780libgnu_a_SOURCES += stat-time.c
d35af63c
PE
781
782EXTRA_DIST += stat-time.h
783
784## end gnulib module stat-time
785
caf8a9b2
PE
786## begin gnulib module stdalign
787
788BUILT_SOURCES += $(STDALIGN_H)
789
790# We need the following in order to create <stdalign.h> when the system
791# doesn't have one that works.
792if GL_GENERATE_STDALIGN_H
793stdalign.h: stdalign.in.h $(top_builddir)/config.status
794 $(AM_V_GEN)rm -f $@-t $@ && \
795 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
796 cat $(srcdir)/stdalign.in.h; \
797 } > $@-t && \
798 mv $@-t $@
799else
800stdalign.h: $(top_builddir)/config.status
801 rm -f $@
802endif
803MOSTLYCLEANFILES += stdalign.h stdalign.h-t
804
805EXTRA_DIST += stdalign.in.h
806
807## end gnulib module stdalign
808
c378da0b
PE
809## begin gnulib module stdarg
810
811BUILT_SOURCES += $(STDARG_H)
812
813# We need the following in order to create <stdarg.h> when the system
814# doesn't have one that works with the given compiler.
815if GL_GENERATE_STDARG_H
816stdarg.h: stdarg.in.h $(top_builddir)/config.status
817 $(AM_V_GEN)rm -f $@-t $@ && \
818 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
6a3e57bb
PE
819 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
820 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
c378da0b
PE
821 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
822 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
823 -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
824 < $(srcdir)/stdarg.in.h; \
825 } > $@-t && \
826 mv $@-t $@
827else
828stdarg.h: $(top_builddir)/config.status
829 rm -f $@
830endif
831MOSTLYCLEANFILES += stdarg.h stdarg.h-t
832
833EXTRA_DIST += stdarg.in.h
834
835## end gnulib module stdarg
836
16c3e636
PE
837## begin gnulib module stdbool
838
839BUILT_SOURCES += $(STDBOOL_H)
840
841# We need the following in order to create <stdbool.h> when the system
842# doesn't have one that works.
54fc1789
PE
843if GL_GENERATE_STDBOOL_H
844stdbool.h: stdbool.in.h $(top_builddir)/config.status
16c3e636
PE
845 $(AM_V_GEN)rm -f $@-t $@ && \
846 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
847 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
848 } > $@-t && \
849 mv $@-t $@
54fc1789
PE
850else
851stdbool.h: $(top_builddir)/config.status
852 rm -f $@
853endif
16c3e636
PE
854MOSTLYCLEANFILES += stdbool.h stdbool.h-t
855
856EXTRA_DIST += stdbool.in.h
857
858## end gnulib module stdbool
859
1fd182f0
PE
860## begin gnulib module stddef
861
862BUILT_SOURCES += $(STDDEF_H)
863
864# We need the following in order to create <stddef.h> when the system
865# doesn't have one that works with the given compiler.
54fc1789
PE
866if GL_GENERATE_STDDEF_H
867stddef.h: stddef.in.h $(top_builddir)/config.status
1fd182f0
PE
868 $(AM_V_GEN)rm -f $@-t $@ && \
869 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
6a3e57bb
PE
870 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
871 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1fd182f0
PE
872 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
873 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
874 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
875 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
876 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
877 < $(srcdir)/stddef.in.h; \
878 } > $@-t && \
879 mv $@-t $@
54fc1789
PE
880else
881stddef.h: $(top_builddir)/config.status
882 rm -f $@
883endif
1fd182f0
PE
884MOSTLYCLEANFILES += stddef.h stddef.h-t
885
886EXTRA_DIST += stddef.in.h
887
888## end gnulib module stddef
889
5f90be1b
PE
890## begin gnulib module stdint
891
892BUILT_SOURCES += $(STDINT_H)
893
894# We need the following in order to create <stdint.h> when the system
895# doesn't have one that works with the given compiler.
54fc1789
PE
896if GL_GENERATE_STDINT_H
897stdint.h: stdint.in.h $(top_builddir)/config.status
5f90be1b
PE
898 $(AM_V_GEN)rm -f $@-t $@ && \
899 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
6a3e57bb
PE
900 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
901 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
5f90be1b
PE
902 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
903 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
904 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
905 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
906 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
907 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
908 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
909 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
910 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
911 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
912 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
913 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
914 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
915 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
916 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
917 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
918 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
919 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
920 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
921 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
922 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
923 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
924 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
925 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
926 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
927 < $(srcdir)/stdint.in.h; \
928 } > $@-t && \
929 mv $@-t $@
54fc1789
PE
930else
931stdint.h: $(top_builddir)/config.status
932 rm -f $@
933endif
5f90be1b
PE
934MOSTLYCLEANFILES += stdint.h stdint.h-t
935
936EXTRA_DIST += stdint.in.h
937
938## end gnulib module stdint
939
77185bdf
PE
940## begin gnulib module stdio
941
942BUILT_SOURCES += stdio.h
943
944# We need the following in order to create <stdio.h> when the system
945# doesn't have one that works with the given compiler.
54fc1789 946stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
77185bdf
PE
947 $(AM_V_GEN)rm -f $@-t $@ && \
948 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
6a3e57bb
PE
949 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
950 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
77185bdf
PE
951 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
952 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
953 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
7e2aa385
PE
954 -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
955 -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
316f8af0 956 -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \
7e2aa385
PE
957 -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
958 -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
959 -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
960 -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
961 -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
962 -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
963 -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
964 -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
965 -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
966 -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
967 -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
968 -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
969 -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
970 -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
971 -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
972 -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
973 -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
974 -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
975 -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
976 -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
977 -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
7e2aa385
PE
978 -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
979 -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
316f8af0 980 -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
7e2aa385
PE
981 -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
982 -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
983 -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
984 -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
985 -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
986 -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
987 -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
988 -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
989 -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
990 -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
991 -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
992 -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
993 -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
994 -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
995 -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
996 -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
997 -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
998 -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
999 -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
1000 -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
1001 -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
1002 -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
1003 -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
1004 -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
1005 -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
1006 -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
77185bdf
PE
1007 < $(srcdir)/stdio.in.h | \
1008 sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
1009 -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
1010 -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
1011 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
1012 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
1013 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
1014 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
1015 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
1016 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
1017 -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
1018 -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
316f8af0
PE
1019 -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
1020 -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
77185bdf
PE
1021 -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
1022 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
1023 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
1024 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
1025 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
316f8af0 1026 -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
77185bdf
PE
1027 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
1028 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
1029 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
1030 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
1031 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
1032 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
1033 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
1034 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
1035 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
1036 -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
1037 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
1038 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
1039 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
1040 -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
1041 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
1042 -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
1043 -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
1044 -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
1045 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
1046 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
cc2e7b46 1047 -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
77185bdf
PE
1048 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
1049 -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
1050 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
1051 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
1052 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
1053 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
1054 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
1055 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
1056 -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
1057 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1058 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1059 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1060 } > $@-t && \
1061 mv $@-t $@
1062MOSTLYCLEANFILES += stdio.h stdio.h-t
1063
1064EXTRA_DIST += stdio.in.h
1065
1066## end gnulib module stdio
1067
79ab4b7f
PE
1068## begin gnulib module stdlib
1069
1070BUILT_SOURCES += stdlib.h
1071
1072# We need the following in order to create <stdlib.h> when the system
1073# doesn't have one that works with the given compiler.
24e0f6b1
PE
1074stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
1075 $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
79ab4b7f
PE
1076 $(AM_V_GEN)rm -f $@-t $@ && \
1077 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
6a3e57bb
PE
1078 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1079 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
79ab4b7f
PE
1080 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1081 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1082 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
7e2aa385
PE
1083 -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
1084 -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
1085 -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
1086 -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
1087 -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
1088 -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
1089 -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
1090 -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
1091 -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
1092 -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
1093 -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
1094 -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
1095 -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
1096 -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
caf8a9b2 1097 -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
7e2aa385 1098 -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
caf8a9b2 1099 -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
7e2aa385 1100 -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
caf8a9b2 1101 -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
7e2aa385
PE
1102 -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
1103 -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
1104 -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
1105 -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
8376d87e 1106 -e 's/@''GNULIB_SECURE_GETENV''@/$(GNULIB_SECURE_GETENV)/g' \
7e2aa385
PE
1107 -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
1108 -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
1109 -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
1110 -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
1111 -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
1112 -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
1113 -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
1114 -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
dd463884
PE
1115 < $(srcdir)/stdlib.in.h | \
1116 sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
79ab4b7f
PE
1117 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
1118 -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
1119 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
1120 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
1121 -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
1122 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
1123 -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
1124 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
1125 -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
1126 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
caf8a9b2 1127 -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
79ab4b7f 1128 -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
caf8a9b2
PE
1129 -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
1130 -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
79ab4b7f
PE
1131 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
1132 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
1133 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
1134 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
8376d87e 1135 -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \
79ab4b7f
PE
1136 -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
1137 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
1138 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
1139 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
1140 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
1141 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
1142 -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
1143 -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
1144 -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
1145 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
1146 -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
ae0d7250 1147 -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
79ab4b7f 1148 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
bb1dfdad 1149 -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \
caf8a9b2 1150 -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
79ab4b7f 1151 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
caf8a9b2 1152 -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
79ab4b7f
PE
1153 -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
1154 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
1155 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
1156 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
1157 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
ae0d7250 1158 -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
79ab4b7f 1159 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
24e0f6b1 1160 -e '/definition of _Noreturn/r $(_NORETURN_H)' \
79ab4b7f 1161 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
dd463884 1162 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
79ab4b7f
PE
1163 } > $@-t && \
1164 mv $@-t $@
1165MOSTLYCLEANFILES += stdlib.h stdlib.h-t
1166
1167EXTRA_DIST += stdlib.in.h
1168
1169## end gnulib module stdlib
1170
16c3e636
PE
1171## begin gnulib module strftime
1172
8aeb5be9 1173libgnu_a_SOURCES += strftime.c
16c3e636 1174
8aeb5be9 1175EXTRA_DIST += strftime.h
16c3e636
PE
1176
1177## end gnulib module strftime
1178
a84b7c53
PE
1179## begin gnulib module string
1180
1181BUILT_SOURCES += string.h
1182
1183# We need the following in order to create <string.h> when the system
1184# doesn't have one that works with the given compiler.
1185string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1186 $(AM_V_GEN)rm -f $@-t $@ && \
1187 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1188 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1189 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1190 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1191 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1192 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
1193 -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \
1194 -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \
1195 -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
1196 -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
1197 -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
1198 -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
1199 -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
1200 -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
1201 -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
1202 -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
1203 -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
1204 -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
1205 -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
1206 -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
1207 -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
1208 -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
1209 -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
1210 -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
1211 -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
1212 -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
1213 -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
1214 -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
1215 -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
1216 -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
1217 -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
1218 -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
1219 -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
1220 -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
1221 -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
1222 -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
1223 -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
1224 -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
1225 -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
1226 -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
1227 -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
1228 -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
1229 -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
1230 < $(srcdir)/string.in.h | \
1231 sed -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
1232 -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
1233 -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
1234 -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
1235 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
1236 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
1237 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
1238 -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
1239 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
1240 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
1241 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
1242 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
1243 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
1244 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
1245 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
1246 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
1247 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
1248 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
1249 -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
1250 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
1251 -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
1252 -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
1253 -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
1254 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
1255 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
1256 -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
1257 -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
1258 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
1259 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
1260 -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
1261 -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
1262 -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
1263 -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
1264 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
1265 -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
1266 -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
1267 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1268 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1269 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1270 < $(srcdir)/string.in.h; \
1271 } > $@-t && \
1272 mv $@-t $@
1273MOSTLYCLEANFILES += string.h string.h-t
1274
1275EXTRA_DIST += string.in.h
1276
1277## end gnulib module string
1278
f6ce9b9a
PE
1279## begin gnulib module strtoimax
1280
1281
1282EXTRA_DIST += strtoimax.c
1283
1284EXTRA_libgnu_a_SOURCES += strtoimax.c
1285
1286## end gnulib module strtoimax
1287
1288## begin gnulib module strtoll
1289
1290if gl_GNULIB_ENABLED_strtoll
1291
1292endif
1293EXTRA_DIST += strtol.c strtoll.c
1294
1295EXTRA_libgnu_a_SOURCES += strtol.c strtoll.c
1296
1297## end gnulib module strtoll
1298
b6f5355a
PE
1299## begin gnulib module strtoull
1300
19548d08 1301if gl_GNULIB_ENABLED_strtoull
b6f5355a 1302
19548d08 1303endif
b6f5355a
PE
1304EXTRA_DIST += strtol.c strtoul.c strtoull.c
1305
1306EXTRA_libgnu_a_SOURCES += strtol.c strtoul.c strtoull.c
1307
1308## end gnulib module strtoull
1309
a8a2bb29
PE
1310## begin gnulib module strtoumax
1311
1312
b6f5355a 1313EXTRA_DIST += strtoimax.c strtoumax.c
a8a2bb29 1314
b6f5355a 1315EXTRA_libgnu_a_SOURCES += strtoimax.c strtoumax.c
a8a2bb29
PE
1316
1317## end gnulib module strtoumax
1318
ae0d7250
PE
1319## begin gnulib module symlink
1320
1321
1322EXTRA_DIST += symlink.c
1323
1324EXTRA_libgnu_a_SOURCES += symlink.c
1325
1326## end gnulib module symlink
1327
d35af63c
PE
1328## begin gnulib module sys_select
1329
1330BUILT_SOURCES += sys/select.h
1331
1332# We need the following in order to create <sys/select.h> when the system
1333# doesn't have one that works with the given compiler.
1334sys/select.h: sys_select.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
1335 $(AM_V_at)$(MKDIR_P) sys
1336 $(AM_V_GEN)rm -f $@-t $@ && \
1337 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1338 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1339 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1340 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1341 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1342 -e 's|@''NEXT_SYS_SELECT_H''@|$(NEXT_SYS_SELECT_H)|g' \
1343 -e 's|@''HAVE_SYS_SELECT_H''@|$(HAVE_SYS_SELECT_H)|g' \
1344 -e 's/@''GNULIB_PSELECT''@/$(GNULIB_PSELECT)/g' \
1345 -e 's/@''GNULIB_SELECT''@/$(GNULIB_SELECT)/g' \
1346 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
1347 -e 's|@''HAVE_PSELECT''@|$(HAVE_PSELECT)|g' \
1348 -e 's|@''REPLACE_PSELECT''@|$(REPLACE_PSELECT)|g' \
1349 -e 's|@''REPLACE_SELECT''@|$(REPLACE_SELECT)|g' \
1350 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1351 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1352 < $(srcdir)/sys_select.in.h; \
1353 } > $@-t && \
1354 mv $@-t $@
1355MOSTLYCLEANFILES += sys/select.h sys/select.h-t
1356MOSTLYCLEANDIRS += sys
1357
1358EXTRA_DIST += sys_select.in.h
1359
1360## end gnulib module sys_select
1361
5fa4ac76
PE
1362## begin gnulib module sys_stat
1363
1364BUILT_SOURCES += sys/stat.h
1365
1366# We need the following in order to create <sys/stat.h> when the system
1367# has one that is incomplete.
54fc1789 1368sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
5fa4ac76
PE
1369 $(AM_V_at)$(MKDIR_P) sys
1370 $(AM_V_GEN)rm -f $@-t $@ && \
1371 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
6a3e57bb
PE
1372 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1373 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
5fa4ac76
PE
1374 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1375 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1376 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
caf8a9b2 1377 -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \
7e2aa385 1378 -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
316f8af0 1379 -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \
7e2aa385
PE
1380 -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
1381 -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \
1382 -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \
1383 -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \
1384 -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \
1385 -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \
1386 -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \
1387 -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \
1388 -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \
1389 -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \
1390 -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \
5fa4ac76
PE
1391 -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
1392 -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
1393 -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
1394 -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
1395 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
1396 -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
1397 -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
1398 -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
1399 -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
1400 -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
1401 -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
1402 -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
1403 -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
1404 -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
1405 -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
1406 -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
1407 -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
1408 -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
1409 -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
1410 -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
1411 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1412 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1413 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1414 < $(srcdir)/sys_stat.in.h; \
1415 } > $@-t && \
1416 mv $@-t $@
1417MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1418MOSTLYCLEANDIRS += sys
1419
1420EXTRA_DIST += sys_stat.in.h
1421
1422## end gnulib module sys_stat
1423
d35af63c 1424## begin gnulib module sys_time
caf8a9b2 1425
d35af63c 1426BUILT_SOURCES += sys/time.h
caf8a9b2 1427
d35af63c 1428# We need the following in order to create <sys/time.h> when the system
caf8a9b2 1429# doesn't have one that works with the given compiler.
d35af63c 1430sys/time.h: sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
caf8a9b2
PE
1431 $(AM_V_at)$(MKDIR_P) sys
1432 $(AM_V_GEN)rm -f $@-t $@ && \
1433 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1434 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
d35af63c 1435 -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
caf8a9b2
PE
1436 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1437 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1438 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
d35af63c
PE
1439 -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
1440 -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
1441 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
1442 -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \
1443 -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
1444 -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
1445 -e 's/@''REPLACE_STRUCT_TIMEVAL''@/$(REPLACE_STRUCT_TIMEVAL)/g' \
1446 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1447 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1448 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1449 < $(srcdir)/sys_time.in.h; \
caf8a9b2
PE
1450 } > $@-t && \
1451 mv $@-t $@
d35af63c 1452MOSTLYCLEANFILES += sys/time.h sys/time.h-t
caf8a9b2 1453
d35af63c 1454EXTRA_DIST += sys_time.in.h
caf8a9b2 1455
d35af63c 1456## end gnulib module sys_time
caf8a9b2 1457
1fd182f0
PE
1458## begin gnulib module time
1459
1460BUILT_SOURCES += time.h
1461
1462# We need the following in order to create <time.h> when the system
1463# doesn't have one that works with the given compiler.
54fc1789 1464time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1fd182f0
PE
1465 $(AM_V_GEN)rm -f $@-t $@ && \
1466 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
6a3e57bb
PE
1467 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1468 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1fd182f0
PE
1469 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1470 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1471 -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
7e2aa385
PE
1472 -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
1473 -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
1474 -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
1475 -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \
1476 -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \
1fd182f0
PE
1477 -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
1478 -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
1479 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
1480 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
1481 -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1482 -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
1483 -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
1484 -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
1485 -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
1486 -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1487 -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1488 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1489 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1490 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1491 < $(srcdir)/time.in.h; \
1492 } > $@-t && \
1493 mv $@-t $@
1494MOSTLYCLEANFILES += time.h time.h-t
1495
1496EXTRA_DIST += time.in.h
1497
1498## end gnulib module time
1499
1500## begin gnulib module time_r
1501
1502
1503EXTRA_DIST += time_r.c
1504
1505EXTRA_libgnu_a_SOURCES += time_r.c
1506
1507## end gnulib module time_r
1508
d35af63c
PE
1509## begin gnulib module timespec
1510
a0d4efe9 1511libgnu_a_SOURCES += timespec.c
d35af63c
PE
1512
1513EXTRA_DIST += timespec.h
1514
1515## end gnulib module timespec
1516
1517## begin gnulib module timespec-add
1518
1519libgnu_a_SOURCES += timespec-add.c
1520
1521## end gnulib module timespec-add
1522
1523## begin gnulib module timespec-sub
1524
1525libgnu_a_SOURCES += timespec-sub.c
1526
1527## end gnulib module timespec-sub
1528
3ce9d0d4
LL
1529## begin gnulib module u64
1530
a0d4efe9 1531libgnu_a_SOURCES += u64.c
3ce9d0d4
LL
1532
1533EXTRA_DIST += u64.h
1534
1535## end gnulib module u64
1536
e275c824
PE
1537## begin gnulib module unistd
1538
1539BUILT_SOURCES += unistd.h
f64898ab 1540libgnu_a_SOURCES += unistd.c
e275c824
PE
1541
1542# We need the following in order to create an empty placeholder for
1543# <unistd.h> when the system doesn't have one.
54fc1789 1544unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
e275c824
PE
1545 $(AM_V_GEN)rm -f $@-t $@ && \
1546 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
6a3e57bb
PE
1547 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1548 -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
e275c824
PE
1549 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1550 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1551 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1552 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
caf8a9b2 1553 -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
316f8af0 1554 -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
7e2aa385
PE
1555 -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
1556 -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
316f8af0 1557 -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \
7e2aa385
PE
1558 -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
1559 -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
1560 -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
1561 -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
1562 -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
1563 -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
1564 -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
316f8af0 1565 -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \
7e2aa385
PE
1566 -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
1567 -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
1568 -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
1569 -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
1570 -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
1571 -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
1572 -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
1573 -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
1574 -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
1575 -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
1576 -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
1577 -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
caf8a9b2 1578 -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \
7e2aa385
PE
1579 -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
1580 -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
1581 -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
1582 -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
1583 -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
1584 -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
1585 -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
1586 -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
1587 -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
1588 -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
1589 -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
1590 -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
caf8a9b2 1591 -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \
7e2aa385
PE
1592 -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
1593 -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
1594 -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
1595 -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
caf8a9b2 1596 -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \
7e2aa385
PE
1597 -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
1598 -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
1599 -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
1600 -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
1601 -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
1602 -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
e275c824
PE
1603 < $(srcdir)/unistd.in.h | \
1604 sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
1605 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
1606 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
1607 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
1608 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
1609 -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
1610 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
316f8af0 1611 -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
e275c824
PE
1612 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1613 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1614 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
1615 -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
1616 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
1617 -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
1618 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
1fc5f204 1619 -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
e275c824
PE
1620 -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
1621 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
1622 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
1623 -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
1624 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
1625 -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
1626 -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
1627 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1628 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
caf8a9b2 1629 -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
e275c824
PE
1630 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
1631 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
1632 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
1633 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
1634 -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
1635 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
1636 -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
316f8af0 1637 -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
e275c824
PE
1638 -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
1639 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1640 -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
1641 -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
caf8a9b2 1642 -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
e275c824
PE
1643 -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
1644 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1645 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
dd463884
PE
1646 | \
1647 sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
e275c824
PE
1648 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
1649 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
1650 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
1651 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
caf8a9b2 1652 -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
e275c824
PE
1653 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1654 -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
1655 -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
1656 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
1657 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
caf8a9b2 1658 -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
e275c824
PE
1659 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1660 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
1661 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
1662 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1663 -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
1664 -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
cc2e7b46 1665 -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
e275c824
PE
1666 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
1667 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
1668 -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
1669 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
1670 -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
1671 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
1672 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
1673 -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
1674 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1675 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1676 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
1677 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1678 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1679 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1680 } > $@-t && \
1681 mv $@-t $@
1682MOSTLYCLEANFILES += unistd.h unistd.h-t
1683
1684EXTRA_DIST += unistd.in.h
1685
1686## end gnulib module unistd
1687
5745a7df
PE
1688## begin gnulib module unsetenv
1689
1690
1691EXTRA_DIST += unsetenv.c
1692
1693EXTRA_libgnu_a_SOURCES += unsetenv.c
1694
1695## end gnulib module unsetenv
1696
d35af63c
PE
1697## begin gnulib module utimens
1698
1699libgnu_a_SOURCES += utimens.c
1700
1701EXTRA_DIST += utimens.h
1702
1703## end gnulib module utimens
1704
a8a2bb29
PE
1705## begin gnulib module verify
1706
19548d08 1707if gl_GNULIB_ENABLED_verify
a8a2bb29 1708
19548d08 1709endif
1fc5f204
PE
1710EXTRA_DIST += verify.h
1711
a8a2bb29
PE
1712## end gnulib module verify
1713
73dcdb9f
PE
1714## begin gnulib module xalloc-oversized
1715
1716if gl_GNULIB_ENABLED_682e609604ccaac6be382e4ee3a4eaec
1717
1718endif
1719EXTRA_DIST += xalloc-oversized.h
1720
1721## end gnulib module xalloc-oversized
1722
743c80a7
PE
1723
1724mostlyclean-local: mostlyclean-generic
1725 @for dir in '' $(MOSTLYCLEANDIRS); do \
1726 if test -n "$$dir" && test -d $$dir; then \
1727 echo "rmdir $$dir"; rmdir $$dir; \
1728 fi; \
1729 done; \
1730 :