Import rename module
[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-2012 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 --dir=. --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 inttypes lstat memchr memmem pathmax readlink rename strstr sys_stat unistd update-copyright wchar wctype-h
25
26 AUTOMAKE_OPTIONS = 1.5 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 alloca
53
54
55 libgnu_a_LIBADD += @ALLOCA@
56 libgnu_a_DEPENDENCIES += @ALLOCA@
57 EXTRA_DIST += alloca.c
58
59 EXTRA_libgnu_a_SOURCES += alloca.c
60
61 ## end   gnulib module alloca
62
63 ## begin gnulib module alloca-opt
64
65 BUILT_SOURCES += $(ALLOCA_H)
66
67 # We need the following in order to create <alloca.h> when the system
68 # doesn't have one that works with the given compiler.
69 if GL_GENERATE_ALLOCA_H
70 alloca.h: alloca.in.h $(top_builddir)/config.status
71         $(AM_V_GEN)rm -f $@-t $@ && \
72         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
73           cat $(srcdir)/alloca.in.h; \
74         } > $@-t && \
75         mv -f $@-t $@
76 else
77 alloca.h: $(top_builddir)/config.status
78         rm -f $@
79 endif
80 MOSTLYCLEANFILES += alloca.h alloca.h-t
81
82 EXTRA_DIST += alloca.in.h
83
84 ## end   gnulib module alloca-opt
85
86 ## begin gnulib module canonicalize-lgpl
87
88
89 EXTRA_DIST += canonicalize-lgpl.c
90
91 EXTRA_libgnu_a_SOURCES += canonicalize-lgpl.c
92
93 ## end   gnulib module canonicalize-lgpl
94
95 ## begin gnulib module configmake
96
97 # Listed in the same order as the GNU makefile conventions, and
98 # provided by autoconf 2.59c+.
99 # The Automake-defined pkg* macros are appended, in the order
100 # listed in the Automake 1.10a+ documentation.
101 configmake.h: Makefile
102         $(AM_V_GEN)rm -f $@-t && \
103         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
104           echo '#define PREFIX "$(prefix)"'; \
105           echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
106           echo '#define BINDIR "$(bindir)"'; \
107           echo '#define SBINDIR "$(sbindir)"'; \
108           echo '#define LIBEXECDIR "$(libexecdir)"'; \
109           echo '#define DATAROOTDIR "$(datarootdir)"'; \
110           echo '#define DATADIR "$(datadir)"'; \
111           echo '#define SYSCONFDIR "$(sysconfdir)"'; \
112           echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
113           echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
114           echo '#define INCLUDEDIR "$(includedir)"'; \
115           echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
116           echo '#define DOCDIR "$(docdir)"'; \
117           echo '#define INFODIR "$(infodir)"'; \
118           echo '#define HTMLDIR "$(htmldir)"'; \
119           echo '#define DVIDIR "$(dvidir)"'; \
120           echo '#define PDFDIR "$(pdfdir)"'; \
121           echo '#define PSDIR "$(psdir)"'; \
122           echo '#define LIBDIR "$(libdir)"'; \
123           echo '#define LISPDIR "$(lispdir)"'; \
124           echo '#define LOCALEDIR "$(localedir)"'; \
125           echo '#define MANDIR "$(mandir)"'; \
126           echo '#define MANEXT "$(manext)"'; \
127           echo '#define PKGDATADIR "$(pkgdatadir)"'; \
128           echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
129           echo '#define PKGLIBDIR "$(pkglibdir)"'; \
130           echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
131         } | sed '/""/d' > $@-t && \
132         mv -f $@-t $@
133
134 BUILT_SOURCES += configmake.h
135 CLEANFILES += configmake.h configmake.h-t
136
137 ## end   gnulib module configmake
138
139 ## begin gnulib module dirent
140
141 BUILT_SOURCES += dirent.h
142
143 # We need the following in order to create <dirent.h> when the system
144 # doesn't have one that works with the given compiler.
145 dirent.h: dirent.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
146         $(AM_V_GEN)rm -f $@-t $@ && \
147         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
148           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
149               -e 's|@''HAVE_DIRENT_H''@|$(HAVE_DIRENT_H)|g' \
150               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
151               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
152               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
153               -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \
154               -e 's/@''GNULIB_OPENDIR''@/$(GNULIB_OPENDIR)/g' \
155               -e 's/@''GNULIB_READDIR''@/$(GNULIB_READDIR)/g' \
156               -e 's/@''GNULIB_REWINDDIR''@/$(GNULIB_REWINDDIR)/g' \
157               -e 's/@''GNULIB_CLOSEDIR''@/$(GNULIB_CLOSEDIR)/g' \
158               -e 's/@''GNULIB_DIRFD''@/$(GNULIB_DIRFD)/g' \
159               -e 's/@''GNULIB_FDOPENDIR''@/$(GNULIB_FDOPENDIR)/g' \
160               -e 's/@''GNULIB_SCANDIR''@/$(GNULIB_SCANDIR)/g' \
161               -e 's/@''GNULIB_ALPHASORT''@/$(GNULIB_ALPHASORT)/g' \
162               -e 's/@''HAVE_OPENDIR''@/$(HAVE_OPENDIR)/g' \
163               -e 's/@''HAVE_READDIR''@/$(HAVE_READDIR)/g' \
164               -e 's/@''HAVE_REWINDDIR''@/$(HAVE_REWINDDIR)/g' \
165               -e 's/@''HAVE_CLOSEDIR''@/$(HAVE_CLOSEDIR)/g' \
166               -e 's|@''HAVE_DECL_DIRFD''@|$(HAVE_DECL_DIRFD)|g' \
167               -e 's|@''HAVE_DECL_FDOPENDIR''@|$(HAVE_DECL_FDOPENDIR)|g' \
168               -e 's|@''HAVE_FDOPENDIR''@|$(HAVE_FDOPENDIR)|g' \
169               -e 's|@''HAVE_SCANDIR''@|$(HAVE_SCANDIR)|g' \
170               -e 's|@''HAVE_ALPHASORT''@|$(HAVE_ALPHASORT)|g' \
171               -e 's|@''REPLACE_OPENDIR''@|$(REPLACE_OPENDIR)|g' \
172               -e 's|@''REPLACE_CLOSEDIR''@|$(REPLACE_CLOSEDIR)|g' \
173               -e 's|@''REPLACE_DIRFD''@|$(REPLACE_DIRFD)|g' \
174               -e 's|@''REPLACE_FDOPENDIR''@|$(REPLACE_FDOPENDIR)|g' \
175               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
176               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
177               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
178               < $(srcdir)/dirent.in.h; \
179         } > $@-t && \
180         mv $@-t $@
181 MOSTLYCLEANFILES += dirent.h dirent.h-t
182
183 EXTRA_DIST += dirent.in.h
184
185 ## end   gnulib module dirent
186
187 ## begin gnulib module dirfd
188
189
190 EXTRA_DIST += dirfd.c
191
192 EXTRA_libgnu_a_SOURCES += dirfd.c
193
194 ## end   gnulib module dirfd
195
196 ## begin gnulib module dirname-lgpl
197
198 libgnu_a_SOURCES += dirname-lgpl.c basename-lgpl.c stripslash.c
199
200 EXTRA_DIST += dirname.h
201
202 ## end   gnulib module dirname-lgpl
203
204 ## begin gnulib module dosname
205
206
207 EXTRA_DIST += dosname.h
208
209 ## end   gnulib module dosname
210
211 ## begin gnulib module errno
212
213 BUILT_SOURCES += $(ERRNO_H)
214
215 # We need the following in order to create <errno.h> when the system
216 # doesn't have one that is POSIX compliant.
217 if GL_GENERATE_ERRNO_H
218 errno.h: errno.in.h $(top_builddir)/config.status
219         $(AM_V_GEN)rm -f $@-t $@ && \
220         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
221           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
222               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
223               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
224               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
225               -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
226               -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
227               -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
228               -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
229               -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
230               -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
231               -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
232               < $(srcdir)/errno.in.h; \
233         } > $@-t && \
234         mv $@-t $@
235 else
236 errno.h: $(top_builddir)/config.status
237         rm -f $@
238 endif
239 MOSTLYCLEANFILES += errno.h errno.h-t
240
241 EXTRA_DIST += errno.in.h
242
243 ## end   gnulib module errno
244
245 ## begin gnulib module float
246
247 BUILT_SOURCES += $(FLOAT_H)
248
249 # We need the following in order to create <float.h> when the system
250 # doesn't have one that works with the given compiler.
251 if GL_GENERATE_FLOAT_H
252 float.h: float.in.h $(top_builddir)/config.status
253         $(AM_V_GEN)rm -f $@-t $@ && \
254         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
255           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
256               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
257               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
258               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
259               -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
260               -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \
261               < $(srcdir)/float.in.h; \
262         } > $@-t && \
263         mv $@-t $@
264 else
265 float.h: $(top_builddir)/config.status
266         rm -f $@
267 endif
268 MOSTLYCLEANFILES += float.h float.h-t
269
270 EXTRA_DIST += float.c float.in.h itold.c
271
272 EXTRA_libgnu_a_SOURCES += float.c itold.c
273
274 ## end   gnulib module float
275
276 ## begin gnulib module fnmatch
277
278 BUILT_SOURCES += $(FNMATCH_H)
279
280 # We need the following in order to create <fnmatch.h> when the system
281 # doesn't have one that supports the required API.
282 if GL_GENERATE_FNMATCH_H
283 fnmatch.h: fnmatch.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
284         $(AM_V_GEN)rm -f $@-t $@ && \
285         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
286           sed -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
287               < $(srcdir)/fnmatch.in.h; \
288         } > $@-t && \
289         mv -f $@-t $@
290 else
291 fnmatch.h: $(top_builddir)/config.status
292         rm -f $@
293 endif
294 MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
295
296 EXTRA_DIST += fnmatch.c fnmatch.in.h fnmatch_loop.c
297
298 EXTRA_libgnu_a_SOURCES += fnmatch.c fnmatch_loop.c
299
300 ## end   gnulib module fnmatch
301
302 ## begin gnulib module fpucw
303
304
305 EXTRA_DIST += fpucw.h
306
307 ## end   gnulib module fpucw
308
309 ## begin gnulib module frexp
310
311
312 EXTRA_DIST += frexp.c
313
314 EXTRA_libgnu_a_SOURCES += frexp.c
315
316 ## end   gnulib module frexp
317
318 ## begin gnulib module frexpl
319
320
321 EXTRA_DIST += frexp.c frexpl.c
322
323 EXTRA_libgnu_a_SOURCES += frexp.c frexpl.c
324
325 ## end   gnulib module frexpl
326
327 ## begin gnulib module inttypes-incomplete
328
329 BUILT_SOURCES += inttypes.h
330
331 # We need the following in order to create <inttypes.h> when the system
332 # doesn't have one that works with the given compiler.
333 inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
334         $(AM_V_GEN)rm -f $@-t $@ && \
335         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
336           sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
337               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
338               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
339               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
340               -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
341               -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
342               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
343               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
344               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
345               -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
346               -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \
347               -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \
348               -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \
349               -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \
350               -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
351               -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
352               -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
353               -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
354               -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \
355               -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
356               -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
357               -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
358               -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
359               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
360               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
361               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
362               < $(srcdir)/inttypes.in.h; \
363         } > $@-t && \
364         mv $@-t $@
365 MOSTLYCLEANFILES += inttypes.h inttypes.h-t
366
367 EXTRA_DIST += inttypes.in.h
368
369 ## end   gnulib module inttypes-incomplete
370
371 ## begin gnulib module isnand-nolibm
372
373
374 EXTRA_DIST += float+.h isnan.c isnand-nolibm.h isnand.c
375
376 EXTRA_libgnu_a_SOURCES += isnan.c isnand.c
377
378 ## end   gnulib module isnand-nolibm
379
380 ## begin gnulib module isnanl-nolibm
381
382
383 EXTRA_DIST += float+.h isnan.c isnanl-nolibm.h isnanl.c
384
385 EXTRA_libgnu_a_SOURCES += isnan.c isnanl.c
386
387 ## end   gnulib module isnanl-nolibm
388
389 ## begin gnulib module localcharset
390
391 libgnu_a_SOURCES += localcharset.h localcharset.c
392
393 # We need the following in order to install a simple file in $(libdir)
394 # which is shared with other installed packages. We use a list of referencing
395 # packages so that "make uninstall" will remove the file if and only if it
396 # is not used by another installed package.
397 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
398 # avoid installing it.
399
400 all-local: charset.alias ref-add.sed ref-del.sed
401
402 charset_alias = $(DESTDIR)$(libdir)/charset.alias
403 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
404 install-exec-local: install-exec-localcharset
405 install-exec-localcharset: all-local
406         if test $(GLIBC21) = no; then \
407           case '$(host_os)' in \
408             darwin[56]*) \
409               need_charset_alias=true ;; \
410             darwin* | cygwin* | mingw* | pw32* | cegcc*) \
411               need_charset_alias=false ;; \
412             *) \
413               need_charset_alias=true ;; \
414           esac ; \
415         else \
416           need_charset_alias=false ; \
417         fi ; \
418         if $$need_charset_alias; then \
419           $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
420         fi ; \
421         if test -f $(charset_alias); then \
422           sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
423           $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
424           rm -f $(charset_tmp) ; \
425         else \
426           if $$need_charset_alias; then \
427             sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
428             $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
429             rm -f $(charset_tmp) ; \
430           fi ; \
431         fi
432
433 uninstall-local: uninstall-localcharset
434 uninstall-localcharset: all-local
435         if test -f $(charset_alias); then \
436           sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
437           if grep '^# Packages using this file: $$' $(charset_tmp) \
438               > /dev/null; then \
439             rm -f $(charset_alias); \
440           else \
441             $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
442           fi; \
443           rm -f $(charset_tmp); \
444         fi
445
446 charset.alias: config.charset
447         $(AM_V_GEN)rm -f t-$@ $@ && \
448         $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
449         mv t-$@ $@
450
451 SUFFIXES += .sed .sin
452 .sin.sed:
453         $(AM_V_GEN)rm -f t-$@ $@ && \
454         sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
455         mv t-$@ $@
456
457 CLEANFILES += charset.alias ref-add.sed ref-del.sed
458
459 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
460
461 ## end   gnulib module localcharset
462
463 ## begin gnulib module lstat
464
465
466 EXTRA_DIST += lstat.c
467
468 EXTRA_libgnu_a_SOURCES += lstat.c
469
470 ## end   gnulib module lstat
471
472 ## begin gnulib module malloc-posix
473
474
475 EXTRA_DIST += malloc.c
476
477 EXTRA_libgnu_a_SOURCES += malloc.c
478
479 ## end   gnulib module malloc-posix
480
481 ## begin gnulib module malloca
482
483 libgnu_a_SOURCES += malloca.c
484
485 EXTRA_DIST += malloca.h malloca.valgrind
486
487 ## end   gnulib module malloca
488
489 ## begin gnulib module math
490
491 BUILT_SOURCES += math.h
492 libgnu_a_SOURCES += math.c
493
494 # We need the following in order to create <math.h> when the system
495 # doesn't have one that works with the given compiler.
496 math.h: math.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
497         $(AM_V_GEN)rm -f $@-t $@ && \
498         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
499           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
500               -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \
501               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
502               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
503               -e 's|@''NEXT_AS_FIRST_DIRECTIVE_MATH_H''@|$(NEXT_AS_FIRST_DIRECTIVE_MATH_H)|g' \
504               -e 's/@''GNULIB_ACOSF''@/$(GNULIB_ACOSF)/g' \
505               -e 's/@''GNULIB_ACOSL''@/$(GNULIB_ACOSL)/g' \
506               -e 's/@''GNULIB_ASINF''@/$(GNULIB_ASINF)/g' \
507               -e 's/@''GNULIB_ASINL''@/$(GNULIB_ASINL)/g' \
508               -e 's/@''GNULIB_ATANF''@/$(GNULIB_ATANF)/g' \
509               -e 's/@''GNULIB_ATANL''@/$(GNULIB_ATANL)/g' \
510               -e 's/@''GNULIB_ATAN2F''@/$(GNULIB_ATAN2F)/g' \
511               -e 's/@''GNULIB_CBRT''@/$(GNULIB_CBRT)/g' \
512               -e 's/@''GNULIB_CBRTF''@/$(GNULIB_CBRTF)/g' \
513               -e 's/@''GNULIB_CBRTL''@/$(GNULIB_CBRTL)/g' \
514               -e 's/@''GNULIB_CEIL''@/$(GNULIB_CEIL)/g' \
515               -e 's/@''GNULIB_CEILF''@/$(GNULIB_CEILF)/g' \
516               -e 's/@''GNULIB_CEILL''@/$(GNULIB_CEILL)/g' \
517               -e 's/@''GNULIB_COPYSIGN''@/$(GNULIB_COPYSIGN)/g' \
518               -e 's/@''GNULIB_COPYSIGNF''@/$(GNULIB_COPYSIGNF)/g' \
519               -e 's/@''GNULIB_COPYSIGNL''@/$(GNULIB_COPYSIGNL)/g' \
520               -e 's/@''GNULIB_COSF''@/$(GNULIB_COSF)/g' \
521               -e 's/@''GNULIB_COSL''@/$(GNULIB_COSL)/g' \
522               -e 's/@''GNULIB_COSHF''@/$(GNULIB_COSHF)/g' \
523               -e 's/@''GNULIB_EXPF''@/$(GNULIB_EXPF)/g' \
524               -e 's/@''GNULIB_EXPL''@/$(GNULIB_EXPL)/g' \
525               -e 's/@''GNULIB_EXP2''@/$(GNULIB_EXP2)/g' \
526               -e 's/@''GNULIB_EXP2F''@/$(GNULIB_EXP2F)/g' \
527               -e 's/@''GNULIB_EXP2L''@/$(GNULIB_EXP2L)/g' \
528               -e 's/@''GNULIB_EXPM1''@/$(GNULIB_EXPM1)/g' \
529               -e 's/@''GNULIB_EXPM1F''@/$(GNULIB_EXPM1F)/g' \
530               -e 's/@''GNULIB_EXPM1L''@/$(GNULIB_EXPM1L)/g' \
531               -e 's/@''GNULIB_FABSF''@/$(GNULIB_FABSF)/g' \
532               -e 's/@''GNULIB_FABSL''@/$(GNULIB_FABSL)/g' \
533               -e 's/@''GNULIB_FLOOR''@/$(GNULIB_FLOOR)/g' \
534               -e 's/@''GNULIB_FLOORF''@/$(GNULIB_FLOORF)/g' \
535               -e 's/@''GNULIB_FLOORL''@/$(GNULIB_FLOORL)/g' \
536               -e 's/@''GNULIB_FMA''@/$(GNULIB_FMA)/g' \
537               -e 's/@''GNULIB_FMAF''@/$(GNULIB_FMAF)/g' \
538               -e 's/@''GNULIB_FMAL''@/$(GNULIB_FMAL)/g' \
539               -e 's/@''GNULIB_FMOD''@/$(GNULIB_FMOD)/g' \
540               -e 's/@''GNULIB_FMODF''@/$(GNULIB_FMODF)/g' \
541               -e 's/@''GNULIB_FMODL''@/$(GNULIB_FMODL)/g' \
542               -e 's/@''GNULIB_FREXPF''@/$(GNULIB_FREXPF)/g' \
543               -e 's/@''GNULIB_FREXP''@/$(GNULIB_FREXP)/g' \
544               -e 's/@''GNULIB_FREXPL''@/$(GNULIB_FREXPL)/g' \
545               -e 's/@''GNULIB_HYPOT''@/$(GNULIB_HYPOT)/g' \
546               -e 's/@''GNULIB_HYPOTF''@/$(GNULIB_HYPOTF)/g' \
547               -e 's/@''GNULIB_HYPOTL''@/$(GNULIB_HYPOTL)/g' \
548               < $(srcdir)/math.in.h | \
549           sed -e 's/@''GNULIB_ILOGB''@/$(GNULIB_ILOGB)/g' \
550               -e 's/@''GNULIB_ILOGBF''@/$(GNULIB_ILOGBF)/g' \
551               -e 's/@''GNULIB_ILOGBL''@/$(GNULIB_ILOGBL)/g' \
552               -e 's/@''GNULIB_ISFINITE''@/$(GNULIB_ISFINITE)/g' \
553               -e 's/@''GNULIB_ISINF''@/$(GNULIB_ISINF)/g' \
554               -e 's/@''GNULIB_ISNAN''@/$(GNULIB_ISNAN)/g' \
555               -e 's/@''GNULIB_ISNANF''@/$(GNULIB_ISNANF)/g' \
556               -e 's/@''GNULIB_ISNAND''@/$(GNULIB_ISNAND)/g' \
557               -e 's/@''GNULIB_ISNANL''@/$(GNULIB_ISNANL)/g' \
558               -e 's/@''GNULIB_LDEXPF''@/$(GNULIB_LDEXPF)/g' \
559               -e 's/@''GNULIB_LDEXPL''@/$(GNULIB_LDEXPL)/g' \
560               -e 's/@''GNULIB_LOG''@/$(GNULIB_LOG)/g' \
561               -e 's/@''GNULIB_LOGF''@/$(GNULIB_LOGF)/g' \
562               -e 's/@''GNULIB_LOGL''@/$(GNULIB_LOGL)/g' \
563               -e 's/@''GNULIB_LOG10''@/$(GNULIB_LOG10)/g' \
564               -e 's/@''GNULIB_LOG10F''@/$(GNULIB_LOG10F)/g' \
565               -e 's/@''GNULIB_LOG10L''@/$(GNULIB_LOG10L)/g' \
566               -e 's/@''GNULIB_LOG1P''@/$(GNULIB_LOG1P)/g' \
567               -e 's/@''GNULIB_LOG1PF''@/$(GNULIB_LOG1PF)/g' \
568               -e 's/@''GNULIB_LOG1PL''@/$(GNULIB_LOG1PL)/g' \
569               -e 's/@''GNULIB_LOG2''@/$(GNULIB_LOG2)/g' \
570               -e 's/@''GNULIB_LOG2F''@/$(GNULIB_LOG2F)/g' \
571               -e 's/@''GNULIB_LOG2L''@/$(GNULIB_LOG2L)/g' \
572               -e 's/@''GNULIB_LOGB''@/$(GNULIB_LOGB)/g' \
573               -e 's/@''GNULIB_LOGBF''@/$(GNULIB_LOGBF)/g' \
574               -e 's/@''GNULIB_LOGBL''@/$(GNULIB_LOGBL)/g' \
575               -e 's/@''GNULIB_MODF''@/$(GNULIB_MODF)/g' \
576               -e 's/@''GNULIB_MODFF''@/$(GNULIB_MODFF)/g' \
577               -e 's/@''GNULIB_MODFL''@/$(GNULIB_MODFL)/g' \
578               -e 's/@''GNULIB_POWF''@/$(GNULIB_POWF)/g' \
579               -e 's/@''GNULIB_REMAINDER''@/$(GNULIB_REMAINDER)/g' \
580               -e 's/@''GNULIB_REMAINDERF''@/$(GNULIB_REMAINDERF)/g' \
581               -e 's/@''GNULIB_REMAINDERL''@/$(GNULIB_REMAINDERL)/g' \
582               -e 's/@''GNULIB_RINT''@/$(GNULIB_RINT)/g' \
583               -e 's/@''GNULIB_RINTF''@/$(GNULIB_RINTF)/g' \
584               -e 's/@''GNULIB_RINTL''@/$(GNULIB_RINTL)/g' \
585               -e 's/@''GNULIB_ROUND''@/$(GNULIB_ROUND)/g' \
586               -e 's/@''GNULIB_ROUNDF''@/$(GNULIB_ROUNDF)/g' \
587               -e 's/@''GNULIB_ROUNDL''@/$(GNULIB_ROUNDL)/g' \
588               -e 's/@''GNULIB_SIGNBIT''@/$(GNULIB_SIGNBIT)/g' \
589               -e 's/@''GNULIB_SINF''@/$(GNULIB_SINF)/g' \
590               -e 's/@''GNULIB_SINL''@/$(GNULIB_SINL)/g' \
591               -e 's/@''GNULIB_SINHF''@/$(GNULIB_SINHF)/g' \
592               -e 's/@''GNULIB_SQRTF''@/$(GNULIB_SQRTF)/g' \
593               -e 's/@''GNULIB_SQRTL''@/$(GNULIB_SQRTL)/g' \
594               -e 's/@''GNULIB_TANF''@/$(GNULIB_TANF)/g' \
595               -e 's/@''GNULIB_TANL''@/$(GNULIB_TANL)/g' \
596               -e 's/@''GNULIB_TANHF''@/$(GNULIB_TANHF)/g' \
597               -e 's/@''GNULIB_TRUNC''@/$(GNULIB_TRUNC)/g' \
598               -e 's/@''GNULIB_TRUNCF''@/$(GNULIB_TRUNCF)/g' \
599               -e 's/@''GNULIB_TRUNCL''@/$(GNULIB_TRUNCL)/g' \
600           | \
601           sed -e 's|@''HAVE_ACOSF''@|$(HAVE_ACOSF)|g' \
602               -e 's|@''HAVE_ACOSL''@|$(HAVE_ACOSL)|g' \
603               -e 's|@''HAVE_ASINF''@|$(HAVE_ASINF)|g' \
604               -e 's|@''HAVE_ASINL''@|$(HAVE_ASINL)|g' \
605               -e 's|@''HAVE_ATANF''@|$(HAVE_ATANF)|g' \
606               -e 's|@''HAVE_ATANL''@|$(HAVE_ATANL)|g' \
607               -e 's|@''HAVE_ATAN2F''@|$(HAVE_ATAN2F)|g' \
608               -e 's|@''HAVE_CBRT''@|$(HAVE_CBRT)|g' \
609               -e 's|@''HAVE_CBRTF''@|$(HAVE_CBRTF)|g' \
610               -e 's|@''HAVE_CBRTL''@|$(HAVE_CBRTL)|g' \
611               -e 's|@''HAVE_COPYSIGN''@|$(HAVE_COPYSIGN)|g' \
612               -e 's|@''HAVE_COPYSIGNL''@|$(HAVE_COPYSIGNL)|g' \
613               -e 's|@''HAVE_COSF''@|$(HAVE_COSF)|g' \
614               -e 's|@''HAVE_COSL''@|$(HAVE_COSL)|g' \
615               -e 's|@''HAVE_COSHF''@|$(HAVE_COSHF)|g' \
616               -e 's|@''HAVE_EXPF''@|$(HAVE_EXPF)|g' \
617               -e 's|@''HAVE_EXPL''@|$(HAVE_EXPL)|g' \
618               -e 's|@''HAVE_EXPM1''@|$(HAVE_EXPM1)|g' \
619               -e 's|@''HAVE_EXPM1F''@|$(HAVE_EXPM1F)|g' \
620               -e 's|@''HAVE_FABSF''@|$(HAVE_FABSF)|g' \
621               -e 's|@''HAVE_FABSL''@|$(HAVE_FABSL)|g' \
622               -e 's|@''HAVE_FMA''@|$(HAVE_FMA)|g' \
623               -e 's|@''HAVE_FMAF''@|$(HAVE_FMAF)|g' \
624               -e 's|@''HAVE_FMAL''@|$(HAVE_FMAL)|g' \
625               -e 's|@''HAVE_FMODF''@|$(HAVE_FMODF)|g' \
626               -e 's|@''HAVE_FMODL''@|$(HAVE_FMODL)|g' \
627               -e 's|@''HAVE_FREXPF''@|$(HAVE_FREXPF)|g' \
628               -e 's|@''HAVE_HYPOTF''@|$(HAVE_HYPOTF)|g' \
629               -e 's|@''HAVE_HYPOTL''@|$(HAVE_HYPOTL)|g' \
630               -e 's|@''HAVE_ILOGB''@|$(HAVE_ILOGB)|g' \
631               -e 's|@''HAVE_ILOGBF''@|$(HAVE_ILOGBF)|g' \
632               -e 's|@''HAVE_ILOGBL''@|$(HAVE_ILOGBL)|g' \
633               -e 's|@''HAVE_ISNANF''@|$(HAVE_ISNANF)|g' \
634               -e 's|@''HAVE_ISNAND''@|$(HAVE_ISNAND)|g' \
635               -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \
636               -e 's|@''HAVE_LDEXPF''@|$(HAVE_LDEXPF)|g' \
637               -e 's|@''HAVE_LOGF''@|$(HAVE_LOGF)|g' \
638               -e 's|@''HAVE_LOGL''@|$(HAVE_LOGL)|g' \
639               -e 's|@''HAVE_LOG10F''@|$(HAVE_LOG10F)|g' \
640               -e 's|@''HAVE_LOG10L''@|$(HAVE_LOG10L)|g' \
641               -e 's|@''HAVE_LOG1P''@|$(HAVE_LOG1P)|g' \
642               -e 's|@''HAVE_LOG1PF''@|$(HAVE_LOG1PF)|g' \
643               -e 's|@''HAVE_LOG1PL''@|$(HAVE_LOG1PL)|g' \
644               -e 's|@''HAVE_LOGBF''@|$(HAVE_LOGBF)|g' \
645               -e 's|@''HAVE_LOGBL''@|$(HAVE_LOGBL)|g' \
646               -e 's|@''HAVE_MODFF''@|$(HAVE_MODFF)|g' \
647               -e 's|@''HAVE_MODFL''@|$(HAVE_MODFL)|g' \
648               -e 's|@''HAVE_POWF''@|$(HAVE_POWF)|g' \
649               -e 's|@''HAVE_REMAINDER''@|$(HAVE_REMAINDER)|g' \
650               -e 's|@''HAVE_REMAINDERF''@|$(HAVE_REMAINDERF)|g' \
651               -e 's|@''HAVE_RINT''@|$(HAVE_RINT)|g' \
652               -e 's|@''HAVE_RINTL''@|$(HAVE_RINTL)|g' \
653               -e 's|@''HAVE_SINF''@|$(HAVE_SINF)|g' \
654               -e 's|@''HAVE_SINL''@|$(HAVE_SINL)|g' \
655               -e 's|@''HAVE_SINHF''@|$(HAVE_SINHF)|g' \
656               -e 's|@''HAVE_SQRTF''@|$(HAVE_SQRTF)|g' \
657               -e 's|@''HAVE_SQRTL''@|$(HAVE_SQRTL)|g' \
658               -e 's|@''HAVE_TANF''@|$(HAVE_TANF)|g' \
659               -e 's|@''HAVE_TANL''@|$(HAVE_TANL)|g' \
660               -e 's|@''HAVE_TANHF''@|$(HAVE_TANHF)|g' \
661               -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \
662               -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \
663               -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \
664               -e 's|@''HAVE_DECL_CBRTF''@|$(HAVE_DECL_CBRTF)|g' \
665               -e 's|@''HAVE_DECL_CBRTL''@|$(HAVE_DECL_CBRTL)|g' \
666               -e 's|@''HAVE_DECL_CEILF''@|$(HAVE_DECL_CEILF)|g' \
667               -e 's|@''HAVE_DECL_CEILL''@|$(HAVE_DECL_CEILL)|g' \
668               -e 's|@''HAVE_DECL_COPYSIGNF''@|$(HAVE_DECL_COPYSIGNF)|g' \
669               -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \
670               -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \
671               -e 's|@''HAVE_DECL_EXP2''@|$(HAVE_DECL_EXP2)|g' \
672               -e 's|@''HAVE_DECL_EXP2F''@|$(HAVE_DECL_EXP2F)|g' \
673               -e 's|@''HAVE_DECL_EXP2L''@|$(HAVE_DECL_EXP2L)|g' \
674               -e 's|@''HAVE_DECL_EXPM1L''@|$(HAVE_DECL_EXPM1L)|g' \
675               -e 's|@''HAVE_DECL_FLOORF''@|$(HAVE_DECL_FLOORF)|g' \
676               -e 's|@''HAVE_DECL_FLOORL''@|$(HAVE_DECL_FLOORL)|g' \
677               -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \
678               -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \
679               -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \
680               -e 's|@''HAVE_DECL_LOG10L''@|$(HAVE_DECL_LOG10L)|g' \
681               -e 's|@''HAVE_DECL_LOG2''@|$(HAVE_DECL_LOG2)|g' \
682               -e 's|@''HAVE_DECL_LOG2F''@|$(HAVE_DECL_LOG2F)|g' \
683               -e 's|@''HAVE_DECL_LOG2L''@|$(HAVE_DECL_LOG2L)|g' \
684               -e 's|@''HAVE_DECL_LOGB''@|$(HAVE_DECL_LOGB)|g' \
685               -e 's|@''HAVE_DECL_REMAINDER''@|$(HAVE_DECL_REMAINDER)|g' \
686               -e 's|@''HAVE_DECL_REMAINDERL''@|$(HAVE_DECL_REMAINDERL)|g' \
687               -e 's|@''HAVE_DECL_RINTF''@|$(HAVE_DECL_RINTF)|g' \
688               -e 's|@''HAVE_DECL_ROUND''@|$(HAVE_DECL_ROUND)|g' \
689               -e 's|@''HAVE_DECL_ROUNDF''@|$(HAVE_DECL_ROUNDF)|g' \
690               -e 's|@''HAVE_DECL_ROUNDL''@|$(HAVE_DECL_ROUNDL)|g' \
691               -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \
692               -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \
693               -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \
694               -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \
695               -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \
696               -e 's|@''HAVE_DECL_TRUNCL''@|$(HAVE_DECL_TRUNCL)|g' \
697           | \
698           sed -e 's|@''REPLACE_CBRTF''@|$(REPLACE_CBRTF)|g' \
699               -e 's|@''REPLACE_CBRTL''@|$(REPLACE_CBRTL)|g' \
700               -e 's|@''REPLACE_CEIL''@|$(REPLACE_CEIL)|g' \
701               -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \
702               -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \
703               -e 's|@''REPLACE_EXPM1''@|$(REPLACE_EXPM1)|g' \
704               -e 's|@''REPLACE_EXPM1F''@|$(REPLACE_EXPM1F)|g' \
705               -e 's|@''REPLACE_EXP2''@|$(REPLACE_EXP2)|g' \
706               -e 's|@''REPLACE_EXP2L''@|$(REPLACE_EXP2L)|g' \
707               -e 's|@''REPLACE_FABSL''@|$(REPLACE_FABSL)|g' \
708               -e 's|@''REPLACE_FLOOR''@|$(REPLACE_FLOOR)|g' \
709               -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \
710               -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \
711               -e 's|@''REPLACE_FMA''@|$(REPLACE_FMA)|g' \
712               -e 's|@''REPLACE_FMAF''@|$(REPLACE_FMAF)|g' \
713               -e 's|@''REPLACE_FMAL''@|$(REPLACE_FMAL)|g' \
714               -e 's|@''REPLACE_FMOD''@|$(REPLACE_FMOD)|g' \
715               -e 's|@''REPLACE_FMODF''@|$(REPLACE_FMODF)|g' \
716               -e 's|@''REPLACE_FMODL''@|$(REPLACE_FMODL)|g' \
717               -e 's|@''REPLACE_FREXPF''@|$(REPLACE_FREXPF)|g' \
718               -e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \
719               -e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \
720               -e 's|@''REPLACE_HUGE_VAL''@|$(REPLACE_HUGE_VAL)|g' \
721               -e 's|@''REPLACE_HYPOT''@|$(REPLACE_HYPOT)|g' \
722               -e 's|@''REPLACE_HYPOTF''@|$(REPLACE_HYPOTF)|g' \
723               -e 's|@''REPLACE_HYPOTL''@|$(REPLACE_HYPOTL)|g' \
724               -e 's|@''REPLACE_ILOGB''@|$(REPLACE_ILOGB)|g' \
725               -e 's|@''REPLACE_ILOGBF''@|$(REPLACE_ILOGBF)|g' \
726               -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \
727               -e 's|@''REPLACE_ISINF''@|$(REPLACE_ISINF)|g' \
728               -e 's|@''REPLACE_ISNAN''@|$(REPLACE_ISNAN)|g' \
729               -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \
730               -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \
731               -e 's|@''REPLACE_LOG''@|$(REPLACE_LOG)|g' \
732               -e 's|@''REPLACE_LOGF''@|$(REPLACE_LOGF)|g' \
733               -e 's|@''REPLACE_LOGL''@|$(REPLACE_LOGL)|g' \
734               -e 's|@''REPLACE_LOG10''@|$(REPLACE_LOG10)|g' \
735               -e 's|@''REPLACE_LOG10F''@|$(REPLACE_LOG10F)|g' \
736               -e 's|@''REPLACE_LOG10L''@|$(REPLACE_LOG10L)|g' \
737               -e 's|@''REPLACE_LOG1P''@|$(REPLACE_LOG1P)|g' \
738               -e 's|@''REPLACE_LOG1PF''@|$(REPLACE_LOG1PF)|g' \
739               -e 's|@''REPLACE_LOG1PL''@|$(REPLACE_LOG1PL)|g' \
740               -e 's|@''REPLACE_LOG2''@|$(REPLACE_LOG2)|g' \
741               -e 's|@''REPLACE_LOG2F''@|$(REPLACE_LOG2F)|g' \
742               -e 's|@''REPLACE_LOG2L''@|$(REPLACE_LOG2L)|g' \
743               -e 's|@''REPLACE_LOGB''@|$(REPLACE_LOGB)|g' \
744               -e 's|@''REPLACE_LOGBF''@|$(REPLACE_LOGBF)|g' \
745               -e 's|@''REPLACE_LOGBL''@|$(REPLACE_LOGBL)|g' \
746               -e 's|@''REPLACE_MODF''@|$(REPLACE_MODF)|g' \
747               -e 's|@''REPLACE_MODFF''@|$(REPLACE_MODFF)|g' \
748               -e 's|@''REPLACE_MODFL''@|$(REPLACE_MODFL)|g' \
749               -e 's|@''REPLACE_NAN''@|$(REPLACE_NAN)|g' \
750               -e 's|@''REPLACE_REMAINDER''@|$(REPLACE_REMAINDER)|g' \
751               -e 's|@''REPLACE_REMAINDERF''@|$(REPLACE_REMAINDERF)|g' \
752               -e 's|@''REPLACE_REMAINDERL''@|$(REPLACE_REMAINDERL)|g' \
753               -e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \
754               -e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \
755               -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \
756               -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \
757               -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|$(REPLACE_SIGNBIT_USING_GCC)|g' \
758               -e 's|@''REPLACE_SQRTL''@|$(REPLACE_SQRTL)|g' \
759               -e 's|@''REPLACE_TRUNC''@|$(REPLACE_TRUNC)|g' \
760               -e 's|@''REPLACE_TRUNCF''@|$(REPLACE_TRUNCF)|g' \
761               -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \
762               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
763               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
764               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
765         } > $@-t && \
766         mv $@-t $@
767 MOSTLYCLEANFILES += math.h math.h-t
768
769 EXTRA_DIST += math.in.h
770
771 ## end   gnulib module math
772
773 ## begin gnulib module mbrtowc
774
775
776 EXTRA_DIST += mbrtowc.c
777
778 EXTRA_libgnu_a_SOURCES += mbrtowc.c
779
780 ## end   gnulib module mbrtowc
781
782 ## begin gnulib module mbsinit
783
784
785 EXTRA_DIST += mbsinit.c
786
787 EXTRA_libgnu_a_SOURCES += mbsinit.c
788
789 ## end   gnulib module mbsinit
790
791 ## begin gnulib module mbsrtowcs
792
793
794 EXTRA_DIST += mbsrtowcs-impl.h mbsrtowcs-state.c mbsrtowcs.c
795
796 EXTRA_libgnu_a_SOURCES += mbsrtowcs-state.c mbsrtowcs.c
797
798 ## end   gnulib module mbsrtowcs
799
800 ## begin gnulib module memchr
801
802
803 EXTRA_DIST += memchr.c memchr.valgrind
804
805 EXTRA_libgnu_a_SOURCES += memchr.c
806
807 ## end   gnulib module memchr
808
809 ## begin gnulib module memmem-simple
810
811
812 EXTRA_DIST += memmem.c str-two-way.h
813
814 EXTRA_libgnu_a_SOURCES += memmem.c
815
816 ## end   gnulib module memmem-simple
817
818 ## begin gnulib module pathmax
819
820
821 EXTRA_DIST += pathmax.h
822
823 ## end   gnulib module pathmax
824
825 ## begin gnulib module readlink
826
827
828 EXTRA_DIST += readlink.c
829
830 EXTRA_libgnu_a_SOURCES += readlink.c
831
832 ## end   gnulib module readlink
833
834 ## begin gnulib module rename
835
836
837 EXTRA_DIST += rename.c
838
839 EXTRA_libgnu_a_SOURCES += rename.c
840
841 ## end   gnulib module rename
842
843 ## begin gnulib module rmdir
844
845
846 EXTRA_DIST += rmdir.c
847
848 EXTRA_libgnu_a_SOURCES += rmdir.c
849
850 ## end   gnulib module rmdir
851
852 ## begin gnulib module same-inode
853
854
855 EXTRA_DIST += same-inode.h
856
857 ## end   gnulib module same-inode
858
859 ## begin gnulib module snippet/_Noreturn
860
861 # Because this Makefile snippet defines a variable used by other
862 # gnulib Makefile snippets, it must be present in all Makefile.am that
863 # need it. This is ensured by the applicability 'all' defined above.
864
865 _NORETURN_H=$(top_srcdir)/import/extra/snippet/_Noreturn.h
866
867 EXTRA_DIST += $(top_srcdir)/import/extra/snippet/_Noreturn.h
868
869 ## end   gnulib module snippet/_Noreturn
870
871 ## begin gnulib module snippet/arg-nonnull
872
873 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
874 # statements but through direct file reference. Therefore this snippet must be
875 # present in all Makefile.am that need it. This is ensured by the applicability
876 # 'all' defined above.
877
878 BUILT_SOURCES += arg-nonnull.h
879 # The arg-nonnull.h that gets inserted into generated .h files is the same as
880 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
881 # off.
882 arg-nonnull.h: $(top_srcdir)/import/extra/snippet/arg-nonnull.h
883         $(AM_V_GEN)rm -f $@-t $@ && \
884         sed -n -e '/GL_ARG_NONNULL/,$$p' \
885           < $(top_srcdir)/import/extra/snippet/arg-nonnull.h \
886           > $@-t && \
887         mv $@-t $@
888 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
889
890 ARG_NONNULL_H=arg-nonnull.h
891
892 EXTRA_DIST += $(top_srcdir)/import/extra/snippet/arg-nonnull.h
893
894 ## end   gnulib module snippet/arg-nonnull
895
896 ## begin gnulib module snippet/c++defs
897
898 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
899 # statements but through direct file reference. Therefore this snippet must be
900 # present in all Makefile.am that need it. This is ensured by the applicability
901 # 'all' defined above.
902
903 BUILT_SOURCES += c++defs.h
904 # The c++defs.h that gets inserted into generated .h files is the same as
905 # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
906 c++defs.h: $(top_srcdir)/import/extra/snippet/c++defs.h
907         $(AM_V_GEN)rm -f $@-t $@ && \
908         sed -n -e '/_GL_CXXDEFS/,$$p' \
909           < $(top_srcdir)/import/extra/snippet/c++defs.h \
910           > $@-t && \
911         mv $@-t $@
912 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
913
914 CXXDEFS_H=c++defs.h
915
916 EXTRA_DIST += $(top_srcdir)/import/extra/snippet/c++defs.h
917
918 ## end   gnulib module snippet/c++defs
919
920 ## begin gnulib module snippet/warn-on-use
921
922 BUILT_SOURCES += warn-on-use.h
923 # The warn-on-use.h that gets inserted into generated .h files is the same as
924 # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
925 # off.
926 warn-on-use.h: $(top_srcdir)/import/extra/snippet/warn-on-use.h
927         $(AM_V_GEN)rm -f $@-t $@ && \
928         sed -n -e '/^.ifndef/,$$p' \
929           < $(top_srcdir)/import/extra/snippet/warn-on-use.h \
930           > $@-t && \
931         mv $@-t $@
932 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
933
934 WARN_ON_USE_H=warn-on-use.h
935
936 EXTRA_DIST += $(top_srcdir)/import/extra/snippet/warn-on-use.h
937
938 ## end   gnulib module snippet/warn-on-use
939
940 ## begin gnulib module stat
941
942
943 EXTRA_DIST += stat.c
944
945 EXTRA_libgnu_a_SOURCES += stat.c
946
947 ## end   gnulib module stat
948
949 ## begin gnulib module stdbool
950
951 BUILT_SOURCES += $(STDBOOL_H)
952
953 # We need the following in order to create <stdbool.h> when the system
954 # doesn't have one that works.
955 if GL_GENERATE_STDBOOL_H
956 stdbool.h: stdbool.in.h $(top_builddir)/config.status
957         $(AM_V_GEN)rm -f $@-t $@ && \
958         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
959           sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
960         } > $@-t && \
961         mv $@-t $@
962 else
963 stdbool.h: $(top_builddir)/config.status
964         rm -f $@
965 endif
966 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
967
968 EXTRA_DIST += stdbool.in.h
969
970 ## end   gnulib module stdbool
971
972 ## begin gnulib module stddef
973
974 BUILT_SOURCES += $(STDDEF_H)
975
976 # We need the following in order to create <stddef.h> when the system
977 # doesn't have one that works with the given compiler.
978 if GL_GENERATE_STDDEF_H
979 stddef.h: stddef.in.h $(top_builddir)/config.status
980         $(AM_V_GEN)rm -f $@-t $@ && \
981         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
982           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
983               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
984               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
985               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
986               -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
987               -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
988               -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
989               < $(srcdir)/stddef.in.h; \
990         } > $@-t && \
991         mv $@-t $@
992 else
993 stddef.h: $(top_builddir)/config.status
994         rm -f $@
995 endif
996 MOSTLYCLEANFILES += stddef.h stddef.h-t
997
998 EXTRA_DIST += stddef.in.h
999
1000 ## end   gnulib module stddef
1001
1002 ## begin gnulib module stdint
1003
1004 BUILT_SOURCES += $(STDINT_H)
1005
1006 # We need the following in order to create <stdint.h> when the system
1007 # doesn't have one that works with the given compiler.
1008 if GL_GENERATE_STDINT_H
1009 stdint.h: stdint.in.h $(top_builddir)/config.status
1010         $(AM_V_GEN)rm -f $@-t $@ && \
1011         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1012           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1013               -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
1014               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1015               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1016               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1017               -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
1018               -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
1019               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
1020               -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
1021               -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
1022               -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
1023               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
1024               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
1025               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
1026               -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
1027               -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
1028               -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
1029               -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
1030               -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
1031               -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
1032               -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
1033               -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
1034               -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
1035               -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
1036               -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
1037               -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
1038               -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
1039               < $(srcdir)/stdint.in.h; \
1040         } > $@-t && \
1041         mv $@-t $@
1042 else
1043 stdint.h: $(top_builddir)/config.status
1044         rm -f $@
1045 endif
1046 MOSTLYCLEANFILES += stdint.h stdint.h-t
1047
1048 EXTRA_DIST += stdint.in.h
1049
1050 ## end   gnulib module stdint
1051
1052 ## begin gnulib module stdio
1053
1054 BUILT_SOURCES += stdio.h
1055 libgnu_a_SOURCES += stdio.c
1056
1057 # We need the following in order to create <stdio.h> when the system
1058 # doesn't have one that works with the given compiler.
1059 stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1060         $(AM_V_GEN)rm -f $@-t $@ && \
1061         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1062           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1063               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1064               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1065               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1066               -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
1067               -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
1068               -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
1069               -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \
1070               -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
1071               -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
1072               -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
1073               -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
1074               -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
1075               -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
1076               -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
1077               -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
1078               -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
1079               -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
1080               -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
1081               -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
1082               -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
1083               -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
1084               -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
1085               -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
1086               -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
1087               -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
1088               -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
1089               -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
1090               -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
1091               -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
1092               -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
1093               -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
1094               -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
1095               -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
1096               -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
1097               -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
1098               -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
1099               -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
1100               -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
1101               -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
1102               -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
1103               -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
1104               -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
1105               -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
1106               -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
1107               -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
1108               -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
1109               -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
1110               -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
1111               -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
1112               -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
1113               -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
1114               -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
1115               -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
1116               -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
1117               -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
1118               -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
1119               -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
1120               < $(srcdir)/stdio.in.h | \
1121           sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
1122               -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
1123               -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
1124               -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
1125               -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
1126               -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
1127               -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
1128               -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
1129               -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
1130               -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
1131               -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
1132               -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
1133               -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
1134               -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
1135               -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
1136               -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
1137               -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
1138               -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
1139               -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
1140               -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
1141               -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
1142               -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
1143               -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
1144               -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
1145               -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
1146               -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
1147               -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
1148               -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
1149               -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
1150               -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
1151               -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
1152               -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
1153               -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
1154               -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
1155               -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
1156               -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
1157               -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
1158               -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
1159               -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
1160               -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
1161               -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
1162               -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
1163               -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
1164               -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
1165               -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
1166               -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
1167               -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
1168               -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
1169               -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
1170               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1171               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1172               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1173         } > $@-t && \
1174         mv $@-t $@
1175 MOSTLYCLEANFILES += stdio.h stdio.h-t
1176
1177 EXTRA_DIST += stdio.in.h
1178
1179 ## end   gnulib module stdio
1180
1181 ## begin gnulib module stdlib
1182
1183 BUILT_SOURCES += stdlib.h
1184
1185 # We need the following in order to create <stdlib.h> when the system
1186 # doesn't have one that works with the given compiler.
1187 stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
1188   $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1189         $(AM_V_GEN)rm -f $@-t $@ && \
1190         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1191           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1192               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1193               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1194               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1195               -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
1196               -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
1197               -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
1198               -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
1199               -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
1200               -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
1201               -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
1202               -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
1203               -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
1204               -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
1205               -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
1206               -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
1207               -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
1208               -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
1209               -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
1210               -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
1211               -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
1212               -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
1213               -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
1214               -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
1215               -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
1216               -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
1217               -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
1218               -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
1219               -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
1220               -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
1221               -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
1222               -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
1223               -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
1224               -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
1225               -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
1226               -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
1227               < $(srcdir)/stdlib.in.h | \
1228           sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
1229               -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
1230               -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
1231               -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
1232               -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
1233               -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
1234               -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
1235               -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
1236               -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
1237               -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
1238               -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
1239               -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
1240               -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
1241               -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
1242               -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
1243               -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
1244               -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
1245               -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
1246               -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
1247               -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
1248               -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
1249               -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
1250               -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
1251               -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
1252               -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
1253               -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
1254               -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
1255               -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
1256               -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
1257               -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
1258               -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
1259               -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
1260               -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \
1261               -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
1262               -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
1263               -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
1264               -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
1265               -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
1266               -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
1267               -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
1268               -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
1269               -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
1270               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1271               -e '/definition of _Noreturn/r $(_NORETURN_H)' \
1272               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1273               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1274         } > $@-t && \
1275         mv $@-t $@
1276 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
1277
1278 EXTRA_DIST += stdlib.in.h
1279
1280 ## end   gnulib module stdlib
1281
1282 ## begin gnulib module streq
1283
1284
1285 EXTRA_DIST += streq.h
1286
1287 ## end   gnulib module streq
1288
1289 ## begin gnulib module string
1290
1291 BUILT_SOURCES += string.h
1292
1293 # We need the following in order to create <string.h> when the system
1294 # doesn't have one that works with the given compiler.
1295 string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1296         $(AM_V_GEN)rm -f $@-t $@ && \
1297         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1298           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1299               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1300               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1301               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1302               -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
1303               -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \
1304               -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \
1305               -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
1306               -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
1307               -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
1308               -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
1309               -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
1310               -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
1311               -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
1312               -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
1313               -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
1314               -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
1315               -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
1316               -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
1317               -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
1318               -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
1319               -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
1320               -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
1321               -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
1322               -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
1323               -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
1324               -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
1325               -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
1326               -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
1327               -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
1328               -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
1329               -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
1330               -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
1331               -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
1332               -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
1333               -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
1334               -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
1335               -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
1336               -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
1337               -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
1338               -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
1339               -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
1340               < $(srcdir)/string.in.h | \
1341           sed -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
1342               -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
1343               -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
1344               -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
1345               -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
1346               -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
1347               -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
1348               -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
1349               -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
1350               -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
1351               -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
1352               -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
1353               -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
1354               -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
1355               -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
1356               -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
1357               -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
1358               -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
1359               -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
1360               -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
1361               -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
1362               -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
1363               -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
1364               -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
1365               -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
1366               -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
1367               -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
1368               -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
1369               -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
1370               -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
1371               -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
1372               -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
1373               -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
1374               -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
1375               -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
1376               -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
1377               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1378               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1379               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1380               < $(srcdir)/string.in.h; \
1381         } > $@-t && \
1382         mv $@-t $@
1383 MOSTLYCLEANFILES += string.h string.h-t
1384
1385 EXTRA_DIST += string.in.h
1386
1387 ## end   gnulib module string
1388
1389 ## begin gnulib module strnlen1
1390
1391 libgnu_a_SOURCES += strnlen1.h strnlen1.c
1392
1393 ## end   gnulib module strnlen1
1394
1395 ## begin gnulib module strstr-simple
1396
1397
1398 EXTRA_DIST += str-two-way.h strstr.c
1399
1400 EXTRA_libgnu_a_SOURCES += strstr.c
1401
1402 ## end   gnulib module strstr-simple
1403
1404 ## begin gnulib module sys_stat
1405
1406 BUILT_SOURCES += sys/stat.h
1407
1408 # We need the following in order to create <sys/stat.h> when the system
1409 # has one that is incomplete.
1410 sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1411         $(AM_V_at)$(MKDIR_P) sys
1412         $(AM_V_GEN)rm -f $@-t $@ && \
1413         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1414           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1415               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1416               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1417               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1418               -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
1419               -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \
1420               -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
1421               -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \
1422               -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
1423               -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \
1424               -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \
1425               -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \
1426               -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \
1427               -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \
1428               -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \
1429               -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \
1430               -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \
1431               -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \
1432               -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \
1433               -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
1434               -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
1435               -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
1436               -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
1437               -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
1438               -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
1439               -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
1440               -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
1441               -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
1442               -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
1443               -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
1444               -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
1445               -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
1446               -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
1447               -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
1448               -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
1449               -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
1450               -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
1451               -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
1452               -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
1453               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1454               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1455               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1456               < $(srcdir)/sys_stat.in.h; \
1457         } > $@-t && \
1458         mv $@-t $@
1459 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1460 MOSTLYCLEANDIRS += sys
1461
1462 EXTRA_DIST += sys_stat.in.h
1463
1464 ## end   gnulib module sys_stat
1465
1466 ## begin gnulib module sys_types
1467
1468 BUILT_SOURCES += sys/types.h
1469
1470 # We need the following in order to create <sys/types.h> when the system
1471 # doesn't have one that works with the given compiler.
1472 sys/types.h: sys_types.in.h $(top_builddir)/config.status
1473         $(AM_V_at)$(MKDIR_P) sys
1474         $(AM_V_GEN)rm -f $@-t $@ && \
1475         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1476           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1477               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1478               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1479               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1480               -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
1481               -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
1482               < $(srcdir)/sys_types.in.h; \
1483         } > $@-t && \
1484         mv $@-t $@
1485 MOSTLYCLEANFILES += sys/types.h sys/types.h-t
1486
1487 EXTRA_DIST += sys_types.in.h
1488
1489 ## end   gnulib module sys_types
1490
1491 ## begin gnulib module time
1492
1493 BUILT_SOURCES += time.h
1494
1495 # We need the following in order to create <time.h> when the system
1496 # doesn't have one that works with the given compiler.
1497 time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1498         $(AM_V_GEN)rm -f $@-t $@ && \
1499         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1500           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1501               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1502               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1503               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1504               -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
1505               -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
1506               -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
1507               -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
1508               -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \
1509               -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \
1510               -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
1511               -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
1512               -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
1513               -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
1514               -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1515               -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
1516               -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
1517               -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
1518               -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
1519               -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1520               -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1521               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1522               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1523               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1524               < $(srcdir)/time.in.h; \
1525         } > $@-t && \
1526         mv $@-t $@
1527 MOSTLYCLEANFILES += time.h time.h-t
1528
1529 EXTRA_DIST += time.in.h
1530
1531 ## end   gnulib module time
1532
1533 ## begin gnulib module unistd
1534
1535 BUILT_SOURCES += unistd.h
1536 libgnu_a_SOURCES += unistd.c
1537
1538 # We need the following in order to create an empty placeholder for
1539 # <unistd.h> when the system doesn't have one.
1540 unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1541         $(AM_V_GEN)rm -f $@-t $@ && \
1542         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1543           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1544               -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
1545               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1546               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1547               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1548               -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
1549               -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
1550               -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
1551               -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
1552               -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
1553               -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \
1554               -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
1555               -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
1556               -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
1557               -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
1558               -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
1559               -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
1560               -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
1561               -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \
1562               -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
1563               -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
1564               -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
1565               -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
1566               -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
1567               -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
1568               -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
1569               -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
1570               -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
1571               -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
1572               -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
1573               -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
1574               -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \
1575               -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
1576               -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
1577               -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
1578               -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
1579               -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
1580               -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
1581               -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
1582               -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
1583               -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
1584               -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
1585               -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
1586               -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
1587               -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \
1588               -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
1589               -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
1590               -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
1591               -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
1592               -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \
1593               -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
1594               -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
1595               -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
1596               -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
1597               -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
1598               -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
1599               < $(srcdir)/unistd.in.h | \
1600           sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
1601               -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
1602               -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
1603               -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
1604               -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
1605               -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
1606               -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
1607               -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
1608               -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1609               -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1610               -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
1611               -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
1612               -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
1613               -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
1614               -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
1615               -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
1616               -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
1617               -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
1618               -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
1619               -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
1620               -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
1621               -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
1622               -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
1623               -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1624               -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
1625               -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
1626               -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
1627               -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
1628               -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
1629               -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
1630               -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
1631               -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
1632               -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
1633               -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
1634               -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
1635               -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1636               -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
1637               -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
1638               -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
1639               -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
1640               -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1641               -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
1642           | \
1643           sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
1644               -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
1645               -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
1646               -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
1647               -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
1648               -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
1649               -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1650               -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
1651               -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
1652               -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
1653               -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1654               -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
1655               -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1656               -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
1657               -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
1658               -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1659               -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
1660               -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
1661               -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
1662               -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
1663               -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
1664               -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
1665               -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
1666               -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
1667               -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
1668               -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
1669               -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
1670               -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1671               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1672               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
1673               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1674               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1675               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1676         } > $@-t && \
1677         mv $@-t $@
1678 MOSTLYCLEANFILES += unistd.h unistd.h-t
1679
1680 EXTRA_DIST += unistd.in.h
1681
1682 ## end   gnulib module unistd
1683
1684 ## begin gnulib module update-copyright
1685
1686
1687 EXTRA_DIST += $(top_srcdir)/import/extra/update-copyright
1688
1689 ## end   gnulib module update-copyright
1690
1691 ## begin gnulib module verify
1692
1693
1694 EXTRA_DIST += verify.h
1695
1696 ## end   gnulib module verify
1697
1698 ## begin gnulib module wchar
1699
1700 BUILT_SOURCES += wchar.h
1701
1702 # We need the following in order to create <wchar.h> when the system
1703 # version does not work standalone.
1704 wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1705         $(AM_V_GEN)rm -f $@-t $@ && \
1706         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1707           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1708               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1709               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1710               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1711               -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
1712               -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
1713               -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
1714               -e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \
1715               -e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \
1716               -e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \
1717               -e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \
1718               -e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \
1719               -e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \
1720               -e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \
1721               -e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \
1722               -e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \
1723               -e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \
1724               -e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \
1725               -e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \
1726               -e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \
1727               -e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \
1728               -e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \
1729               -e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \
1730               -e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \
1731               -e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \
1732               -e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \
1733               -e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \
1734               -e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \
1735               -e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \
1736               -e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \
1737               -e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \
1738               -e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \
1739               -e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \
1740               -e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \
1741               -e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \
1742               -e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \
1743               -e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \
1744               -e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \
1745               -e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \
1746               -e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \
1747               -e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \
1748               -e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \
1749               -e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \
1750               -e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \
1751               -e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \
1752               -e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \
1753               < $(srcdir)/wchar.in.h | \
1754           sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
1755               -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
1756               -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
1757               -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
1758               -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
1759               -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
1760               -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
1761               -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
1762               -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
1763               -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
1764               -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
1765               -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
1766               -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
1767               -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
1768               -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
1769               -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
1770               -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
1771               -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
1772               -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
1773               -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
1774               -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
1775               -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
1776               -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
1777               -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
1778               -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
1779               -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
1780               -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
1781               -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
1782               -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
1783               -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
1784               -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
1785               -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
1786               -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
1787               -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
1788               -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
1789               -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
1790               -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
1791               -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
1792               -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
1793               -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
1794           | \
1795           sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
1796               -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
1797               -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
1798               -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
1799               -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
1800               -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
1801               -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
1802               -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
1803               -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
1804               -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
1805               -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
1806               -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
1807               -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
1808               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1809               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1810               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1811         } > $@-t && \
1812         mv $@-t $@
1813 MOSTLYCLEANFILES += wchar.h wchar.h-t
1814
1815 EXTRA_DIST += wchar.in.h
1816
1817 ## end   gnulib module wchar
1818
1819 ## begin gnulib module wctype-h
1820
1821 BUILT_SOURCES += wctype.h
1822 libgnu_a_SOURCES += wctype-h.c
1823
1824 # We need the following in order to create <wctype.h> when the system
1825 # doesn't have one that works with the given compiler.
1826 wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
1827         $(AM_V_GEN)rm -f $@-t $@ && \
1828         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1829           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1830               -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
1831               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1832               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1833               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1834               -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
1835               -e 's/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \
1836               -e 's/@''GNULIB_WCTYPE''@/$(GNULIB_WCTYPE)/g' \
1837               -e 's/@''GNULIB_ISWCTYPE''@/$(GNULIB_ISWCTYPE)/g' \
1838               -e 's/@''GNULIB_WCTRANS''@/$(GNULIB_WCTRANS)/g' \
1839               -e 's/@''GNULIB_TOWCTRANS''@/$(GNULIB_TOWCTRANS)/g' \
1840               -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
1841               -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
1842               -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \
1843               -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \
1844               -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
1845               -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \
1846               -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
1847               -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \
1848               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1849               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1850               < $(srcdir)/wctype.in.h; \
1851         } > $@-t && \
1852         mv $@-t $@
1853 MOSTLYCLEANFILES += wctype.h wctype.h-t
1854
1855 EXTRA_DIST += wctype.in.h
1856
1857 ## end   gnulib module wctype-h
1858
1859
1860 mostlyclean-local: mostlyclean-generic
1861         @for dir in '' $(MOSTLYCLEANDIRS); do \
1862           if test -n "$$dir" && test -d $$dir; then \
1863             echo "rmdir $$dir"; rmdir $$dir; \
1864           fi; \
1865         done; \
1866         :