1## DO NOT EDIT! GENERATED AUTOMATICALLY!
2## Process this file with automake to produce Makefile.in.
3# Copyright (C) 2002-2009 Free Software Foundation, Inc.
4#
5# This file is free software, distributed under the terms of the GNU
6# General Public License.  As a special exception to the GNU General
7# Public License, this file may be distributed as part of a program
8# that contains a configuration script generated by Autoconf, under
9# the same distribution terms as the rest of that program.
10#
11# Generated by gnulib-tool.
12# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-libtool --macro-prefix=gl alloca announce-gen c-ctype getopt getpass-gnu gnupload maintainer-makefile quote quotearg strcasestr update-copyright
13
14AUTOMAKE_OPTIONS = 1.5 gnits
15
16SUBDIRS =
17noinst_HEADERS =
18noinst_LIBRARIES =
19noinst_LTLIBRARIES =
20EXTRA_DIST =
21BUILT_SOURCES =
22SUFFIXES =
23MOSTLYCLEANFILES = core *.stackdump
24MOSTLYCLEANDIRS =
25CLEANFILES =
26DISTCLEANFILES =
27MAINTAINERCLEANFILES =
28
29AM_CPPFLAGS =
30AM_CFLAGS =
31
32noinst_LIBRARIES += libgnu.a
33
34libgnu_a_SOURCES =
35libgnu_a_LIBADD = $(gl_LIBOBJS)
36libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
37EXTRA_libgnu_a_SOURCES =
38
39## begin gnulib module alloca
40
41
42EXTRA_DIST += alloca.c
43
44EXTRA_libgnu_a_SOURCES += alloca.c
45
46libgnu_a_LIBADD += @ALLOCA@
47libgnu_a_DEPENDENCIES += @ALLOCA@
48## end   gnulib module alloca
49
50## begin gnulib module alloca-opt
51
52BUILT_SOURCES += $(ALLOCA_H)
53
54# We need the following in order to create <alloca.h> when the system
55# doesn't have one that works with the given compiler.
56alloca.h: alloca.in.h
57	$(AM_V_GEN)rm -f $@-t $@ && \
58	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
59	  cat $(srcdir)/alloca.in.h; \
60	} > $@-t && \
61	mv -f $@-t $@
62MOSTLYCLEANFILES += alloca.h alloca.h-t
63
64EXTRA_DIST += alloca.in.h
65
66## end   gnulib module alloca-opt
67
68## begin gnulib module announce-gen
69
70
71EXTRA_DIST += $(top_srcdir)/build-aux/announce-gen
72
73## end   gnulib module announce-gen
74
75## begin gnulib module c-ctype
76
77libgnu_a_SOURCES += c-ctype.h c-ctype.c
78
79## end   gnulib module c-ctype
80
81## begin gnulib module configmake
82
83# Retrieve values of the variables through 'configure' followed by
84# 'make', not directly through 'configure', so that a user who
85# sets some of these variables consistently on the 'make' command
86# line gets correct results.
87#
88# One advantage of this approach, compared to the classical
89# approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
90# is that it protects against the use of undefined variables.
91# If, say, $(libdir) is not set in the Makefile, LIBDIR is not
92# defined by this module, and code using LIBDIR gives a
93# compilation error.
94#
95# Another advantage is that 'make' output is shorter.
96#
97# Listed in the same order as the GNU makefile conventions.
98# The Automake-defined pkg* macros are appended, in the order
99# listed in the Automake 1.10a+ documentation.
100configmake.h: Makefile
101	$(AM_V_GEN)rm -f $@-t && \
102	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
103	  echo '#define PREFIX "$(prefix)"'; \
104	  echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
105	  echo '#define BINDIR "$(bindir)"'; \
106	  echo '#define SBINDIR "$(sbindir)"'; \
107	  echo '#define LIBEXECDIR "$(libexecdir)"'; \
108	  echo '#define DATAROOTDIR "$(datarootdir)"'; \
109	  echo '#define DATADIR "$(datadir)"'; \
110	  echo '#define SYSCONFDIR "$(sysconfdir)"'; \
111	  echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
112	  echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
113	  echo '#define INCLUDEDIR "$(includedir)"'; \
114	  echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
115	  echo '#define DOCDIR "$(docdir)"'; \
116	  echo '#define INFODIR "$(infodir)"'; \
117	  echo '#define HTMLDIR "$(htmldir)"'; \
118	  echo '#define DVIDIR "$(dvidir)"'; \
119	  echo '#define PDFDIR "$(pdfdir)"'; \
120	  echo '#define PSDIR "$(psdir)"'; \
121	  echo '#define LIBDIR "$(libdir)"'; \
122	  echo '#define LISPDIR "$(lispdir)"'; \
123	  echo '#define LOCALEDIR "$(localedir)"'; \
124	  echo '#define MANDIR "$(mandir)"'; \
125	  echo '#define MANEXT "$(manext)"'; \
126	  echo '#define PKGDATADIR "$(pkgdatadir)"'; \
127	  echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
128	  echo '#define PKGLIBDIR "$(pkglibdir)"'; \
129	  echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
130	} | sed '/""/d' > $@-t && \
131	if test -f $@ && cmp $@-t $@ > /dev/null; then \
132	  rm -f $@-t; \
133	else \
134	  rm -f $@; mv $@-t $@; \
135	fi
136
137BUILT_SOURCES += configmake.h
138CLEANFILES += configmake.h configmake.h-t
139
140## end   gnulib module configmake
141
142## begin gnulib module errno
143
144BUILT_SOURCES += $(ERRNO_H)
145
146# We need the following in order to create <errno.h> when the system
147# doesn't have one that is POSIX compliant.
148errno.h: errno.in.h
149	$(AM_V_GEN)rm -f $@-t $@ && \
150	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
151	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
152	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
153	      -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
154	      -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
155	      -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
156	      -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
157	      -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
158	      -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
159	      -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
160	      < $(srcdir)/errno.in.h; \
161	} > $@-t && \
162	mv $@-t $@
163MOSTLYCLEANFILES += errno.h errno.h-t
164
165EXTRA_DIST += errno.in.h
166
167## end   gnulib module errno
168
169## begin gnulib module error
170
171
172EXTRA_DIST += error.c error.h
173
174EXTRA_libgnu_a_SOURCES += error.c
175
176## end   gnulib module error
177
178## begin gnulib module exitfail
179
180
181EXTRA_DIST += exitfail.c exitfail.h
182
183EXTRA_libgnu_a_SOURCES += exitfail.c
184
185## end   gnulib module exitfail
186
187## begin gnulib module fseeko
188
189
190EXTRA_DIST += fseeko.c stdio-impl.h
191
192EXTRA_libgnu_a_SOURCES += fseeko.c
193
194## end   gnulib module fseeko
195
196## begin gnulib module getdelim
197
198
199EXTRA_DIST += getdelim.c
200
201EXTRA_libgnu_a_SOURCES += getdelim.c
202
203## end   gnulib module getdelim
204
205## begin gnulib module getline
206
207
208EXTRA_DIST += getline.c
209
210EXTRA_libgnu_a_SOURCES += getline.c
211
212## end   gnulib module getline
213
214## begin gnulib module getopt-posix
215
216BUILT_SOURCES += $(GETOPT_H)
217
218# We need the following in order to create <getopt.h> when the system
219# doesn't have one that works with the given compiler.
220getopt.h: getopt.in.h
221	$(AM_V_GEN)rm -f $@-t $@ && \
222	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
223	  cat $(srcdir)/getopt.in.h; \
224	} > $@-t && \
225	mv -f $@-t $@
226MOSTLYCLEANFILES += getopt.h getopt.h-t
227
228EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
229
230EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
231
232## end   gnulib module getopt-posix
233
234## begin gnulib module getpagesize
235
236
237EXTRA_DIST += getpagesize.c
238
239EXTRA_libgnu_a_SOURCES += getpagesize.c
240
241## end   gnulib module getpagesize
242
243## begin gnulib module getpass-gnu
244
245
246EXTRA_DIST += getpass.c getpass.h
247
248EXTRA_libgnu_a_SOURCES += getpass.c
249
250## end   gnulib module getpass-gnu
251
252## begin gnulib module gettext-h
253
254libgnu_a_SOURCES += gettext.h
255
256## end   gnulib module gettext-h
257
258## begin gnulib module gnumakefile
259
260distclean-local: clean-GNUmakefile
261clean-GNUmakefile:
262	test x'$(VPATH)' != x && rm -f $(top_builddir)/GNUmakefile || :
263
264EXTRA_DIST += $(top_srcdir)/GNUmakefile
265
266## end   gnulib module gnumakefile
267
268## begin gnulib module gnupload
269
270
271EXTRA_DIST += $(top_srcdir)/build-aux/gnupload
272
273## end   gnulib module gnupload
274
275## begin gnulib module intprops
276
277
278EXTRA_DIST += intprops.h
279
280## end   gnulib module intprops
281
282## begin gnulib module link-warning
283
284LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
285
286EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
287
288## end   gnulib module link-warning
289
290## begin gnulib module localcharset
291
292libgnu_a_SOURCES += localcharset.h localcharset.c
293
294# We need the following in order to install a simple file in $(libdir)
295# which is shared with other installed packages. We use a list of referencing
296# packages so that "make uninstall" will remove the file if and only if it
297# is not used by another installed package.
298# On systems with glibc-2.1 or newer, the file is redundant, therefore we
299# avoid installing it.
300
301all-local: charset.alias ref-add.sed ref-del.sed
302
303charset_alias = $(DESTDIR)$(libdir)/charset.alias
304charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
305install-exec-local: install-exec-localcharset
306install-exec-localcharset: all-local
307	if test $(GLIBC21) = no; then \
308	  case '$(host_os)' in \
309	    darwin[56]*) \
310	      need_charset_alias=true ;; \
311	    darwin* | cygwin* | mingw* | pw32* | cegcc*) \
312	      need_charset_alias=false ;; \
313	    *) \
314	      need_charset_alias=true ;; \
315	  esac ; \
316	else \
317	  need_charset_alias=false ; \
318	fi ; \
319	if $$need_charset_alias; then \
320	  $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
321	fi ; \
322	if test -f $(charset_alias); then \
323	  sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
324	  $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
325	  rm -f $(charset_tmp) ; \
326	else \
327	  if $$need_charset_alias; then \
328	    sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
329	    $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
330	    rm -f $(charset_tmp) ; \
331	  fi ; \
332	fi
333
334uninstall-local: uninstall-localcharset
335uninstall-localcharset: all-local
336	if test -f $(charset_alias); then \
337	  sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
338	  if grep '^# Packages using this file: $$' $(charset_tmp) \
339	      > /dev/null; then \
340	    rm -f $(charset_alias); \
341	  else \
342	    $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
343	  fi; \
344	  rm -f $(charset_tmp); \
345	fi
346
347charset.alias: config.charset
348	$(AM_V_GEN)rm -f t-$@ $@ && \
349	$(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
350	mv t-$@ $@
351
352SUFFIXES += .sed .sin
353.sin.sed:
354	$(AM_V_GEN)rm -f t-$@ $@ && \
355	sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
356	mv t-$@ $@
357
358CLEANFILES += charset.alias ref-add.sed ref-del.sed
359
360EXTRA_DIST += config.charset ref-add.sin ref-del.sin
361
362## end   gnulib module localcharset
363
364## begin gnulib module lseek
365
366
367EXTRA_DIST += lseek.c
368
369EXTRA_libgnu_a_SOURCES += lseek.c
370
371## end   gnulib module lseek
372
373## begin gnulib module maintainer-makefile
374
375EXTRA_DIST += $(top_srcdir)/maint.mk
376
377## end   gnulib module maintainer-makefile
378
379## begin gnulib module mbrtowc
380
381
382EXTRA_DIST += mbrtowc.c
383
384EXTRA_libgnu_a_SOURCES += mbrtowc.c
385
386## end   gnulib module mbrtowc
387
388## begin gnulib module mbsinit
389
390
391EXTRA_DIST += mbsinit.c
392
393EXTRA_libgnu_a_SOURCES += mbsinit.c
394
395## end   gnulib module mbsinit
396
397## begin gnulib module memchr
398
399
400EXTRA_DIST += memchr.c memchr.valgrind
401
402EXTRA_libgnu_a_SOURCES += memchr.c
403
404## end   gnulib module memchr
405
406## begin gnulib module quote
407
408
409EXTRA_DIST += quote.c quote.h
410
411EXTRA_libgnu_a_SOURCES += quote.c
412
413## end   gnulib module quote
414
415## begin gnulib module quotearg
416
417
418EXTRA_DIST += quotearg.c quotearg.h
419
420EXTRA_libgnu_a_SOURCES += quotearg.c
421
422## end   gnulib module quotearg
423
424## begin gnulib module realloc-posix
425
426
427EXTRA_DIST += realloc.c
428
429EXTRA_libgnu_a_SOURCES += realloc.c
430
431## end   gnulib module realloc-posix
432
433## begin gnulib module stdbool
434
435BUILT_SOURCES += $(STDBOOL_H)
436
437# We need the following in order to create <stdbool.h> when the system
438# doesn't have one that works.
439stdbool.h: stdbool.in.h
440	$(AM_V_GEN)rm -f $@-t $@ && \
441	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
442	  sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
443	} > $@-t && \
444	mv $@-t $@
445MOSTLYCLEANFILES += stdbool.h stdbool.h-t
446
447EXTRA_DIST += stdbool.in.h
448
449## end   gnulib module stdbool
450
451## begin gnulib module stddef
452
453BUILT_SOURCES += $(STDDEF_H)
454
455# We need the following in order to create <stddef.h> when the system
456# doesn't have one that works with the given compiler.
457stddef.h: stddef.in.h
458	$(AM_V_GEN)rm -f $@-t $@ && \
459	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
460	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
461	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
462	      -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
463	      -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
464	      -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
465	      < $(srcdir)/stddef.in.h; \
466	} > $@-t && \
467	mv $@-t $@
468MOSTLYCLEANFILES += stddef.h stddef.h-t
469
470EXTRA_DIST += stddef.in.h
471
472## end   gnulib module stddef
473
474## begin gnulib module stdint
475
476BUILT_SOURCES += $(STDINT_H)
477
478# We need the following in order to create <stdint.h> when the system
479# doesn't have one that works with the given compiler.
480stdint.h: stdint.in.h
481	$(AM_V_GEN)rm -f $@-t $@ && \
482	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
483	  sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
484	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
485	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
486	      -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
487	      -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
488	      -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
489	      -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
490	      -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
491	      -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
492	      -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
493	      -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
494	      -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
495	      -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
496	      -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
497	      -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
498	      -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
499	      -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
500	      -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
501	      -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
502	      -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
503	      -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
504	      -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
505	      -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
506	      -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
507	      < $(srcdir)/stdint.in.h; \
508	} > $@-t && \
509	mv $@-t $@
510MOSTLYCLEANFILES += stdint.h stdint.h-t
511
512EXTRA_DIST += stdint.in.h
513
514## end   gnulib module stdint
515
516## begin gnulib module stdio
517
518BUILT_SOURCES += stdio.h
519
520# We need the following in order to create <stdio.h> when the system
521# doesn't have one that works with the given compiler.
522stdio.h: stdio.in.h
523	$(AM_V_GEN)rm -f $@-t $@ && \
524	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
525	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
526	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
527	      -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
528	      -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
529	      -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
530	      -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
531	      -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
532	      -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
533	      -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
534	      -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
535	      -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
536	      -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
537	      -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
538	      -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
539	      -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
540	      -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
541	      -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
542	      -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
543	      -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
544	      -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
545	      -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
546	      -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
547	      -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
548	      -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
549	      -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
550	      -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
551	      -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
552	      -e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \
553	      -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
554	      -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
555	      -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
556	      -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
557	      -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
558	      -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
559	      -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
560	      -e 's|@''GNULIB_POPEN''@|$(GNULIB_POPEN)|g' \
561	      -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
562	      -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
563	      -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
564	      -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
565	      -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
566	      -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
567	      -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
568	      -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
569	      -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
570	      -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
571	      -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
572	      -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
573	      -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
574	      -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
575	      -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
576	      -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
577	      -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
578	      -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
579	      -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
580	      -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
581	      -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
582	      -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
583	      -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
584	      -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
585	      -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
586	      -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
587	      -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
588	      -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
589	      -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
590	      -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
591	      -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
592	      -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
593	      -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
594	      -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
595	      -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
596	      -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
597	      -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
598	      -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
599	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
600	      < $(srcdir)/stdio.in.h; \
601	} > $@-t && \
602	mv $@-t $@
603MOSTLYCLEANFILES += stdio.h stdio.h-t
604
605EXTRA_DIST += stdio-write.c stdio.in.h
606
607EXTRA_libgnu_a_SOURCES += stdio-write.c
608
609## end   gnulib module stdio
610
611## begin gnulib module stdlib
612
613BUILT_SOURCES += stdlib.h
614
615# We need the following in order to create <stdlib.h> when the system
616# doesn't have one that works with the given compiler.
617stdlib.h: stdlib.in.h
618	$(AM_V_GEN)rm -f $@-t $@ && \
619	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
620	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
621	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
622	      -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
623	      -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
624	      -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
625	      -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
626	      -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
627	      -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
628	      -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
629	      -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
630	      -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
631	      -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \
632	      -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
633	      -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
634	      -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
635	      -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
636	      -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
637	      -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
638	      -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
639	      -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
640	      -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
641	      -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
642	      -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
643	      -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
644	      -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
645	      -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
646	      -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
647	      -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
648	      -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
649	      -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
650	      -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
651	      -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
652	      -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
653	      -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
654	      -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
655	      -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
656	      -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
657	      -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
658	      -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
659	      -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
660	      -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
661	      -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \
662	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
663	      < $(srcdir)/stdlib.in.h; \
664	} > $@-t && \
665	mv $@-t $@
666MOSTLYCLEANFILES += stdlib.h stdlib.h-t
667
668EXTRA_DIST += stdlib.in.h
669
670## end   gnulib module stdlib
671
672## begin gnulib module strcase
673
674
675EXTRA_DIST += strcasecmp.c strncasecmp.c
676
677EXTRA_libgnu_a_SOURCES += strcasecmp.c strncasecmp.c
678
679## end   gnulib module strcase
680
681## begin gnulib module strcasestr-simple
682
683
684EXTRA_DIST += str-two-way.h strcasestr.c
685
686EXTRA_libgnu_a_SOURCES += strcasestr.c
687
688## end   gnulib module strcasestr-simple
689
690## begin gnulib module streq
691
692
693EXTRA_DIST += streq.h
694
695## end   gnulib module streq
696
697## begin gnulib module strerror
698
699
700EXTRA_DIST += strerror.c
701
702EXTRA_libgnu_a_SOURCES += strerror.c
703
704## end   gnulib module strerror
705
706## begin gnulib module string
707
708BUILT_SOURCES += string.h
709
710# We need the following in order to create <string.h> when the system
711# doesn't have one that works with the given compiler.
712string.h: string.in.h
713	$(AM_V_GEN)rm -f $@-t $@ && \
714	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
715	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
716	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
717	      -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
718	      -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
719	      -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
720	      -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
721	      -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
722	      -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
723	      -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
724	      -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
725	      -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
726	      -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
727	      -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
728	      -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
729	      -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
730	      -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
731	      -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
732	      -e 's|@''GNULIB_MEMCHR''@|$(GNULIB_MEMCHR)|g' \
733	      -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
734	      -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
735	      -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
736	      -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
737	      -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
738	      -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
739	      -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
740	      -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
741	      -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
742	      -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
743	      -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
744	      -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
745	      -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
746	      -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
747	      -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
748	      -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
749	      -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
750	      -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
751	      -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
752	      -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
753	      -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
754	      -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
755	      -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
756	      -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
757	      -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
758	      -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
759	      -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
760	      -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
761	      -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
762	      -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
763	      -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
764	      -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
765	      -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
766	      -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
767	      -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
768	      -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
769	      -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
770	      -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
771	      -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
772	      -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
773	      -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
774	      -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
775	      -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
776	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
777	      < $(srcdir)/string.in.h; \
778	} > $@-t && \
779	mv $@-t $@
780MOSTLYCLEANFILES += string.h string.h-t
781
782EXTRA_DIST += string.in.h
783
784## end   gnulib module string
785
786## begin gnulib module strings
787
788BUILT_SOURCES += strings.h
789
790# We need the following in order to create <strings.h> when the system
791# doesn't have one that works with the given compiler.
792strings.h: strings.in.h
793	$(AM_V_GEN)rm -f $@-t $@ && \
794	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
795	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
796	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
797	      -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
798	      -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
799	      -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
800	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
801	      < $(srcdir)/strings.in.h; \
802	} > $@-t && \
803	mv $@-t $@
804MOSTLYCLEANFILES += strings.h strings.h-t
805
806EXTRA_DIST += strings.in.h
807
808## end   gnulib module strings
809
810## begin gnulib module unistd
811
812BUILT_SOURCES += unistd.h
813
814# We need the following in order to create an empty placeholder for
815# <unistd.h> when the system doesn't have one.
816unistd.h: unistd.in.h
817	$(AM_V_GEN)rm -f $@-t $@ && \
818	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
819	  sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
820	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
821	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
822	      -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
823	      -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
824	      -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
825	      -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
826	      -e 's|@''GNULIB_DUP3''@|$(GNULIB_DUP3)|g' \
827	      -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
828	      -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
829	      -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
830	      -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
831	      -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
832	      -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
833	      -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
834	      -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
835	      -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
836	      -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
837	      -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
838	      -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
839	      -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
840	      -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
841	      -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
842	      -e 's|@''GNULIB_PIPE2''@|$(GNULIB_PIPE2)|g' \
843	      -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
844	      -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
845	      -e 's|@''GNULIB_UNISTD_H_GETOPT''@|$(GNULIB_UNISTD_H_GETOPT)|g' \
846	      -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
847	      -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
848	      -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
849	      -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
850	      -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
851	      -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
852	      -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
853	      -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
854	      -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
855	      -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
856	      -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
857	      -e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \
858	      -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
859	      -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
860	      -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
861	      -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
862	      -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
863	      -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
864	      -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
865	      -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
866	      -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
867	      -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
868	      -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
869	      -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
870	      -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
871	      -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
872	      -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
873	      -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
874	      -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
875	      -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
876	      -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
877	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
878	      < $(srcdir)/unistd.in.h; \
879	} > $@-t && \
880	mv $@-t $@
881MOSTLYCLEANFILES += unistd.h unistd.h-t
882
883EXTRA_DIST += unistd.in.h
884
885## end   gnulib module unistd
886
887## begin gnulib module update-copyright
888
889
890EXTRA_DIST += $(top_srcdir)/build-aux/update-copyright
891
892## end   gnulib module update-copyright
893
894## begin gnulib module useless-if-before-free
895
896
897EXTRA_DIST += $(top_srcdir)/build-aux/useless-if-before-free
898
899## end   gnulib module useless-if-before-free
900
901## begin gnulib module vc-list-files
902
903
904EXTRA_DIST += $(top_srcdir)/build-aux/vc-list-files
905
906## end   gnulib module vc-list-files
907
908## begin gnulib module verify
909
910libgnu_a_SOURCES += verify.h
911
912## end   gnulib module verify
913
914## begin gnulib module wchar
915
916BUILT_SOURCES += $(WCHAR_H)
917
918# We need the following in order to create <wchar.h> when the system
919# version does not work standalone.
920wchar.h: wchar.in.h
921	$(AM_V_GEN)rm -f $@-t $@ && \
922	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
923	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
924	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
925	      -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
926	      -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
927	      -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
928	      -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
929	      -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
930	      -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
931	      -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
932	      -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
933	      -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
934	      -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
935	      -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
936	      -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
937	      -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
938	      -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
939	      -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
940	      -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
941	      -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
942	      -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
943	      -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
944	      -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
945	      -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
946	      -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
947	      -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
948	      -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
949	      -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
950	      -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
951	      -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
952	      -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
953	      -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
954	      -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
955	      -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
956	      -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
957	      -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
958	      -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
959	      -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
960	      -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
961	      -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
962	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
963	    < $(srcdir)/wchar.in.h; \
964	} > $@-t && \
965	mv $@-t $@
966MOSTLYCLEANFILES += wchar.h wchar.h-t
967
968EXTRA_DIST += wchar.in.h
969
970## end   gnulib module wchar
971
972## begin gnulib module wctype
973
974BUILT_SOURCES += $(WCTYPE_H)
975
976# We need the following in order to create <wctype.h> when the system
977# doesn't have one that works with the given compiler.
978wctype.h: wctype.in.h
979	$(AM_V_GEN)rm -f $@-t $@ && \
980	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
981	  sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
982	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
983	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
984	      -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
985	      -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
986	      -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
987	      -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
988	      < $(srcdir)/wctype.in.h; \
989	} > $@-t && \
990	mv $@-t $@
991MOSTLYCLEANFILES += wctype.h wctype.h-t
992
993EXTRA_DIST += wctype.in.h
994
995## end   gnulib module wctype
996
997## begin gnulib module xalloc
998
999
1000EXTRA_DIST += xalloc.h xmalloc.c
1001
1002EXTRA_libgnu_a_SOURCES += xmalloc.c
1003
1004## end   gnulib module xalloc
1005
1006## begin gnulib module xalloc-die
1007
1008libgnu_a_SOURCES += xalloc-die.c
1009
1010## end   gnulib module xalloc-die
1011
1012
1013mostlyclean-local: mostlyclean-generic
1014	@for dir in '' $(MOSTLYCLEANDIRS); do \
1015	  if test -n "$$dir" && test -d $$dir; then \
1016	    echo "rmdir $$dir"; rmdir $$dir; \
1017	  fi; \
1018	done; \
1019	:
1020