67acc9dd81631b65a02e6148d62696f9ce37e065
[external/binutils.git] / gdb / gnulib / import / Makefile.am
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2016 Free Software Foundation, Inc.
4 #
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
21 # the same distribution terms as the rest of that program.
22 #
23 # Generated by gnulib-tool.
24 # Reproduce by: gnulib-tool --import --lib=libgnu --source-base=import --m4-base=import/m4 --doc-base=doc --tests-base=tests --aux-dir=import/extra --no-conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca canonicalize-lgpl dirent dirfd errno fnmatch-gnu frexpl getcwd glob inttypes limits-h lstat memchr memmem mkdir mkstemp pathmax rawmemchr readlink rename setenv signal-h strchrnul strstr strtok_r sys_stat unistd unsetenv update-copyright wchar wctype-h
25
26 AUTOMAKE_OPTIONS = 1.9.6 gnits
27
28 SUBDIRS =
29 noinst_HEADERS =
30 noinst_LIBRARIES =
31 noinst_LTLIBRARIES =
32 EXTRA_DIST =
33 BUILT_SOURCES =
34 SUFFIXES =
35 MOSTLYCLEANFILES = core *.stackdump
36 MOSTLYCLEANDIRS =
37 CLEANFILES =
38 DISTCLEANFILES =
39 MAINTAINERCLEANFILES =
40 EXTRA_DIST += m4/gnulib-cache.m4
41
42 AM_CPPFLAGS =
43 AM_CFLAGS =
44
45 noinst_LIBRARIES += libgnu.a
46
47 libgnu_a_SOURCES =
48 libgnu_a_LIBADD = $(gl_LIBOBJS)
49 libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
50 EXTRA_libgnu_a_SOURCES =
51
52 ## begin gnulib module absolute-header
53
54 # Use this preprocessor expression to decide whether #include_next works.
55 # Do not rely on a 'configure'-time test for this, since the expression
56 # might appear in an installed header, which is used by some other compiler.
57 HAVE_INCLUDE_NEXT = (__GNUC__ || 60000000 <= __DECC_VER)
58
59 ## end   gnulib module absolute-header
60
61 ## begin gnulib module alloca
62
63
64 libgnu_a_LIBADD += @ALLOCA@
65 libgnu_a_DEPENDENCIES += @ALLOCA@
66 EXTRA_DIST += alloca.c
67
68 EXTRA_libgnu_a_SOURCES += alloca.c
69
70 ## end   gnulib module alloca
71
72 ## begin gnulib module alloca-opt
73
74 BUILT_SOURCES += $(ALLOCA_H)
75
76 # We need the following in order to create <alloca.h> when the system
77 # doesn't have one that works with the given compiler.
78 if GL_GENERATE_ALLOCA_H
79 alloca.h: alloca.in.h $(top_builddir)/config.status
80         $(AM_V_GEN)rm -f $@-t $@ && \
81         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
82           cat $(srcdir)/alloca.in.h; \
83         } > $@-t && \
84         mv -f $@-t $@
85 else
86 alloca.h: $(top_builddir)/config.status
87         rm -f $@
88 endif
89 MOSTLYCLEANFILES += alloca.h alloca.h-t
90
91 EXTRA_DIST += alloca.in.h
92
93 ## end   gnulib module alloca-opt
94
95 ## begin gnulib module assure
96
97
98 EXTRA_DIST += assure.h
99
100 ## end   gnulib module assure
101
102 ## begin gnulib module at-internal
103
104
105 EXTRA_DIST += openat-priv.h openat-proc.c
106
107 EXTRA_libgnu_a_SOURCES += openat-proc.c
108
109 ## end   gnulib module at-internal
110
111 ## begin gnulib module canonicalize-lgpl
112
113
114 EXTRA_DIST += canonicalize-lgpl.c
115
116 EXTRA_libgnu_a_SOURCES += canonicalize-lgpl.c
117
118 ## end   gnulib module canonicalize-lgpl
119
120 ## begin gnulib module chdir-long
121
122
123 EXTRA_DIST += chdir-long.c chdir-long.h
124
125 EXTRA_libgnu_a_SOURCES += chdir-long.c
126
127 ## end   gnulib module chdir-long
128
129 ## begin gnulib module cloexec
130
131 libgnu_a_SOURCES += cloexec.c
132
133 EXTRA_DIST += cloexec.h
134
135 ## end   gnulib module cloexec
136
137 ## begin gnulib module close
138
139
140 EXTRA_DIST += close.c
141
142 EXTRA_libgnu_a_SOURCES += close.c
143
144 ## end   gnulib module close
145
146 ## begin gnulib module closedir
147
148
149 EXTRA_DIST += closedir.c dirent-private.h
150
151 EXTRA_libgnu_a_SOURCES += closedir.c
152
153 ## end   gnulib module closedir
154
155 ## begin gnulib module configmake
156
157 # Listed in the same order as the GNU makefile conventions, and
158 # provided by autoconf 2.59c+ or 2.70.
159 # The Automake-defined pkg* macros are appended, in the order
160 # listed in the Automake 1.10a+ documentation.
161 configmake.h: Makefile
162         $(AM_V_GEN)rm -f $@-t && \
163         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
164           echo '#define PREFIX "$(prefix)"'; \
165           echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
166           echo '#define BINDIR "$(bindir)"'; \
167           echo '#define SBINDIR "$(sbindir)"'; \
168           echo '#define LIBEXECDIR "$(libexecdir)"'; \
169           echo '#define DATAROOTDIR "$(datarootdir)"'; \
170           echo '#define DATADIR "$(datadir)"'; \
171           echo '#define SYSCONFDIR "$(sysconfdir)"'; \
172           echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
173           echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
174           echo '#define RUNSTATEDIR "$(runstatedir)"'; \
175           echo '#define INCLUDEDIR "$(includedir)"'; \
176           echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
177           echo '#define DOCDIR "$(docdir)"'; \
178           echo '#define INFODIR "$(infodir)"'; \
179           echo '#define HTMLDIR "$(htmldir)"'; \
180           echo '#define DVIDIR "$(dvidir)"'; \
181           echo '#define PDFDIR "$(pdfdir)"'; \
182           echo '#define PSDIR "$(psdir)"'; \
183           echo '#define LIBDIR "$(libdir)"'; \
184           echo '#define LISPDIR "$(lispdir)"'; \
185           echo '#define LOCALEDIR "$(localedir)"'; \
186           echo '#define MANDIR "$(mandir)"'; \
187           echo '#define MANEXT "$(manext)"'; \
188           echo '#define PKGDATADIR "$(pkgdatadir)"'; \
189           echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
190           echo '#define PKGLIBDIR "$(pkglibdir)"'; \
191           echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
192         } | sed '/""/d' > $@-t && \
193         mv -f $@-t $@
194
195 BUILT_SOURCES += configmake.h
196 CLEANFILES += configmake.h configmake.h-t
197
198 ## end   gnulib module configmake
199
200 ## begin gnulib module dirent
201
202 BUILT_SOURCES += dirent.h
203
204 # We need the following in order to create <dirent.h> when the system
205 # doesn't have one that works with the given compiler.
206 dirent.h: dirent.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
207         $(AM_V_GEN)rm -f $@-t $@ && \
208         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
209           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
210               -e 's|@''HAVE_DIRENT_H''@|$(HAVE_DIRENT_H)|g' \
211               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
212               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
213               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
214               -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \
215               -e 's/@''GNULIB_OPENDIR''@/$(GNULIB_OPENDIR)/g' \
216               -e 's/@''GNULIB_READDIR''@/$(GNULIB_READDIR)/g' \
217               -e 's/@''GNULIB_REWINDDIR''@/$(GNULIB_REWINDDIR)/g' \
218               -e 's/@''GNULIB_CLOSEDIR''@/$(GNULIB_CLOSEDIR)/g' \
219               -e 's/@''GNULIB_DIRFD''@/$(GNULIB_DIRFD)/g' \
220               -e 's/@''GNULIB_FDOPENDIR''@/$(GNULIB_FDOPENDIR)/g' \
221               -e 's/@''GNULIB_SCANDIR''@/$(GNULIB_SCANDIR)/g' \
222               -e 's/@''GNULIB_ALPHASORT''@/$(GNULIB_ALPHASORT)/g' \
223               -e 's/@''HAVE_OPENDIR''@/$(HAVE_OPENDIR)/g' \
224               -e 's/@''HAVE_READDIR''@/$(HAVE_READDIR)/g' \
225               -e 's/@''HAVE_REWINDDIR''@/$(HAVE_REWINDDIR)/g' \
226               -e 's/@''HAVE_CLOSEDIR''@/$(HAVE_CLOSEDIR)/g' \
227               -e 's|@''HAVE_DECL_DIRFD''@|$(HAVE_DECL_DIRFD)|g' \
228               -e 's|@''HAVE_DECL_FDOPENDIR''@|$(HAVE_DECL_FDOPENDIR)|g' \
229               -e 's|@''HAVE_FDOPENDIR''@|$(HAVE_FDOPENDIR)|g' \
230               -e 's|@''HAVE_SCANDIR''@|$(HAVE_SCANDIR)|g' \
231               -e 's|@''HAVE_ALPHASORT''@|$(HAVE_ALPHASORT)|g' \
232               -e 's|@''REPLACE_OPENDIR''@|$(REPLACE_OPENDIR)|g' \
233               -e 's|@''REPLACE_CLOSEDIR''@|$(REPLACE_CLOSEDIR)|g' \
234               -e 's|@''REPLACE_DIRFD''@|$(REPLACE_DIRFD)|g' \
235               -e 's|@''REPLACE_FDOPENDIR''@|$(REPLACE_FDOPENDIR)|g' \
236               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
237               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
238               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
239               < $(srcdir)/dirent.in.h; \
240         } > $@-t && \
241         mv $@-t $@
242 MOSTLYCLEANFILES += dirent.h dirent.h-t
243
244 EXTRA_DIST += dirent.in.h
245
246 ## end   gnulib module dirent
247
248 ## begin gnulib module dirfd
249
250
251 EXTRA_DIST += dirfd.c
252
253 EXTRA_libgnu_a_SOURCES += dirfd.c
254
255 ## end   gnulib module dirfd
256
257 ## begin gnulib module dirname-lgpl
258
259 libgnu_a_SOURCES += dirname-lgpl.c basename-lgpl.c stripslash.c
260
261 EXTRA_DIST += dirname.h
262
263 ## end   gnulib module dirname-lgpl
264
265 ## begin gnulib module dosname
266
267
268 EXTRA_DIST += dosname.h
269
270 ## end   gnulib module dosname
271
272 ## begin gnulib module dup
273
274
275 EXTRA_DIST += dup.c
276
277 EXTRA_libgnu_a_SOURCES += dup.c
278
279 ## end   gnulib module dup
280
281 ## begin gnulib module dup2
282
283
284 EXTRA_DIST += dup2.c
285
286 EXTRA_libgnu_a_SOURCES += dup2.c
287
288 ## end   gnulib module dup2
289
290 ## begin gnulib module errno
291
292 BUILT_SOURCES += $(ERRNO_H)
293
294 # We need the following in order to create <errno.h> when the system
295 # doesn't have one that is POSIX compliant.
296 if GL_GENERATE_ERRNO_H
297 errno.h: errno.in.h $(top_builddir)/config.status
298         $(AM_V_GEN)rm -f $@-t $@ && \
299         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
300           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
301               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
302               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
303               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
304               -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
305               -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
306               -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
307               -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
308               -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
309               -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
310               -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
311               < $(srcdir)/errno.in.h; \
312         } > $@-t && \
313         mv $@-t $@
314 else
315 errno.h: $(top_builddir)/config.status
316         rm -f $@
317 endif
318 MOSTLYCLEANFILES += errno.h errno.h-t
319
320 EXTRA_DIST += errno.in.h
321
322 ## end   gnulib module errno
323
324 ## begin gnulib module error
325
326
327 EXTRA_DIST += error.c error.h
328
329 EXTRA_libgnu_a_SOURCES += error.c
330
331 ## end   gnulib module error
332
333 ## begin gnulib module exitfail
334
335 libgnu_a_SOURCES += exitfail.c
336
337 EXTRA_DIST += exitfail.h
338
339 ## end   gnulib module exitfail
340
341 ## begin gnulib module fchdir
342
343
344 EXTRA_DIST += fchdir.c
345
346 EXTRA_libgnu_a_SOURCES += fchdir.c
347
348 ## end   gnulib module fchdir
349
350 ## begin gnulib module fcntl
351
352
353 EXTRA_DIST += fcntl.c
354
355 EXTRA_libgnu_a_SOURCES += fcntl.c
356
357 ## end   gnulib module fcntl
358
359 ## begin gnulib module fcntl-h
360
361 BUILT_SOURCES += fcntl.h
362
363 # We need the following in order to create <fcntl.h> when the system
364 # doesn't have one that works with the given compiler.
365 fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
366         $(AM_V_GEN)rm -f $@-t $@ && \
367         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
368           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
369               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
370               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
371               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
372               -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
373               -e 's/@''GNULIB_FCNTL''@/$(GNULIB_FCNTL)/g' \
374               -e 's/@''GNULIB_NONBLOCKING''@/$(GNULIB_NONBLOCKING)/g' \
375               -e 's/@''GNULIB_OPEN''@/$(GNULIB_OPEN)/g' \
376               -e 's/@''GNULIB_OPENAT''@/$(GNULIB_OPENAT)/g' \
377               -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \
378               -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
379               -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \
380               -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
381               -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
382               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
383               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
384               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
385               < $(srcdir)/fcntl.in.h; \
386         } > $@-t && \
387         mv $@-t $@
388 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
389
390 EXTRA_DIST += fcntl.in.h
391
392 ## end   gnulib module fcntl-h
393
394 ## begin gnulib module fd-hook
395
396 libgnu_a_SOURCES += fd-hook.c
397
398 EXTRA_DIST += fd-hook.h
399
400 ## end   gnulib module fd-hook
401
402 ## begin gnulib module fdopendir
403
404
405 EXTRA_DIST += fdopendir.c
406
407 EXTRA_libgnu_a_SOURCES += fdopendir.c
408
409 ## end   gnulib module fdopendir
410
411 ## begin gnulib module filename
412
413
414 EXTRA_DIST += filename.h
415
416 ## end   gnulib module filename
417
418 ## begin gnulib module filenamecat-lgpl
419
420 libgnu_a_SOURCES += filenamecat-lgpl.c
421
422 EXTRA_DIST += filenamecat.h
423
424 ## end   gnulib module filenamecat-lgpl
425
426 ## begin gnulib module flexmember
427
428
429 EXTRA_DIST += flexmember.h
430
431 ## end   gnulib module flexmember
432
433 ## begin gnulib module float
434
435 BUILT_SOURCES += $(FLOAT_H)
436
437 # We need the following in order to create <float.h> when the system
438 # doesn't have one that works with the given compiler.
439 if GL_GENERATE_FLOAT_H
440 float.h: float.in.h $(top_builddir)/config.status
441         $(AM_V_GEN)rm -f $@-t $@ && \
442         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
443           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
444               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
445               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
446               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
447               -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
448               -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \
449               < $(srcdir)/float.in.h; \
450         } > $@-t && \
451         mv $@-t $@
452 else
453 float.h: $(top_builddir)/config.status
454         rm -f $@
455 endif
456 MOSTLYCLEANFILES += float.h float.h-t
457
458 EXTRA_DIST += float.c float.in.h itold.c
459
460 EXTRA_libgnu_a_SOURCES += float.c itold.c
461
462 ## end   gnulib module float
463
464 ## begin gnulib module fnmatch
465
466 BUILT_SOURCES += $(FNMATCH_H)
467
468 # We need the following in order to create <fnmatch.h> when the system
469 # doesn't have one that supports the required API.
470 if GL_GENERATE_FNMATCH_H
471 fnmatch.h: fnmatch.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
472         $(AM_V_GEN)rm -f $@-t $@ && \
473         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
474           sed -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
475               < $(srcdir)/fnmatch.in.h; \
476         } > $@-t && \
477         mv -f $@-t $@
478 else
479 fnmatch.h: $(top_builddir)/config.status
480         rm -f $@
481 endif
482 MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
483
484 EXTRA_DIST += fnmatch.c fnmatch.in.h fnmatch_loop.c
485
486 EXTRA_libgnu_a_SOURCES += fnmatch.c fnmatch_loop.c
487
488 ## end   gnulib module fnmatch
489
490 ## begin gnulib module fpucw
491
492
493 EXTRA_DIST += fpucw.h
494
495 ## end   gnulib module fpucw
496
497 ## begin gnulib module frexp
498
499
500 EXTRA_DIST += frexp.c
501
502 EXTRA_libgnu_a_SOURCES += frexp.c
503
504 ## end   gnulib module frexp
505
506 ## begin gnulib module frexpl
507
508
509 EXTRA_DIST += frexp.c frexpl.c
510
511 EXTRA_libgnu_a_SOURCES += frexp.c frexpl.c
512
513 ## end   gnulib module frexpl
514
515 ## begin gnulib module fstat
516
517
518 EXTRA_DIST += fstat.c
519
520 EXTRA_libgnu_a_SOURCES += fstat.c
521
522 ## end   gnulib module fstat
523
524 ## begin gnulib module fstatat
525
526
527 EXTRA_DIST += at-func.c fstatat.c
528
529 EXTRA_libgnu_a_SOURCES += at-func.c fstatat.c
530
531 ## end   gnulib module fstatat
532
533 ## begin gnulib module getcwd
534
535
536 EXTRA_DIST += getcwd.c
537
538 EXTRA_libgnu_a_SOURCES += getcwd.c
539
540 ## end   gnulib module getcwd
541
542 ## begin gnulib module getcwd-lgpl
543
544
545 EXTRA_DIST += getcwd-lgpl.c
546
547 EXTRA_libgnu_a_SOURCES += getcwd-lgpl.c
548
549 ## end   gnulib module getcwd-lgpl
550
551 ## begin gnulib module getdtablesize
552
553
554 EXTRA_DIST += getdtablesize.c
555
556 EXTRA_libgnu_a_SOURCES += getdtablesize.c
557
558 ## end   gnulib module getdtablesize
559
560 ## begin gnulib module getlogin_r
561
562
563 EXTRA_DIST += getlogin_r.c
564
565 EXTRA_libgnu_a_SOURCES += getlogin_r.c
566
567 ## end   gnulib module getlogin_r
568
569 ## begin gnulib module getprogname
570
571 libgnu_a_SOURCES += getprogname.h getprogname.c
572
573 ## end   gnulib module getprogname
574
575 ## begin gnulib module gettext-h
576
577 libgnu_a_SOURCES += gettext.h
578
579 ## end   gnulib module gettext-h
580
581 ## begin gnulib module gettimeofday
582
583
584 EXTRA_DIST += gettimeofday.c
585
586 EXTRA_libgnu_a_SOURCES += gettimeofday.c
587
588 ## end   gnulib module gettimeofday
589
590 ## begin gnulib module glob
591
592 BUILT_SOURCES += $(GLOB_H)
593
594 # We need the following in order to create <glob.h> when the system
595 # doesn't have one that works with the given compiler.
596 if GL_GENERATE_GLOB_H
597 glob.h: glob.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
598         $(AM_V_GEN)rm -f $@-t $@ && \
599         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
600           sed -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \
601               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
602               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
603               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
604               < $(srcdir)/glob.in.h; \
605         } > $@-t && \
606         mv -f $@-t $@
607 else
608 glob.h: $(top_builddir)/config.status
609         rm -f $@
610 endif
611 MOSTLYCLEANFILES += glob.h glob.h-t
612
613 EXTRA_DIST += glob-libc.h glob.c glob.in.h
614
615 EXTRA_libgnu_a_SOURCES += glob.c
616
617 ## end   gnulib module glob
618
619 ## begin gnulib module hard-locale
620
621 libgnu_a_SOURCES += hard-locale.c
622
623 EXTRA_DIST += hard-locale.h
624
625 ## end   gnulib module hard-locale
626
627 ## begin gnulib module intprops
628
629
630 EXTRA_DIST += intprops.h
631
632 ## end   gnulib module intprops
633
634 ## begin gnulib module inttypes-incomplete
635
636 BUILT_SOURCES += inttypes.h
637
638 # We need the following in order to create <inttypes.h> when the system
639 # doesn't have one that works with the given compiler.
640 inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
641         $(AM_V_GEN)rm -f $@-t $@ && \
642         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
643           sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
644               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
645               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
646               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
647               -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
648               -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
649               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
650               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
651               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
652               -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
653               -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \
654               -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \
655               -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \
656               -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \
657               -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
658               -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
659               -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
660               -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
661               -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \
662               -e 's/@''REPLACE_STRTOUMAX''@/$(REPLACE_STRTOUMAX)/g' \
663               -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
664               -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
665               -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
666               -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
667               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
668               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
669               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
670               < $(srcdir)/inttypes.in.h; \
671         } > $@-t && \
672         mv $@-t $@
673 MOSTLYCLEANFILES += inttypes.h inttypes.h-t
674
675 EXTRA_DIST += inttypes.in.h
676
677 ## end   gnulib module inttypes-incomplete
678
679 ## begin gnulib module isnand-nolibm
680
681
682 EXTRA_DIST += float+.h isnan.c isnand-nolibm.h isnand.c
683
684 EXTRA_libgnu_a_SOURCES += isnan.c isnand.c
685
686 ## end   gnulib module isnand-nolibm
687
688 ## begin gnulib module isnanl-nolibm
689
690
691 EXTRA_DIST += float+.h isnan.c isnanl-nolibm.h isnanl.c
692
693 EXTRA_libgnu_a_SOURCES += isnan.c isnanl.c
694
695 ## end   gnulib module isnanl-nolibm
696
697 ## begin gnulib module limits-h
698
699 BUILT_SOURCES += $(LIMITS_H)
700
701 # We need the following in order to create <limits.h> when the system
702 # doesn't have one that is compatible with GNU.
703 if GL_GENERATE_LIMITS_H
704 limits.h: limits.in.h $(top_builddir)/config.status
705         $(AM_V_GEN)rm -f $@-t $@ && \
706         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
707           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
708               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
709               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
710               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
711               -e 's|@''NEXT_LIMITS_H''@|$(NEXT_LIMITS_H)|g' \
712               < $(srcdir)/limits.in.h; \
713         } > $@-t && \
714         mv $@-t $@
715 else
716 limits.h: $(top_builddir)/config.status
717         rm -f $@
718 endif
719 MOSTLYCLEANFILES += limits.h limits.h-t
720
721 EXTRA_DIST += limits.in.h
722
723 ## end   gnulib module limits-h
724
725 ## begin gnulib module localcharset
726
727 libgnu_a_SOURCES += localcharset.h localcharset.c
728
729 # We need the following in order to install a simple file in $(libdir)
730 # which is shared with other installed packages. We use a list of referencing
731 # packages so that "make uninstall" will remove the file if and only if it
732 # is not used by another installed package.
733 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
734 # avoid installing it.
735
736 all-local: charset.alias ref-add.sed ref-del.sed
737
738 charset_alias = $(DESTDIR)$(libdir)/charset.alias
739 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
740 install-exec-local: install-exec-localcharset
741 install-exec-localcharset: all-local
742         if test $(GLIBC21) = no; then \
743           case '$(host_os)' in \
744             darwin[56]*) \
745               need_charset_alias=true ;; \
746             darwin* | cygwin* | mingw* | pw32* | cegcc*) \
747               need_charset_alias=false ;; \
748             *) \
749               need_charset_alias=true ;; \
750           esac ; \
751         else \
752           need_charset_alias=false ; \
753         fi ; \
754         if $$need_charset_alias; then \
755           $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
756         fi ; \
757         if test -f $(charset_alias); then \
758           sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
759           $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
760           rm -f $(charset_tmp) ; \
761         else \
762           if $$need_charset_alias; then \
763             sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
764             $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
765             rm -f $(charset_tmp) ; \
766           fi ; \
767         fi
768
769 uninstall-local: uninstall-localcharset
770 uninstall-localcharset: all-local
771         if test -f $(charset_alias); then \
772           sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
773           if grep '^# Packages using this file: $$' $(charset_tmp) \
774               > /dev/null; then \
775             rm -f $(charset_alias); \
776           else \
777             $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
778           fi; \
779           rm -f $(charset_tmp); \
780         fi
781
782 charset.alias: config.charset
783         $(AM_V_GEN)rm -f t-$@ $@ && \
784         $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
785         mv t-$@ $@
786
787 SUFFIXES += .sed .sin
788 .sin.sed:
789         $(AM_V_GEN)rm -f t-$@ $@ && \
790         sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
791         mv t-$@ $@
792
793 CLEANFILES += charset.alias ref-add.sed ref-del.sed
794
795 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
796
797 ## end   gnulib module localcharset
798
799 ## begin gnulib module lstat
800
801
802 EXTRA_DIST += lstat.c
803
804 EXTRA_libgnu_a_SOURCES += lstat.c
805
806 ## end   gnulib module lstat
807
808 ## begin gnulib module malloc-posix
809
810
811 EXTRA_DIST += malloc.c
812
813 EXTRA_libgnu_a_SOURCES += malloc.c
814
815 ## end   gnulib module malloc-posix
816
817 ## begin gnulib module malloca
818
819 libgnu_a_SOURCES += malloca.c
820
821 EXTRA_DIST += malloca.h malloca.valgrind
822
823 ## end   gnulib module malloca
824
825 ## begin gnulib module math
826
827 BUILT_SOURCES += math.h
828 libgnu_a_SOURCES += math.c
829
830 # We need the following in order to create <math.h> when the system
831 # doesn't have one that works with the given compiler.
832 math.h: math.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
833         $(AM_V_GEN)rm -f $@-t $@ && \
834         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
835           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
836               -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \
837               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
838               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
839               -e 's|@''NEXT_AS_FIRST_DIRECTIVE_MATH_H''@|$(NEXT_AS_FIRST_DIRECTIVE_MATH_H)|g' \
840               -e 's/@''GNULIB_ACOSF''@/$(GNULIB_ACOSF)/g' \
841               -e 's/@''GNULIB_ACOSL''@/$(GNULIB_ACOSL)/g' \
842               -e 's/@''GNULIB_ASINF''@/$(GNULIB_ASINF)/g' \
843               -e 's/@''GNULIB_ASINL''@/$(GNULIB_ASINL)/g' \
844               -e 's/@''GNULIB_ATANF''@/$(GNULIB_ATANF)/g' \
845               -e 's/@''GNULIB_ATANL''@/$(GNULIB_ATANL)/g' \
846               -e 's/@''GNULIB_ATAN2F''@/$(GNULIB_ATAN2F)/g' \
847               -e 's/@''GNULIB_CBRT''@/$(GNULIB_CBRT)/g' \
848               -e 's/@''GNULIB_CBRTF''@/$(GNULIB_CBRTF)/g' \
849               -e 's/@''GNULIB_CBRTL''@/$(GNULIB_CBRTL)/g' \
850               -e 's/@''GNULIB_CEIL''@/$(GNULIB_CEIL)/g' \
851               -e 's/@''GNULIB_CEILF''@/$(GNULIB_CEILF)/g' \
852               -e 's/@''GNULIB_CEILL''@/$(GNULIB_CEILL)/g' \
853               -e 's/@''GNULIB_COPYSIGN''@/$(GNULIB_COPYSIGN)/g' \
854               -e 's/@''GNULIB_COPYSIGNF''@/$(GNULIB_COPYSIGNF)/g' \
855               -e 's/@''GNULIB_COPYSIGNL''@/$(GNULIB_COPYSIGNL)/g' \
856               -e 's/@''GNULIB_COSF''@/$(GNULIB_COSF)/g' \
857               -e 's/@''GNULIB_COSL''@/$(GNULIB_COSL)/g' \
858               -e 's/@''GNULIB_COSHF''@/$(GNULIB_COSHF)/g' \
859               -e 's/@''GNULIB_EXPF''@/$(GNULIB_EXPF)/g' \
860               -e 's/@''GNULIB_EXPL''@/$(GNULIB_EXPL)/g' \
861               -e 's/@''GNULIB_EXP2''@/$(GNULIB_EXP2)/g' \
862               -e 's/@''GNULIB_EXP2F''@/$(GNULIB_EXP2F)/g' \
863               -e 's/@''GNULIB_EXP2L''@/$(GNULIB_EXP2L)/g' \
864               -e 's/@''GNULIB_EXPM1''@/$(GNULIB_EXPM1)/g' \
865               -e 's/@''GNULIB_EXPM1F''@/$(GNULIB_EXPM1F)/g' \
866               -e 's/@''GNULIB_EXPM1L''@/$(GNULIB_EXPM1L)/g' \
867               -e 's/@''GNULIB_FABSF''@/$(GNULIB_FABSF)/g' \
868               -e 's/@''GNULIB_FABSL''@/$(GNULIB_FABSL)/g' \
869               -e 's/@''GNULIB_FLOOR''@/$(GNULIB_FLOOR)/g' \
870               -e 's/@''GNULIB_FLOORF''@/$(GNULIB_FLOORF)/g' \
871               -e 's/@''GNULIB_FLOORL''@/$(GNULIB_FLOORL)/g' \
872               -e 's/@''GNULIB_FMA''@/$(GNULIB_FMA)/g' \
873               -e 's/@''GNULIB_FMAF''@/$(GNULIB_FMAF)/g' \
874               -e 's/@''GNULIB_FMAL''@/$(GNULIB_FMAL)/g' \
875               -e 's/@''GNULIB_FMOD''@/$(GNULIB_FMOD)/g' \
876               -e 's/@''GNULIB_FMODF''@/$(GNULIB_FMODF)/g' \
877               -e 's/@''GNULIB_FMODL''@/$(GNULIB_FMODL)/g' \
878               -e 's/@''GNULIB_FREXPF''@/$(GNULIB_FREXPF)/g' \
879               -e 's/@''GNULIB_FREXP''@/$(GNULIB_FREXP)/g' \
880               -e 's/@''GNULIB_FREXPL''@/$(GNULIB_FREXPL)/g' \
881               -e 's/@''GNULIB_HYPOT''@/$(GNULIB_HYPOT)/g' \
882               -e 's/@''GNULIB_HYPOTF''@/$(GNULIB_HYPOTF)/g' \
883               -e 's/@''GNULIB_HYPOTL''@/$(GNULIB_HYPOTL)/g' \
884               < $(srcdir)/math.in.h | \
885           sed -e 's/@''GNULIB_ILOGB''@/$(GNULIB_ILOGB)/g' \
886               -e 's/@''GNULIB_ILOGBF''@/$(GNULIB_ILOGBF)/g' \
887               -e 's/@''GNULIB_ILOGBL''@/$(GNULIB_ILOGBL)/g' \
888               -e 's/@''GNULIB_ISFINITE''@/$(GNULIB_ISFINITE)/g' \
889               -e 's/@''GNULIB_ISINF''@/$(GNULIB_ISINF)/g' \
890               -e 's/@''GNULIB_ISNAN''@/$(GNULIB_ISNAN)/g' \
891               -e 's/@''GNULIB_ISNANF''@/$(GNULIB_ISNANF)/g' \
892               -e 's/@''GNULIB_ISNAND''@/$(GNULIB_ISNAND)/g' \
893               -e 's/@''GNULIB_ISNANL''@/$(GNULIB_ISNANL)/g' \
894               -e 's/@''GNULIB_LDEXPF''@/$(GNULIB_LDEXPF)/g' \
895               -e 's/@''GNULIB_LDEXPL''@/$(GNULIB_LDEXPL)/g' \
896               -e 's/@''GNULIB_LOG''@/$(GNULIB_LOG)/g' \
897               -e 's/@''GNULIB_LOGF''@/$(GNULIB_LOGF)/g' \
898               -e 's/@''GNULIB_LOGL''@/$(GNULIB_LOGL)/g' \
899               -e 's/@''GNULIB_LOG10''@/$(GNULIB_LOG10)/g' \
900               -e 's/@''GNULIB_LOG10F''@/$(GNULIB_LOG10F)/g' \
901               -e 's/@''GNULIB_LOG10L''@/$(GNULIB_LOG10L)/g' \
902               -e 's/@''GNULIB_LOG1P''@/$(GNULIB_LOG1P)/g' \
903               -e 's/@''GNULIB_LOG1PF''@/$(GNULIB_LOG1PF)/g' \
904               -e 's/@''GNULIB_LOG1PL''@/$(GNULIB_LOG1PL)/g' \
905               -e 's/@''GNULIB_LOG2''@/$(GNULIB_LOG2)/g' \
906               -e 's/@''GNULIB_LOG2F''@/$(GNULIB_LOG2F)/g' \
907               -e 's/@''GNULIB_LOG2L''@/$(GNULIB_LOG2L)/g' \
908               -e 's/@''GNULIB_LOGB''@/$(GNULIB_LOGB)/g' \
909               -e 's/@''GNULIB_LOGBF''@/$(GNULIB_LOGBF)/g' \
910               -e 's/@''GNULIB_LOGBL''@/$(GNULIB_LOGBL)/g' \
911               -e 's/@''GNULIB_MODF''@/$(GNULIB_MODF)/g' \
912               -e 's/@''GNULIB_MODFF''@/$(GNULIB_MODFF)/g' \
913               -e 's/@''GNULIB_MODFL''@/$(GNULIB_MODFL)/g' \
914               -e 's/@''GNULIB_POWF''@/$(GNULIB_POWF)/g' \
915               -e 's/@''GNULIB_REMAINDER''@/$(GNULIB_REMAINDER)/g' \
916               -e 's/@''GNULIB_REMAINDERF''@/$(GNULIB_REMAINDERF)/g' \
917               -e 's/@''GNULIB_REMAINDERL''@/$(GNULIB_REMAINDERL)/g' \
918               -e 's/@''GNULIB_RINT''@/$(GNULIB_RINT)/g' \
919               -e 's/@''GNULIB_RINTF''@/$(GNULIB_RINTF)/g' \
920               -e 's/@''GNULIB_RINTL''@/$(GNULIB_RINTL)/g' \
921               -e 's/@''GNULIB_ROUND''@/$(GNULIB_ROUND)/g' \
922               -e 's/@''GNULIB_ROUNDF''@/$(GNULIB_ROUNDF)/g' \
923               -e 's/@''GNULIB_ROUNDL''@/$(GNULIB_ROUNDL)/g' \
924               -e 's/@''GNULIB_SIGNBIT''@/$(GNULIB_SIGNBIT)/g' \
925               -e 's/@''GNULIB_SINF''@/$(GNULIB_SINF)/g' \
926               -e 's/@''GNULIB_SINL''@/$(GNULIB_SINL)/g' \
927               -e 's/@''GNULIB_SINHF''@/$(GNULIB_SINHF)/g' \
928               -e 's/@''GNULIB_SQRTF''@/$(GNULIB_SQRTF)/g' \
929               -e 's/@''GNULIB_SQRTL''@/$(GNULIB_SQRTL)/g' \
930               -e 's/@''GNULIB_TANF''@/$(GNULIB_TANF)/g' \
931               -e 's/@''GNULIB_TANL''@/$(GNULIB_TANL)/g' \
932               -e 's/@''GNULIB_TANHF''@/$(GNULIB_TANHF)/g' \
933               -e 's/@''GNULIB_TRUNC''@/$(GNULIB_TRUNC)/g' \
934               -e 's/@''GNULIB_TRUNCF''@/$(GNULIB_TRUNCF)/g' \
935               -e 's/@''GNULIB_TRUNCL''@/$(GNULIB_TRUNCL)/g' \
936           | \
937           sed -e 's|@''HAVE_ACOSF''@|$(HAVE_ACOSF)|g' \
938               -e 's|@''HAVE_ACOSL''@|$(HAVE_ACOSL)|g' \
939               -e 's|@''HAVE_ASINF''@|$(HAVE_ASINF)|g' \
940               -e 's|@''HAVE_ASINL''@|$(HAVE_ASINL)|g' \
941               -e 's|@''HAVE_ATANF''@|$(HAVE_ATANF)|g' \
942               -e 's|@''HAVE_ATANL''@|$(HAVE_ATANL)|g' \
943               -e 's|@''HAVE_ATAN2F''@|$(HAVE_ATAN2F)|g' \
944               -e 's|@''HAVE_CBRT''@|$(HAVE_CBRT)|g' \
945               -e 's|@''HAVE_CBRTF''@|$(HAVE_CBRTF)|g' \
946               -e 's|@''HAVE_CBRTL''@|$(HAVE_CBRTL)|g' \
947               -e 's|@''HAVE_COPYSIGN''@|$(HAVE_COPYSIGN)|g' \
948               -e 's|@''HAVE_COPYSIGNL''@|$(HAVE_COPYSIGNL)|g' \
949               -e 's|@''HAVE_COSF''@|$(HAVE_COSF)|g' \
950               -e 's|@''HAVE_COSL''@|$(HAVE_COSL)|g' \
951               -e 's|@''HAVE_COSHF''@|$(HAVE_COSHF)|g' \
952               -e 's|@''HAVE_EXPF''@|$(HAVE_EXPF)|g' \
953               -e 's|@''HAVE_EXPL''@|$(HAVE_EXPL)|g' \
954               -e 's|@''HAVE_EXPM1''@|$(HAVE_EXPM1)|g' \
955               -e 's|@''HAVE_EXPM1F''@|$(HAVE_EXPM1F)|g' \
956               -e 's|@''HAVE_FABSF''@|$(HAVE_FABSF)|g' \
957               -e 's|@''HAVE_FABSL''@|$(HAVE_FABSL)|g' \
958               -e 's|@''HAVE_FMA''@|$(HAVE_FMA)|g' \
959               -e 's|@''HAVE_FMAF''@|$(HAVE_FMAF)|g' \
960               -e 's|@''HAVE_FMAL''@|$(HAVE_FMAL)|g' \
961               -e 's|@''HAVE_FMODF''@|$(HAVE_FMODF)|g' \
962               -e 's|@''HAVE_FMODL''@|$(HAVE_FMODL)|g' \
963               -e 's|@''HAVE_FREXPF''@|$(HAVE_FREXPF)|g' \
964               -e 's|@''HAVE_HYPOTF''@|$(HAVE_HYPOTF)|g' \
965               -e 's|@''HAVE_HYPOTL''@|$(HAVE_HYPOTL)|g' \
966               -e 's|@''HAVE_ILOGB''@|$(HAVE_ILOGB)|g' \
967               -e 's|@''HAVE_ILOGBF''@|$(HAVE_ILOGBF)|g' \
968               -e 's|@''HAVE_ILOGBL''@|$(HAVE_ILOGBL)|g' \
969               -e 's|@''HAVE_ISNANF''@|$(HAVE_ISNANF)|g' \
970               -e 's|@''HAVE_ISNAND''@|$(HAVE_ISNAND)|g' \
971               -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \
972               -e 's|@''HAVE_LDEXPF''@|$(HAVE_LDEXPF)|g' \
973               -e 's|@''HAVE_LOGF''@|$(HAVE_LOGF)|g' \
974               -e 's|@''HAVE_LOGL''@|$(HAVE_LOGL)|g' \
975               -e 's|@''HAVE_LOG10F''@|$(HAVE_LOG10F)|g' \
976               -e 's|@''HAVE_LOG10L''@|$(HAVE_LOG10L)|g' \
977               -e 's|@''HAVE_LOG1P''@|$(HAVE_LOG1P)|g' \
978               -e 's|@''HAVE_LOG1PF''@|$(HAVE_LOG1PF)|g' \
979               -e 's|@''HAVE_LOG1PL''@|$(HAVE_LOG1PL)|g' \
980               -e 's|@''HAVE_LOGBF''@|$(HAVE_LOGBF)|g' \
981               -e 's|@''HAVE_LOGBL''@|$(HAVE_LOGBL)|g' \
982               -e 's|@''HAVE_MODFF''@|$(HAVE_MODFF)|g' \
983               -e 's|@''HAVE_MODFL''@|$(HAVE_MODFL)|g' \
984               -e 's|@''HAVE_POWF''@|$(HAVE_POWF)|g' \
985               -e 's|@''HAVE_REMAINDER''@|$(HAVE_REMAINDER)|g' \
986               -e 's|@''HAVE_REMAINDERF''@|$(HAVE_REMAINDERF)|g' \
987               -e 's|@''HAVE_RINT''@|$(HAVE_RINT)|g' \
988               -e 's|@''HAVE_RINTL''@|$(HAVE_RINTL)|g' \
989               -e 's|@''HAVE_SINF''@|$(HAVE_SINF)|g' \
990               -e 's|@''HAVE_SINL''@|$(HAVE_SINL)|g' \
991               -e 's|@''HAVE_SINHF''@|$(HAVE_SINHF)|g' \
992               -e 's|@''HAVE_SQRTF''@|$(HAVE_SQRTF)|g' \
993               -e 's|@''HAVE_SQRTL''@|$(HAVE_SQRTL)|g' \
994               -e 's|@''HAVE_TANF''@|$(HAVE_TANF)|g' \
995               -e 's|@''HAVE_TANL''@|$(HAVE_TANL)|g' \
996               -e 's|@''HAVE_TANHF''@|$(HAVE_TANHF)|g' \
997               -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \
998               -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \
999               -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \
1000               -e 's|@''HAVE_DECL_CBRTF''@|$(HAVE_DECL_CBRTF)|g' \
1001               -e 's|@''HAVE_DECL_CBRTL''@|$(HAVE_DECL_CBRTL)|g' \
1002               -e 's|@''HAVE_DECL_CEILF''@|$(HAVE_DECL_CEILF)|g' \
1003               -e 's|@''HAVE_DECL_CEILL''@|$(HAVE_DECL_CEILL)|g' \
1004               -e 's|@''HAVE_DECL_COPYSIGNF''@|$(HAVE_DECL_COPYSIGNF)|g' \
1005               -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \
1006               -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \
1007               -e 's|@''HAVE_DECL_EXP2''@|$(HAVE_DECL_EXP2)|g' \
1008               -e 's|@''HAVE_DECL_EXP2F''@|$(HAVE_DECL_EXP2F)|g' \
1009               -e 's|@''HAVE_DECL_EXP2L''@|$(HAVE_DECL_EXP2L)|g' \
1010               -e 's|@''HAVE_DECL_EXPM1L''@|$(HAVE_DECL_EXPM1L)|g' \
1011               -e 's|@''HAVE_DECL_FLOORF''@|$(HAVE_DECL_FLOORF)|g' \
1012               -e 's|@''HAVE_DECL_FLOORL''@|$(HAVE_DECL_FLOORL)|g' \
1013               -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \
1014               -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \
1015               -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \
1016               -e 's|@''HAVE_DECL_LOG10L''@|$(HAVE_DECL_LOG10L)|g' \
1017               -e 's|@''HAVE_DECL_LOG2''@|$(HAVE_DECL_LOG2)|g' \
1018               -e 's|@''HAVE_DECL_LOG2F''@|$(HAVE_DECL_LOG2F)|g' \
1019               -e 's|@''HAVE_DECL_LOG2L''@|$(HAVE_DECL_LOG2L)|g' \
1020               -e 's|@''HAVE_DECL_LOGB''@|$(HAVE_DECL_LOGB)|g' \
1021               -e 's|@''HAVE_DECL_REMAINDER''@|$(HAVE_DECL_REMAINDER)|g' \
1022               -e 's|@''HAVE_DECL_REMAINDERL''@|$(HAVE_DECL_REMAINDERL)|g' \
1023               -e 's|@''HAVE_DECL_RINTF''@|$(HAVE_DECL_RINTF)|g' \
1024               -e 's|@''HAVE_DECL_ROUND''@|$(HAVE_DECL_ROUND)|g' \
1025               -e 's|@''HAVE_DECL_ROUNDF''@|$(HAVE_DECL_ROUNDF)|g' \
1026               -e 's|@''HAVE_DECL_ROUNDL''@|$(HAVE_DECL_ROUNDL)|g' \
1027               -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \
1028               -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \
1029               -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \
1030               -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \
1031               -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \
1032               -e 's|@''HAVE_DECL_TRUNCL''@|$(HAVE_DECL_TRUNCL)|g' \
1033           | \
1034           sed -e 's|@''REPLACE_CBRTF''@|$(REPLACE_CBRTF)|g' \
1035               -e 's|@''REPLACE_CBRTL''@|$(REPLACE_CBRTL)|g' \
1036               -e 's|@''REPLACE_CEIL''@|$(REPLACE_CEIL)|g' \
1037               -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \
1038               -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \
1039               -e 's|@''REPLACE_EXPM1''@|$(REPLACE_EXPM1)|g' \
1040               -e 's|@''REPLACE_EXPM1F''@|$(REPLACE_EXPM1F)|g' \
1041               -e 's|@''REPLACE_EXP2''@|$(REPLACE_EXP2)|g' \
1042               -e 's|@''REPLACE_EXP2L''@|$(REPLACE_EXP2L)|g' \
1043               -e 's|@''REPLACE_FABSL''@|$(REPLACE_FABSL)|g' \
1044               -e 's|@''REPLACE_FLOOR''@|$(REPLACE_FLOOR)|g' \
1045               -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \
1046               -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \
1047               -e 's|@''REPLACE_FMA''@|$(REPLACE_FMA)|g' \
1048               -e 's|@''REPLACE_FMAF''@|$(REPLACE_FMAF)|g' \
1049               -e 's|@''REPLACE_FMAL''@|$(REPLACE_FMAL)|g' \
1050               -e 's|@''REPLACE_FMOD''@|$(REPLACE_FMOD)|g' \
1051               -e 's|@''REPLACE_FMODF''@|$(REPLACE_FMODF)|g' \
1052               -e 's|@''REPLACE_FMODL''@|$(REPLACE_FMODL)|g' \
1053               -e 's|@''REPLACE_FREXPF''@|$(REPLACE_FREXPF)|g' \
1054               -e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \
1055               -e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \
1056               -e 's|@''REPLACE_HUGE_VAL''@|$(REPLACE_HUGE_VAL)|g' \
1057               -e 's|@''REPLACE_HYPOT''@|$(REPLACE_HYPOT)|g' \
1058               -e 's|@''REPLACE_HYPOTF''@|$(REPLACE_HYPOTF)|g' \
1059               -e 's|@''REPLACE_HYPOTL''@|$(REPLACE_HYPOTL)|g' \
1060               -e 's|@''REPLACE_ILOGB''@|$(REPLACE_ILOGB)|g' \
1061               -e 's|@''REPLACE_ILOGBF''@|$(REPLACE_ILOGBF)|g' \
1062               -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \
1063               -e 's|@''REPLACE_ISINF''@|$(REPLACE_ISINF)|g' \
1064               -e 's|@''REPLACE_ISNAN''@|$(REPLACE_ISNAN)|g' \
1065               -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \
1066               -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \
1067               -e 's|@''REPLACE_LOG''@|$(REPLACE_LOG)|g' \
1068               -e 's|@''REPLACE_LOGF''@|$(REPLACE_LOGF)|g' \
1069               -e 's|@''REPLACE_LOGL''@|$(REPLACE_LOGL)|g' \
1070               -e 's|@''REPLACE_LOG10''@|$(REPLACE_LOG10)|g' \
1071               -e 's|@''REPLACE_LOG10F''@|$(REPLACE_LOG10F)|g' \
1072               -e 's|@''REPLACE_LOG10L''@|$(REPLACE_LOG10L)|g' \
1073               -e 's|@''REPLACE_LOG1P''@|$(REPLACE_LOG1P)|g' \
1074               -e 's|@''REPLACE_LOG1PF''@|$(REPLACE_LOG1PF)|g' \
1075               -e 's|@''REPLACE_LOG1PL''@|$(REPLACE_LOG1PL)|g' \
1076               -e 's|@''REPLACE_LOG2''@|$(REPLACE_LOG2)|g' \
1077               -e 's|@''REPLACE_LOG2F''@|$(REPLACE_LOG2F)|g' \
1078               -e 's|@''REPLACE_LOG2L''@|$(REPLACE_LOG2L)|g' \
1079               -e 's|@''REPLACE_LOGB''@|$(REPLACE_LOGB)|g' \
1080               -e 's|@''REPLACE_LOGBF''@|$(REPLACE_LOGBF)|g' \
1081               -e 's|@''REPLACE_LOGBL''@|$(REPLACE_LOGBL)|g' \
1082               -e 's|@''REPLACE_MODF''@|$(REPLACE_MODF)|g' \
1083               -e 's|@''REPLACE_MODFF''@|$(REPLACE_MODFF)|g' \
1084               -e 's|@''REPLACE_MODFL''@|$(REPLACE_MODFL)|g' \
1085               -e 's|@''REPLACE_NAN''@|$(REPLACE_NAN)|g' \
1086               -e 's|@''REPLACE_REMAINDER''@|$(REPLACE_REMAINDER)|g' \
1087               -e 's|@''REPLACE_REMAINDERF''@|$(REPLACE_REMAINDERF)|g' \
1088               -e 's|@''REPLACE_REMAINDERL''@|$(REPLACE_REMAINDERL)|g' \
1089               -e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \
1090               -e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \
1091               -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \
1092               -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \
1093               -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|$(REPLACE_SIGNBIT_USING_GCC)|g' \
1094               -e 's|@''REPLACE_SQRTL''@|$(REPLACE_SQRTL)|g' \
1095               -e 's|@''REPLACE_TRUNC''@|$(REPLACE_TRUNC)|g' \
1096               -e 's|@''REPLACE_TRUNCF''@|$(REPLACE_TRUNCF)|g' \
1097               -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \
1098               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1099               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1100               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1101         } > $@-t && \
1102         mv $@-t $@
1103 MOSTLYCLEANFILES += math.h math.h-t
1104
1105 EXTRA_DIST += math.in.h
1106
1107 ## end   gnulib module math
1108
1109 ## begin gnulib module mbrtowc
1110
1111
1112 EXTRA_DIST += mbrtowc.c
1113
1114 EXTRA_libgnu_a_SOURCES += mbrtowc.c
1115
1116 ## end   gnulib module mbrtowc
1117
1118 ## begin gnulib module mbsinit
1119
1120
1121 EXTRA_DIST += mbsinit.c
1122
1123 EXTRA_libgnu_a_SOURCES += mbsinit.c
1124
1125 ## end   gnulib module mbsinit
1126
1127 ## begin gnulib module mbsrtowcs
1128
1129
1130 EXTRA_DIST += mbsrtowcs-impl.h mbsrtowcs-state.c mbsrtowcs.c
1131
1132 EXTRA_libgnu_a_SOURCES += mbsrtowcs-state.c mbsrtowcs.c
1133
1134 ## end   gnulib module mbsrtowcs
1135
1136 ## begin gnulib module memchr
1137
1138
1139 EXTRA_DIST += memchr.c memchr.valgrind
1140
1141 EXTRA_libgnu_a_SOURCES += memchr.c
1142
1143 ## end   gnulib module memchr
1144
1145 ## begin gnulib module memmem-simple
1146
1147
1148 EXTRA_DIST += memmem.c str-two-way.h
1149
1150 EXTRA_libgnu_a_SOURCES += memmem.c
1151
1152 ## end   gnulib module memmem-simple
1153
1154 ## begin gnulib module mempcpy
1155
1156
1157 EXTRA_DIST += mempcpy.c
1158
1159 EXTRA_libgnu_a_SOURCES += mempcpy.c
1160
1161 ## end   gnulib module mempcpy
1162
1163 ## begin gnulib module memrchr
1164
1165
1166 EXTRA_DIST += memrchr.c
1167
1168 EXTRA_libgnu_a_SOURCES += memrchr.c
1169
1170 ## end   gnulib module memrchr
1171
1172 ## begin gnulib module mkdir
1173
1174
1175 EXTRA_DIST += mkdir.c
1176
1177 EXTRA_libgnu_a_SOURCES += mkdir.c
1178
1179 ## end   gnulib module mkdir
1180
1181 ## begin gnulib module mkstemp
1182
1183
1184 EXTRA_DIST += mkstemp.c
1185
1186 EXTRA_libgnu_a_SOURCES += mkstemp.c
1187
1188 ## end   gnulib module mkstemp
1189
1190 ## begin gnulib module msvc-inval
1191
1192
1193 EXTRA_DIST += msvc-inval.c msvc-inval.h
1194
1195 EXTRA_libgnu_a_SOURCES += msvc-inval.c
1196
1197 ## end   gnulib module msvc-inval
1198
1199 ## begin gnulib module msvc-nothrow
1200
1201
1202 EXTRA_DIST += msvc-nothrow.c msvc-nothrow.h
1203
1204 EXTRA_libgnu_a_SOURCES += msvc-nothrow.c
1205
1206 ## end   gnulib module msvc-nothrow
1207
1208 ## begin gnulib module open
1209
1210
1211 EXTRA_DIST += open.c
1212
1213 EXTRA_libgnu_a_SOURCES += open.c
1214
1215 ## end   gnulib module open
1216
1217 ## begin gnulib module openat
1218
1219
1220 EXTRA_DIST += openat.c
1221
1222 EXTRA_libgnu_a_SOURCES += openat.c
1223
1224 ## end   gnulib module openat
1225
1226 ## begin gnulib module openat-die
1227
1228 libgnu_a_SOURCES += openat-die.c
1229
1230 ## end   gnulib module openat-die
1231
1232 ## begin gnulib module openat-h
1233
1234
1235 EXTRA_DIST += openat.h
1236
1237 ## end   gnulib module openat-h
1238
1239 ## begin gnulib module opendir
1240
1241
1242 EXTRA_DIST += dirent-private.h opendir.c
1243
1244 EXTRA_libgnu_a_SOURCES += opendir.c
1245
1246 ## end   gnulib module opendir
1247
1248 ## begin gnulib module pathmax
1249
1250
1251 EXTRA_DIST += pathmax.h
1252
1253 ## end   gnulib module pathmax
1254
1255 ## begin gnulib module rawmemchr
1256
1257
1258 EXTRA_DIST += rawmemchr.c rawmemchr.valgrind
1259
1260 EXTRA_libgnu_a_SOURCES += rawmemchr.c
1261
1262 ## end   gnulib module rawmemchr
1263
1264 ## begin gnulib module readdir
1265
1266
1267 EXTRA_DIST += dirent-private.h readdir.c
1268
1269 EXTRA_libgnu_a_SOURCES += readdir.c
1270
1271 ## end   gnulib module readdir
1272
1273 ## begin gnulib module readlink
1274
1275
1276 EXTRA_DIST += readlink.c
1277
1278 EXTRA_libgnu_a_SOURCES += readlink.c
1279
1280 ## end   gnulib module readlink
1281
1282 ## begin gnulib module realloc-posix
1283
1284
1285 EXTRA_DIST += realloc.c
1286
1287 EXTRA_libgnu_a_SOURCES += realloc.c
1288
1289 ## end   gnulib module realloc-posix
1290
1291 ## begin gnulib module rename
1292
1293
1294 EXTRA_DIST += rename.c
1295
1296 EXTRA_libgnu_a_SOURCES += rename.c
1297
1298 ## end   gnulib module rename
1299
1300 ## begin gnulib module rewinddir
1301
1302
1303 EXTRA_DIST += dirent-private.h rewinddir.c
1304
1305 EXTRA_libgnu_a_SOURCES += rewinddir.c
1306
1307 ## end   gnulib module rewinddir
1308
1309 ## begin gnulib module rmdir
1310
1311
1312 EXTRA_DIST += rmdir.c
1313
1314 EXTRA_libgnu_a_SOURCES += rmdir.c
1315
1316 ## end   gnulib module rmdir
1317
1318 ## begin gnulib module same-inode
1319
1320
1321 EXTRA_DIST += same-inode.h
1322
1323 ## end   gnulib module same-inode
1324
1325 ## begin gnulib module save-cwd
1326
1327 libgnu_a_SOURCES += save-cwd.c
1328
1329 EXTRA_DIST += save-cwd.h
1330
1331 ## end   gnulib module save-cwd
1332
1333 ## begin gnulib module secure_getenv
1334
1335
1336 EXTRA_DIST += secure_getenv.c
1337
1338 EXTRA_libgnu_a_SOURCES += secure_getenv.c
1339
1340 ## end   gnulib module secure_getenv
1341
1342 ## begin gnulib module setenv
1343
1344
1345 EXTRA_DIST += setenv.c
1346
1347 EXTRA_libgnu_a_SOURCES += setenv.c
1348
1349 ## end   gnulib module setenv
1350
1351 ## begin gnulib module signal-h
1352
1353 BUILT_SOURCES += signal.h
1354
1355 # We need the following in order to create <signal.h> when the system
1356 # doesn't have a complete one.
1357 signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1358         $(AM_V_GEN)rm -f $@-t $@ && \
1359         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1360           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1361               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1362               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1363               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1364               -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \
1365               -e 's|@''GNULIB_PTHREAD_SIGMASK''@|$(GNULIB_PTHREAD_SIGMASK)|g' \
1366               -e 's|@''GNULIB_RAISE''@|$(GNULIB_RAISE)|g' \
1367               -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \
1368               -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \
1369               -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \
1370               -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \
1371               -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \
1372               -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \
1373               -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \
1374               -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \
1375               -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \
1376               -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \
1377               -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \
1378               -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \
1379               -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \
1380               -e 's|@''REPLACE_RAISE''@|$(REPLACE_RAISE)|g' \
1381               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1382               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1383               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1384               < $(srcdir)/signal.in.h; \
1385         } > $@-t && \
1386         mv $@-t $@
1387 MOSTLYCLEANFILES += signal.h signal.h-t
1388
1389 EXTRA_DIST += signal.in.h
1390
1391 ## end   gnulib module signal-h
1392
1393 ## begin gnulib module snippet/_Noreturn
1394
1395 # Because this Makefile snippet defines a variable used by other
1396 # gnulib Makefile snippets, it must be present in all Makefile.am that
1397 # need it. This is ensured by the applicability 'all' defined above.
1398
1399 _NORETURN_H=$(top_srcdir)/import/extra/snippet/_Noreturn.h
1400
1401 EXTRA_DIST += $(top_srcdir)/import/extra/snippet/_Noreturn.h
1402
1403 ## end   gnulib module snippet/_Noreturn
1404
1405 ## begin gnulib module snippet/arg-nonnull
1406
1407 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
1408 # statements but through direct file reference. Therefore this snippet must be
1409 # present in all Makefile.am that need it. This is ensured by the applicability
1410 # 'all' defined above.
1411
1412 BUILT_SOURCES += arg-nonnull.h
1413 # The arg-nonnull.h that gets inserted into generated .h files is the same as
1414 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
1415 # off.
1416 arg-nonnull.h: $(top_srcdir)/import/extra/snippet/arg-nonnull.h
1417         $(AM_V_GEN)rm -f $@-t $@ && \
1418         sed -n -e '/GL_ARG_NONNULL/,$$p' \
1419           < $(top_srcdir)/import/extra/snippet/arg-nonnull.h \
1420           > $@-t && \
1421         mv $@-t $@
1422 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
1423
1424 ARG_NONNULL_H=arg-nonnull.h
1425
1426 EXTRA_DIST += $(top_srcdir)/import/extra/snippet/arg-nonnull.h
1427
1428 ## end   gnulib module snippet/arg-nonnull
1429
1430 ## begin gnulib module snippet/c++defs
1431
1432 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
1433 # statements but through direct file reference. Therefore this snippet must be
1434 # present in all Makefile.am that need it. This is ensured by the applicability
1435 # 'all' defined above.
1436
1437 BUILT_SOURCES += c++defs.h
1438 # The c++defs.h that gets inserted into generated .h files is the same as
1439 # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
1440 c++defs.h: $(top_srcdir)/import/extra/snippet/c++defs.h
1441         $(AM_V_GEN)rm -f $@-t $@ && \
1442         sed -n -e '/_GL_CXXDEFS/,$$p' \
1443           < $(top_srcdir)/import/extra/snippet/c++defs.h \
1444           > $@-t && \
1445         mv $@-t $@
1446 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
1447
1448 CXXDEFS_H=c++defs.h
1449
1450 EXTRA_DIST += $(top_srcdir)/import/extra/snippet/c++defs.h
1451
1452 ## end   gnulib module snippet/c++defs
1453
1454 ## begin gnulib module snippet/warn-on-use
1455
1456 BUILT_SOURCES += warn-on-use.h
1457 # The warn-on-use.h that gets inserted into generated .h files is the same as
1458 # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
1459 # off.
1460 warn-on-use.h: $(top_srcdir)/import/extra/snippet/warn-on-use.h
1461         $(AM_V_GEN)rm -f $@-t $@ && \
1462         sed -n -e '/^.ifndef/,$$p' \
1463           < $(top_srcdir)/import/extra/snippet/warn-on-use.h \
1464           > $@-t && \
1465         mv $@-t $@
1466 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
1467
1468 WARN_ON_USE_H=warn-on-use.h
1469
1470 EXTRA_DIST += $(top_srcdir)/import/extra/snippet/warn-on-use.h
1471
1472 ## end   gnulib module snippet/warn-on-use
1473
1474 ## begin gnulib module stat
1475
1476
1477 EXTRA_DIST += stat.c
1478
1479 EXTRA_libgnu_a_SOURCES += stat.c
1480
1481 ## end   gnulib module stat
1482
1483 ## begin gnulib module stdbool
1484
1485 BUILT_SOURCES += $(STDBOOL_H)
1486
1487 # We need the following in order to create <stdbool.h> when the system
1488 # doesn't have one that works.
1489 if GL_GENERATE_STDBOOL_H
1490 stdbool.h: stdbool.in.h $(top_builddir)/config.status
1491         $(AM_V_GEN)rm -f $@-t $@ && \
1492         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1493           sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
1494         } > $@-t && \
1495         mv $@-t $@
1496 else
1497 stdbool.h: $(top_builddir)/config.status
1498         rm -f $@
1499 endif
1500 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
1501
1502 EXTRA_DIST += stdbool.in.h
1503
1504 ## end   gnulib module stdbool
1505
1506 ## begin gnulib module stddef
1507
1508 BUILT_SOURCES += $(STDDEF_H)
1509
1510 # We need the following in order to create <stddef.h> when the system
1511 # doesn't have one that works with the given compiler.
1512 if GL_GENERATE_STDDEF_H
1513 stddef.h: stddef.in.h $(top_builddir)/config.status
1514         $(AM_V_GEN)rm -f $@-t $@ && \
1515         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1516           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1517               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1518               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1519               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1520               -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
1521               -e 's|@''HAVE_MAX_ALIGN_T''@|$(HAVE_MAX_ALIGN_T)|g' \
1522               -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
1523               -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
1524               < $(srcdir)/stddef.in.h; \
1525         } > $@-t && \
1526         mv $@-t $@
1527 else
1528 stddef.h: $(top_builddir)/config.status
1529         rm -f $@
1530 endif
1531 MOSTLYCLEANFILES += stddef.h stddef.h-t
1532
1533 EXTRA_DIST += stddef.in.h
1534
1535 ## end   gnulib module stddef
1536
1537 ## begin gnulib module stdint
1538
1539 BUILT_SOURCES += $(STDINT_H)
1540
1541 # We need the following in order to create <stdint.h> when the system
1542 # doesn't have one that works with the given compiler.
1543 if GL_GENERATE_STDINT_H
1544 stdint.h: stdint.in.h $(top_builddir)/config.status
1545         $(AM_V_GEN)rm -f $@-t $@ && \
1546         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1547           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1548               -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
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_STDINT_H''@|$(NEXT_STDINT_H)|g' \
1553               -e 's/@''HAVE_C99_STDINT_H''@/$(HAVE_C99_STDINT_H)/g' \
1554               -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
1555               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
1556               -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
1557               -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
1558               -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
1559               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
1560               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
1561               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
1562               -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
1563               -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
1564               -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
1565               -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
1566               -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
1567               -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
1568               -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
1569               -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
1570               -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
1571               -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
1572               -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
1573               -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
1574               -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
1575               < $(srcdir)/stdint.in.h; \
1576         } > $@-t && \
1577         mv $@-t $@
1578 else
1579 stdint.h: $(top_builddir)/config.status
1580         rm -f $@
1581 endif
1582 MOSTLYCLEANFILES += stdint.h stdint.h-t
1583
1584 EXTRA_DIST += stdint.in.h
1585
1586 ## end   gnulib module stdint
1587
1588 ## begin gnulib module stdio
1589
1590 BUILT_SOURCES += stdio.h
1591
1592 # We need the following in order to create <stdio.h> when the system
1593 # doesn't have one that works with the given compiler.
1594 stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1595         $(AM_V_GEN)rm -f $@-t $@ && \
1596         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1597           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1598               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1599               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1600               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1601               -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
1602               -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
1603               -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
1604               -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \
1605               -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
1606               -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
1607               -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
1608               -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
1609               -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
1610               -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
1611               -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
1612               -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
1613               -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
1614               -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
1615               -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
1616               -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
1617               -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
1618               -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
1619               -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
1620               -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
1621               -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
1622               -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
1623               -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
1624               -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
1625               -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
1626               -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
1627               -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
1628               -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
1629               -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
1630               -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
1631               -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
1632               -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
1633               -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
1634               -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
1635               -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
1636               -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
1637               -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
1638               -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
1639               -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
1640               -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
1641               -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
1642               -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
1643               -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
1644               -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
1645               -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
1646               -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
1647               -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
1648               -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
1649               -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
1650               -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
1651               -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
1652               -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
1653               -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
1654               -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
1655               < $(srcdir)/stdio.in.h | \
1656           sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
1657               -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
1658               -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
1659               -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
1660               -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
1661               -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
1662               -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
1663               -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
1664               -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
1665               -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
1666               -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
1667               -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
1668               -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
1669               -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
1670               -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
1671               -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
1672               -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
1673               -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
1674               -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
1675               -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
1676               -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
1677               -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
1678               -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
1679               -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
1680               -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
1681               -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
1682               -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
1683               -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
1684               -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
1685               -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
1686               -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
1687               -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
1688               -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
1689               -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
1690               -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
1691               -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
1692               -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
1693               -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
1694               -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
1695               -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
1696               -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
1697               -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
1698               -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
1699               -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
1700               -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
1701               -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
1702               -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
1703               -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
1704               -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
1705               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1706               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1707               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1708         } > $@-t && \
1709         mv $@-t $@
1710 MOSTLYCLEANFILES += stdio.h stdio.h-t
1711
1712 EXTRA_DIST += stdio.in.h
1713
1714 ## end   gnulib module stdio
1715
1716 ## begin gnulib module stdlib
1717
1718 BUILT_SOURCES += stdlib.h
1719
1720 # We need the following in order to create <stdlib.h> when the system
1721 # doesn't have one that works with the given compiler.
1722 stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
1723   $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1724         $(AM_V_GEN)rm -f $@-t $@ && \
1725         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1726           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1727               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1728               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1729               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1730               -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
1731               -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
1732               -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
1733               -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
1734               -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
1735               -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
1736               -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
1737               -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
1738               -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
1739               -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
1740               -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
1741               -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
1742               -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
1743               -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
1744               -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
1745               -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
1746               -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
1747               -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
1748               -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
1749               -e 's/@''GNULIB_QSORT_R''@/$(GNULIB_QSORT_R)/g' \
1750               -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
1751               -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
1752               -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
1753               -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
1754               -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
1755               -e 's/@''GNULIB_SECURE_GETENV''@/$(GNULIB_SECURE_GETENV)/g' \
1756               -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
1757               -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
1758               -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
1759               -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
1760               -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
1761               -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
1762               -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
1763               -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
1764               < $(srcdir)/stdlib.in.h | \
1765           sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
1766               -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
1767               -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
1768               -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
1769               -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
1770               -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
1771               -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
1772               -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
1773               -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
1774               -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
1775               -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
1776               -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
1777               -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
1778               -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
1779               -e 's|@''HAVE_QSORT_R''@|$(HAVE_QSORT_R)|g' \
1780               -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
1781               -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
1782               -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
1783               -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
1784               -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
1785               -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \
1786               -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
1787               -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
1788               -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
1789               -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
1790               -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
1791               -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
1792               -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
1793               -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
1794               -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
1795               -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
1796               -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
1797               -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
1798               -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
1799               -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \
1800               -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
1801               -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
1802               -e 's|@''REPLACE_QSORT_R''@|$(REPLACE_QSORT_R)|g' \
1803               -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
1804               -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
1805               -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
1806               -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
1807               -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
1808               -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
1809               -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
1810               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1811               -e '/definition of _Noreturn/r $(_NORETURN_H)' \
1812               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1813               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1814         } > $@-t && \
1815         mv $@-t $@
1816 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
1817
1818 EXTRA_DIST += stdlib.in.h
1819
1820 ## end   gnulib module stdlib
1821
1822 ## begin gnulib module strchrnul
1823
1824
1825 EXTRA_DIST += strchrnul.c strchrnul.valgrind
1826
1827 EXTRA_libgnu_a_SOURCES += strchrnul.c
1828
1829 ## end   gnulib module strchrnul
1830
1831 ## begin gnulib module strdup-posix
1832
1833
1834 EXTRA_DIST += strdup.c
1835
1836 EXTRA_libgnu_a_SOURCES += strdup.c
1837
1838 ## end   gnulib module strdup-posix
1839
1840 ## begin gnulib module streq
1841
1842
1843 EXTRA_DIST += streq.h
1844
1845 ## end   gnulib module streq
1846
1847 ## begin gnulib module strerror
1848
1849
1850 EXTRA_DIST += strerror.c
1851
1852 EXTRA_libgnu_a_SOURCES += strerror.c
1853
1854 ## end   gnulib module strerror
1855
1856 ## begin gnulib module strerror-override
1857
1858
1859 EXTRA_DIST += strerror-override.c strerror-override.h
1860
1861 EXTRA_libgnu_a_SOURCES += strerror-override.c
1862
1863 ## end   gnulib module strerror-override
1864
1865 ## begin gnulib module string
1866
1867 BUILT_SOURCES += string.h
1868
1869 # We need the following in order to create <string.h> when the system
1870 # doesn't have one that works with the given compiler.
1871 string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1872         $(AM_V_GEN)rm -f $@-t $@ && \
1873         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1874           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1875               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1876               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1877               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1878               -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
1879               -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \
1880               -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \
1881               -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
1882               -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
1883               -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
1884               -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
1885               -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
1886               -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
1887               -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
1888               -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
1889               -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
1890               -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
1891               -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
1892               -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
1893               -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
1894               -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
1895               -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
1896               -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
1897               -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
1898               -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
1899               -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
1900               -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
1901               -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
1902               -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
1903               -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
1904               -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
1905               -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
1906               -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
1907               -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
1908               -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
1909               -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
1910               -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
1911               -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
1912               -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
1913               -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
1914               -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
1915               -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
1916               < $(srcdir)/string.in.h | \
1917           sed -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
1918               -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
1919               -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
1920               -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
1921               -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
1922               -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
1923               -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
1924               -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
1925               -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
1926               -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
1927               -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
1928               -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
1929               -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
1930               -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
1931               -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
1932               -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
1933               -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
1934               -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
1935               -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
1936               -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
1937               -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
1938               -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
1939               -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
1940               -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
1941               -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
1942               -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
1943               -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
1944               -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
1945               -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
1946               -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
1947               -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
1948               -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
1949               -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
1950               -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
1951               -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
1952               -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
1953               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1954               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1955               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1956               < $(srcdir)/string.in.h; \
1957         } > $@-t && \
1958         mv $@-t $@
1959 MOSTLYCLEANFILES += string.h string.h-t
1960
1961 EXTRA_DIST += string.in.h
1962
1963 ## end   gnulib module string
1964
1965 ## begin gnulib module strnlen1
1966
1967 libgnu_a_SOURCES += strnlen1.h strnlen1.c
1968
1969 ## end   gnulib module strnlen1
1970
1971 ## begin gnulib module strstr-simple
1972
1973
1974 EXTRA_DIST += str-two-way.h strstr.c
1975
1976 EXTRA_libgnu_a_SOURCES += strstr.c
1977
1978 ## end   gnulib module strstr-simple
1979
1980 ## begin gnulib module strtok_r
1981
1982
1983 EXTRA_DIST += strtok_r.c
1984
1985 EXTRA_libgnu_a_SOURCES += strtok_r.c
1986
1987 ## end   gnulib module strtok_r
1988
1989 ## begin gnulib module sys_stat
1990
1991 BUILT_SOURCES += sys/stat.h
1992
1993 # We need the following in order to create <sys/stat.h> when the system
1994 # has one that is incomplete.
1995 sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1996         $(AM_V_at)$(MKDIR_P) sys
1997         $(AM_V_GEN)rm -f $@-t $@ && \
1998         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1999           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2000               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2001               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2002               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2003               -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
2004               -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \
2005               -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
2006               -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \
2007               -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
2008               -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \
2009               -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \
2010               -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \
2011               -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \
2012               -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \
2013               -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \
2014               -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \
2015               -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \
2016               -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \
2017               -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \
2018               -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
2019               -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
2020               -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
2021               -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
2022               -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
2023               -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
2024               -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
2025               -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
2026               -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
2027               -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
2028               -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
2029               -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
2030               -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
2031               -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
2032               -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
2033               -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
2034               -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
2035               -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
2036               -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
2037               -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
2038               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2039               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2040               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2041               < $(srcdir)/sys_stat.in.h; \
2042         } > $@-t && \
2043         mv $@-t $@
2044 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
2045 MOSTLYCLEANDIRS += sys
2046
2047 EXTRA_DIST += sys_stat.in.h
2048
2049 ## end   gnulib module sys_stat
2050
2051 ## begin gnulib module sys_time
2052
2053 BUILT_SOURCES += sys/time.h
2054
2055 # We need the following in order to create <sys/time.h> when the system
2056 # doesn't have one that works with the given compiler.
2057 sys/time.h: sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2058         $(AM_V_at)$(MKDIR_P) sys
2059         $(AM_V_GEN)rm -f $@-t $@ && \
2060         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2061           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2062               -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
2063               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2064               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2065               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2066               -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
2067               -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
2068               -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
2069               -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \
2070               -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
2071               -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
2072               -e 's/@''REPLACE_STRUCT_TIMEVAL''@/$(REPLACE_STRUCT_TIMEVAL)/g' \
2073               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2074               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2075               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2076               < $(srcdir)/sys_time.in.h; \
2077         } > $@-t && \
2078         mv $@-t $@
2079 MOSTLYCLEANFILES += sys/time.h sys/time.h-t
2080
2081 EXTRA_DIST += sys_time.in.h
2082
2083 ## end   gnulib module sys_time
2084
2085 ## begin gnulib module sys_types
2086
2087 BUILT_SOURCES += sys/types.h
2088
2089 # We need the following in order to create <sys/types.h> when the system
2090 # doesn't have one that works with the given compiler.
2091 sys/types.h: sys_types.in.h $(top_builddir)/config.status
2092         $(AM_V_at)$(MKDIR_P) sys
2093         $(AM_V_GEN)rm -f $@-t $@ && \
2094         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2095           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2096               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2097               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2098               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2099               -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
2100               -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
2101               < $(srcdir)/sys_types.in.h; \
2102         } > $@-t && \
2103         mv $@-t $@
2104 MOSTLYCLEANFILES += sys/types.h sys/types.h-t
2105
2106 EXTRA_DIST += sys_types.in.h
2107
2108 ## end   gnulib module sys_types
2109
2110 ## begin gnulib module tempname
2111
2112 libgnu_a_SOURCES += tempname.c
2113
2114 EXTRA_DIST += tempname.h
2115
2116 ## end   gnulib module tempname
2117
2118 ## begin gnulib module time
2119
2120 BUILT_SOURCES += time.h
2121
2122 # We need the following in order to create <time.h> when the system
2123 # doesn't have one that works with the given compiler.
2124 time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2125         $(AM_V_GEN)rm -f $@-t $@ && \
2126         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
2127           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2128               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2129               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2130               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2131               -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
2132               -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
2133               -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
2134               -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
2135               -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
2136               -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \
2137               -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \
2138               -e 's/@''GNULIB_TIME_RZ''@/$(GNULIB_TIME_RZ)/g' \
2139               -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
2140               -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
2141               -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
2142               -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
2143               -e 's|@''HAVE_TIMEZONE_T''@|$(HAVE_TIMEZONE_T)|g' \
2144               -e 's|@''REPLACE_GMTIME''@|$(REPLACE_GMTIME)|g' \
2145               -e 's|@''REPLACE_LOCALTIME''@|$(REPLACE_LOCALTIME)|g' \
2146               -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
2147               -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
2148               -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
2149               -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
2150               -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
2151               -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
2152               -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
2153               -e 's|@''UNISTD_H_DEFINES_STRUCT_TIMESPEC''@|$(UNISTD_H_DEFINES_STRUCT_TIMESPEC)|g' \
2154               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2155               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2156               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2157               < $(srcdir)/time.in.h; \
2158         } > $@-t && \
2159         mv $@-t $@
2160 MOSTLYCLEANFILES += time.h time.h-t
2161
2162 EXTRA_DIST += time.in.h
2163
2164 ## end   gnulib module time
2165
2166 ## begin gnulib module unistd
2167
2168 BUILT_SOURCES += unistd.h
2169 libgnu_a_SOURCES += unistd.c
2170
2171 # We need the following in order to create an empty placeholder for
2172 # <unistd.h> when the system doesn't have one.
2173 unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2174         $(AM_V_GEN)rm -f $@-t $@ && \
2175         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2176           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2177               -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
2178               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2179               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2180               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2181               -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
2182               -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
2183               -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
2184               -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
2185               -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
2186               -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \
2187               -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
2188               -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
2189               -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
2190               -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
2191               -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
2192               -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
2193               -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
2194               -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \
2195               -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
2196               -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
2197               -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
2198               -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
2199               -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
2200               -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
2201               -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
2202               -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
2203               -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
2204               -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
2205               -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
2206               -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
2207               -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \
2208               -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
2209               -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
2210               -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
2211               -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
2212               -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
2213               -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
2214               -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
2215               -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
2216               -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
2217               -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
2218               -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
2219               -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
2220               -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \
2221               -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
2222               -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
2223               -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
2224               -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
2225               -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \
2226               -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
2227               -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
2228               -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
2229               -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
2230               -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
2231               -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
2232               < $(srcdir)/unistd.in.h | \
2233           sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
2234               -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
2235               -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
2236               -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
2237               -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
2238               -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
2239               -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
2240               -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
2241               -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
2242               -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
2243               -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
2244               -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
2245               -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
2246               -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
2247               -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
2248               -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
2249               -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
2250               -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
2251               -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
2252               -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
2253               -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
2254               -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
2255               -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
2256               -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
2257               -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
2258               -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
2259               -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
2260               -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
2261               -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
2262               -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
2263               -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
2264               -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
2265               -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
2266               -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
2267               -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
2268               -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
2269               -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
2270               -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
2271               -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
2272               -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
2273               -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
2274               -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
2275           | \
2276           sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
2277               -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
2278               -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
2279               -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
2280               -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
2281               -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
2282               -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
2283               -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
2284               -e 's|@''REPLACE_GETDTABLESIZE''@|$(REPLACE_GETDTABLESIZE)|g' \
2285               -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
2286               -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
2287               -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
2288               -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
2289               -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
2290               -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
2291               -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
2292               -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
2293               -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
2294               -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
2295               -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
2296               -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
2297               -e 's|@''REPLACE_READLINKAT''@|$(REPLACE_READLINKAT)|g' \
2298               -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
2299               -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
2300               -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
2301               -e 's|@''REPLACE_SYMLINKAT''@|$(REPLACE_SYMLINKAT)|g' \
2302               -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
2303               -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
2304               -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
2305               -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
2306               -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
2307               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
2308               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
2309               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2310               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2311               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
2312         } > $@-t && \
2313         mv $@-t $@
2314 MOSTLYCLEANFILES += unistd.h unistd.h-t
2315
2316 EXTRA_DIST += unistd.in.h
2317
2318 ## end   gnulib module unistd
2319
2320 ## begin gnulib module unistd-safer
2321
2322 libgnu_a_SOURCES += dup-safer.c fd-safer.c pipe-safer.c
2323
2324 EXTRA_DIST += unistd--.h unistd-safer.h
2325
2326 ## end   gnulib module unistd-safer
2327
2328 ## begin gnulib module unsetenv
2329
2330
2331 EXTRA_DIST += unsetenv.c
2332
2333 EXTRA_libgnu_a_SOURCES += unsetenv.c
2334
2335 ## end   gnulib module unsetenv
2336
2337 ## begin gnulib module update-copyright
2338
2339
2340 EXTRA_DIST += $(top_srcdir)/import/extra/update-copyright
2341
2342 ## end   gnulib module update-copyright
2343
2344 ## begin gnulib module verify
2345
2346
2347 EXTRA_DIST += verify.h
2348
2349 ## end   gnulib module verify
2350
2351 ## begin gnulib module wchar
2352
2353 BUILT_SOURCES += wchar.h
2354
2355 # We need the following in order to create <wchar.h> when the system
2356 # version does not work standalone.
2357 wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2358         $(AM_V_GEN)rm -f $@-t $@ && \
2359         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2360           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2361               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2362               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2363               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2364               -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
2365               -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
2366               -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
2367               -e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \
2368               -e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \
2369               -e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \
2370               -e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \
2371               -e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \
2372               -e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \
2373               -e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \
2374               -e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \
2375               -e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \
2376               -e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \
2377               -e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \
2378               -e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \
2379               -e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \
2380               -e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \
2381               -e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \
2382               -e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \
2383               -e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \
2384               -e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \
2385               -e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \
2386               -e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \
2387               -e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \
2388               -e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \
2389               -e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \
2390               -e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \
2391               -e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \
2392               -e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \
2393               -e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \
2394               -e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \
2395               -e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \
2396               -e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \
2397               -e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \
2398               -e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \
2399               -e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \
2400               -e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \
2401               -e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \
2402               -e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \
2403               -e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \
2404               -e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \
2405               -e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \
2406               < $(srcdir)/wchar.in.h | \
2407           sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
2408               -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
2409               -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
2410               -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
2411               -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
2412               -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
2413               -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
2414               -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
2415               -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
2416               -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
2417               -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
2418               -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
2419               -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
2420               -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
2421               -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
2422               -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
2423               -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
2424               -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
2425               -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
2426               -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
2427               -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
2428               -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
2429               -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
2430               -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
2431               -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
2432               -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
2433               -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
2434               -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
2435               -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
2436               -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
2437               -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
2438               -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
2439               -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
2440               -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
2441               -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
2442               -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
2443               -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
2444               -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
2445               -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
2446               -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
2447           | \
2448           sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
2449               -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
2450               -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
2451               -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
2452               -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
2453               -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
2454               -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
2455               -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
2456               -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
2457               -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
2458               -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
2459               -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
2460               -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
2461               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2462               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2463               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
2464         } > $@-t && \
2465         mv $@-t $@
2466 MOSTLYCLEANFILES += wchar.h wchar.h-t
2467
2468 EXTRA_DIST += wchar.in.h
2469
2470 ## end   gnulib module wchar
2471
2472 ## begin gnulib module wctype-h
2473
2474 BUILT_SOURCES += wctype.h
2475 libgnu_a_SOURCES += wctype-h.c
2476
2477 # We need the following in order to create <wctype.h> when the system
2478 # doesn't have one that works with the given compiler.
2479 wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
2480         $(AM_V_GEN)rm -f $@-t $@ && \
2481         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2482           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2483               -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
2484               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2485               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2486               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2487               -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
2488               -e 's/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \
2489               -e 's/@''GNULIB_WCTYPE''@/$(GNULIB_WCTYPE)/g' \
2490               -e 's/@''GNULIB_ISWCTYPE''@/$(GNULIB_ISWCTYPE)/g' \
2491               -e 's/@''GNULIB_WCTRANS''@/$(GNULIB_WCTRANS)/g' \
2492               -e 's/@''GNULIB_TOWCTRANS''@/$(GNULIB_TOWCTRANS)/g' \
2493               -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
2494               -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
2495               -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \
2496               -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \
2497               -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
2498               -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \
2499               -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
2500               -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \
2501               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2502               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2503               < $(srcdir)/wctype.in.h; \
2504         } > $@-t && \
2505         mv $@-t $@
2506 MOSTLYCLEANFILES += wctype.h wctype.h-t
2507
2508 EXTRA_DIST += wctype.in.h
2509
2510 ## end   gnulib module wctype-h
2511
2512
2513 mostlyclean-local: mostlyclean-generic
2514         @for dir in '' $(MOSTLYCLEANDIRS); do \
2515           if test -n "$$dir" && test -d $$dir; then \
2516             echo "rmdir $$dir"; rmdir $$dir; \
2517           fi; \
2518         done; \
2519         :