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