Merge lp:~noskcaj/ubuntu/saucy/gzip/1.6 into lp:ubuntu/saucy/gzip

Proposed by Jackson Doak
Status: Merged
Merge reported by: Martin Pitt
Merged at revision: not available
Proposed branch: lp:~noskcaj/ubuntu/saucy/gzip/1.6
Merge into: lp:ubuntu/saucy/gzip
Diff against target: 39445 lines (+10575/-10839)
464 files modified
.pc/applied-patches (+1/-3)
.pc/gzip-man-pack.diff/gzip.1 (+0/-514)
.pc/rfc-urls.diff/gzip.1 (+0/-512)
.pc/rsyncable.diff/deflate.c (+1/-1)
.pc/rsyncable.diff/doc/gzip.texi (+8/-3)
.pc/rsyncable.diff/gzip.1 (+508/-0)
.pc/rsyncable.diff/gzip.c (+26/-14)
.pc/rsyncable.diff/gzip.h (+1/-4)
.pc/sigpipe.diff/gzip.c (+26/-14)
.pc/zdiff-man.diff/zdiff.1 (+0/-46)
.pc/zgrep-man-diff/zgrep.1 (+29/-0)
.tarball-version (+1/-1)
ChangeLog (+259/-16)
ChangeLog-2007 (+2/-2)
GNUmakefile (+1/-1)
INSTALL (+1/-1)
Makefile.am (+2/-2)
Makefile.in (+152/-151)
NEWS (+26/-2)
README (+1/-1)
README-release (+25/-25)
TODO (+1/-1)
aclocal.m4 (+721/-642)
bits.c (+1/-1)
build-aux/announce-gen (+1/-1)
build-aux/compile (+82/-45)
build-aux/config.guess (+101/-77)
build-aux/config.rpath (+1/-1)
build-aux/config.sub (+49/-43)
build-aux/depcomp (+263/-214)
build-aux/do-release-commit-and-tag (+39/-24)
build-aux/gendocs.sh (+194/-103)
build-aux/git-version-gen (+14/-9)
build-aux/gitlog-to-changelog (+33/-4)
build-aux/gnu-web-doc-update (+79/-31)
build-aux/gnupload (+25/-15)
build-aux/mdate-sh (+1/-1)
build-aux/missing (+150/-267)
build-aux/snippet/arg-nonnull.h (+1/-1)
build-aux/snippet/c++defs.h (+1/-1)
build-aux/snippet/unused-parameter.h (+1/-1)
build-aux/snippet/warn-on-use.h (+2/-2)
build-aux/test-driver (+7/-7)
build-aux/texinfo.tex (+175/-109)
build-aux/update-copyright (+3/-3)
build-aux/useless-if-before-free (+1/-1)
build-aux/vc-list-files (+1/-1)
cfg.mk (+3/-3)
configure (+4016/-4325)
configure.ac (+70/-17)
debian/changelog (+20/-1)
debian/control (+2/-1)
debian/patches/gzip-man-pack.diff (+0/-20)
debian/patches/rfc-urls.diff (+0/-33)
debian/patches/rsyncable.diff (+51/-17)
debian/patches/series (+1/-3)
debian/patches/sigpipe.diff (+5/-15)
debian/patches/zdiff-man.diff (+0/-43)
debian/patches/zgrep-man-diff (+28/-0)
debian/rules (+1/-1)
debian/tests/control (+2/-0)
debian/tests/simple-gzip (+10/-0)
deflate.c (+1/-1)
doc/Makefile.am (+1/-1)
doc/Makefile.in (+109/-107)
doc/gzip.info (+39/-33)
doc/gzip.texi (+8/-3)
doc/stamp-vti (+4/-4)
doc/version.texi (+4/-4)
gunzip.in (+2/-1)
gzexe.in (+1/-1)
gzip.1 (+35/-28)
gzip.c (+25/-15)
gzip.doc (+93/-96)
gzip.h (+1/-4)
inflate.c (+1/-1)
lib/Makefile.am (+2/-2)
lib/Makefile.in (+189/-154)
lib/alloca.in.h (+8/-1)
lib/asnprintf.c (+1/-1)
lib/basename-lgpl.c (+1/-1)
lib/c-ctype.c (+1/-1)
lib/c-ctype.h (+3/-2)
lib/c-strcase.h (+1/-1)
lib/c-strcasecmp.c (+1/-1)
lib/c-strcaseeq.h (+1/-1)
lib/c-strncasecmp.c (+1/-1)
lib/calloc.c (+1/-1)
lib/chdir-long.c (+5/-5)
lib/chdir-long.h (+1/-1)
lib/cloexec.c (+1/-1)
lib/cloexec.h (+1/-1)
lib/close-stream.c (+1/-1)
lib/close.c (+1/-1)
lib/closedir.c (+1/-1)
lib/closein.c (+1/-1)
lib/closein.h (+1/-1)
lib/closeout.c (+1/-1)
lib/closeout.h (+1/-1)
lib/config.charset (+2/-2)
lib/config.hin (+131/-834)
lib/creat-safer.c (+1/-1)
lib/dirent--.h (+1/-1)
lib/dirent-private.h (+1/-1)
lib/dirent-safer.h (+1/-1)
lib/dirent.in.h (+1/-1)
lib/dirfd.c (+1/-1)
lib/dirname-lgpl.c (+1/-1)
lib/dirname.h (+1/-1)
lib/dosname.h (+1/-1)
lib/dup-safer.c (+1/-1)
lib/dup.c (+2/-2)
lib/dup2.c (+4/-1)
lib/errno.in.h (+6/-1)
lib/error.c (+3/-3)
lib/error.h (+1/-1)
lib/exitfail.c (+1/-1)
lib/exitfail.h (+1/-1)
lib/fchdir.c (+1/-1)
lib/fclose.c (+1/-1)
lib/fcntl--.h (+1/-1)
lib/fcntl-safer.h (+1/-1)
lib/fcntl.c (+1/-1)
lib/fcntl.in.h (+14/-2)
lib/fd-hook.c (+1/-1)
lib/fd-hook.h (+1/-1)
lib/fd-safer.c (+1/-1)
lib/fdopendir.c (+1/-1)
lib/fflush.c (+20/-16)
lib/filename.h (+1/-1)
lib/filenamecat-lgpl.c (+1/-1)
lib/filenamecat.h (+1/-1)
lib/float+.h (+1/-1)
lib/float.c (+1/-1)
lib/float.in.h (+1/-1)
lib/fpending.c (+1/-1)
lib/fpending.h (+1/-5)
lib/fprintf.c (+1/-1)
lib/fpucw.h (+1/-1)
lib/fpurge.c (+5/-5)
lib/freadahead.c (+2/-2)
lib/freadahead.h (+15/-6)
lib/freading.c (+2/-2)
lib/freading.h (+2/-2)
lib/frexp.c (+1/-1)
lib/frexpl.c (+1/-1)
lib/fseek.c (+1/-1)
lib/fseeko.c (+4/-4)
lib/fseterr.c (+2/-2)
lib/fseterr.h (+16/-8)
lib/fstat.c (+5/-3)
lib/ftell.c (+1/-1)
lib/ftello.c (+1/-1)
lib/getcwd-lgpl.c (+1/-1)
lib/getdtablesize.c (+2/-2)
lib/getopt.c (+1/-1)
lib/getopt.in.h (+3/-1)
lib/getopt1.c (+1/-1)
lib/getopt_int.h (+1/-1)
lib/gettext.h (+7/-4)
lib/gettime.c (+1/-1)
lib/gettimeofday.c (+1/-1)
lib/glthread/lock.c (+4/-4)
lib/glthread/lock.h (+1/-1)
lib/glthread/threadlib.c (+1/-1)
lib/gnulib.mk (+20/-10)
lib/ignore-value.h (+1/-1)
lib/intprops.h (+2/-2)
lib/isnan.c (+1/-1)
lib/isnand-nolibm.h (+1/-1)
lib/isnand.c (+1/-1)
lib/isnanf-nolibm.h (+1/-1)
lib/isnanf.c (+1/-1)
lib/isnanl-nolibm.h (+1/-1)
lib/isnanl.c (+1/-1)
lib/itold.c (+1/-1)
lib/localcharset.c (+9/-2)
lib/localcharset.h (+1/-1)
lib/lseek.c (+1/-1)
lib/lstat.c (+2/-2)
lib/malloc.c (+1/-1)
lib/match.c (+1/-1)
lib/math.c (+3/-0)
lib/math.in.h (+10/-5)
lib/mbrtowc.c (+1/-1)
lib/mbsinit.c (+1/-1)
lib/memchr.c (+1/-1)
lib/mempcpy.c (+1/-1)
lib/memrchr.c (+1/-1)
lib/msvc-inval.c (+1/-1)
lib/msvc-inval.h (+1/-1)
lib/msvc-nothrow.c (+1/-1)
lib/msvc-nothrow.h (+1/-1)
lib/open-safer.c (+1/-1)
lib/open.c (+2/-2)
lib/openat-die.c (+1/-1)
lib/openat-priv.h (+1/-1)
lib/openat-proc.c (+1/-1)
lib/openat.c (+2/-2)
lib/openat.h (+25/-9)
lib/opendir-safer.c (+1/-1)
lib/opendir.c (+1/-1)
lib/pathmax.h (+1/-1)
lib/perror.c (+1/-1)
lib/pipe-safer.c (+1/-1)
lib/printf-args.c (+1/-1)
lib/printf-args.h (+1/-1)
lib/printf-frexp.c (+1/-1)
lib/printf-frexp.h (+1/-1)
lib/printf-frexpl.c (+1/-1)
lib/printf-frexpl.h (+1/-1)
lib/printf-parse.c (+2/-2)
lib/printf-parse.h (+1/-1)
lib/printf.c (+1/-1)
lib/quote.h (+21/-8)
lib/quotearg.c (+29/-12)
lib/quotearg.h (+1/-1)
lib/readdir.c (+1/-1)
lib/realloc.c (+1/-1)
lib/ref-add.sin (+1/-1)
lib/ref-del.sin (+1/-1)
lib/save-cwd.c (+1/-1)
lib/save-cwd.h (+1/-1)
lib/savedir.c (+1/-1)
lib/savedir.h (+1/-1)
lib/signbitd.c (+1/-1)
lib/signbitf.c (+1/-1)
lib/signbitl.c (+1/-1)
lib/size_max.h (+1/-1)
lib/stat-time.c (+3/-0)
lib/stat-time.h (+16/-9)
lib/stat.c (+3/-2)
lib/stdbool.in.h (+32/-21)
lib/stddef.in.h (+1/-1)
lib/stdint.in.h (+3/-3)
lib/stdio-impl.h (+3/-3)
lib/stdio.in.h (+18/-13)
lib/stdlib.in.h (+33/-7)
lib/strdup.c (+1/-1)
lib/streq.h (+1/-1)
lib/strerror-override.c (+6/-1)
lib/strerror-override.h (+3/-2)
lib/strerror.c (+1/-1)
lib/strerror_r.c (+1/-1)
lib/string.in.h (+1/-1)
lib/stripslash.c (+1/-1)
lib/sys_stat.in.h (+6/-2)
lib/sys_time.in.h (+104/-97)
lib/sys_types.in.h (+1/-1)
lib/time.in.h (+1/-1)
lib/timespec.c (+3/-0)
lib/timespec.h (+17/-7)
lib/unistd--.h (+1/-1)
lib/unistd-safer.h (+1/-1)
lib/unistd.c (+3/-0)
lib/unistd.in.h (+18/-23)
lib/utimens.c (+18/-9)
lib/utimens.h (+28/-1)
lib/vasnprintf.c (+5/-4)
lib/vasnprintf.h (+1/-1)
lib/verify.h (+9/-3)
lib/vfprintf.c (+1/-1)
lib/wchar.in.h (+1/-1)
lib/wctype-h.c (+4/-0)
lib/wctype.in.h (+30/-17)
lib/xalloc-die.c (+1/-1)
lib/xalloc-oversized.h (+2/-2)
lib/xalloc.h (+43/-54)
lib/xmalloc.c (+3/-5)
lib/xsize.c (+3/-0)
lib/xsize.h (+13/-6)
lib/yesno.c (+1/-1)
lib/yesno.h (+1/-1)
m4/00gnulib.m4 (+1/-1)
m4/alloca.m4 (+1/-1)
m4/asm-underscore.m4 (+1/-1)
m4/calloc.m4 (+1/-1)
m4/chdir-long.m4 (+3/-7)
m4/clock_time.m4 (+1/-1)
m4/close-stream.m4 (+1/-1)
m4/close.m4 (+1/-1)
m4/closedir.m4 (+1/-1)
m4/closein.m4 (+1/-1)
m4/closeout.m4 (+1/-1)
m4/codeset.m4 (+1/-1)
m4/configmake.m4 (+1/-1)
m4/dirent-safer.m4 (+1/-1)
m4/dirent_h.m4 (+1/-1)
m4/dirfd.m4 (+1/-1)
m4/dirname.m4 (+1/-1)
m4/double-slash-root.m4 (+1/-1)
m4/dup.m4 (+3/-5)
m4/dup2.m4 (+5/-2)
m4/errno_h.m4 (+5/-2)
m4/error.m4 (+1/-2)
m4/exponentd.m4 (+1/-1)
m4/exponentf.m4 (+1/-1)
m4/exponentl.m4 (+1/-1)
m4/extensions.m4 (+33/-18)
m4/extern-inline.m4 (+73/-0)
m4/fchdir.m4 (+1/-1)
m4/fclose.m4 (+1/-1)
m4/fcntl-o.m4 (+13/-2)
m4/fcntl-safer.m4 (+1/-1)
m4/fcntl.m4 (+1/-1)
m4/fcntl_h.m4 (+1/-1)
m4/fdopendir.m4 (+1/-1)
m4/fflush.m4 (+3/-7)
m4/filenamecat.m4 (+1/-1)
m4/float_h.m4 (+1/-1)
m4/fpending.m4 (+1/-1)
m4/fpieee.m4 (+1/-1)
m4/fprintf-posix.m4 (+1/-1)
m4/fpurge.m4 (+1/-1)
m4/freadahead.m4 (+10/-0)
m4/freading.m4 (+1/-1)
m4/frexp.m4 (+8/-6)
m4/frexpl.m4 (+8/-8)
m4/fseek.m4 (+1/-1)
m4/fseeko.m4 (+1/-1)
m4/fseterr.m4 (+10/-0)
m4/fstat.m4 (+3/-6)
m4/ftell.m4 (+1/-1)
m4/ftello.m4 (+1/-1)
m4/getcwd.m4 (+2/-2)
m4/getdtablesize.m4 (+3/-5)
m4/getopt.m4 (+174/-147)
m4/gettime.m4 (+1/-1)
m4/gettimeofday.m4 (+1/-1)
m4/glibc21.m4 (+1/-1)
m4/gnu-make.m4 (+1/-1)
m4/gnulib-common.m4 (+8/-4)
m4/gnulib-comp.m4 (+423/-407)
m4/include_next.m4 (+1/-1)
m4/inline.m4 (+0/-40)
m4/intmax_t.m4 (+1/-1)
m4/inttypes_h.m4 (+1/-1)
m4/isnand.m4 (+1/-1)
m4/isnanf.m4 (+1/-1)
m4/isnanl.m4 (+1/-1)
m4/largefile.m4 (+12/-15)
m4/ldexpl.m4 (+4/-4)
m4/lib-ignore.m4 (+1/-1)
m4/lib-ld.m4 (+35/-25)
m4/lib-link.m4 (+1/-1)
m4/lib-prefix.m4 (+1/-1)
m4/localcharset.m4 (+1/-1)
m4/locale-fr.m4 (+6/-6)
m4/locale-ja.m4 (+4/-4)
m4/locale-zh.m4 (+4/-4)
m4/lock.m4 (+8/-7)
m4/longlong.m4 (+1/-1)
m4/lseek.m4 (+1/-1)
m4/lstat.m4 (+3/-7)
m4/malloc.m4 (+1/-1)
m4/manywarnings.m4 (+113/-74)
m4/math_h.m4 (+2/-3)
m4/mbrtowc.m4 (+1/-1)
m4/mbsinit.m4 (+1/-1)
m4/mbstate_t.m4 (+1/-1)
m4/memchr.m4 (+1/-1)
m4/mempcpy.m4 (+1/-1)
m4/memrchr.m4 (+1/-1)
m4/mmap-anon.m4 (+3/-3)
m4/mode_t.m4 (+1/-1)
m4/msvc-inval.m4 (+1/-1)
m4/msvc-nothrow.m4 (+1/-1)
m4/multiarch.m4 (+3/-3)
m4/nocrash.m4 (+3/-3)
m4/off_t.m4 (+1/-1)
m4/open.m4 (+2/-3)
m4/openat.m4 (+2/-3)
m4/opendir.m4 (+1/-1)
m4/pathmax.m4 (+1/-1)
m4/perror.m4 (+1/-1)
m4/printf-frexp.m4 (+1/-1)
m4/printf-frexpl.m4 (+4/-4)
m4/printf-posix-rpl.m4 (+1/-1)
m4/printf.m4 (+16/-15)
m4/quotearg.m4 (+1/-1)
m4/readdir.m4 (+1/-1)
m4/realloc.m4 (+1/-1)
m4/save-cwd.m4 (+1/-1)
m4/savedir.m4 (+1/-1)
m4/shell.m4 (+5/-5)
m4/signbit.m4 (+3/-3)
m4/size_max.m4 (+1/-1)
m4/ssize_t.m4 (+1/-1)
m4/stat-time.m4 (+1/-3)
m4/stat.m4 (+3/-7)
m4/stdbool.m4 (+1/-1)
m4/stddef_h.m4 (+1/-1)
m4/stdint.m4 (+1/-1)
m4/stdint_h.m4 (+1/-1)
m4/stdio_h.m4 (+4/-3)
m4/stdlib_h.m4 (+6/-3)
m4/strdup.m4 (+1/-1)
m4/strerror.m4 (+1/-1)
m4/strerror_r.m4 (+3/-3)
m4/string_h.m4 (+1/-1)
m4/sys_socket_h.m4 (+2/-3)
m4/sys_stat_h.m4 (+2/-5)
m4/sys_time_h.m4 (+7/-3)
m4/sys_types_h.m4 (+3/-3)
m4/threadlib.m4 (+42/-42)
m4/time_h.m4 (+3/-3)
m4/timespec.m4 (+3/-7)
m4/unistd-safer.m4 (+1/-1)
m4/unistd_h.m4 (+2/-3)
m4/utimbuf.m4 (+1/-1)
m4/utimens.m4 (+1/-1)
m4/utimes.m4 (+1/-1)
m4/vasnprintf.m4 (+2/-3)
m4/vfprintf-posix.m4 (+1/-1)
m4/warn-on-use.m4 (+0/-47)
m4/warnings.m4 (+13/-4)
m4/wchar_h.m4 (+1/-1)
m4/wchar_t.m4 (+1/-1)
m4/wctype_h.m4 (+2/-4)
m4/wint_t.m4 (+1/-1)
m4/xalloc.m4 (+3/-18)
m4/xsize.m4 (+2/-3)
m4/yesno.m4 (+1/-1)
maint.mk (+195/-89)
revision.h (+1/-1)
tailor.h (+1/-1)
tests/Makefile.am (+21/-19)
tests/Makefile.in (+142/-86)
tests/helin-segv (+1/-1)
tests/help-version (+37/-18)
tests/hufts (+1/-1)
tests/init.cfg (+0/-15)
tests/init.sh (+3/-4)
tests/keep (+44/-0)
tests/memcpy-abuse (+1/-1)
tests/mixed (+1/-1)
tests/null-suffix-clobber (+1/-1)
tests/stdin (+1/-1)
tests/trailing-nul (+1/-1)
tests/unpack-invalid (+36/-0)
tests/zdiff (+1/-1)
tests/zgrep-context (+41/-0)
tests/zgrep-f (+1/-3)
tests/zgrep-signal (+1/-1)
tests/znew-k (+1/-1)
trees.c (+1/-1)
unlzw.c (+19/-103)
unpack.c (+30/-13)
unzip.c (+1/-1)
util.c (+22/-3)
zcat.in (+1/-1)
zcmp.in (+2/-2)
zdiff.1 (+8/-14)
zdiff.in (+1/-1)
zegrep.in (+1/-1)
zfgrep.in (+1/-1)
zforce.in (+1/-1)
zgrep.1 (+9/-1)
zgrep.in (+3/-3)
zip.c (+1/-1)
zless.in (+1/-1)
zmore.1 (+11/-25)
zmore.in (+18/-50)
znew.in (+1/-1)
To merge this branch: bzr merge lp:~noskcaj/ubuntu/saucy/gzip/1.6
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+179658@code.launchpad.net

Description of the change

Merged from debian in revision 18,
added dholbach's autopkgtest tests in revision 19

To post a comment you must log in.
Revision history for this message
Martin Pitt (pitti) wrote :

I reverted the refreshing of the patches, that's just creating unnecessary noise. Also, there is 1.6-2 in the meantime, so I applied your merge on top of that. Thanks!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file '.pc/applied-patches'
2--- .pc/applied-patches 2012-06-29 02:07:40 +0000
3+++ .pc/applied-patches 2013-08-12 10:11:48 +0000
4@@ -1,5 +1,3 @@
5 rsyncable.diff
6-gzip-man-pack.diff
7-zdiff-man.diff
8-rfc-urls.diff
9 sigpipe.diff
10+zgrep-man-diff
11
12=== removed directory '.pc/gzip-man-pack.diff'
13=== removed file '.pc/gzip-man-pack.diff/gzip.1'
14--- .pc/gzip-man-pack.diff/gzip.1 2012-06-29 02:07:40 +0000
15+++ .pc/gzip-man-pack.diff/gzip.1 1970-01-01 00:00:00 +0000
16@@ -1,514 +0,0 @@
17-.TH GZIP 1 local
18-.SH NAME
19-gzip, gunzip, zcat \- compress or expand files
20-.SH SYNOPSIS
21-.ll +8
22-.B gzip
23-.RB [ " \-acdfhlLnNrtvV19 " ]
24-.RB [ \-S\ suffix ]
25-[
26-.I "name \&..."
27-]
28-.ll -8
29-.br
30-.B gunzip
31-.RB [ " \-acfhlLnNrtvV " ]
32-.RB [ \-S\ suffix ]
33-[
34-.I "name \&..."
35-]
36-.br
37-.B zcat
38-.RB [ " \-fhLV " ]
39-[
40-.I "name \&..."
41-]
42-.SH DESCRIPTION
43-.I Gzip
44-reduces the size of the named files using Lempel-Ziv coding (LZ77).
45-Whenever possible,
46-each file is replaced by one with the extension
47-.B "\&.gz,"
48-while keeping the same ownership modes, access and modification times.
49-(The default extension is
50-.B "\-gz"
51-for VMS,
52-.B "z"
53-for MSDOS, OS/2 FAT, Windows NT FAT and Atari.)
54-If no files are specified, or if a file name is "-", the standard input is
55-compressed to the standard output.
56-.I Gzip
57-will only attempt to compress regular files.
58-In particular, it will ignore symbolic links.
59-.PP
60-If the compressed file name is too long for its file system,
61-.I gzip
62-truncates it.
63-.I Gzip
64-attempts to truncate only the parts of the file name longer than 3 characters.
65-(A part is delimited by dots.) If the name consists of small parts only,
66-the longest parts are truncated. For example, if file names are limited
67-to 14 characters, gzip.msdos.exe is compressed to gzi.msd.exe.gz.
68-Names are not truncated on systems which do not have a limit on file name
69-length.
70-.PP
71-By default,
72-.I gzip
73-keeps the original file name and timestamp in the compressed file. These
74-are used when decompressing the file with the
75-.B \-N
76-option. This is useful when the compressed file name was truncated or
77-when the time stamp was not preserved after a file transfer.
78-.PP
79-Compressed files can be restored to their original form using
80-.I gzip -d
81-or
82-.I gunzip
83-or
84-.I zcat.
85-If the original name saved in the compressed file is not suitable for its
86-file system, a new name is constructed from the original one to make it
87-legal.
88-.PP
89-.I gunzip
90-takes a list of files on its command line and replaces each
91-file whose name ends with .gz, -gz, .z, -z, or _z (ignoring case)
92-and which begins with the correct magic number with an uncompressed
93-file without the original extension.
94-.I gunzip
95-also recognizes the special extensions
96-.B "\&.tgz"
97-and
98-.B "\&.taz"
99-as shorthands for
100-.B "\&.tar.gz"
101-and
102-.B "\&.tar.Z"
103-respectively.
104-When compressing,
105-.I gzip
106-uses the
107-.B "\&.tgz"
108-extension if necessary instead of truncating a file with a
109-.B "\&.tar"
110-extension.
111-.PP
112-.I gunzip
113-can currently decompress files created by
114-.I gzip, zip, compress, compress -H
115-or
116-.I pack.
117-The detection of the input format is automatic. When using
118-the first two formats,
119-.I gunzip
120-checks a 32 bit CRC. For
121-.I pack, gunzip
122-checks the uncompressed length. The standard
123-.I compress
124-format was not designed to allow consistency checks. However
125-.I gunzip
126-is sometimes able to detect a bad .Z file. If you get an error
127-when uncompressing a .Z file, do not assume that the .Z file is
128-correct simply because the standard
129-.I uncompress
130-does not complain. This generally means that the standard
131-.I uncompress
132-does not check its input, and happily generates garbage output.
133-The SCO compress -H format (lzh compression method) does not include a CRC
134-but also allows some consistency checks.
135-.PP
136-Files created by
137-.I zip
138-can be uncompressed by gzip only if they have a single member compressed
139-with the 'deflation' method. This feature is only intended to help
140-conversion of tar.zip files to the tar.gz format. To extract a
141-.I zip
142-file with a single member, use a command like
143-.I "gunzip <foo.zip"
144-or
145-.IR "gunzip -S .zip foo.zip" .
146-To extract zip files
147-with several members, use
148-.I unzip
149-instead of
150-.I gunzip.
151-.PP
152-.I zcat
153-is identical to
154-.I gunzip
155-.B \-c.
156-(On some systems,
157-.I zcat
158-may be installed as
159-.I gzcat
160-to preserve the original link to
161-.I compress.)
162-.I zcat
163-uncompresses either a list of files on the command line or its
164-standard input and writes the uncompressed data on standard output.
165-.I zcat
166-will uncompress files that have the correct magic number whether
167-they have a
168-.B "\&.gz"
169-suffix or not.
170-.PP
171-.I Gzip
172-uses the Lempel-Ziv algorithm used in
173-.I zip
174-and PKZIP.
175-The amount of compression obtained depends on the size of the
176-input and the distribution of common substrings.
177-Typically, text such as source code or English
178-is reduced by 60\-70%.
179-Compression is generally much better than that achieved by
180-LZW (as used in
181-.IR compress ),
182-Huffman coding (as used in
183-.IR pack ),
184-or adaptive Huffman coding
185-.RI ( compact ).
186-.PP
187-Compression is always performed, even if the compressed file is
188-slightly larger than the original. The worst case expansion is
189-a few bytes for the gzip file header, plus 5 bytes every 32K block,
190-or an expansion ratio of 0.015% for large files. Note that the actual
191-number of used disk blocks almost never increases.
192-.I gzip
193-preserves the mode, ownership and timestamps of files when compressing
194-or decompressing.
195-.PP
196-The
197-.I gzip
198-file format is specified in P. Deutsch, \s-1GZIP\s0 file format
199-specification version 4.3, <ftp://ftp.isi.edu/in-notes/rfc1952.txt>,
200-Internet RFC 1952 (May 1996). The
201-.I zip
202-deflation format is specified in P. Deutsch, \s-1DEFLATE\s0 Compressed
203-Data Format Specification version 1.3,
204-<ftp://ftp.isi.edu/in-notes/rfc1951.txt>, Internet RFC 1951 (May 1996).
205-
206-.SH OPTIONS
207-.TP
208-.B \-a --ascii
209-Ascii text mode: convert end-of-lines using local conventions. This option
210-is supported only on some non-Unix systems. For MSDOS, CR LF is converted
211-to LF when compressing, and LF is converted to CR LF when decompressing.
212-.TP
213-.B \-c --stdout --to-stdout
214-Write output on standard output; keep original files unchanged.
215-If there are several input files, the output consists of a sequence of
216-independently compressed members. To obtain better compression,
217-concatenate all input files before compressing them.
218-.TP
219-.B \-d --decompress --uncompress
220-Decompress.
221-.TP
222-.B \-f --force
223-Force compression or decompression even if the file has multiple links
224-or the corresponding file already exists, or if the compressed data
225-is read from or written to a terminal. If the input data is not in
226-a format recognized by
227-.I gzip,
228-and if the option --stdout is also given, copy the input data without change
229-to the standard output: let
230-.I zcat
231-behave as
232-.I cat.
233-If
234-.B \-f
235-is not given,
236-and when not running in the background,
237-.I gzip
238-prompts to verify whether an existing file should be overwritten.
239-.TP
240-.B \-h --help
241-Display a help screen and quit.
242-.TP
243-.B \-l --list
244-For each compressed file, list the following fields:
245-
246- compressed size: size of the compressed file
247- uncompressed size: size of the uncompressed file
248- ratio: compression ratio (0.0% if unknown)
249- uncompressed_name: name of the uncompressed file
250-
251-The uncompressed size is given as -1 for files not in gzip format,
252-such as compressed .Z files. To get the uncompressed size for such a file,
253-you can use:
254-
255- zcat file.Z | wc -c
256-
257-In combination with the --verbose option, the following fields are also
258-displayed:
259-
260- method: compression method
261- crc: the 32-bit CRC of the uncompressed data
262- date & time: time stamp for the uncompressed file
263-
264-The compression methods currently supported are deflate, compress, lzh
265-(SCO compress -H) and pack. The crc is given as ffffffff for a file
266-not in gzip format.
267-
268-With --name, the uncompressed name, date and time are
269-those stored within the compress file if present.
270-
271-With --verbose, the size totals and compression ratio for all files
272-is also displayed, unless some sizes are unknown. With --quiet,
273-the title and totals lines are not displayed.
274-.TP
275-.B \-L --license
276-Display the
277-.I gzip
278-license and quit.
279-.TP
280-.B \-n --no-name
281-When compressing, do not save the original file name and time stamp by
282-default. (The original name is always saved if the name had to be
283-truncated.) When decompressing, do not restore the original file name
284-if present (remove only the
285-.I gzip
286-suffix from the compressed file name) and do not restore the original
287-time stamp if present (copy it from the compressed file). This option
288-is the default when decompressing.
289-.TP
290-.B \-N --name
291-When compressing, always save the original file name and time stamp; this
292-is the default. When decompressing, restore the original file name and
293-time stamp if present. This option is useful on systems which have
294-a limit on file name length or when the time stamp has been lost after
295-a file transfer.
296-.TP
297-.B \-q --quiet
298-Suppress all warnings.
299-.TP
300-.B \-r --recursive
301-Travel the directory structure recursively. If any of the file names
302-specified on the command line are directories,
303-.I gzip
304-will descend into the directory and compress all the files it finds there
305-(or decompress them in the case of
306-.I gunzip
307-).
308-.TP
309-.B \-S .suf --suffix .suf
310-When compressing, use suffix .suf instead of .gz.
311-Any non-empty suffix can be given, but suffixes
312-other than .z and .gz should be avoided to avoid confusion when files
313-are transferred to other systems.
314-
315-When decompressing, add .suf to the beginning of the list of
316-suffixes to try, when deriving an output file name from an input file name.
317-
318-.IR pack "(1)".
319-.TP
320-.B \-t --test
321-Test. Check the compressed file integrity.
322-.TP
323-.B \-v --verbose
324-Verbose. Display the name and percentage reduction for each file compressed
325-or decompressed.
326-.TP
327-.B \-V --version
328-Version. Display the version number and compilation options then quit.
329-.TP
330-.B \-# --fast --best
331-Regulate the speed of compression using the specified digit
332-.IR # ,
333-where
334-.B \-1
335-or
336-.B \-\-fast
337-indicates the fastest compression method (less compression)
338-and
339-.B \-9
340-or
341-.B \-\-best
342-indicates the slowest compression method (best compression).
343-The default compression level is
344-.BR \-6
345-(that is, biased towards high compression at expense of speed).
346-.SH "ADVANCED USAGE"
347-Multiple compressed files can be concatenated. In this case,
348-.I gunzip
349-will extract all members at once. For example:
350-
351- gzip -c file1 > foo.gz
352- gzip -c file2 >> foo.gz
353-
354-Then
355-
356- gunzip -c foo
357-
358-is equivalent to
359-
360- cat file1 file2
361-
362-In case of damage to one member of a .gz file, other members can
363-still be recovered (if the damaged member is removed). However,
364-you can get better compression by compressing all members at once:
365-
366- cat file1 file2 | gzip > foo.gz
367-
368-compresses better than
369-
370- gzip -c file1 file2 > foo.gz
371-
372-If you want to recompress concatenated files to get better compression, do:
373-
374- gzip -cd old.gz | gzip > new.gz
375-
376-If a compressed file consists of several members, the uncompressed
377-size and CRC reported by the --list option applies to the last member
378-only. If you need the uncompressed size for all members, you can use:
379-
380- gzip -cd file.gz | wc -c
381-
382-If you wish to create a single archive file with multiple members so
383-that members can later be extracted independently, use an archiver
384-such as tar or zip. GNU tar supports the -z option to invoke gzip
385-transparently. gzip is designed as a complement to tar, not as a
386-replacement.
387-.SH "ENVIRONMENT"
388-The environment variable
389-.B GZIP
390-can hold a set of default options for
391-.I gzip.
392-These options are interpreted first and can be overwritten by
393-explicit command line parameters. For example:
394- for sh: GZIP="-8v --name"; export GZIP
395- for csh: setenv GZIP "-8v --name"
396- for MSDOS: set GZIP=-8v --name
397-
398-On Vax/VMS, the name of the environment variable is GZIP_OPT, to
399-avoid a conflict with the symbol set for invocation of the program.
400-.SH "SEE ALSO"
401-znew(1), zcmp(1), zmore(1), zforce(1), gzexe(1), zip(1), unzip(1), compress(1),
402-pack(1), compact(1)
403-.PP
404-The
405-.I gzip
406-file format is specified in P. Deutsch, \s-1GZIP\s0 file format
407-specification version 4.3,
408-.BR <ftp://ftp.isi.edu/in-notes/rfc1952.txt> ,
409-Internet RFC 1952 (May 1996).
410-The
411-.I zip
412-deflation format is specified in P. Deutsch, \s-1DEFLATE\s0 Compressed
413-Data Format Specification version 1.3,
414-.BR <ftp://ftp.isi.edu/in-notes/rfc1951.txt> ,
415-Internet RFC 1951 (May 1996).
416-.SH "DIAGNOSTICS"
417-Exit status is normally 0;
418-if an error occurs, exit status is 1. If a warning occurs, exit status is 2.
419-.TP
420-Usage: gzip [-cdfhlLnNrtvV19] [-S suffix] [file ...]
421-Invalid options were specified on the command line.
422-.TP
423-\fIfile\fP\^: not in gzip format
424-The file specified to
425-.I gunzip
426-has not been compressed.
427-.TP
428-\fIfile\fP\^: Corrupt input. Use zcat to recover some data.
429-The compressed file has been damaged. The data up to the point of failure
430-can be recovered using
431-
432- zcat \fIfile\fP > recover
433-.TP
434-\fIfile\fP\^: compressed with \fIxx\fP bits, can only handle \fIyy\fP bits
435-.I File
436-was compressed (using LZW) by a program that could deal with
437-more
438-.I bits
439-than the decompress code on this machine.
440-Recompress the file with gzip, which compresses better and uses
441-less memory.
442-.TP
443-\fIfile\fP\^: already has .gz suffix -- no change
444-The file is assumed to be already compressed.
445-Rename the file and try again.
446-.TP
447-\fIfile\fP already exists; do you wish to overwrite (y or n)?
448-Respond "y" if you want the output file to be replaced; "n" if not.
449-.TP
450-gunzip: corrupt input
451-A SIGSEGV violation was detected which usually means that the input file has
452-been corrupted.
453-.TP
454-\fIxx.x%\fP Percentage of the input saved by compression.
455-(Relevant only for
456-.BR \-v
457-and
458-.BR \-l \.)
459-.TP
460--- not a regular file or directory: ignored
461-When the input file is not a regular file or directory,
462-(e.g. a symbolic link, socket, FIFO, device file), it is
463-left unaltered.
464-.TP
465--- has \fIxx\fP other links: unchanged
466-The input file has links; it is left unchanged. See
467-.IR ln "(1)"
468-for more information. Use the
469-.B \-f
470-flag to force compression of multiply-linked files.
471-.SH CAVEATS
472-When writing compressed data to a tape, it is generally necessary to
473-pad the output with zeroes up to a block boundary. When the data is
474-read and the whole block is passed to
475-.I gunzip
476-for decompression,
477-.I gunzip
478-detects that there is extra trailing garbage after the compressed data
479-and emits a warning by default. You have to use the --quiet option to
480-suppress the warning. This option can be set in the
481-.B GZIP
482-environment variable as in:
483- for sh: GZIP="-q" tar -xfz --block-compress /dev/rst0
484- for csh: (setenv GZIP -q; tar -xfz --block-compr /dev/rst0
485-
486-In the above example, gzip is invoked implicitly by the -z option of
487-GNU tar. Make sure that the same block size (-b option of tar) is used
488-for reading and writing compressed data on tapes. (This example
489-assumes you are using the GNU version of tar.)
490-.SH BUGS
491-The gzip format represents the input size modulo 2^32, so the
492---list option reports incorrect uncompressed sizes and compression
493-ratios for uncompressed files 4 GB and larger. To work around this
494-problem, you can use the following command to discover a large
495-uncompressed file's true size:
496-
497- zcat file.gz | wc -c
498-
499-The --list option reports sizes as -1 and crc as ffffffff if the
500-compressed file is on a non seekable media.
501-
502-In some rare cases, the --best option gives worse compression than
503-the default compression level (-6). On some highly redundant files,
504-.I compress
505-compresses better than
506-.I gzip.
507-.SH "COPYRIGHT NOTICE"
508-Copyright \(co 1998, 1999, 2001, 2002 Free Software Foundation, Inc.
509-.br
510-Copyright \(co 1992, 1993 Jean-loup Gailly
511-.PP
512-Permission is granted to make and distribute verbatim copies of
513-this manual provided the copyright notice and this permission notice
514-are preserved on all copies.
515-.ig
516-Permission is granted to process this file through troff and print the
517-results, provided the printed document carries copying permission
518-notice identical to this one except for the removal of this paragraph
519-(this paragraph not being relevant to the printed manual).
520-..
521-.PP
522-Permission is granted to copy and distribute modified versions of this
523-manual under the conditions for verbatim copying, provided that the entire
524-resulting derived work is distributed under the terms of a permission
525-notice identical to this one.
526-.PP
527-Permission is granted to copy and distribute translations of this manual
528-into another language, under the above conditions for modified versions,
529-except that this permission notice may be stated in a translation approved
530-by the Foundation.
531
532=== removed directory '.pc/rfc-urls.diff'
533=== removed file '.pc/rfc-urls.diff/gzip.1'
534--- .pc/rfc-urls.diff/gzip.1 2012-06-29 02:07:40 +0000
535+++ .pc/rfc-urls.diff/gzip.1 1970-01-01 00:00:00 +0000
536@@ -1,512 +0,0 @@
537-.TH GZIP 1 local
538-.SH NAME
539-gzip, gunzip, zcat \- compress or expand files
540-.SH SYNOPSIS
541-.ll +8
542-.B gzip
543-.RB [ " \-acdfhlLnNrtvV19 " ]
544-.RB [ \-S\ suffix ]
545-[
546-.I "name \&..."
547-]
548-.ll -8
549-.br
550-.B gunzip
551-.RB [ " \-acfhlLnNrtvV " ]
552-.RB [ \-S\ suffix ]
553-[
554-.I "name \&..."
555-]
556-.br
557-.B zcat
558-.RB [ " \-fhLV " ]
559-[
560-.I "name \&..."
561-]
562-.SH DESCRIPTION
563-.I Gzip
564-reduces the size of the named files using Lempel-Ziv coding (LZ77).
565-Whenever possible,
566-each file is replaced by one with the extension
567-.B "\&.gz,"
568-while keeping the same ownership modes, access and modification times.
569-(The default extension is
570-.B "\-gz"
571-for VMS,
572-.B "z"
573-for MSDOS, OS/2 FAT, Windows NT FAT and Atari.)
574-If no files are specified, or if a file name is "-", the standard input is
575-compressed to the standard output.
576-.I Gzip
577-will only attempt to compress regular files.
578-In particular, it will ignore symbolic links.
579-.PP
580-If the compressed file name is too long for its file system,
581-.I gzip
582-truncates it.
583-.I Gzip
584-attempts to truncate only the parts of the file name longer than 3 characters.
585-(A part is delimited by dots.) If the name consists of small parts only,
586-the longest parts are truncated. For example, if file names are limited
587-to 14 characters, gzip.msdos.exe is compressed to gzi.msd.exe.gz.
588-Names are not truncated on systems which do not have a limit on file name
589-length.
590-.PP
591-By default,
592-.I gzip
593-keeps the original file name and timestamp in the compressed file. These
594-are used when decompressing the file with the
595-.B \-N
596-option. This is useful when the compressed file name was truncated or
597-when the time stamp was not preserved after a file transfer.
598-.PP
599-Compressed files can be restored to their original form using
600-.I gzip -d
601-or
602-.I gunzip
603-or
604-.I zcat.
605-If the original name saved in the compressed file is not suitable for its
606-file system, a new name is constructed from the original one to make it
607-legal.
608-.PP
609-.I gunzip
610-takes a list of files on its command line and replaces each
611-file whose name ends with .gz, -gz, .z, -z, or _z (ignoring case)
612-and which begins with the correct magic number with an uncompressed
613-file without the original extension.
614-.I gunzip
615-also recognizes the special extensions
616-.B "\&.tgz"
617-and
618-.B "\&.taz"
619-as shorthands for
620-.B "\&.tar.gz"
621-and
622-.B "\&.tar.Z"
623-respectively.
624-When compressing,
625-.I gzip
626-uses the
627-.B "\&.tgz"
628-extension if necessary instead of truncating a file with a
629-.B "\&.tar"
630-extension.
631-.PP
632-.I gunzip
633-can currently decompress files created by
634-.I gzip, zip, compress, compress -H
635-or
636-.I pack.
637-The detection of the input format is automatic. When using
638-the first two formats,
639-.I gunzip
640-checks a 32 bit CRC. For
641-.I pack, gunzip
642-checks the uncompressed length. The standard
643-.I compress
644-format was not designed to allow consistency checks. However
645-.I gunzip
646-is sometimes able to detect a bad .Z file. If you get an error
647-when uncompressing a .Z file, do not assume that the .Z file is
648-correct simply because the standard
649-.I uncompress
650-does not complain. This generally means that the standard
651-.I uncompress
652-does not check its input, and happily generates garbage output.
653-The SCO compress -H format (lzh compression method) does not include a CRC
654-but also allows some consistency checks.
655-.PP
656-Files created by
657-.I zip
658-can be uncompressed by gzip only if they have a single member compressed
659-with the 'deflation' method. This feature is only intended to help
660-conversion of tar.zip files to the tar.gz format. To extract a
661-.I zip
662-file with a single member, use a command like
663-.I "gunzip <foo.zip"
664-or
665-.IR "gunzip -S .zip foo.zip" .
666-To extract zip files
667-with several members, use
668-.I unzip
669-instead of
670-.I gunzip.
671-.PP
672-.I zcat
673-is identical to
674-.I gunzip
675-.B \-c.
676-(On some systems,
677-.I zcat
678-may be installed as
679-.I gzcat
680-to preserve the original link to
681-.I compress.)
682-.I zcat
683-uncompresses either a list of files on the command line or its
684-standard input and writes the uncompressed data on standard output.
685-.I zcat
686-will uncompress files that have the correct magic number whether
687-they have a
688-.B "\&.gz"
689-suffix or not.
690-.PP
691-.I Gzip
692-uses the Lempel-Ziv algorithm used in
693-.I zip
694-and PKZIP.
695-The amount of compression obtained depends on the size of the
696-input and the distribution of common substrings.
697-Typically, text such as source code or English
698-is reduced by 60\-70%.
699-Compression is generally much better than that achieved by
700-LZW (as used in
701-.IR compress ),
702-Huffman coding (as used in
703-.IR pack ),
704-or adaptive Huffman coding
705-.RI ( compact ).
706-.PP
707-Compression is always performed, even if the compressed file is
708-slightly larger than the original. The worst case expansion is
709-a few bytes for the gzip file header, plus 5 bytes every 32K block,
710-or an expansion ratio of 0.015% for large files. Note that the actual
711-number of used disk blocks almost never increases.
712-.I gzip
713-preserves the mode, ownership and timestamps of files when compressing
714-or decompressing.
715-.PP
716-The
717-.I gzip
718-file format is specified in P. Deutsch, \s-1GZIP\s0 file format
719-specification version 4.3, <ftp://ftp.isi.edu/in-notes/rfc1952.txt>,
720-Internet RFC 1952 (May 1996). The
721-.I zip
722-deflation format is specified in P. Deutsch, \s-1DEFLATE\s0 Compressed
723-Data Format Specification version 1.3,
724-<ftp://ftp.isi.edu/in-notes/rfc1951.txt>, Internet RFC 1951 (May 1996).
725-
726-.SH OPTIONS
727-.TP
728-.B \-a --ascii
729-Ascii text mode: convert end-of-lines using local conventions. This option
730-is supported only on some non-Unix systems. For MSDOS, CR LF is converted
731-to LF when compressing, and LF is converted to CR LF when decompressing.
732-.TP
733-.B \-c --stdout --to-stdout
734-Write output on standard output; keep original files unchanged.
735-If there are several input files, the output consists of a sequence of
736-independently compressed members. To obtain better compression,
737-concatenate all input files before compressing them.
738-.TP
739-.B \-d --decompress --uncompress
740-Decompress.
741-.TP
742-.B \-f --force
743-Force compression or decompression even if the file has multiple links
744-or the corresponding file already exists, or if the compressed data
745-is read from or written to a terminal. If the input data is not in
746-a format recognized by
747-.I gzip,
748-and if the option --stdout is also given, copy the input data without change
749-to the standard output: let
750-.I zcat
751-behave as
752-.I cat.
753-If
754-.B \-f
755-is not given,
756-and when not running in the background,
757-.I gzip
758-prompts to verify whether an existing file should be overwritten.
759-.TP
760-.B \-h --help
761-Display a help screen and quit.
762-.TP
763-.B \-l --list
764-For each compressed file, list the following fields:
765-
766- compressed size: size of the compressed file
767- uncompressed size: size of the uncompressed file
768- ratio: compression ratio (0.0% if unknown)
769- uncompressed_name: name of the uncompressed file
770-
771-The uncompressed size is given as -1 for files not in gzip format,
772-such as compressed .Z files. To get the uncompressed size for such a file,
773-you can use:
774-
775- zcat file.Z | wc -c
776-
777-In combination with the --verbose option, the following fields are also
778-displayed:
779-
780- method: compression method
781- crc: the 32-bit CRC of the uncompressed data
782- date & time: time stamp for the uncompressed file
783-
784-The compression methods currently supported are deflate, compress, lzh
785-(SCO compress -H) and pack. The crc is given as ffffffff for a file
786-not in gzip format.
787-
788-With --name, the uncompressed name, date and time are
789-those stored within the compress file if present.
790-
791-With --verbose, the size totals and compression ratio for all files
792-is also displayed, unless some sizes are unknown. With --quiet,
793-the title and totals lines are not displayed.
794-.TP
795-.B \-L --license
796-Display the
797-.I gzip
798-license and quit.
799-.TP
800-.B \-n --no-name
801-When compressing, do not save the original file name and time stamp by
802-default. (The original name is always saved if the name had to be
803-truncated.) When decompressing, do not restore the original file name
804-if present (remove only the
805-.I gzip
806-suffix from the compressed file name) and do not restore the original
807-time stamp if present (copy it from the compressed file). This option
808-is the default when decompressing.
809-.TP
810-.B \-N --name
811-When compressing, always save the original file name and time stamp; this
812-is the default. When decompressing, restore the original file name and
813-time stamp if present. This option is useful on systems which have
814-a limit on file name length or when the time stamp has been lost after
815-a file transfer.
816-.TP
817-.B \-q --quiet
818-Suppress all warnings.
819-.TP
820-.B \-r --recursive
821-Travel the directory structure recursively. If any of the file names
822-specified on the command line are directories,
823-.I gzip
824-will descend into the directory and compress all the files it finds there
825-(or decompress them in the case of
826-.I gunzip
827-).
828-.TP
829-.B \-S .suf --suffix .suf
830-When compressing, use suffix .suf instead of .gz.
831-Any non-empty suffix can be given, but suffixes
832-other than .z and .gz should be avoided to avoid confusion when files
833-are transferred to other systems.
834-
835-When decompressing, add .suf to the beginning of the list of
836-suffixes to try, when deriving an output file name from an input file name.
837-
838-.TP
839-.B \-t --test
840-Test. Check the compressed file integrity.
841-.TP
842-.B \-v --verbose
843-Verbose. Display the name and percentage reduction for each file compressed
844-or decompressed.
845-.TP
846-.B \-V --version
847-Version. Display the version number and compilation options then quit.
848-.TP
849-.B \-# --fast --best
850-Regulate the speed of compression using the specified digit
851-.IR # ,
852-where
853-.B \-1
854-or
855-.B \-\-fast
856-indicates the fastest compression method (less compression)
857-and
858-.B \-9
859-or
860-.B \-\-best
861-indicates the slowest compression method (best compression).
862-The default compression level is
863-.BR \-6
864-(that is, biased towards high compression at expense of speed).
865-.SH "ADVANCED USAGE"
866-Multiple compressed files can be concatenated. In this case,
867-.I gunzip
868-will extract all members at once. For example:
869-
870- gzip -c file1 > foo.gz
871- gzip -c file2 >> foo.gz
872-
873-Then
874-
875- gunzip -c foo
876-
877-is equivalent to
878-
879- cat file1 file2
880-
881-In case of damage to one member of a .gz file, other members can
882-still be recovered (if the damaged member is removed). However,
883-you can get better compression by compressing all members at once:
884-
885- cat file1 file2 | gzip > foo.gz
886-
887-compresses better than
888-
889- gzip -c file1 file2 > foo.gz
890-
891-If you want to recompress concatenated files to get better compression, do:
892-
893- gzip -cd old.gz | gzip > new.gz
894-
895-If a compressed file consists of several members, the uncompressed
896-size and CRC reported by the --list option applies to the last member
897-only. If you need the uncompressed size for all members, you can use:
898-
899- gzip -cd file.gz | wc -c
900-
901-If you wish to create a single archive file with multiple members so
902-that members can later be extracted independently, use an archiver
903-such as tar or zip. GNU tar supports the -z option to invoke gzip
904-transparently. gzip is designed as a complement to tar, not as a
905-replacement.
906-.SH "ENVIRONMENT"
907-The environment variable
908-.B GZIP
909-can hold a set of default options for
910-.I gzip.
911-These options are interpreted first and can be overwritten by
912-explicit command line parameters. For example:
913- for sh: GZIP="-8v --name"; export GZIP
914- for csh: setenv GZIP "-8v --name"
915- for MSDOS: set GZIP=-8v --name
916-
917-On Vax/VMS, the name of the environment variable is GZIP_OPT, to
918-avoid a conflict with the symbol set for invocation of the program.
919-.SH "SEE ALSO"
920-znew(1), zcmp(1), zmore(1), zforce(1), gzexe(1), zip(1), unzip(1), compress(1)
921-.PP
922-The
923-.I gzip
924-file format is specified in P. Deutsch, \s-1GZIP\s0 file format
925-specification version 4.3,
926-.BR <ftp://ftp.isi.edu/in-notes/rfc1952.txt> ,
927-Internet RFC 1952 (May 1996).
928-The
929-.I zip
930-deflation format is specified in P. Deutsch, \s-1DEFLATE\s0 Compressed
931-Data Format Specification version 1.3,
932-.BR <ftp://ftp.isi.edu/in-notes/rfc1951.txt> ,
933-Internet RFC 1951 (May 1996).
934-.SH "DIAGNOSTICS"
935-Exit status is normally 0;
936-if an error occurs, exit status is 1. If a warning occurs, exit status is 2.
937-.TP
938-Usage: gzip [-cdfhlLnNrtvV19] [-S suffix] [file ...]
939-Invalid options were specified on the command line.
940-.TP
941-\fIfile\fP\^: not in gzip format
942-The file specified to
943-.I gunzip
944-has not been compressed.
945-.TP
946-\fIfile\fP\^: Corrupt input. Use zcat to recover some data.
947-The compressed file has been damaged. The data up to the point of failure
948-can be recovered using
949-
950- zcat \fIfile\fP > recover
951-.TP
952-\fIfile\fP\^: compressed with \fIxx\fP bits, can only handle \fIyy\fP bits
953-.I File
954-was compressed (using LZW) by a program that could deal with
955-more
956-.I bits
957-than the decompress code on this machine.
958-Recompress the file with gzip, which compresses better and uses
959-less memory.
960-.TP
961-\fIfile\fP\^: already has .gz suffix -- no change
962-The file is assumed to be already compressed.
963-Rename the file and try again.
964-.TP
965-\fIfile\fP already exists; do you wish to overwrite (y or n)?
966-Respond "y" if you want the output file to be replaced; "n" if not.
967-.TP
968-gunzip: corrupt input
969-A SIGSEGV violation was detected which usually means that the input file has
970-been corrupted.
971-.TP
972-\fIxx.x%\fP Percentage of the input saved by compression.
973-(Relevant only for
974-.BR \-v
975-and
976-.BR \-l \.)
977-.TP
978--- not a regular file or directory: ignored
979-When the input file is not a regular file or directory,
980-(e.g. a symbolic link, socket, FIFO, device file), it is
981-left unaltered.
982-.TP
983--- has \fIxx\fP other links: unchanged
984-The input file has links; it is left unchanged. See
985-.IR ln "(1)"
986-for more information. Use the
987-.B \-f
988-flag to force compression of multiply-linked files.
989-.SH CAVEATS
990-When writing compressed data to a tape, it is generally necessary to
991-pad the output with zeroes up to a block boundary. When the data is
992-read and the whole block is passed to
993-.I gunzip
994-for decompression,
995-.I gunzip
996-detects that there is extra trailing garbage after the compressed data
997-and emits a warning by default. You have to use the --quiet option to
998-suppress the warning. This option can be set in the
999-.B GZIP
1000-environment variable as in:
1001- for sh: GZIP="-q" tar -xfz --block-compress /dev/rst0
1002- for csh: (setenv GZIP -q; tar -xfz --block-compr /dev/rst0
1003-
1004-In the above example, gzip is invoked implicitly by the -z option of
1005-GNU tar. Make sure that the same block size (-b option of tar) is used
1006-for reading and writing compressed data on tapes. (This example
1007-assumes you are using the GNU version of tar.)
1008-.SH BUGS
1009-The gzip format represents the input size modulo 2^32, so the
1010---list option reports incorrect uncompressed sizes and compression
1011-ratios for uncompressed files 4 GB and larger. To work around this
1012-problem, you can use the following command to discover a large
1013-uncompressed file's true size:
1014-
1015- zcat file.gz | wc -c
1016-
1017-The --list option reports sizes as -1 and crc as ffffffff if the
1018-compressed file is on a non seekable media.
1019-
1020-In some rare cases, the --best option gives worse compression than
1021-the default compression level (-6). On some highly redundant files,
1022-.I compress
1023-compresses better than
1024-.I gzip.
1025-.SH "COPYRIGHT NOTICE"
1026-Copyright \(co 1998, 1999, 2001, 2002 Free Software Foundation, Inc.
1027-.br
1028-Copyright \(co 1992, 1993 Jean-loup Gailly
1029-.PP
1030-Permission is granted to make and distribute verbatim copies of
1031-this manual provided the copyright notice and this permission notice
1032-are preserved on all copies.
1033-.ig
1034-Permission is granted to process this file through troff and print the
1035-results, provided the printed document carries copying permission
1036-notice identical to this one except for the removal of this paragraph
1037-(this paragraph not being relevant to the printed manual).
1038-..
1039-.PP
1040-Permission is granted to copy and distribute modified versions of this
1041-manual under the conditions for verbatim copying, provided that the entire
1042-resulting derived work is distributed under the terms of a permission
1043-notice identical to this one.
1044-.PP
1045-Permission is granted to copy and distribute translations of this manual
1046-into another language, under the above conditions for modified versions,
1047-except that this permission notice may be stated in a translation approved
1048-by the Foundation.
1049
1050=== added file '.pc/rsyncable.diff/.timestamp'
1051=== modified file '.pc/rsyncable.diff/deflate.c'
1052--- .pc/rsyncable.diff/deflate.c 2012-06-19 14:04:08 +0000
1053+++ .pc/rsyncable.diff/deflate.c 2013-08-12 10:11:48 +0000
1054@@ -1,6 +1,6 @@
1055 /* deflate.c -- compress data using the deflation algorithm
1056
1057- Copyright (C) 1999, 2006, 2009-2012 Free Software Foundation, Inc.
1058+ Copyright (C) 1999, 2006, 2009-2013 Free Software Foundation, Inc.
1059 Copyright (C) 1992-1993 Jean-loup Gailly
1060
1061 This program is free software; you can redistribute it and/or modify
1062
1063=== modified file '.pc/rsyncable.diff/doc/gzip.texi'
1064--- .pc/rsyncable.diff/doc/gzip.texi 2012-06-19 14:04:08 +0000
1065+++ .pc/rsyncable.diff/doc/gzip.texi 2013-08-12 10:11:48 +0000
1066@@ -11,7 +11,7 @@
1067 (version @value{VERSION}, @value{UPDATED}),
1068 and documents commands for compressing and decompressing data.
1069
1070-Copyright @copyright{} 1998-1999, 2001-2002, 2006-2007, 2009-2012 Free Software
1071+Copyright @copyright{} 1998-1999, 2001-2002, 2006-2007, 2009-2013 Free Software
1072 Foundation, Inc.
1073
1074 Copyright @copyright{} 1992, 1993 Jean-loup Gailly
1075@@ -171,10 +171,10 @@
1076
1077 The @command{gzip} file format is specified in P. Deutsch, @sc{gzip} file
1078 format specification version 4.3,
1079-@uref{ftp://ftp.isi.edu/in-notes/rfc1952.txt, Internet @abbr{RFC} 1952} (May
1080+@uref{http://www.ietf.org/rfc/rfc1952.txt, Internet @abbr{RFC} 1952} (May
1081 1996). The @command{zip} deflation format is specified in P. Deutsch,
1082 @sc{deflate} Compressed Data Format Specification version 1.3,
1083-@uref{ftp://ftp.isi.edu/in-notes/rfc1951.txt, Internet @abbr{RFC} 1951} (May
1084+@uref{http://www.ietf.org/rfc/rfc1951.txt, Internet @abbr{RFC} 1951} (May
1085 1996).
1086
1087 @node Sample
1088@@ -195,6 +195,7 @@
1089 -d, --decompress decompress
1090 -f, --force force overwrite of output file and compress links
1091 -h, --help give this help
1092+ -k, --keep keep (don't delete) input files
1093 -l, --list list compressed file contents
1094 -L, --license display software license
1095 -n, --no-name do not save or restore the original name and time stamp
1096@@ -276,6 +277,10 @@
1097 @itemx -h
1098 Print an informative help message describing the options then quit.
1099
1100+@item --keep
1101+@itemx -k
1102+Keep (don't delete) input files during compression or decompression.
1103+
1104 @item --list
1105 @itemx -l
1106 For each compressed file, list the following fields:
1107
1108=== added file '.pc/rsyncable.diff/gzip.1'
1109--- .pc/rsyncable.diff/gzip.1 1970-01-01 00:00:00 +0000
1110+++ .pc/rsyncable.diff/gzip.1 2013-08-12 10:11:48 +0000
1111@@ -0,0 +1,508 @@
1112+.TH GZIP 1 local
1113+.SH NAME
1114+gzip, gunzip, zcat \- compress or expand files
1115+.SH SYNOPSIS
1116+.ll +8
1117+.B gzip
1118+.RB [ " \-acdfhklLnNrtvV19 " ]
1119+.RB [ \-S\ suffix ]
1120+[
1121+.I "name \&..."
1122+]
1123+.ll -8
1124+.br
1125+.B gunzip
1126+.RB [ " \-acfhklLnNrtvV " ]
1127+.RB [ \-S\ suffix ]
1128+[
1129+.I "name \&..."
1130+]
1131+.br
1132+.B zcat
1133+.RB [ " \-fhLV " ]
1134+[
1135+.I "name \&..."
1136+]
1137+.SH DESCRIPTION
1138+.I Gzip
1139+reduces the size of the named files using Lempel-Ziv coding (LZ77).
1140+Whenever possible,
1141+each file is replaced by one with the extension
1142+.BR "\&.gz" ,
1143+while keeping the same ownership modes, access and modification times.
1144+(The default extension is
1145+.B "\-gz"
1146+for VMS,
1147+.B "z"
1148+for MSDOS, OS/2 FAT, Windows NT FAT and Atari.)
1149+If no files are specified, or if a file name is "-", the standard input is
1150+compressed to the standard output.
1151+.I Gzip
1152+will only attempt to compress regular files.
1153+In particular, it will ignore symbolic links.
1154+.PP
1155+If the compressed file name is too long for its file system,
1156+.I gzip
1157+truncates it.
1158+.I Gzip
1159+attempts to truncate only the parts of the file name longer than 3 characters.
1160+(A part is delimited by dots.) If the name consists of small parts only,
1161+the longest parts are truncated. For example, if file names are limited
1162+to 14 characters, gzip.msdos.exe is compressed to gzi.msd.exe.gz.
1163+Names are not truncated on systems which do not have a limit on file name
1164+length.
1165+.PP
1166+By default,
1167+.I gzip
1168+keeps the original file name and timestamp in the compressed file. These
1169+are used when decompressing the file with the
1170+.B \-N
1171+option. This is useful when the compressed file name was truncated or
1172+when the time stamp was not preserved after a file transfer.
1173+.PP
1174+Compressed files can be restored to their original form using
1175+.I gzip -d
1176+or
1177+.I gunzip
1178+or
1179+.IR zcat .
1180+If the original name saved in the compressed file is not suitable for its
1181+file system, a new name is constructed from the original one to make it
1182+legal.
1183+.PP
1184+.I gunzip
1185+takes a list of files on its command line and replaces each
1186+file whose name ends with .gz, -gz, .z, -z, or _z (ignoring case)
1187+and which begins with the correct magic number with an uncompressed
1188+file without the original extension.
1189+.I gunzip
1190+also recognizes the special extensions
1191+.B "\&.tgz"
1192+and
1193+.B "\&.taz"
1194+as shorthands for
1195+.B "\&.tar.gz"
1196+and
1197+.B "\&.tar.Z"
1198+respectively.
1199+When compressing,
1200+.I gzip
1201+uses the
1202+.B "\&.tgz"
1203+extension if necessary instead of truncating a file with a
1204+.B "\&.tar"
1205+extension.
1206+.PP
1207+.I gunzip
1208+can currently decompress files created by
1209+.IR gzip ,
1210+.IR zip ,
1211+.IR compress ,
1212+.I "compress -H"
1213+or
1214+.IR pack .
1215+The detection of the input format is automatic. When using
1216+the first two formats,
1217+.I gunzip
1218+checks a 32 bit CRC. For
1219+.I pack
1220+and
1221+.I gunzip
1222+checks the uncompressed length. The standard
1223+.I compress
1224+format was not designed to allow consistency checks. However
1225+.I gunzip
1226+is sometimes able to detect a bad .Z file. If you get an error
1227+when uncompressing a .Z file, do not assume that the .Z file is
1228+correct simply because the standard
1229+.I uncompress
1230+does not complain. This generally means that the standard
1231+.I uncompress
1232+does not check its input, and happily generates garbage output.
1233+The SCO compress -H format (lzh compression method) does not include a CRC
1234+but also allows some consistency checks.
1235+.PP
1236+Files created by
1237+.I zip
1238+can be uncompressed by gzip only if they have a single member compressed
1239+with the 'deflation' method. This feature is only intended to help
1240+conversion of tar.zip files to the tar.gz format. To extract a
1241+.I zip
1242+file with a single member, use a command like
1243+.I "gunzip <foo.zip"
1244+or
1245+.IR "gunzip -S .zip foo.zip" .
1246+To extract zip files
1247+with several members, use
1248+.I unzip
1249+instead of
1250+.IR gunzip .
1251+.PP
1252+.I zcat
1253+is identical to
1254+.I gunzip
1255+.BR \-c .
1256+(On some systems,
1257+.I zcat
1258+may be installed as
1259+.I gzcat
1260+to preserve the original link to
1261+.IR compress .)
1262+.I zcat
1263+uncompresses either a list of files on the command line or its
1264+standard input and writes the uncompressed data on standard output.
1265+.I zcat
1266+will uncompress files that have the correct magic number whether
1267+they have a
1268+.B "\&.gz"
1269+suffix or not.
1270+.PP
1271+.I Gzip
1272+uses the Lempel-Ziv algorithm used in
1273+.I zip
1274+and PKZIP.
1275+The amount of compression obtained depends on the size of the
1276+input and the distribution of common substrings.
1277+Typically, text such as source code or English
1278+is reduced by 60\-70%.
1279+Compression is generally much better than that achieved by
1280+LZW (as used in
1281+.IR compress ),
1282+Huffman coding (as used in
1283+.IR pack ),
1284+or adaptive Huffman coding
1285+.RI ( compact ).
1286+.PP
1287+Compression is always performed, even if the compressed file is
1288+slightly larger than the original. The worst case expansion is
1289+a few bytes for the gzip file header, plus 5 bytes every 32K block,
1290+or an expansion ratio of 0.015% for large files. Note that the actual
1291+number of used disk blocks almost never increases.
1292+.I gzip
1293+preserves the mode, ownership and timestamps of files when compressing
1294+or decompressing.
1295+.SH OPTIONS
1296+.TP
1297+.B \-a --ascii
1298+Ascii text mode: convert end-of-lines using local conventions. This option
1299+is supported only on some non-Unix systems. For MSDOS, CR LF is converted
1300+to LF when compressing, and LF is converted to CR LF when decompressing.
1301+.TP
1302+.B \-c --stdout --to-stdout
1303+Write output on standard output; keep original files unchanged.
1304+If there are several input files, the output consists of a sequence of
1305+independently compressed members. To obtain better compression,
1306+concatenate all input files before compressing them.
1307+.TP
1308+.B \-d --decompress --uncompress
1309+Decompress.
1310+.TP
1311+.B \-f --force
1312+Force compression or decompression even if the file has multiple links
1313+or the corresponding file already exists, or if the compressed data
1314+is read from or written to a terminal. If the input data is not in
1315+a format recognized by
1316+.IR gzip ,
1317+and if the option --stdout is also given, copy the input data without change
1318+to the standard output: let
1319+.I zcat
1320+behave as
1321+.IR cat .
1322+If
1323+.B \-f
1324+is not given,
1325+and when not running in the background,
1326+.I gzip
1327+prompts to verify whether an existing file should be overwritten.
1328+.TP
1329+.B \-h --help
1330+Display a help screen and quit.
1331+.TP
1332+.B \-k --keep
1333+Keep (don't delete) input files during compression or decompression.
1334+.TP
1335+.B \-l --list
1336+For each compressed file, list the following fields:
1337+
1338+ compressed size: size of the compressed file
1339+ uncompressed size: size of the uncompressed file
1340+ ratio: compression ratio (0.0% if unknown)
1341+ uncompressed_name: name of the uncompressed file
1342+
1343+The uncompressed size is given as -1 for files not in gzip format,
1344+such as compressed .Z files. To get the uncompressed size for such a file,
1345+you can use:
1346+
1347+ zcat file.Z | wc -c
1348+
1349+In combination with the --verbose option, the following fields are also
1350+displayed:
1351+
1352+ method: compression method
1353+ crc: the 32-bit CRC of the uncompressed data
1354+ date & time: time stamp for the uncompressed file
1355+
1356+The compression methods currently supported are deflate, compress, lzh
1357+(SCO compress -H) and pack. The crc is given as ffffffff for a file
1358+not in gzip format.
1359+
1360+With --name, the uncompressed name, date and time are
1361+those stored within the compress file if present.
1362+
1363+With --verbose, the size totals and compression ratio for all files
1364+is also displayed, unless some sizes are unknown. With --quiet,
1365+the title and totals lines are not displayed.
1366+.TP
1367+.B \-L --license
1368+Display the
1369+.I gzip
1370+license and quit.
1371+.TP
1372+.B \-n --no-name
1373+When compressing, do not save the original file name and time stamp by
1374+default. (The original name is always saved if the name had to be
1375+truncated.) When decompressing, do not restore the original file name
1376+if present (remove only the
1377+.I gzip
1378+suffix from the compressed file name) and do not restore the original
1379+time stamp if present (copy it from the compressed file). This option
1380+is the default when decompressing.
1381+.TP
1382+.B \-N --name
1383+When compressing, always save the original file name and time stamp; this
1384+is the default. When decompressing, restore the original file name and
1385+time stamp if present. This option is useful on systems which have
1386+a limit on file name length or when the time stamp has been lost after
1387+a file transfer.
1388+.TP
1389+.B \-q --quiet
1390+Suppress all warnings.
1391+.TP
1392+.B \-r --recursive
1393+Travel the directory structure recursively. If any of the file names
1394+specified on the command line are directories,
1395+.I gzip
1396+will descend into the directory and compress all the files it finds there
1397+(or decompress them in the case of
1398+.I gunzip
1399+).
1400+.TP
1401+.B \-S .suf --suffix .suf
1402+When compressing, use suffix .suf instead of .gz.
1403+Any non-empty suffix can be given, but suffixes
1404+other than .z and .gz should be avoided to avoid confusion when files
1405+are transferred to other systems.
1406+
1407+When decompressing, add .suf to the beginning of the list of
1408+suffixes to try, when deriving an output file name from an input file name.
1409+.TP
1410+.B \-t --test
1411+Test. Check the compressed file integrity.
1412+.TP
1413+.B \-v --verbose
1414+Verbose. Display the name and percentage reduction for each file compressed
1415+or decompressed.
1416+.TP
1417+.B \-V --version
1418+Version. Display the version number and compilation options then quit.
1419+.TP
1420+.B \-# --fast --best
1421+Regulate the speed of compression using the specified digit
1422+.IR # ,
1423+where
1424+.B \-1
1425+or
1426+.B \-\-fast
1427+indicates the fastest compression method (less compression)
1428+and
1429+.B \-9
1430+or
1431+.B \-\-best
1432+indicates the slowest compression method (best compression).
1433+The default compression level is
1434+.BR \-6
1435+(that is, biased towards high compression at expense of speed).
1436+.SH "ADVANCED USAGE"
1437+Multiple compressed files can be concatenated. In this case,
1438+.I gunzip
1439+will extract all members at once. For example:
1440+
1441+ gzip -c file1 > foo.gz
1442+ gzip -c file2 >> foo.gz
1443+
1444+Then
1445+
1446+ gunzip -c foo
1447+
1448+is equivalent to
1449+
1450+ cat file1 file2
1451+
1452+In case of damage to one member of a .gz file, other members can
1453+still be recovered (if the damaged member is removed). However,
1454+you can get better compression by compressing all members at once:
1455+
1456+ cat file1 file2 | gzip > foo.gz
1457+
1458+compresses better than
1459+
1460+ gzip -c file1 file2 > foo.gz
1461+
1462+If you want to recompress concatenated files to get better compression, do:
1463+
1464+ gzip -cd old.gz | gzip > new.gz
1465+
1466+If a compressed file consists of several members, the uncompressed
1467+size and CRC reported by the --list option applies to the last member
1468+only. If you need the uncompressed size for all members, you can use:
1469+
1470+ gzip -cd file.gz | wc -c
1471+
1472+If you wish to create a single archive file with multiple members so
1473+that members can later be extracted independently, use an archiver
1474+such as tar or zip. GNU tar supports the -z option to invoke gzip
1475+transparently. gzip is designed as a complement to tar, not as a
1476+replacement.
1477+.SH "ENVIRONMENT"
1478+The environment variable
1479+.B GZIP
1480+can hold a set of default options for
1481+.IR gzip .
1482+These options are interpreted first and can be overwritten by
1483+explicit command line parameters. For example:
1484+ for sh: GZIP="-8v --name"; export GZIP
1485+ for csh: setenv GZIP "-8v --name"
1486+ for MSDOS: set GZIP=-8v --name
1487+
1488+On Vax/VMS, the name of the environment variable is GZIP_OPT, to
1489+avoid a conflict with the symbol set for invocation of the program.
1490+.SH "SEE ALSO"
1491+znew(1), zcmp(1), zmore(1), zforce(1), gzexe(1), zip(1), unzip(1), compress(1)
1492+.PP
1493+The
1494+.I gzip
1495+file format is specified in P. Deutsch, \s-1GZIP\s0 file format
1496+specification version 4.3,
1497+.BR <http://www.ietf.org/rfc/rfc1952.txt> ,
1498+Internet RFC 1952 (May 1996).
1499+The
1500+.I zip
1501+deflation format is specified in P. Deutsch, \s-1DEFLATE\s0 Compressed
1502+Data Format Specification version 1.3,
1503+.BR <http://www.ietf.org/rfc/rfc1951.txt> ,
1504+Internet RFC 1951 (May 1996).
1505+.SH "DIAGNOSTICS"
1506+Exit status is normally 0;
1507+if an error occurs, exit status is 1. If a warning occurs, exit status is 2.
1508+.TP
1509+Usage: gzip [-cdfhklLnNrtvV19] [-S suffix] [file ...]
1510+Invalid options were specified on the command line.
1511+.TP
1512+\fIfile\fP\^: not in gzip format
1513+The file specified to
1514+.I gunzip
1515+has not been compressed.
1516+.TP
1517+\fIfile\fP\^: Corrupt input. Use zcat to recover some data.
1518+The compressed file has been damaged. The data up to the point of failure
1519+can be recovered using
1520+
1521+ zcat \fIfile\fP > recover
1522+.TP
1523+\fIfile\fP\^: compressed with \fIxx\fP bits, can only handle \fIyy\fP bits
1524+.I File
1525+was compressed (using LZW) by a program that could deal with
1526+more
1527+.I bits
1528+than the decompress code on this machine.
1529+Recompress the file with gzip, which compresses better and uses
1530+less memory.
1531+.TP
1532+\fIfile\fP\^: already has .gz suffix -- no change
1533+The file is assumed to be already compressed.
1534+Rename the file and try again.
1535+.TP
1536+\fIfile\fP already exists; do you wish to overwrite (y or n)?
1537+Respond "y" if you want the output file to be replaced; "n" if not.
1538+.TP
1539+gunzip: corrupt input
1540+A SIGSEGV violation was detected which usually means that the input file has
1541+been corrupted.
1542+.TP
1543+\fIxx.x%\fP Percentage of the input saved by compression.
1544+(Relevant only for
1545+.BR \-v
1546+and
1547+.BR \-l \.)
1548+.TP
1549+-- not a regular file or directory: ignored
1550+When the input file is not a regular file or directory,
1551+(e.g. a symbolic link, socket, FIFO, device file), it is
1552+left unaltered.
1553+.TP
1554+-- has \fIxx\fP other links: unchanged
1555+The input file has links; it is left unchanged. See
1556+.IR ln "(1)"
1557+for more information. Use the
1558+.B \-f
1559+flag to force compression of multiply-linked files.
1560+.SH CAVEATS
1561+When writing compressed data to a tape, it is generally necessary to
1562+pad the output with zeroes up to a block boundary. When the data is
1563+read and the whole block is passed to
1564+.I gunzip
1565+for decompression,
1566+.I gunzip
1567+detects that there is extra trailing garbage after the compressed data
1568+and emits a warning by default. You have to use the --quiet option to
1569+suppress the warning. This option can be set in the
1570+.B GZIP
1571+environment variable as in:
1572+ for sh: GZIP="-q" tar -xfz --block-compress /dev/rst0
1573+ for csh: (setenv GZIP -q; tar -xfz --block-compr /dev/rst0
1574+
1575+In the above example, gzip is invoked implicitly by the -z option of
1576+GNU tar. Make sure that the same block size (-b option of tar) is used
1577+for reading and writing compressed data on tapes. (This example
1578+assumes you are using the GNU version of tar.)
1579+.SH BUGS
1580+The gzip format represents the input size modulo 2^32, so the
1581+--list option reports incorrect uncompressed sizes and compression
1582+ratios for uncompressed files 4 GB and larger. To work around this
1583+problem, you can use the following command to discover a large
1584+uncompressed file's true size:
1585+
1586+ zcat file.gz | wc -c
1587+
1588+The --list option reports sizes as -1 and crc as ffffffff if the
1589+compressed file is on a non seekable media.
1590+
1591+In some rare cases, the --best option gives worse compression than
1592+the default compression level (-6). On some highly redundant files,
1593+.I compress
1594+compresses better than
1595+.IR gzip .
1596+.SH "COPYRIGHT NOTICE"
1597+Copyright \(co 1998, 1999, 2001, 2002, 2012 Free Software Foundation, Inc.
1598+.br
1599+Copyright \(co 1992, 1993 Jean-loup Gailly
1600+.PP
1601+Permission is granted to make and distribute verbatim copies of
1602+this manual provided the copyright notice and this permission notice
1603+are preserved on all copies.
1604+.ig
1605+Permission is granted to process this file through troff and print the
1606+results, provided the printed document carries copying permission
1607+notice identical to this one except for the removal of this paragraph
1608+(this paragraph not being relevant to the printed manual).
1609+..
1610+.PP
1611+Permission is granted to copy and distribute modified versions of this
1612+manual under the conditions for verbatim copying, provided that the entire
1613+resulting derived work is distributed under the terms of a permission
1614+notice identical to this one.
1615+.PP
1616+Permission is granted to copy and distribute translations of this manual
1617+into another language, under the above conditions for modified versions,
1618+except that this permission notice may be stated in a translation approved
1619+by the Foundation.
1620
1621=== modified file '.pc/rsyncable.diff/gzip.c'
1622--- .pc/rsyncable.diff/gzip.c 2012-06-19 14:04:08 +0000
1623+++ .pc/rsyncable.diff/gzip.c 2013-08-12 10:11:48 +0000
1624@@ -1,6 +1,6 @@
1625 /* gzip (GNU zip) -- compress files with zip algorithm and 'compress' interface
1626
1627- Copyright (C) 1999, 2001-2002, 2006-2007, 2009-2012 Free Software
1628+ Copyright (C) 1999, 2001-2002, 2006-2007, 2009-2013 Free Software
1629 Foundation, Inc.
1630 Copyright (C) 1992-1993 Jean-loup Gailly
1631
1632@@ -74,6 +74,7 @@
1633 #include "ignore-value.h"
1634 #include "stat-time.h"
1635 #include "version.h"
1636+#include "yesno.h"
1637
1638 /* configuration */
1639
1640@@ -166,6 +167,7 @@
1641 int to_stdout = 0; /* output to stdout (-c) */
1642 static int decompress = 0; /* decompress (-d) */
1643 static int force = 0; /* don't ask questions, compress links (-f) */
1644+static int keep = 0; /* keep (don't delete) input files */
1645 static int no_name = -1; /* don't save or restore the original file name */
1646 static int no_time = -1; /* don't save or restore the original file time */
1647 static int recursive = 0; /* recurse through directories (-r) */
1648@@ -222,7 +224,9 @@
1649 #ifdef SIGHUP
1650 , SIGHUP
1651 #endif
1652+#if SIGPIPE
1653 , SIGPIPE
1654+#endif
1655 #ifdef SIGTERM
1656 , SIGTERM
1657 #endif
1658@@ -253,6 +257,7 @@
1659 {"force", 0, 0, 'f'}, /* force overwrite of output file */
1660 {"help", 0, 0, 'h'}, /* give help */
1661 /* {"pkzip", 0, 0, 'k'}, force output in pkzip format */
1662+ {"keep", 0, 0, 'k'}, /* keep (don't delete) input files */
1663 {"list", 0, 0, 'l'}, /* list .gz file contents */
1664 {"license", 0, 0, 'L'}, /* display software license */
1665 {"no-name", 0, 0, 'n'}, /* don't save or restore original name & time */
1666@@ -331,6 +336,7 @@
1667 " -f, --force force overwrite of output file and compress links",
1668 " -h, --help give this help",
1669 /* -k, --pkzip force output in pkzip format */
1670+ " -k, --keep keep (don't delete) input files",
1671 " -l, --list list compressed file contents",
1672 " -L, --license display software license",
1673 #ifdef UNDOCUMENTED
1674@@ -434,7 +440,7 @@
1675 z_suffix = Z_SUFFIX;
1676 z_len = strlen(z_suffix);
1677
1678- while ((optc = getopt_long (argc, argv, "ab:cdfhH?lLmMnNqrS:tvVZ123456789",
1679+ while ((optc = getopt_long (argc, argv, "ab:cdfhH?klLmMnNqrS:tvVZ123456789",
1680 longopts, (int *)0)) != -1) {
1681 switch (optc) {
1682 case 'a':
1683@@ -457,6 +463,8 @@
1684 force++; break;
1685 case 'h': case 'H':
1686 help(); do_exit(OK); break;
1687+ case 'k':
1688+ keep = 1; break;
1689 case 'l':
1690 list = decompress = to_stdout = 1; break;
1691 case 'L':
1692@@ -848,25 +856,29 @@
1693
1694 if (!to_stdout)
1695 {
1696- sigset_t oldset;
1697- int unlink_errno;
1698
1699 copy_stat (&istat);
1700 if (close (ofd) != 0)
1701 write_error ();
1702
1703- sigprocmask (SIG_BLOCK, &caught_signals, &oldset);
1704- remove_ofname_fd = -1;
1705- unlink_errno = xunlink (ifname) == 0 ? 0 : errno;
1706- sigprocmask (SIG_SETMASK, &oldset, NULL);
1707-
1708- if (unlink_errno)
1709+ if (!keep)
1710 {
1711- WARN ((stderr, "%s: ", program_name));
1712- if (!quiet)
1713+ sigset_t oldset;
1714+ int unlink_errno;
1715+
1716+ sigprocmask (SIG_BLOCK, &caught_signals, &oldset);
1717+ remove_ofname_fd = -1;
1718+ unlink_errno = xunlink (ifname) == 0 ? 0 : errno;
1719+ sigprocmask (SIG_SETMASK, &oldset, NULL);
1720+
1721+ if (unlink_errno)
1722 {
1723- errno = unlink_errno;
1724- perror (ifname);
1725+ WARN ((stderr, "%s: ", program_name));
1726+ if (!quiet)
1727+ {
1728+ errno = unlink_errno;
1729+ perror (ifname);
1730+ }
1731 }
1732 }
1733 }
1734
1735=== modified file '.pc/rsyncable.diff/gzip.h'
1736--- .pc/rsyncable.diff/gzip.h 2012-06-19 14:04:08 +0000
1737+++ .pc/rsyncable.diff/gzip.h 2013-08-12 10:11:48 +0000
1738@@ -1,6 +1,6 @@
1739 /* gzip.h -- common declarations for all gzip modules
1740
1741- Copyright (C) 1997-1999, 2001, 2006-2007, 2009-2012 Free Software
1742+ Copyright (C) 1997-1999, 2001, 2006-2007, 2009-2013 Free Software
1743 Foundation, Inc.
1744
1745 Copyright (C) 1992-1993 Jean-loup Gailly.
1746@@ -321,6 +321,3 @@
1747
1748 /* in inflate.c */
1749 extern int inflate (void);
1750-
1751- /* in yesno.c */
1752-extern int yesno (void);
1753
1754=== added file '.pc/sigpipe.diff/.timestamp'
1755=== modified file '.pc/sigpipe.diff/gzip.c'
1756--- .pc/sigpipe.diff/gzip.c 2012-06-29 02:07:40 +0000
1757+++ .pc/sigpipe.diff/gzip.c 2013-08-12 10:11:48 +0000
1758@@ -1,6 +1,6 @@
1759 /* gzip (GNU zip) -- compress files with zip algorithm and 'compress' interface
1760
1761- Copyright (C) 1999, 2001-2002, 2006-2007, 2009-2012 Free Software
1762+ Copyright (C) 1999, 2001-2002, 2006-2007, 2009-2013 Free Software
1763 Foundation, Inc.
1764 Copyright (C) 1992-1993 Jean-loup Gailly
1765
1766@@ -74,6 +74,7 @@
1767 #include "ignore-value.h"
1768 #include "stat-time.h"
1769 #include "version.h"
1770+#include "yesno.h"
1771
1772 /* configuration */
1773
1774@@ -166,6 +167,7 @@
1775 int to_stdout = 0; /* output to stdout (-c) */
1776 static int decompress = 0; /* decompress (-d) */
1777 static int force = 0; /* don't ask questions, compress links (-f) */
1778+static int keep = 0; /* keep (don't delete) input files */
1779 static int no_name = -1; /* don't save or restore the original file name */
1780 static int no_time = -1; /* don't save or restore the original file time */
1781 static int recursive = 0; /* recurse through directories (-r) */
1782@@ -223,7 +225,9 @@
1783 #ifdef SIGHUP
1784 , SIGHUP
1785 #endif
1786+#if SIGPIPE
1787 , SIGPIPE
1788+#endif
1789 #ifdef SIGTERM
1790 , SIGTERM
1791 #endif
1792@@ -254,6 +258,7 @@
1793 {"force", 0, 0, 'f'}, /* force overwrite of output file */
1794 {"help", 0, 0, 'h'}, /* give help */
1795 /* {"pkzip", 0, 0, 'k'}, force output in pkzip format */
1796+ {"keep", 0, 0, 'k'}, /* keep (don't delete) input files */
1797 {"list", 0, 0, 'l'}, /* list .gz file contents */
1798 {"license", 0, 0, 'L'}, /* display software license */
1799 {"no-name", 0, 0, 'n'}, /* don't save or restore original name & time */
1800@@ -332,6 +337,7 @@
1801 " -f, --force force overwrite of output file and compress links",
1802 " -h, --help give this help",
1803 /* -k, --pkzip force output in pkzip format */
1804+ " -k, --keep keep (don't delete) input files",
1805 " -l, --list list compressed file contents",
1806 " -L, --license display software license",
1807 #ifdef UNDOCUMENTED
1808@@ -436,7 +442,7 @@
1809 z_suffix = Z_SUFFIX;
1810 z_len = strlen(z_suffix);
1811
1812- while ((optc = getopt_long (argc, argv, "ab:cdfhH?lLmMnNqrS:tvVZ123456789",
1813+ while ((optc = getopt_long (argc, argv, "ab:cdfhH?klLmMnNqrS:tvVZ123456789",
1814 longopts, (int *)0)) != -1) {
1815 switch (optc) {
1816 case 'a':
1817@@ -459,6 +465,8 @@
1818 force++; break;
1819 case 'h': case 'H':
1820 help(); do_exit(OK); break;
1821+ case 'k':
1822+ keep = 1; break;
1823 case 'l':
1824 list = decompress = to_stdout = 1; break;
1825 case 'L':
1826@@ -853,25 +861,29 @@
1827
1828 if (!to_stdout)
1829 {
1830- sigset_t oldset;
1831- int unlink_errno;
1832
1833 copy_stat (&istat);
1834 if (close (ofd) != 0)
1835 write_error ();
1836
1837- sigprocmask (SIG_BLOCK, &caught_signals, &oldset);
1838- remove_ofname_fd = -1;
1839- unlink_errno = xunlink (ifname) == 0 ? 0 : errno;
1840- sigprocmask (SIG_SETMASK, &oldset, NULL);
1841-
1842- if (unlink_errno)
1843+ if (!keep)
1844 {
1845- WARN ((stderr, "%s: ", program_name));
1846- if (!quiet)
1847+ sigset_t oldset;
1848+ int unlink_errno;
1849+
1850+ sigprocmask (SIG_BLOCK, &caught_signals, &oldset);
1851+ remove_ofname_fd = -1;
1852+ unlink_errno = xunlink (ifname) == 0 ? 0 : errno;
1853+ sigprocmask (SIG_SETMASK, &oldset, NULL);
1854+
1855+ if (unlink_errno)
1856 {
1857- errno = unlink_errno;
1858- perror (ifname);
1859+ WARN ((stderr, "%s: ", program_name));
1860+ if (!quiet)
1861+ {
1862+ errno = unlink_errno;
1863+ perror (ifname);
1864+ }
1865 }
1866 }
1867 }
1868
1869=== removed directory '.pc/zdiff-man.diff'
1870=== removed file '.pc/zdiff-man.diff/zdiff.1'
1871--- .pc/zdiff-man.diff/zdiff.1 2012-06-29 02:07:40 +0000
1872+++ .pc/zdiff-man.diff/zdiff.1 1970-01-01 00:00:00 +0000
1873@@ -1,46 +0,0 @@
1874-.TH ZDIFF 1
1875-.SH NAME
1876-zcmp, zdiff \- compare compressed files
1877-.SH SYNOPSIS
1878-.B zcmp
1879-[ cmp_options ] file1
1880-[ file2 ]
1881-.br
1882-.B zdiff
1883-[ diff_options ] file1
1884-[ file2 ]
1885-.SH DESCRIPTION
1886-.I Zcmp
1887-and
1888-.I zdiff
1889-are used to invoke the
1890-.I cmp
1891-or the
1892-.I diff
1893-program on files compressed via
1894-.IR gzip "."
1895-All options specified are passed directly to
1896-.I cmp
1897-or
1898-.IR diff "."
1899-If only 1 file is specified, then the files compared are
1900-.I file1
1901-and an uncompressed
1902-.IR file1 ".gz."
1903-If two files are specified, then they are uncompressed if necessary and fed to
1904-.I cmp
1905-or
1906-.IR diff "."
1907-The exit status from
1908-.I cmp
1909-or
1910-.I diff
1911-is preserved.
1912-.SH "SEE ALSO"
1913-cmp(1), diff(1), zmore(1), zgrep(1), znew(1), zforce(1), gzip(1), gzexe(1)
1914-.SH BUGS
1915-Messages from the
1916-.I cmp
1917-or
1918-.I diff
1919-programs refer to temporary filenames instead of those specified.
1920
1921=== added directory '.pc/zgrep-man-diff'
1922=== added file '.pc/zgrep-man-diff/.timestamp'
1923=== added file '.pc/zgrep-man-diff/zgrep.1'
1924--- .pc/zgrep-man-diff/zgrep.1 1970-01-01 00:00:00 +0000
1925+++ .pc/zgrep-man-diff/zgrep.1 2013-08-12 10:11:48 +0000
1926@@ -0,0 +1,29 @@
1927+.TH ZGREP 1
1928+.SH NAME
1929+zgrep \- search possibly compressed files for a regular expression
1930+.SH SYNOPSIS
1931+.B zgrep
1932+[ grep_options ]
1933+.BI [\ -e\ ] " pattern"
1934+.IR filename ".\|.\|."
1935+.SH DESCRIPTION
1936+.I Zgrep
1937+invokes
1938+.I grep
1939+on compressed or gzipped files.
1940+All options specified are passed directly to
1941+.IR grep .
1942+If no file is specified, then the standard input is decompressed
1943+if necessary and fed to grep.
1944+Otherwise the given files are uncompressed if necessary and fed to
1945+.IR grep .
1946+.PP
1947+If the GREP environment variable is set,
1948+.I zgrep
1949+uses it as the
1950+.I grep
1951+program to be invoked.
1952+.SH AUTHOR
1953+Charles Levert (charles@comm.polymtl.ca)
1954+.SH "SEE ALSO"
1955+grep(1), gzexe(1), gzip(1), zdiff(1), zforce(1), zmore(1), znew(1)
1956
1957=== modified file '.tarball-version'
1958--- .tarball-version 2012-06-19 14:04:08 +0000
1959+++ .tarball-version 2013-08-12 10:11:48 +0000
1960@@ -1,1 +1,1 @@
1961-1.5
1962+1.6
1963
1964=== modified file 'ChangeLog'
1965--- ChangeLog 2012-06-19 14:04:08 +0000
1966+++ ChangeLog 2013-08-12 10:11:48 +0000
1967@@ -1,5 +1,248 @@
1968+2013-06-09 Jim Meyering <meyering@fb.com>
1969+
1970+ version 1.6
1971+ * NEWS: Record release date.
1972+
1973+ build: avoid automake warning that suggests use of subdir-objects
1974+ * configure.ac (AM_INIT_AUTOMAKE): Use the subdir-objects option.
1975+
1976+ build: avoid warning about deprecated use of automake's ACLOCAL_AMFLAGS
1977+ * Makefile.am (ACLOCAL_AMFLAGS): Don't use this deprecated variable.
1978+ * configure.ac: Do this instead: AC_CONFIG_MACRO_DIR([m4]).
1979+
1980+ build: use more portable shell syntax in search of working shell
1981+ * m4/shell.m4: Adjust sh/case syntax not to evoke a syntax
1982+ error from Solaris 10's /bin/sh.
1983+
1984+ build: update gnulib to latest, and bootstrap
1985+
1986+2013-05-28 Jim Meyering <meyering@fb.com>
1987+
1988+ tests: exercise the new --keep option
1989+ * tests/keep: New file.
1990+ * tests/Makefile.am (TESTS): Add it.
1991+
1992+2013-05-28 Rodrigo Campos <rodrigo@sdfg.com.ar>
1993+
1994+ gzip: add "--keep" option to retain (don't delete) input files
1995+ gzip now accepts the --keep (-k) option, for consistency with tools
1996+ like xz, lzip and bzip2. With this option, gzip no longer removes
1997+ named input files when compressing and decompressing.
1998+ * doc/gzip.texi: Document it.
1999+ * gzip.1: Likewise.
2000+ * gunzip.in: Likewise.
2001+ * NEWS: Likewise.
2002+ * gzip.c: Add support for "--keep".
2003+
2004+2013-04-15 Paul Eggert <eggert@cs.ucla.edu>
2005+
2006+ tests: redo patch for non-GNU gzip installed in /usr/local/bin
2007+ Problem with previous patch reported by Antonio Diaz Diaz in
2008+ <http://lists.gnu.org/archive/html/bug-gzip/2013-04/msg00011.html>.
2009+ * tests/help-version (gunzip_setuphelp, gzexe_setuphelp)
2010+ (zcat_setuphelp, zcmp_setuphelp, zdiff_setuphelp)
2011+ (zegrep_setuphelp, zfgrep_setuphelp, zforce_setuphelp)
2012+ (zgrep_setuphelp, zless_setuphelp, zmore_setuphelp)
2013+ (znew_setuphelp): New functions, used when testing even --help.
2014+ (zdiff_setup, zcat_setup, znew_setup, zgrep_setup, gzexe_setup):
2015+ Use gzip_setuphelp to set --__bindir.
2016+
2017+2013-04-10 Paul Eggert <eggert@cs.ucla.edu>
2018+
2019+ tests: work even if non-GNU gzip is installed in /usr/local/bin
2020+ Problem reported by Antonio Diaz Diaz in
2021+ <http://lists.gnu.org/archive/html/bug-gzip/2013-04/msg00004.html>.
2022+ * tests/help-version (zdiff_setup, zcat_setup, znew_setup, zgrep_setup)
2023+ (gzexe_setup): Pass --__bindir so that subsidiary programs are our
2024+ own's, not /usr/local/bin's. This requires using 'eval' on the result.
2025+ (zcmp_setup, gunzip_setup, zmore_setup, zless_setup, zforce_setup)
2026+ (zegrep_setup, zfgrep_setup): Invoke one of the other setup functions,
2027+ to make the patterns more obvious and simplify future maintenance.
2028+ * zcmp.in, zegrep.in, zfgrep.in: Pass __bindir to subsidiary program.
2029+
2030+ maint: adjust to Gnulib, Automake changes
2031+ * .gitignore: Add *.trs.
2032+ * lib/.gitignore: Add unused-parameter.h.
2033+
2034+ tests: port to Solaris 10 /bin/sh
2035+ * tests/Makefile.am (TESTS_ENVIRONMENT):
2036+ Use "FOO=val; export FOO" rather than "export FOO=val",
2037+ as the latter form doesn't work with Solaris /bin/sh.
2038+
2039+2013-02-25 Paul Eggert <eggert@cs.ucla.edu>
2040+
2041+ gzip: port to DMF file systems
2042+ * util.c (read_buffer): When reading a file with O_NONBLOCK, if
2043+ the read fails with errno==EAGAIN, clear O_NONBLOCK and try again.
2044+ Problem reported by Vitezslav Cizek in
2045+ <http://lists.gnu.org/archive/html/bug-gzip/2013-02/msg00030.html>.
2046+
2047+2013-02-05 Paul Eggert <eggert@cs.ucla.edu>
2048+
2049+ gzip: fix bug where you say "n" and gzip acts as if you said "y"
2050+ Problem reported for GCC 4.7 x86-64 -O2 by Allan McRae in
2051+ <http://lists.gnu.org/archive/html/bug-gzip/2013-02/msg00000.html>.
2052+ * NEWS: Document this. Use consistent format in earlier note.
2053+ * gzip.c: Include yesno.h.
2054+ * gzip.h (yesno): Remove decl; that's yesno.h's job.
2055+
2056+2013-01-06 Paul Eggert <eggert@cs.ucla.edu>
2057+
2058+ maint: adjust to Gnulib changes
2059+ * lib/.gitignore: Add glthread, math.c, unistd.c, wctype-h.c.
2060+ * m4/.gitignore: Remove inline.m4.
2061+
2062+2013-01-04 Jim Meyering <jim@meyering.net>
2063+
2064+ maint: update all copyright year number ranges
2065+ Run "make update-copyright".
2066+
2067+ build: update gnulib submodule to latest
2068+
2069+2012-12-10 Paul Eggert <eggert@cs.ucla.edu>
2070+
2071+ diagnose unexpected EOF and zero lengths in packed data
2072+ Problem reported by Aki Helin.
2073+ * NEWS: Mention Aki's reports.
2074+ * tests/unpack-invalid: New file,
2075+ with test data suggested by Aki.
2076+ * tests/Makefile.am (TESTS): Add it.
2077+ * unpack.c (read_byte): New function.
2078+ (look_bits, read_tree): Use it.
2079+ (read_tree): Check against zero bit length Huffman code.
2080+
2081+ gzip: diagnose invalid code in packed data
2082+ * unpack.c (unpack): When encountering a code out of range, report
2083+ it and fail rather than charging ahead with randomish output.
2084+ Problem reported by Aki Helin.
2085+
2086+2012-11-16 Jim Meyering <jim@meyering.net>
2087+
2088+ maint: avoid new syntax-check failures
2089+ * cfg.mk (_gl_TS_unmarked_extern_vars): Append nice_match, to avoid
2090+ false-positive syntax-check failure on i686.
2091+ * gzip.c (SIGPIPE): Remove definition. Now always provided via gnulib.
2092+ * lib/.gitignore: xsize.c, added by gnulib-tool.
2093+
2094+2012-11-16 Paul Eggert <eggert@cs.ucla.edu>
2095+
2096+ gzip: fix debugging/porting typo
2097+ * unlzw.c (unlzw) [DEBUG]: Don't assume 'long' can be printed with %d.
2098+
2099+ maint: merge build improvements from coreutils
2100+ * configure.ac: Invoke gl_ASSERT_NO_GNULIB_POSIXCHECK.
2101+ (--enable-gcc-warnings): Change help message.
2102+ (gl_GCC_VERSION_IFELSE): New macro.
2103+ Do not omit -Wunused-macros for main code.
2104+ Adjust other -W options as per coreutils.
2105+ * lib/Makefile.am (AM_CFLAGS): Use GNULIB_WARN_CFLAGS, not WARN_CFLAGS.
2106+ * unlzw.c (REGISTERS, REG1, REG2, ..., REG16): Remove.
2107+ All uses removed. These provoked -Wunused-macros warnings.
2108+ This sort of fiddling with registers hasn't been needed for years.
2109+
2110+ build: update gnulib submodule to latest
2111+
2112+ maint: port to platforms lacking SIGPIPE
2113+ * gzip.c (SIGPIPE): Define to 0 if not already defined.
2114+
2115+ doc: bring up to date and fix troff typos
2116+ * doc/gzip.texi (Overview): Update RFC URLs.
2117+ * gzip.1: Likewise. Don't say "SEE ALSO" to programs that almost
2118+ nobody has installed anymore.
2119+ * gzip.1, zmore.1: Fix some troff typos.
2120+ * zdiff.1: Clarify what happens with input files. Don't talk
2121+ about temporary file names, as they're rarely used these days.
2122+
2123+2012-10-24 Paul Eggert <eggert@cs.ucla.edu>
2124+
2125+ tests: exercise the grep -e portability fix
2126+ Remove workaround for Solaris, since the bug should be fixed now.
2127+ Suggested by Petr Sumbera in
2128+ <http://lists.gnu.org/archive/html/bug-gzip/2012-10/msg00005.html>.
2129+ * tests/zgrep-context, tests/zgrep-f: All uses removed.
2130+ * tests/init.cfg (require_POSIX_grep_): Remove.
2131+
2132+2012-10-23 Eric Blake <eblake@redhat.com>
2133+
2134+ build: default to --enable-gcc-warnings in a git tree
2135+ Anyone building from cloned sources can be assumed to have a new
2136+ enough environment, such that enabling gcc warnings by default will
2137+ be useful. Tarballs still default to no warnings, and the default
2138+ can still be overridden with --disable-gcc-warnings.
2139+ * configure.ac (gl_gcc_warnings): Set default based on environment.
2140+
2141+2012-10-20 Paul Eggert <eggert@cs.ucla.edu>
2142+
2143+ zgrep: do not assume standard 'grep' has -e
2144+ On Solaris 11, /usr/bin/grep -e does not work.
2145+ Problem reported by Petr Sumbera in
2146+ <http://lists.gnu.org/archive/html/bug-gzip/2012-10/msg00003.html>.
2147+ * Makefile.am (.in): Substitute @GREP@.
2148+ * configure.ac (AC_PROG_GREP): Invoke.
2149+ * zgrep.in (grep): Use @GREP@.
2150+
2151+2012-08-14 Paul Eggert <eggert@cs.ucla.edu>
2152+
2153+ zgrep: do not assume GNU expr
2154+ * zgrep.in: Do not assume '\+' has the GNU behavior in the BRE
2155+ given to 'expr', as POSIX does not guarantee that. Come to think
2156+ of it, use a shell pattern rather than 'expr', as this is more
2157+ efficient.
2158+
2159+2012-08-08 Jim Meyering <meyering@redhat.com>
2160+
2161+ tests: exercise the just-fixed part of zgrep
2162+ * tests/zgrep-context: New file.
2163+ * tests/Makefile.am (TESTS): Add it.
2164+
2165+2012-08-08 Jim Meyering <meyering@redhat.com>
2166+
2167+ zgrep: handle a multi-digit context option like -15
2168+ * zgrep.in: Do not malfunction when given an option like -15.
2169+ Before, it could end up treating the pattern as a file name:
2170+
2171+ $ echo x | gzip | zgrep -15 x
2172+ gzip: x.gz: No such file or directory
2173+
2174+ * NEWS (Bug fixes): Mention it.
2175+ Reported by Dan Bloch via Thomas Bushnell in
2176+ https://bugs.launchpad.net/bugs/1032831
2177+
2178+2012-08-07 Jim Meyering <meyering@redhat.com>
2179+
2180+ build: update gnulib, bootstrap and init.sh
2181+
2182+ maint: fix misspellings in old ChangeLog and NEWS
2183+ * ChangeLog-2007: s/Supress/Suppress/
2184+ * NEWS: Likewise.
2185+ * cfg.mk (old_NEWS_hash): Update to match typo fix.
2186+
2187+2012-06-19 Paul Eggert <eggert@cs.ucla.edu>
2188+
2189+ zmore: rewrite to fix bugs and assume POSIX
2190+ Problem reported for Solaris 9 by Daniel in
2191+ <http://lists.gnu.org/archive/html/bug-gzip/2012-06/msg00007.html>.
2192+ Rather than figure out what exactly went wrong in Solaris 9
2193+ it was easier to rip out all the buggy compatibility and stty cruft.
2194+ * zmore.in: Don't use stty or trap; simply pipe the output to 'more'
2195+ and let it deal with signals and terminal control.
2196+ Use printf, not 'echo', to avoid problems with backslashes.
2197+ Don't assume ANS is not 's' in the environment.
2198+ Use a 'more'-style header instead of rolling our own style.
2199+ Paginate the header, too; the old behavior lost the header.
2200+ * NEWS, zmore.1: Document this.
2201+
2202 2012-06-17 Jim Meyering <meyering@redhat.com>
2203
2204+ maint: add .mailmap
2205+ * .mailmap: New file. Unify two spellings of Paul's name,
2206+ to make git log output slightly cleaner.
2207+
2208+ maint: post-release administrivia
2209+ * NEWS: Add header line for next release.
2210+ * .prev-version: Record previous version.
2211+ * cfg.mk (old_NEWS_hash): Auto-update.
2212+
2213 version 1.5
2214 * NEWS: Record release date.
2215
2216@@ -58,7 +301,7 @@
2217 maint: update all copyright year number ranges
2218 Run "make update-copyright".
2219
2220-2011-12-22 Paul Eggert <eggert@cs.ucla.edu>
2221+2011-12-21 Paul Eggert <eggert@cs.ucla.edu>
2222
2223 zless: decompress stdin too, if less 429 or later
2224 * zless.in: Use LESSOPEN |- feature of less 429 or later.
2225@@ -94,14 +337,12 @@
2226
2227 build: update gnulib submodule to latest
2228
2229-2011-11-03 Paul Eggert <eggert@cs.ucla.edu>
2230+2011-11-02 Paul Eggert <eggert@cs.ucla.edu>
2231
2232 * tests/zgrep-signal: Don't assume exit status 141 on PIPE signal.
2233 Problem reported by Eric Blake in
2234 <http://lists.gnu.org/archive/html/bug-gzip/2011-11/msg00007.html>.
2235
2236-2011-11-02 Paul Eggert <eggert@cs.ucla.edu>
2237-
2238 * tests/zgrep-signal: Use perl instead of a nonportable shell trap.
2239 Problem reported by Eric Blake in
2240 <http://lists.gnu.org/archive/html/bug-gzip/2011-11/msg00005.html>.
2241@@ -424,7 +665,7 @@
2242 * zip.c (zip): Simplify conditional, which was incorrect at any rate
2243 for VMS.
2244
2245-2010-08-16 Paul Eggert <eggert@cs.ucla.edu>
2246+2010-08-15 Paul Eggert <eggert@cs.ucla.edu>
2247
2248 algorithm.doc: mention Internet RFC 1952 and modernize a bit
2249 * algorithm.doc: Update to mention header-CRC and Internet RFC 1952.
2250@@ -436,7 +677,7 @@
2251 Inspired by a suggestion of Greg Roelofs in
2252 http://lists.gnu.org/archive/html/bug-gzip/2010-08/msg00004.html
2253
2254-2010-08-04 Paul Eggert <eggert@cs.ucla.edu>
2255+2010-08-03 Paul Eggert <eggert@cs.ucla.edu>
2256
2257 maint: update bootstrap
2258 * bootstrap, bootstrap.conf, tests/init.sh: Merge from gnulib.
2259@@ -451,11 +692,11 @@
2260
2261 * gzip.c (get_method): don't assume size_t can be printed with %u
2262
2263-2010-07-03 Paul Eggert <eggert@cs.ucla.edu>
2264+2010-07-02 Paul Eggert <eggert@cs.ucla.edu>
2265
2266 Mention that gzip -d now handles FHCRC.
2267
2268-2010-07-03 Paul Eggert <eggert@cs.ucla.edu>
2269+2010-07-02 Paul Eggert <eggert@cs.ucla.edu>
2270
2271 Decode FHCRC flag properly, as per Internet RFC 1952.
2272 Problem reported by Greg Roelofs in:
2273@@ -478,7 +719,7 @@
2274
2275 Update Info-ZIP name and coordinates (thanks to Greg Roelofs).
2276
2277-2010-05-12 Paul Eggert <eggert@cs.ucla.edu>
2278+2010-05-11 Paul Eggert <eggert@cs.ucla.edu>
2279
2280 * doc/gzip.texi (Sample): Fix backslash quoting problem.
2281 Problem reported by Ole Tange in
2282@@ -579,7 +820,7 @@
2283 maint: update bootstrap
2284 * bootstrap: Use latest copy from gnulib/build-aux.
2285
2286-2010-04-06 Jim Meyering <meyering@redhat.com>
2287+2010-04-05 Jim Meyering <meyering@redhat.com>
2288
2289 build: use gnulib's lib-ignore module
2290 * bootstrap.conf (gnulib_modules): Add lib-ignore, in case it helps.
2291@@ -656,7 +897,7 @@
2292 * zcmp.in: Exit with status of 2 (not 1), when writing
2293 --help or --version output fails, to be more like cmp.
2294
2295-2010-02-04 Jim Meyering <meyering@redhat.com>
2296+2010-02-03 Jim Meyering <meyering@redhat.com>
2297
2298 tests: add more tests of gzip -cdf
2299 * tests/mixed: Test "gzip -cdf" for a range of small uncompressed files.
2300@@ -667,14 +908,14 @@
2301 (TESTS): ...to here.
2302 * tests/mixed: Comment out the currently (always?) failing part.
2303
2304-2010-02-04 Mark Adler <madler@alumni.caltech.edu>
2305+2010-02-03 Mark Adler <madler@alumni.caltech.edu>
2306
2307 gzip -cdf now handles concatenation of gzip'd and uncompressed data
2308 * util.c (copy): Change semantics so as to honor a decremented inptr.
2309 * gzip.c (get_method): When needed (-cdf), decrement inptr rather
2310 than clearing it -- and output the first magic byte.
2311
2312-2010-02-04 Dmitry V. Levin <ldv@altlinux.org>
2313+2010-02-03 Dmitry V. Levin <ldv@altlinux.org>
2314
2315 zgrep: terminate gracefully when a pipeline is interrupted by a signal
2316 zgrep is not terminated gracefully when its grep/sed pipeline
2317@@ -699,6 +940,8 @@
2318 * bootstrap: Remove "indent-tabs-mode: nil" directive.
2319 * .x-sc_prohibit_tab_based_indentation: New file.
2320
2321+2010-02-02 Jim Meyering <meyering@redhat.com>
2322+
2323 global: convert indentation-TABs to spaces
2324 Transformed via this shell code:
2325 t=$'\t'
2326@@ -709,7 +952,7 @@
2327 | xargs perl -MText::Tabs -ni -le \
2328 '$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_'
2329
2330-2010-02-03 Dmitry V. Levin <ldv@altlinux.org>
2331+2010-02-02 Dmitry V. Levin <ldv@altlinux.org>
2332
2333 wrapper scripts: write diagnostics to stderr, not to stdout
2334 * zforce.in: In case of usage error, output short error diagnostics to
2335@@ -717,7 +960,7 @@
2336 * zmore.in: Likewise.
2337 * znew.in: Likewise.
2338
2339-2010-02-03 Jim Meyering <meyering@redhat.com>
2340+2010-02-02 Jim Meyering <meyering@redhat.com>
2341
2342 gzip -cdf mishandles some concatenated input streams: test it
2343 * tests/mixed: Exercise "gzip -cdf" bug.
2344@@ -812,7 +1055,7 @@
2345 but fortunately is not a bug, because the definition
2346 it would have overridden was always empty.
2347
2348-2010-01-11 Jim Meyering <meyering@redhat.com>
2349+2010-01-10 Jim Meyering <meyering@redhat.com>
2350
2351 gzip -d would fail with a CRC error...
2352 ...for some inputs, and some memcpy implementations. It is possible
2353
2354=== modified file 'ChangeLog-2007'
2355--- ChangeLog-2007 2012-06-19 14:04:08 +0000
2356+++ ChangeLog-2007 2013-08-12 10:11:48 +0000
2357@@ -1284,7 +1284,7 @@
2358 With --force, let zcat pass non gzip'ed data unchanged (zcat == cat)
2359 Added the zgrep shell script.
2360 Made sub.c useful for 16 bit sound, 24 bit images, etc..
2361- Supress warnings about suffix for gunzip -r, except with --verbose.
2362+ Suppress warnings about suffix for gunzip -r, except with --verbose.
2363 Moved the sample programs to a subdirectory sample.
2364 On MSDOS, use .gz extension when possible (files without extension)
2365 Added a "Special targets" section in INSTALL.
2366@@ -1776,7 +1776,7 @@
2367
2368 -----
2369
2370- Copyright (C) 1997-2002, 2006-2012 Free Software Foundation, Inc.
2371+ Copyright (C) 1997-2002, 2006-2013 Free Software Foundation, Inc.
2372 Copyright (C) 1992, 1993 Jean-loup Gailly
2373
2374 Copying and distribution of this file, with or without
2375
2376=== modified file 'GNUmakefile'
2377--- GNUmakefile 2012-06-19 14:04:08 +0000
2378+++ GNUmakefile 2013-08-12 10:11:48 +0000
2379@@ -5,7 +5,7 @@
2380 # It is necessary if you want to build targets usually of interest
2381 # only to the maintainer.
2382
2383-# Copyright (C) 2001, 2003, 2006-2012 Free Software Foundation, Inc.
2384+# Copyright (C) 2001, 2003, 2006-2013 Free Software Foundation, Inc.
2385
2386 # This program is free software: you can redistribute it and/or modify
2387 # it under the terms of the GNU General Public License as published by
2388
2389=== modified file 'INSTALL'
2390--- INSTALL 2012-06-19 14:04:08 +0000
2391+++ INSTALL 2013-08-12 10:11:48 +0000
2392@@ -1,7 +1,7 @@
2393 Installation Instructions
2394 *************************
2395
2396-Copyright (C) 1994-1996, 1999-2002, 2004-2012 Free Software Foundation,
2397+Copyright (C) 1994-1996, 1999-2002, 2004-2013 Free Software Foundation,
2398 Inc.
2399
2400 Copying and distribution of this file, with or without modification,
2401
2402=== modified file 'Makefile.am'
2403--- Makefile.am 2012-06-19 14:04:08 +0000
2404+++ Makefile.am 2013-08-12 10:11:48 +0000
2405@@ -1,6 +1,6 @@
2406 # Make gzip (GNU zip).
2407
2408-# Copyright (C) 1999, 2001-2002, 2006-2007, 2009-2012 Free Software Foundation,
2409+# Copyright (C) 1999, 2001-2002, 2006-2007, 2009-2013 Free Software Foundation,
2410 # Inc.
2411
2412 # This program is free software; you can redistribute it and/or modify
2413@@ -21,7 +21,6 @@
2414 BUILT_SOURCES =
2415
2416 SUBDIRS = lib doc . tests
2417-ACLOCAL_AMFLAGS = -I m4
2418 AM_CPPFLAGS = -I$(top_srcdir)/lib
2419 AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
2420
2421@@ -84,6 +83,7 @@
2422 $(AM_V_GEN)sed \
2423 -e 's|/bin/sh|$(SHELL)|g' \
2424 -e 's|[@]bindir@|'\''$(bindir)'\''|g' \
2425+ -e 's|[@]GREP@|$(GREP)|g' \
2426 -e 's|[@]VERSION@|$(VERSION)|g' \
2427 $(srcdir)/$@.in >$@-t \
2428 && chmod a+x $@-t \
2429
2430=== modified file 'Makefile.in'
2431--- Makefile.in 2012-06-19 14:04:08 +0000
2432+++ Makefile.in 2013-08-12 10:11:48 +0000
2433@@ -1,7 +1,7 @@
2434-# Makefile.in generated by automake 1.12a from Makefile.am.
2435+# Makefile.in generated by automake 1.99a from Makefile.am.
2436 # @configure_input@
2437
2438-# Copyright (C) 1994-2012 Free Software Foundation, Inc.
2439+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
2440
2441 # This Makefile.in is free software; the Free Software Foundation
2442 # gives unlimited permission to copy and/or distribute it,
2443@@ -16,7 +16,7 @@
2444
2445 # Make gzip (GNU zip).
2446
2447-# Copyright (C) 1999, 2001-2002, 2006-2007, 2009-2012 Free Software Foundation,
2448+# Copyright (C) 1999, 2001-2002, 2006-2007, 2009-2013 Free Software Foundation,
2449 # Inc.
2450
2451 # This program is free software; you can redistribute it and/or modify
2452@@ -37,23 +37,51 @@
2453
2454
2455 VPATH = @srcdir@
2456-am__make_dryrun = \
2457- { \
2458- am__dry=no; \
2459+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
2460+am__make_running_with_option = \
2461+ case $${target_option-} in \
2462+ ?) ;; \
2463+ *) echo "am__make_running_with_option: internal error: invalid" \
2464+ "target option '$${target_option-}' specified" >&2; \
2465+ exit 1;; \
2466+ esac; \
2467+ has_opt=no; \
2468+ sane_makeflags=$$MAKEFLAGS; \
2469+ if $(am__is_gnu_make); then \
2470+ sane_makeflags=$$MFLAGS; \
2471+ else \
2472 case $$MAKEFLAGS in \
2473 *\\[\ \ ]*) \
2474- echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
2475- | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
2476- *) \
2477- for am__flg in $$MAKEFLAGS; do \
2478- case $$am__flg in \
2479- *=*|--*) ;; \
2480- *n*) am__dry=yes; break;; \
2481- esac; \
2482- done;; \
2483- esac; \
2484- test $$am__dry = yes; \
2485- }
2486+ bs=\\; \
2487+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
2488+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
2489+ esac; \
2490+ fi; \
2491+ skip_next=no; \
2492+ strip_trailopt () \
2493+ { \
2494+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
2495+ }; \
2496+ for flg in $$sane_makeflags; do \
2497+ test $$skip_next = yes && { skip_next=no; continue; }; \
2498+ case $$flg in \
2499+ *=*|--*) continue;; \
2500+ -*I) strip_trailopt 'I'; skip_next=yes;; \
2501+ -*I?*) strip_trailopt 'I';; \
2502+ -*O) strip_trailopt 'O'; skip_next=yes;; \
2503+ -*O?*) strip_trailopt 'O';; \
2504+ -*l) strip_trailopt 'l'; skip_next=yes;; \
2505+ -*l?*) strip_trailopt 'l';; \
2506+ -[dEDm]) skip_next=yes;; \
2507+ -[JT]) skip_next=yes;; \
2508+ esac; \
2509+ case $$flg in \
2510+ *$$target_option*) has_opt=yes; break;; \
2511+ esac; \
2512+ done; \
2513+ test $$has_opt = yes
2514+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
2515+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
2516 pkgdatadir = $(datadir)/@PACKAGE@
2517 pkgincludedir = $(includedir)/@PACKAGE@
2518 pkglibdir = $(libdir)/@PACKAGE@
2519@@ -101,16 +129,18 @@
2520 $(top_srcdir)/m4/dup2.m4 $(top_srcdir)/m4/errno_h.m4 \
2521 $(top_srcdir)/m4/error.m4 $(top_srcdir)/m4/exponentd.m4 \
2522 $(top_srcdir)/m4/exponentf.m4 $(top_srcdir)/m4/exponentl.m4 \
2523- $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \
2524+ $(top_srcdir)/m4/extensions.m4 \
2525+ $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fchdir.m4 \
2526 $(top_srcdir)/m4/fclose.m4 $(top_srcdir)/m4/fcntl-o.m4 \
2527 $(top_srcdir)/m4/fcntl-safer.m4 $(top_srcdir)/m4/fcntl.m4 \
2528 $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fdopendir.m4 \
2529 $(top_srcdir)/m4/fflush.m4 $(top_srcdir)/m4/filenamecat.m4 \
2530 $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fpending.m4 \
2531 $(top_srcdir)/m4/fpieee.m4 $(top_srcdir)/m4/fprintf-posix.m4 \
2532- $(top_srcdir)/m4/fpurge.m4 $(top_srcdir)/m4/freading.m4 \
2533- $(top_srcdir)/m4/frexp.m4 $(top_srcdir)/m4/frexpl.m4 \
2534- $(top_srcdir)/m4/fseek.m4 $(top_srcdir)/m4/fseeko.m4 \
2535+ $(top_srcdir)/m4/fpurge.m4 $(top_srcdir)/m4/freadahead.m4 \
2536+ $(top_srcdir)/m4/freading.m4 $(top_srcdir)/m4/frexp.m4 \
2537+ $(top_srcdir)/m4/frexpl.m4 $(top_srcdir)/m4/fseek.m4 \
2538+ $(top_srcdir)/m4/fseeko.m4 $(top_srcdir)/m4/fseterr.m4 \
2539 $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/ftell.m4 \
2540 $(top_srcdir)/m4/ftello.m4 $(top_srcdir)/m4/getcwd.m4 \
2541 $(top_srcdir)/m4/getdtablesize.m4 $(top_srcdir)/m4/getopt.m4 \
2542@@ -118,13 +148,12 @@
2543 $(top_srcdir)/m4/glibc21.m4 $(top_srcdir)/m4/gnu-make.m4 \
2544 $(top_srcdir)/m4/gnulib-common.m4 \
2545 $(top_srcdir)/m4/gnulib-comp.m4 \
2546- $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inline.m4 \
2547- $(top_srcdir)/m4/intmax_t.m4 $(top_srcdir)/m4/inttypes_h.m4 \
2548- $(top_srcdir)/m4/isnand.m4 $(top_srcdir)/m4/isnanf.m4 \
2549- $(top_srcdir)/m4/isnanl.m4 $(top_srcdir)/m4/largefile.m4 \
2550- $(top_srcdir)/m4/ldexpl.m4 $(top_srcdir)/m4/lib-ignore.m4 \
2551- $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
2552- $(top_srcdir)/m4/lib-prefix.m4 \
2553+ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/intmax_t.m4 \
2554+ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/isnand.m4 \
2555+ $(top_srcdir)/m4/isnanf.m4 $(top_srcdir)/m4/isnanl.m4 \
2556+ $(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/ldexpl.m4 \
2557+ $(top_srcdir)/m4/lib-ignore.m4 $(top_srcdir)/m4/lib-ld.m4 \
2558+ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
2559 $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \
2560 $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-zh.m4 \
2561 $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \
2562@@ -161,11 +190,11 @@
2563 $(top_srcdir)/m4/utimbuf.m4 $(top_srcdir)/m4/utimens.m4 \
2564 $(top_srcdir)/m4/utimes.m4 $(top_srcdir)/m4/vasnprintf.m4 \
2565 $(top_srcdir)/m4/vfprintf-posix.m4 \
2566- $(top_srcdir)/m4/warn-on-use.m4 $(top_srcdir)/m4/warnings.m4 \
2567- $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \
2568- $(top_srcdir)/m4/wctype_h.m4 $(top_srcdir)/m4/wint_t.m4 \
2569- $(top_srcdir)/m4/xalloc.m4 $(top_srcdir)/m4/xsize.m4 \
2570- $(top_srcdir)/m4/yesno.m4 $(top_srcdir)/configure.ac
2571+ $(top_srcdir)/m4/warnings.m4 $(top_srcdir)/m4/wchar_h.m4 \
2572+ $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wctype_h.m4 \
2573+ $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xalloc.m4 \
2574+ $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/m4/yesno.m4 \
2575+ $(top_srcdir)/configure.ac
2576 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
2577 $(ACLOCAL_M4)
2578 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
2579@@ -237,6 +266,7 @@
2580 depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
2581 am__depfiles_maybe = depfiles
2582 am__mv = mv -f
2583+am__set_depbase = depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.[^.]*$$||'`
2584 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
2585 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
2586 AM_V_CC = $(am__v_CC_@AM_V@)
2587@@ -251,13 +281,14 @@
2588 am__v_CCLD_1 =
2589 SOURCES = $(nodist_libver_a_SOURCES) $(gzip_SOURCES)
2590 DIST_SOURCES = $(gzip_SOURCES)
2591-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
2592- html-recursive info-recursive install-data-recursive \
2593- install-dvi-recursive install-exec-recursive \
2594- install-html-recursive install-info-recursive \
2595- install-pdf-recursive install-ps-recursive install-recursive \
2596- installcheck-recursive installdirs-recursive pdf-recursive \
2597- ps-recursive uninstall-recursive
2598+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
2599+ ctags-recursive dvi-recursive html-recursive info-recursive \
2600+ install-data-recursive install-dvi-recursive \
2601+ install-exec-recursive install-html-recursive \
2602+ install-info-recursive install-pdf-recursive \
2603+ install-ps-recursive install-recursive installcheck-recursive \
2604+ installdirs-recursive pdf-recursive ps-recursive \
2605+ tags-recursive uninstall-recursive
2606 am__can_run_installinfo = \
2607 case $$AM_UPDATE_INFO_DIR in \
2608 n|no|NO) false;; \
2609@@ -269,10 +300,29 @@
2610 HEADERS = $(noinst_HEADERS)
2611 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
2612 distclean-recursive maintainer-clean-recursive
2613-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
2614- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
2615+am__recursive_targets = \
2616+ $(RECURSIVE_TARGETS) \
2617+ $(RECURSIVE_CLEAN_TARGETS) \
2618+ $(am__extra_recursive_targets)
2619+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
2620 cscope distdir dist dist-all distcheck
2621 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
2622+# Read a list of newline-separated strings from the standard input,
2623+# and print each of them once, without duplicates. Input order is
2624+# *not* preserved.
2625+am__uniquify_input = $(AWK) '\
2626+ BEGIN { nonempty = 0; } \
2627+ { items[$$0] = 1; nonempty = 1; } \
2628+ END { if (nonempty) { for (i in items) print i; }; } \
2629+'
2630+# Make sure the list of sources is unique. This is necessary because,
2631+# e.g., the same source file might be shared among _SOURCES variables
2632+# for different programs/libraries.
2633+am__define_uniq_tagged_files = \
2634+ list='$(am__tagged_files)'; \
2635+ unique=`for i in $$list; do \
2636+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
2637+ done | $(am__uniquify_input)`
2638 ETAGS = etags
2639 CTAGS = ctags
2640 CSCOPE = cscope
2641@@ -601,6 +651,7 @@
2642 GNULIB_RPMATCH = @GNULIB_RPMATCH@
2643 GNULIB_SCANDIR = @GNULIB_SCANDIR@
2644 GNULIB_SCANF = @GNULIB_SCANF@
2645+GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@
2646 GNULIB_SETENV = @GNULIB_SETENV@
2647 GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@
2648 GNULIB_SIGNBIT = @GNULIB_SIGNBIT@
2649@@ -919,6 +970,7 @@
2650 HAVE_RPMATCH = @HAVE_RPMATCH@
2651 HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = @HAVE_SAME_LONG_DOUBLE_AS_DOUBLE@
2652 HAVE_SCANDIR = @HAVE_SCANDIR@
2653+HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@
2654 HAVE_SETENV = @HAVE_SETENV@
2655 HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@
2656 HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
2657@@ -1208,6 +1260,7 @@
2658 REPLACE_POPEN = @REPLACE_POPEN@
2659 REPLACE_PREAD = @REPLACE_PREAD@
2660 REPLACE_PRINTF = @REPLACE_PRINTF@
2661+REPLACE_PTSNAME = @REPLACE_PTSNAME@
2662 REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@
2663 REPLACE_PUTENV = @REPLACE_PUTENV@
2664 REPLACE_PWRITE = @REPLACE_PWRITE@
2665@@ -1303,7 +1356,6 @@
2666 abs_top_srcdir = @abs_top_srcdir@
2667 ac_ct_CC = @ac_ct_CC@
2668 am__include = @am__include@
2669-am__leading_dot = @am__leading_dot@
2670 am__quote = @am__quote@
2671 am__tar = @am__tar@
2672 am__untar = @am__untar@
2673@@ -1339,6 +1391,7 @@
2674 localedir = @localedir@
2675 localstatedir = @localstatedir@
2676 mandir = @mandir@
2677+mkdir_p = @mkdir_p@
2678 oldincludedir = @oldincludedir@
2679 pdfdir = @pdfdir@
2680 prefix = @prefix@
2681@@ -1355,7 +1408,6 @@
2682 ALL_RECURSIVE_TARGETS = distcheck-hook
2683 BUILT_SOURCES = version.c version.h
2684 SUBDIRS = lib doc . tests
2685-ACLOCAL_AMFLAGS = -I m4
2686 AM_CPPFLAGS = -I$(top_srcdir)/lib
2687 AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
2688
2689@@ -1441,6 +1493,7 @@
2690
2691 clean-noinstLIBRARIES:
2692 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
2693+
2694 libver.a: $(libver_a_OBJECTS) $(libver_a_DEPENDENCIES) $(EXTRA_libver_a_DEPENDENCIES)
2695 $(AM_V_at)-rm -f libver.a
2696 $(AM_V_AR)$(libver_a_AR) libver.a $(libver_a_OBJECTS) $(libver_a_LIBADD)
2697@@ -1487,6 +1540,7 @@
2698
2699 clean-binPROGRAMS:
2700 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
2701+
2702 gzip$(EXEEXT): $(gzip_OBJECTS) $(gzip_DEPENDENCIES) $(EXTRA_gzip_DEPENDENCIES)
2703 @rm -f gzip$(EXEEXT)
2704 $(AM_V_CCLD)$(LINK) $(gzip_OBJECTS) $(gzip_LDADD) $(LIBS)
2705@@ -1547,18 +1601,20 @@
2706 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/zip.Po@am__quote@
2707
2708 .c.o:
2709-@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
2710-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
2711+@am__fastdepCC_TRUE@ $(AM_V_CC)$(am__set_depbase) && \
2712+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< && \
2713+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
2714 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
2715 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2716-@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
2717+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
2718
2719 .c.obj:
2720-@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
2721-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
2722+@am__fastdepCC_TRUE@ $(AM_V_CC)$(am__set_depbase) && \
2723+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $$($(CYGPATH_W) $<) && \
2724+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
2725 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
2726 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2727-@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
2728+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $$($(CYGPATH_W) $<)
2729 install-man1: $(man_MANS)
2730 @$(NORMAL_INSTALL)
2731 @list1=''; \
2732@@ -1609,14 +1665,13 @@
2733 # (1) if the variable is set in 'config.status', edit 'config.status'
2734 # (which will cause the Makefiles to be regenerated when you run 'make');
2735 # (2) otherwise, pass the desired values on the 'make' command line.
2736-$(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
2737- @fail= failcom='exit 1'; \
2738- for f in x $$MAKEFLAGS; do \
2739- case $$f in \
2740- *=* | --[!k]*);; \
2741- *k*) failcom='fail=yes';; \
2742- esac; \
2743- done; \
2744+$(am__recursive_targets):
2745+ @fail=; \
2746+ if $(am__make_keepgoing); then \
2747+ failcom='fail=yes'; \
2748+ else \
2749+ failcom='exit 1'; \
2750+ fi; \
2751 dot_seen=no; \
2752 target=`echo $@ | sed s/-recursive//`; \
2753 case "$@" in \
2754@@ -1637,30 +1692,13 @@
2755 if test "$$dot_seen" = "no"; then \
2756 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
2757 fi; test -z "$$fail"
2758-tags-recursive:
2759- list='$(SUBDIRS)'; for subdir in $$list; do \
2760- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
2761- done
2762-ctags-recursive:
2763- list='$(SUBDIRS)'; for subdir in $$list; do \
2764- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
2765- done
2766-cscopelist-recursive:
2767- list='$(SUBDIRS)'; for subdir in $$list; do \
2768- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \
2769- done
2770
2771 ID: $(am__tagged_files)
2772- list='$(am__tagged_files)'; \
2773- unique=`for i in $$list; do \
2774- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
2775- done | \
2776- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
2777- END { if (nonempty) { for (i in files) print i; }; }'`; \
2778- mkid -fID $$unique
2779-tags: TAGS
2780+ $(am__define_uniq_tagged_files); mkid -fID $$unique
2781+tags: tags-recursive
2782+TAGS: tags
2783
2784-TAGS: tags-recursive $(TAGS_DEPENDENCIES) $(am__tagged_files)
2785+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
2786 set x; \
2787 here=`pwd`; \
2788 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
2789@@ -1676,12 +1714,7 @@
2790 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
2791 fi; \
2792 done; \
2793- list='$(am__tagged_files)'; \
2794- unique=`for i in $$list; do \
2795- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
2796- done | \
2797- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
2798- END { if (nonempty) { for (i in files) print i; }; }'`; \
2799+ $(am__define_uniq_tagged_files); \
2800 shift; \
2801 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
2802 test -n "$$unique" || unique=$$empty_fix; \
2803@@ -1693,14 +1726,11 @@
2804 $$unique; \
2805 fi; \
2806 fi
2807-ctags: CTAGS
2808-CTAGS: ctags-recursive $(TAGS_DEPENDENCIES) $(am__tagged_files)
2809- list='$(am__tagged_files)'; \
2810- unique=`for i in $$list; do \
2811- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
2812- done | \
2813- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
2814- END { if (nonempty) { for (i in files) print i; }; }'`; \
2815+ctags: ctags-recursive
2816+
2817+CTAGS: ctags
2818+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
2819+ $(am__define_uniq_tagged_files); \
2820 test -z "$(CTAGS_ARGS)$$unique" \
2821 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
2822 $$unique
2823@@ -1709,17 +1739,15 @@
2824 here=`$(am__cd) $(top_builddir) && pwd` \
2825 && $(am__cd) $(top_srcdir) \
2826 && gtags -i $(GTAGS_ARGS) "$$here"
2827-
2828 cscope: cscope.files
2829 test ! -s cscope.files \
2830 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
2831-
2832 clean-cscope:
2833 -rm -f cscope.files
2834-
2835-cscope.files: clean-cscope cscopelist-recursive cscopelist
2836-
2837-cscopelist: cscopelist-recursive $(am__tagged_files)
2838+cscope.files: clean-cscope cscopelist
2839+cscopelist: cscopelist-recursive
2840+
2841+cscopelist-am: $(am__tagged_files)
2842 list='$(am__tagged_files)'; \
2843 case "$(srcdir)" in \
2844 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
2845@@ -1738,19 +1766,6 @@
2846 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
2847
2848 distdir: $(DISTFILES)
2849- @list='$(MANS)'; if test -n "$$list"; then \
2850- list=`for p in $$list; do \
2851- if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
2852- if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
2853- if test -n "$$list" && \
2854- grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
2855- echo "error: found man pages containing the 'missing help2man' replacement text:" >&2; \
2856- grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
2857- echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
2858- echo " typically 'make maintainer-clean' will remove them" >&2; \
2859- exit 1; \
2860- else :; fi; \
2861- else :; fi
2862 $(am__remove_distdir)
2863 test -d "$(distdir)" || mkdir "$(distdir)"
2864 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
2865@@ -1832,14 +1847,6 @@
2866 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
2867 $(am__post_remove_distdir)
2868
2869-dist-tarZ: distdir
2870- tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
2871- $(am__post_remove_distdir)
2872-
2873-dist-shar: distdir
2874- shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
2875- $(am__post_remove_distdir)
2876-
2877 dist-zip: distdir
2878 -rm -f $(distdir).zip
2879 zip -rq $(distdir).zip $(distdir)
2880@@ -1862,16 +1869,12 @@
2881 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
2882 *.tar.xz*) \
2883 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
2884- *.tar.Z*) \
2885- uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
2886- *.shar.gz*) \
2887- GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
2888 *.zip*) \
2889 unzip $(distdir).zip ;;\
2890 esac
2891- chmod -R a-w $(distdir); chmod a+w $(distdir)
2892- mkdir $(distdir)/_build
2893- mkdir $(distdir)/_inst
2894+ chmod -R a-w $(distdir)
2895+ chmod u+w $(distdir)
2896+ mkdir $(distdir)/_build $(distdir)/_inst
2897 chmod a-w $(distdir)
2898 test -d $(distdir)/_build || exit 0; \
2899 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
2900@@ -2057,30 +2060,27 @@
2901
2902 uninstall-man: uninstall-man1
2903
2904-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \
2905- check-am cscopelist-recursive ctags-recursive install \
2906- install-am install-exec-am install-strip tags-recursive
2907+.MAKE: $(am__recursive_targets) all check check-am install install-am \
2908+ install-exec-am install-strip
2909
2910-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
2911- all all-am am--refresh check check-am check-local clean \
2912- clean-binPROGRAMS clean-cscope clean-generic \
2913- clean-noinstLIBRARIES cscope cscopelist cscopelist-recursive \
2914- ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
2915- dist-hook dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
2916- distcheck distclean distclean-compile distclean-generic \
2917- distclean-tags distcleancheck distdir distuninstallcheck dvi \
2918- dvi-am html html-am info info-am install install-am \
2919- install-binPROGRAMS install-binSCRIPTS install-data \
2920- install-data-am install-dvi install-dvi-am install-exec \
2921- install-exec-am install-exec-hook install-html install-html-am \
2922- install-info install-info-am install-man install-man1 \
2923- install-pdf install-pdf-am install-ps install-ps-am \
2924- install-strip installcheck installcheck-am installdirs \
2925- installdirs-am maintainer-clean maintainer-clean-generic \
2926- mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
2927- ps ps-am tags tags-recursive uninstall uninstall-am \
2928- uninstall-binPROGRAMS uninstall-binSCRIPTS uninstall-local \
2929- uninstall-man uninstall-man1
2930+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
2931+ am--refresh check check-am check-local clean clean-binPROGRAMS \
2932+ clean-cscope clean-generic clean-noinstLIBRARIES cscope \
2933+ cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
2934+ dist-gzip dist-hook dist-lzip dist-xz dist-zip distcheck \
2935+ distclean distclean-compile distclean-generic distclean-tags \
2936+ distcleancheck distdir distuninstallcheck dvi dvi-am html \
2937+ html-am info info-am install install-am install-binPROGRAMS \
2938+ install-binSCRIPTS install-data install-data-am install-dvi \
2939+ install-dvi-am install-exec install-exec-am install-exec-hook \
2940+ install-html install-html-am install-info install-info-am \
2941+ install-man install-man1 install-pdf install-pdf-am install-ps \
2942+ install-ps-am install-strip installcheck installcheck-am \
2943+ installdirs installdirs-am maintainer-clean \
2944+ maintainer-clean-generic mostlyclean mostlyclean-compile \
2945+ mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \
2946+ uninstall-am uninstall-binPROGRAMS uninstall-binSCRIPTS \
2947+ uninstall-local uninstall-man uninstall-man1
2948
2949 version.c: Makefile
2950 $(AM_V_GEN)rm -f $@
2951@@ -2104,6 +2104,7 @@
2952 $(AM_V_GEN)sed \
2953 -e 's|/bin/sh|$(SHELL)|g' \
2954 -e 's|[@]bindir@|'\''$(bindir)'\''|g' \
2955+ -e 's|[@]GREP@|$(GREP)|g' \
2956 -e 's|[@]VERSION@|$(VERSION)|g' \
2957 $(srcdir)/$@.in >$@-t \
2958 && chmod a+x $@-t \
2959
2960=== modified file 'NEWS'
2961--- NEWS 2012-06-19 14:04:08 +0000
2962+++ NEWS 2013-08-12 10:11:48 +0000
2963@@ -1,5 +1,29 @@
2964 GNU gzip NEWS -*- outline -*-
2965
2966+* Noteworthy changes in release 1.6 (2013-06-09) [stable]
2967+
2968+** New features
2969+
2970+ gzip now accepts the --keep (-k) option, for consistency with tools
2971+ like xz, lzip and bzip2. With this option, gzip no longer removes
2972+ named input files when compressing or decompressing.
2973+
2974+** Bug fixes
2975+
2976+ gzip -d no longer malfunctions with certain invalid data in 'pack' format.
2977+ [bug introduced in gzip-0.8]
2978+
2979+ When overwriting, gzip no longer acts as if you typed "y" when you type "n",
2980+ on some platforms when compiled with optimization.
2981+ [bug introduced in gzip-1.3.6]
2982+
2983+ zgrep no longer malfunctions with a multi-digit context option like -15.
2984+ Now, it passes that option to grep (equivalent to -C15) just as it does
2985+ for single-digit options. [bug introduced in gzip-1.3.12]
2986+
2987+ zmore now acts more like 'more', and is more portable to POSIXish hosts.
2988+
2989+
2990 * Noteworthy changes in release 1.5 (2012-06-17) [stable]
2991
2992 ** Bug fixes
2993@@ -233,7 +257,7 @@
2994 * With --force, let zcat pass non gzip'ed data unchanged (zcat == cat)
2995 * Added the zgrep shell script.
2996 * Made sub.c useful for 16 bit sound, 24 bit images, etc..
2997-* Supress warnings about suffix for gunzip -r, except with --verbose.
2998+* Suppress warnings about suffix for gunzip -r, except with --verbose.
2999 * On MSDOS, use .gz extension when possible (files without extension)
3000 * Moved the sample programs to a subdirectory sample.
3001 * Added a "Special targets" section in INSTALL.
3002@@ -406,7 +430,7 @@
3003
3004 ========================================================================
3005
3006-Copyright (C) 1999, 2001-2002, 2006-2007, 2009-2012 Free Software Foundation,
3007+Copyright (C) 1999, 2001-2002, 2006-2007, 2009-2013 Free Software Foundation,
3008 Inc.
3009 Copyright (C) 1992, 1993 Jean-loup Gailly
3010
3011
3012=== modified file 'README'
3013--- README 2012-06-19 14:04:08 +0000
3014+++ README 2013-08-12 10:11:48 +0000
3015@@ -129,7 +129,7 @@
3016
3017 ========================================================================
3018
3019-Copyright (C) 1999, 2001-2002, 2006-2007, 2009-2012 Free Software Foundation,
3020+Copyright (C) 1999, 2001-2002, 2006-2007, 2009-2013 Free Software Foundation,
3021 Inc.
3022 Copyright (C) 1992, 1993 Jean-loup Gailly
3023
3024
3025=== modified file 'README-release'
3026--- README-release 2012-06-19 14:04:08 +0000
3027+++ README-release 2013-08-12 10:11:48 +0000
3028@@ -31,23 +31,18 @@
3029
3030 make check syntax-check distcheck
3031
3032-* From top_srcdir, run:
3033-
3034- build-aux/do-release-commit-and-tag X.Y stable
3035-
3036- in order to (i) set the date, version number, and release type
3037- [stable/alpha/beta] on line 3 of NEWS, (ii) commit that, and (iii) tag the
3038- release. See --help if you need options such as:
3039-
3040- build-aux/do-release-commit-and-tag --branch=maint -C _build X.Y.Z stable
3041+* To (i) set the date, version number, and release TYPE on line 3 of
3042+ NEWS, (ii) commit that, and (iii) tag the release, run
3043+
3044+ # "TYPE" must be stable, beta or alpha
3045+ make release-commit RELEASE='X.Y TYPE'
3046
3047 * Run the following to create release tarballs. Your choice selects the
3048 corresponding upload-to destination in the emitted gnupload command.
3049 The different destinations are specified in cfg.mk. See the definitions
3050 of gnu_ftp_host-{alpha,beta,stable}.
3051
3052- # "TYPE" must be stable, beta or alpha
3053- make TYPE
3054+ make release RELEASE='X.Y TYPE'
3055
3056 * Test the tarball. Copy it to a few odd-ball systems and ensure that
3057 it builds and passes all tests.
3058@@ -58,7 +53,10 @@
3059
3060 Once all the builds and tests have passed,
3061
3062-* Run the gnupload command that was suggested by your "make TYPE" run above.
3063+* Run the gnupload command that was suggested by your "make release"
3064+ run above, or run
3065+
3066+ make upload RELEASE='X.Y TYPE'
3067
3068 * Wait a few minutes (maybe up to 30?) and then use the release URLs to
3069 download all tarball/signature pairs and use gpg --verify to ensure
3070@@ -72,12 +70,15 @@
3071 * Announce it on Savannah first, so you can include the savannah.org
3072 announcement link in the email message.
3073
3074- From here:
3075- https://savannah.gnu.org/projects/gzip/
3076- click on "submit news", then write something like the following:
3077- (If there is no such button, then enable "News" for the project via
3078- the Main -> "Select Features" menu item, or via this link:
3079- https://savannah.gnu.org/project/admin/editgroupfeatures.php?group=gzip)
3080+ Go to the news-submission form:
3081+
3082+ https://savannah.gnu.org/news/submit.php?group=gzip
3083+
3084+ If it does not work, then enable "News" for the project via this link:
3085+
3086+ https://savannah.gnu.org/project/admin/editgroupfeatures.php?group=gzip
3087+
3088+ Write something like the following:
3089
3090 Subject: gzip-X.Y released [stable]
3091 +verbatim+
3092@@ -85,16 +86,15 @@
3093 -verbatim-
3094
3095 Then go here to approve it:
3096+
3097 https://savannah.gnu.org/news/approve.php?group=gzip
3098
3099 * Send the announcement email message.
3100
3101-* After each non-alpha release, update the on-line manual accessible via
3102+* After each non-alpha release, run
3103+
3104+ make web-manual-update
3105+
3106+ to update the on-line manual accessible at
3107
3108 http://www.gnu.org/software/gzip/manual/
3109-
3110- by running this from top_srcdir:
3111-
3112- build-aux/gnu-web-doc-update
3113-
3114- possibly with "-C <BUILDDIR>"
3115
3116=== modified file 'TODO'
3117--- TODO 2012-06-19 14:04:08 +0000
3118+++ TODO 2013-08-12 10:11:48 +0000
3119@@ -73,7 +73,7 @@
3120
3121 ========================================================================
3122
3123-Copyright (C) 1999, 2001, 2006, 2009-2012 Free Software Foundation, Inc.
3124+Copyright (C) 1999, 2001, 2006, 2009-2013 Free Software Foundation, Inc.
3125 Copyright (C) 1992, 1993 Jean-loup Gailly
3126
3127 Permission is granted to copy, distribute and/or modify this document
3128
3129=== modified file 'aclocal.m4'
3130--- aclocal.m4 2012-06-19 14:04:08 +0000
3131+++ aclocal.m4 2013-08-12 10:11:48 +0000
3132@@ -1,6 +1,6 @@
3133-# generated automatically by aclocal 1.12a -*- Autoconf -*-
3134+# generated automatically by aclocal 1.99a -*- Autoconf -*-
3135
3136-# Copyright (C) 1996-2012 Free Software Foundation, Inc.
3137+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
3138
3139 # This file is free software; the Free Software Foundation
3140 # gives unlimited permission to copy and/or distribute it,
3141@@ -11,482 +11,31 @@
3142 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
3143 # PARTICULAR PURPOSE.
3144
3145+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
3146 m4_ifndef([AC_AUTOCONF_VERSION],
3147 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
3148-m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69.4-560f],,
3149-[m4_warning([this file was generated for autoconf 2.69.4-560f.
3150+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69.97-b1aba91],,
3151+[m4_warning([this file was generated for autoconf 2.69.97-b1aba91.
3152 You have another version of autoconf. It may work, but is not guaranteed to.
3153 If you have problems, you may need to regenerate the build system entirely.
3154 To do so, use the procedure documented by the package, typically 'autoreconf'.])])
3155
3156-# po.m4 serial 17 (gettext-0.18)
3157-dnl Copyright (C) 1995-2010 Free Software Foundation, Inc.
3158-dnl This file is free software; the Free Software Foundation
3159-dnl gives unlimited permission to copy and/or distribute it,
3160-dnl with or without modifications, as long as this notice is preserved.
3161-dnl
3162-dnl This file can can be used in projects which are not available under
3163-dnl the GNU General Public License or the GNU Library General Public
3164-dnl License but which still want to provide support for the GNU gettext
3165-dnl functionality.
3166-dnl Please note that the actual code of the GNU gettext library is covered
3167-dnl by the GNU Library General Public License, and the rest of the GNU
3168-dnl gettext package package is covered by the GNU General Public License.
3169-dnl They are *not* in the public domain.
3170-
3171-dnl Authors:
3172-dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
3173-dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
3174-
3175-AC_PREREQ([2.50])
3176-
3177-dnl Checks for all prerequisites of the po subdirectory.
3178-AC_DEFUN([AM_PO_SUBDIRS],
3179-[
3180- AC_REQUIRE([AC_PROG_MAKE_SET])dnl
3181- AC_REQUIRE([AC_PROG_INSTALL])dnl
3182- AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake
3183- AC_REQUIRE([AM_NLS])dnl
3184-
3185- dnl Release version of the gettext macros. This is used to ensure that
3186- dnl the gettext macros and po/Makefile.in.in are in sync.
3187- AC_SUBST([GETTEXT_MACRO_VERSION], [0.18])
3188-
3189- dnl Perform the following tests also if --disable-nls has been given,
3190- dnl because they are needed for "make dist" to work.
3191-
3192- dnl Search for GNU msgfmt in the PATH.
3193- dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions.
3194- dnl The second test excludes FreeBSD msgfmt.
3195- AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
3196- [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 &&
3197- (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
3198- :)
3199- AC_PATH_PROG([GMSGFMT], [gmsgfmt], [$MSGFMT])
3200-
3201- dnl Test whether it is GNU msgfmt >= 0.15.
3202-changequote(,)dnl
3203- case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3204- '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
3205- *) MSGFMT_015=$MSGFMT ;;
3206- esac
3207-changequote([,])dnl
3208- AC_SUBST([MSGFMT_015])
3209-changequote(,)dnl
3210- case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3211- '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
3212- *) GMSGFMT_015=$GMSGFMT ;;
3213- esac
3214-changequote([,])dnl
3215- AC_SUBST([GMSGFMT_015])
3216-
3217- dnl Search for GNU xgettext 0.12 or newer in the PATH.
3218- dnl The first test excludes Solaris xgettext and early GNU xgettext versions.
3219- dnl The second test excludes FreeBSD xgettext.
3220- AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
3221- [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 &&
3222- (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
3223- :)
3224- dnl Remove leftover from FreeBSD xgettext call.
3225- rm -f messages.po
3226-
3227- dnl Test whether it is GNU xgettext >= 0.15.
3228-changequote(,)dnl
3229- case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3230- '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
3231- *) XGETTEXT_015=$XGETTEXT ;;
3232- esac
3233-changequote([,])dnl
3234- AC_SUBST([XGETTEXT_015])
3235-
3236- dnl Search for GNU msgmerge 0.11 or newer in the PATH.
3237- AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge,
3238- [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :)
3239-
3240- dnl Installation directories.
3241- dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we
3242- dnl have to define it here, so that it can be used in po/Makefile.
3243- test -n "$localedir" || localedir='${datadir}/locale'
3244- AC_SUBST([localedir])
3245-
3246- dnl Support for AM_XGETTEXT_OPTION.
3247- test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
3248- AC_SUBST([XGETTEXT_EXTRA_OPTIONS])
3249-
3250- AC_CONFIG_COMMANDS([po-directories], [[
3251- for ac_file in $CONFIG_FILES; do
3252- # Support "outfile[:infile[:infile...]]"
3253- case "$ac_file" in
3254- *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
3255- esac
3256- # PO directories have a Makefile.in generated from Makefile.in.in.
3257- case "$ac_file" in */Makefile.in)
3258- # Adjust a relative srcdir.
3259- ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
3260- ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
3261- ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
3262- # In autoconf-2.13 it is called $ac_given_srcdir.
3263- # In autoconf-2.50 it is called $srcdir.
3264- test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
3265- case "$ac_given_srcdir" in
3266- .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
3267- /*) top_srcdir="$ac_given_srcdir" ;;
3268- *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
3269- esac
3270- # Treat a directory as a PO directory if and only if it has a
3271- # POTFILES.in file. This allows packages to have multiple PO
3272- # directories under different names or in different locations.
3273- if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
3274- rm -f "$ac_dir/POTFILES"
3275- test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
3276- cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
3277- POMAKEFILEDEPS="POTFILES.in"
3278- # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
3279- # on $ac_dir but don't depend on user-specified configuration
3280- # parameters.
3281- if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
3282- # The LINGUAS file contains the set of available languages.
3283- if test -n "$OBSOLETE_ALL_LINGUAS"; then
3284- test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
3285- fi
3286- ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
3287- # Hide the ALL_LINGUAS assigment from automake < 1.5.
3288- eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
3289- POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
3290- else
3291- # The set of available languages was given in configure.in.
3292- # Hide the ALL_LINGUAS assigment from automake < 1.5.
3293- eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
3294- fi
3295- # Compute POFILES
3296- # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
3297- # Compute UPDATEPOFILES
3298- # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
3299- # Compute DUMMYPOFILES
3300- # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
3301- # Compute GMOFILES
3302- # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
3303- case "$ac_given_srcdir" in
3304- .) srcdirpre= ;;
3305- *) srcdirpre='$(srcdir)/' ;;
3306- esac
3307- POFILES=
3308- UPDATEPOFILES=
3309- DUMMYPOFILES=
3310- GMOFILES=
3311- for lang in $ALL_LINGUAS; do
3312- POFILES="$POFILES $srcdirpre$lang.po"
3313- UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
3314- DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
3315- GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
3316- done
3317- # CATALOGS depends on both $ac_dir and the user's LINGUAS
3318- # environment variable.
3319- INST_LINGUAS=
3320- if test -n "$ALL_LINGUAS"; then
3321- for presentlang in $ALL_LINGUAS; do
3322- useit=no
3323- if test "%UNSET%" != "$LINGUAS"; then
3324- desiredlanguages="$LINGUAS"
3325- else
3326- desiredlanguages="$ALL_LINGUAS"
3327- fi
3328- for desiredlang in $desiredlanguages; do
3329- # Use the presentlang catalog if desiredlang is
3330- # a. equal to presentlang, or
3331- # b. a variant of presentlang (because in this case,
3332- # presentlang can be used as a fallback for messages
3333- # which are not translated in the desiredlang catalog).
3334- case "$desiredlang" in
3335- "$presentlang"*) useit=yes;;
3336- esac
3337- done
3338- if test $useit = yes; then
3339- INST_LINGUAS="$INST_LINGUAS $presentlang"
3340- fi
3341- done
3342- fi
3343- CATALOGS=
3344- if test -n "$INST_LINGUAS"; then
3345- for lang in $INST_LINGUAS; do
3346- CATALOGS="$CATALOGS $lang.gmo"
3347- done
3348- fi
3349- test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
3350- sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
3351- for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
3352- if test -f "$f"; then
3353- case "$f" in
3354- *.orig | *.bak | *~) ;;
3355- *) cat "$f" >> "$ac_dir/Makefile" ;;
3356- esac
3357- fi
3358- done
3359- fi
3360- ;;
3361- esac
3362- done]],
3363- [# Capture the value of obsolete ALL_LINGUAS because we need it to compute
3364- # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
3365- # from automake < 1.5.
3366- eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
3367- # Capture the value of LINGUAS because we need it to compute CATALOGS.
3368- LINGUAS="${LINGUAS-%UNSET%}"
3369- ])
3370-])
3371-
3372-dnl Postprocesses a Makefile in a directory containing PO files.
3373-AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE],
3374-[
3375- # When this code is run, in config.status, two variables have already been
3376- # set:
3377- # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in,
3378- # - LINGUAS is the value of the environment variable LINGUAS at configure
3379- # time.
3380-
3381-changequote(,)dnl
3382- # Adjust a relative srcdir.
3383- ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
3384- ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
3385- ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
3386- # In autoconf-2.13 it is called $ac_given_srcdir.
3387- # In autoconf-2.50 it is called $srcdir.
3388- test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
3389- case "$ac_given_srcdir" in
3390- .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
3391- /*) top_srcdir="$ac_given_srcdir" ;;
3392- *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
3393- esac
3394-
3395- # Find a way to echo strings without interpreting backslash.
3396- if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then
3397- gt_echo='echo'
3398- else
3399- if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then
3400- gt_echo='printf %s\n'
3401- else
3402- echo_func () {
3403- cat <<EOT
3404-$*
3405-EOT
3406- }
3407- gt_echo='echo_func'
3408- fi
3409- fi
3410-
3411- # A sed script that extracts the value of VARIABLE from a Makefile.
3412- sed_x_variable='
3413-# Test if the hold space is empty.
3414-x
3415-s/P/P/
3416-x
3417-ta
3418-# Yes it was empty. Look if we have the expected variable definition.
3419-/^[ ]*VARIABLE[ ]*=/{
3420- # Seen the first line of the variable definition.
3421- s/^[ ]*VARIABLE[ ]*=//
3422- ba
3423-}
3424-bd
3425-:a
3426-# Here we are processing a line from the variable definition.
3427-# Remove comment, more precisely replace it with a space.
3428-s/#.*$/ /
3429-# See if the line ends in a backslash.
3430-tb
3431-:b
3432-s/\\$//
3433-# Print the line, without the trailing backslash.
3434-p
3435-tc
3436-# There was no trailing backslash. The end of the variable definition is
3437-# reached. Clear the hold space.
3438-s/^.*$//
3439-x
3440-bd
3441-:c
3442-# A trailing backslash means that the variable definition continues in the
3443-# next line. Put a nonempty string into the hold space to indicate this.
3444-s/^.*$/P/
3445-x
3446-:d
3447-'
3448-changequote([,])dnl
3449-
3450- # Set POTFILES to the value of the Makefile variable POTFILES.
3451- sed_x_POTFILES=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'`
3452- POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"`
3453- # Compute POTFILES_DEPS as
3454- # $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
3455- POTFILES_DEPS=
3456- for file in $POTFILES; do
3457- POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file"
3458- done
3459- POMAKEFILEDEPS=""
3460-
3461- if test -n "$OBSOLETE_ALL_LINGUAS"; then
3462- test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
3463- fi
3464- if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
3465- # The LINGUAS file contains the set of available languages.
3466- ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
3467- POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
3468- else
3469- # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS.
3470- sed_x_LINGUAS=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'`
3471- ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"`
3472- fi
3473- # Hide the ALL_LINGUAS assigment from automake < 1.5.
3474- eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
3475- # Compute POFILES
3476- # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
3477- # Compute UPDATEPOFILES
3478- # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
3479- # Compute DUMMYPOFILES
3480- # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
3481- # Compute GMOFILES
3482- # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
3483- # Compute PROPERTIESFILES
3484- # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties)
3485- # Compute CLASSFILES
3486- # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class)
3487- # Compute QMFILES
3488- # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm)
3489- # Compute MSGFILES
3490- # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg)
3491- # Compute RESOURCESDLLFILES
3492- # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll)
3493- case "$ac_given_srcdir" in
3494- .) srcdirpre= ;;
3495- *) srcdirpre='$(srcdir)/' ;;
3496- esac
3497- POFILES=
3498- UPDATEPOFILES=
3499- DUMMYPOFILES=
3500- GMOFILES=
3501- PROPERTIESFILES=
3502- CLASSFILES=
3503- QMFILES=
3504- MSGFILES=
3505- RESOURCESDLLFILES=
3506- for lang in $ALL_LINGUAS; do
3507- POFILES="$POFILES $srcdirpre$lang.po"
3508- UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
3509- DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
3510- GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
3511- PROPERTIESFILES="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties"
3512- CLASSFILES="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class"
3513- QMFILES="$QMFILES $srcdirpre$lang.qm"
3514- frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
3515- MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg"
3516- frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
3517- RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll"
3518- done
3519- # CATALOGS depends on both $ac_dir and the user's LINGUAS
3520- # environment variable.
3521- INST_LINGUAS=
3522- if test -n "$ALL_LINGUAS"; then
3523- for presentlang in $ALL_LINGUAS; do
3524- useit=no
3525- if test "%UNSET%" != "$LINGUAS"; then
3526- desiredlanguages="$LINGUAS"
3527- else
3528- desiredlanguages="$ALL_LINGUAS"
3529- fi
3530- for desiredlang in $desiredlanguages; do
3531- # Use the presentlang catalog if desiredlang is
3532- # a. equal to presentlang, or
3533- # b. a variant of presentlang (because in this case,
3534- # presentlang can be used as a fallback for messages
3535- # which are not translated in the desiredlang catalog).
3536- case "$desiredlang" in
3537- "$presentlang"*) useit=yes;;
3538- esac
3539- done
3540- if test $useit = yes; then
3541- INST_LINGUAS="$INST_LINGUAS $presentlang"
3542- fi
3543- done
3544- fi
3545- CATALOGS=
3546- JAVACATALOGS=
3547- QTCATALOGS=
3548- TCLCATALOGS=
3549- CSHARPCATALOGS=
3550- if test -n "$INST_LINGUAS"; then
3551- for lang in $INST_LINGUAS; do
3552- CATALOGS="$CATALOGS $lang.gmo"
3553- JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties"
3554- QTCATALOGS="$QTCATALOGS $lang.qm"
3555- frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
3556- TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg"
3557- frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
3558- CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll"
3559- done
3560- fi
3561-
3562- sed -e "s|@POTFILES_DEPS@|$POTFILES_DEPS|g" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@PROPERTIESFILES@|$PROPERTIESFILES|g" -e "s|@CLASSFILES@|$CLASSFILES|g" -e "s|@QMFILES@|$QMFILES|g" -e "s|@MSGFILES@|$MSGFILES|g" -e "s|@RESOURCESDLLFILES@|$RESOURCESDLLFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@JAVACATALOGS@|$JAVACATALOGS|g" -e "s|@QTCATALOGS@|$QTCATALOGS|g" -e "s|@TCLCATALOGS@|$TCLCATALOGS|g" -e "s|@CSHARPCATALOGS@|$CSHARPCATALOGS|g" -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp"
3563- if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then
3564- # Add dependencies that cannot be formulated as a simple suffix rule.
3565- for lang in $ALL_LINGUAS; do
3566- frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
3567- cat >> "$ac_file.tmp" <<EOF
3568-$frobbedlang.msg: $lang.po
3569- @echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \
3570- \$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
3571-EOF
3572- done
3573- fi
3574- if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then
3575- # Add dependencies that cannot be formulated as a simple suffix rule.
3576- for lang in $ALL_LINGUAS; do
3577- frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
3578- cat >> "$ac_file.tmp" <<EOF
3579-$frobbedlang/\$(DOMAIN).resources.dll: $lang.po
3580- @echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \
3581- \$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
3582-EOF
3583- done
3584- fi
3585- if test -n "$POMAKEFILEDEPS"; then
3586- cat >> "$ac_file.tmp" <<EOF
3587-Makefile: $POMAKEFILEDEPS
3588-EOF
3589- fi
3590- mv "$ac_file.tmp" "$ac_file"
3591-])
3592-
3593-dnl Initializes the accumulator used by AM_XGETTEXT_OPTION.
3594-AC_DEFUN([AM_XGETTEXT_OPTION_INIT],
3595-[
3596- XGETTEXT_EXTRA_OPTIONS=
3597-])
3598-
3599-dnl Registers an option to be passed to xgettext in the po subdirectory.
3600-AC_DEFUN([AM_XGETTEXT_OPTION],
3601-[
3602- AC_REQUIRE([AM_XGETTEXT_OPTION_INIT])
3603- XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS $1"
3604-])
3605-
3606-# Copyright (C) 2002-2012 Free Software Foundation, Inc.
3607+# Copyright (C) 2002-2013 Free Software Foundation, Inc.
3608 #
3609 # This file is free software; the Free Software Foundation
3610 # gives unlimited permission to copy and/or distribute it,
3611 # with or without modifications, as long as this notice is preserved.
3612
3613-# serial 8
3614-
3615 # AM_AUTOMAKE_VERSION(VERSION)
3616 # ----------------------------
3617 # Automake X.Y traces this macro to ensure aclocal.m4 has been
3618 # generated from the m4 files accompanying Automake X.Y.
3619 # (This private macro should not be called outside this file.)
3620 AC_DEFUN([AM_AUTOMAKE_VERSION],
3621-[am__api_version='1.12a'
3622+[am__api_version='1.99a'
3623 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
3624 dnl require some minimum version. Point them to the right macro.
3625-m4_if([$1], [1.12a], [],
3626+m4_if([$1], [1.99a], [],
3627 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
3628 ])
3629
3630@@ -502,21 +51,19 @@
3631 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
3632 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
3633 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
3634-[AM_AUTOMAKE_VERSION([1.12a])dnl
3635+[AM_AUTOMAKE_VERSION([1.99a])dnl
3636 m4_ifndef([AC_AUTOCONF_VERSION],
3637 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
3638 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
3639
3640 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
3641
3642-# Copyright (C) 2001-2012 Free Software Foundation, Inc.
3643+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
3644 #
3645 # This file is free software; the Free Software Foundation
3646 # gives unlimited permission to copy and/or distribute it,
3647 # with or without modifications, as long as this notice is preserved.
3648
3649-# serial 2
3650-
3651 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
3652 # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
3653 # '$srcdir', '$srcdir/..', or '$srcdir/../..'.
3654@@ -564,14 +111,12 @@
3655
3656 # AM_CONDITIONAL -*- Autoconf -*-
3657
3658-# Copyright (C) 1997-2012 Free Software Foundation, Inc.
3659+# Copyright (C) 1997-2013 Free Software Foundation, Inc.
3660 #
3661 # This file is free software; the Free Software Foundation
3662 # gives unlimited permission to copy and/or distribute it,
3663 # with or without modifications, as long as this notice is preserved.
3664
3665-# serial 10
3666-
3667 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
3668 # -------------------------------------
3669 # Define a conditional.
3670@@ -597,13 +142,12 @@
3671 Usually this means the macro was only invoked conditionally.]])
3672 fi])])
3673
3674-# Copyright (C) 1999-2012 Free Software Foundation, Inc.
3675+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
3676 #
3677 # This file is free software; the Free Software Foundation
3678 # gives unlimited permission to copy and/or distribute it,
3679 # with or without modifications, as long as this notice is preserved.
3680
3681-# serial 17
3682
3683 # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
3684 # written in clear, in which case automake, when reading aclocal.m4,
3685@@ -759,10 +303,7 @@
3686 # -------------
3687 # Choose a directory name for dependency files.
3688 # This macro is AC_REQUIREd in _AM_DEPENDENCIES.
3689-AC_DEFUN([AM_SET_DEPDIR],
3690-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
3691-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
3692-])
3693+AC_DEFUN([AM_SET_DEPDIR], [AC_SUBST([DEPDIR], [.deps])])
3694
3695
3696 # AM_DEP_TRACK
3697@@ -789,13 +330,12 @@
3698
3699 # Generate code to set up dependency tracking. -*- Autoconf -*-
3700
3701-# Copyright (C) 1999-2012 Free Software Foundation, Inc.
3702+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
3703 #
3704 # This file is free software; the Free Software Foundation
3705 # gives unlimited permission to copy and/or distribute it,
3706 # with or without modifications, as long as this notice is preserved.
3707
3708-# serial 7
3709
3710 # _AM_OUTPUT_DEPENDENCY_COMMANDS
3711 # ------------------------------
3712@@ -830,7 +370,7 @@
3713 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
3714 test -z "$DEPDIR" && continue
3715 am__include=`sed -n 's/^am__include = //p' < "$mf"`
3716- test -z "am__include" && continue
3717+ test -z "$am__include" && continue
3718 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
3719 # Find all dependency output files, they are included files with
3720 # $(DEPDIR) in their names. We invoke sed twice because it is the
3721@@ -866,21 +406,36 @@
3722
3723 # Do all the work for Automake. -*- Autoconf -*-
3724
3725-# Copyright (C) 1996-2012 Free Software Foundation, Inc.
3726+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
3727 #
3728 # This file is free software; the Free Software Foundation
3729 # gives unlimited permission to copy and/or distribute it,
3730 # with or without modifications, as long as this notice is preserved.
3731
3732-# serial 22
3733-
3734 # This macro actually does too much. Some checks are only needed if
3735 # your package does certain things. But this isn't really a big deal.
3736
3737+dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
3738+m4_define([AC_PROG_CC],
3739+m4_defn([AC_PROG_CC])
3740+[_AM_PROG_CC_C_O
3741+])
3742+
3743+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
3744 # AM_INIT_AUTOMAKE([OPTIONS])
3745-# ---------------------------
3746+# -----------------------------------------------
3747+# The call with PACKAGE and VERSION arguments is the old style
3748+# call (pre autoconf-2.50), which is being phased out. PACKAGE
3749+# and VERSION should now be passed to AC_INIT and removed from
3750+# the call to AM_INIT_AUTOMAKE.
3751+# We support both call styles for the transition. After
3752+# the next Automake release, Autoconf can make the AC_INIT
3753+# arguments mandatory, and then we can depend on a new Autoconf
3754+# release and drop the old call support.
3755 AC_DEFUN([AM_INIT_AUTOMAKE],
3756 [AC_PREREQ([2.65])dnl
3757+dnl Without this, packages using Gettext 0.18.2 might break horribly.
3758+AC_SUBST([mkdir_p], ['$(MKDIR_P)'])dnl
3759 dnl Autoconf wants to disallow AM_ names. We explicitly allow
3760 dnl the ones we care about.
3761 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
3762@@ -907,18 +462,21 @@
3763 AC_SUBST([CYGPATH_W])
3764
3765 # Define the identity of the package.
3766-dnl Error out on old-style AM_INIT_AUTOMAKE calls.
3767-m4_ifval([$2], [m4_fatal(
3768-[$0: old-style two- and three-arguments forms are now unsupported. For more info:
3769-http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation])])
3770-_AM_SET_OPTIONS([$1])dnl
3771+dnl Distinguish between old-style and new-style calls.
3772+m4_ifval([$2],
3773+[AC_DIAGNOSE([obsolete],
3774+ [$0: two- and three-arguments forms are deprecated.])
3775+m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
3776+ AC_SUBST([PACKAGE], [$1])dnl
3777+ AC_SUBST([VERSION], [$2])],
3778+[_AM_SET_OPTIONS([$1])dnl
3779 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
3780 m4_if(
3781 m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
3782 [ok:ok],,
3783 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
3784 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
3785- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])dnl
3786+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
3787
3788 _AM_IF_OPTION([no-define],,
3789 [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
3790@@ -939,7 +497,6 @@
3791 # some platforms.
3792 AC_REQUIRE([AC_PROG_AWK])dnl
3793 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
3794-AC_REQUIRE([AM_SET_LEADING_DOT])dnl
3795 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
3796 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
3797 [_AM_PROG_TAR([v7])])])
3798@@ -968,7 +525,48 @@
3799 AC_CONFIG_COMMANDS_PRE(dnl
3800 [m4_provide_if([_AM_COMPILER_EXEEXT],
3801 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
3802-])
3803+
3804+# POSIX will say in a future version that running "rm -f" with no argument
3805+# is OK; and we want to be able to make that assumption in our Makefile
3806+# recipes. So use an aggressive probe to check that the usage we want is
3807+# actually supported "in the wild" to an acceptable degree.
3808+# See automake bug#10828.
3809+# To make any issue more visible, cause the running configure to be aborted
3810+# by default if the 'rm' program in use doesn't match our expectations; the
3811+# user can still override this though.
3812+if rm -f && rm -fr && rm -rf; then : OK; else
3813+ cat >&2 <<'END'
3814+Oops!
3815+
3816+Your 'rm' program seems unable to run without file operands specified
3817+on the command line, even when the '-f' option is present. This is contrary
3818+to the behaviour of most rm programs out there, and not conforming with
3819+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3820+
3821+Please tell bug-automake@gnu.org about your system, including the value
3822+of your $PATH and any error possibly output before this message. This
3823+can help us improve future automake versions.
3824+
3825+END
3826+ if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3827+ echo 'Configuration will proceed anyway, since you have set the' >&2
3828+ echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3829+ echo >&2
3830+ else
3831+ cat >&2 <<'END'
3832+Aborting the configuration process, to ensure you take notice of the issue.
3833+
3834+You can download and install GNU coreutils to get an 'rm' implementation
3835+that behaves properly: <http://www.gnu.org/software/coreutils/>.
3836+
3837+If you want to complete the configuration process using your problematic
3838+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3839+to "yes", and re-run configure.
3840+
3841+END
3842+ AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
3843+ fi
3844+fi])
3845
3846 dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
3847 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
3848@@ -976,7 +574,6 @@
3849 m4_define([_AC_COMPILER_EXEEXT],
3850 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
3851
3852-
3853 # When config.status generates a header, we must update the stamp-h file.
3854 # This file resides in the same directory as the config header
3855 # that is generated. The stamp files are numbered to have different names.
3856@@ -998,14 +595,12 @@
3857 done
3858 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
3859
3860-# Copyright (C) 2001-2012 Free Software Foundation, Inc.
3861+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
3862 #
3863 # This file is free software; the Free Software Foundation
3864 # gives unlimited permission to copy and/or distribute it,
3865 # with or without modifications, as long as this notice is preserved.
3866
3867-# serial 8
3868-
3869 # AM_PROG_INSTALL_SH
3870 # ------------------
3871 # Define $install_sh.
3872@@ -1021,37 +616,14 @@
3873 fi
3874 AC_SUBST([install_sh])])
3875
3876-# Copyright (C) 2003-2012 Free Software Foundation, Inc.
3877-#
3878-# This file is free software; the Free Software Foundation
3879-# gives unlimited permission to copy and/or distribute it,
3880-# with or without modifications, as long as this notice is preserved.
3881-
3882-# serial 2
3883-
3884-# Check whether the underlying file-system supports filenames
3885-# with a leading dot. For instance MS-DOS doesn't.
3886-AC_DEFUN([AM_SET_LEADING_DOT],
3887-[rm -rf .tst 2>/dev/null
3888-mkdir .tst 2>/dev/null
3889-if test -d .tst; then
3890- am__leading_dot=.
3891-else
3892- am__leading_dot=_
3893-fi
3894-rmdir .tst 2>/dev/null
3895-AC_SUBST([am__leading_dot])])
3896-
3897 # Check to see how 'make' treats includes. -*- Autoconf -*-
3898
3899-# Copyright (C) 2001-2012 Free Software Foundation, Inc.
3900+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
3901 #
3902 # This file is free software; the Free Software Foundation
3903 # gives unlimited permission to copy and/or distribute it,
3904 # with or without modifications, as long as this notice is preserved.
3905
3906-# serial 5
3907-
3908 # AM_MAKE_INCLUDE()
3909 # -----------------
3910 # Check to see how make treats includes.
3911@@ -1094,50 +666,14 @@
3912 rm -f confinc confmf
3913 ])
3914
3915-# Copyright (C) 1999-2012 Free Software Foundation, Inc.
3916-#
3917-# This file is free software; the Free Software Foundation
3918-# gives unlimited permission to copy and/or distribute it,
3919-# with or without modifications, as long as this notice is preserved.
3920-
3921-# serial 6
3922-
3923-# AM_PROG_CC_C_O
3924-# --------------
3925-# Like AC_PROG_CC_C_O, but changed for automake.
3926-AC_DEFUN([AM_PROG_CC_C_O],
3927-[AC_REQUIRE([AC_PROG_CC_C_O])dnl
3928-AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
3929-AC_REQUIRE_AUX_FILE([compile])dnl
3930-# FIXME: we rely on the cache variable name because
3931-# there is no other way.
3932-set dummy $CC
3933-am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
3934-eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3935-if test "$am_t" != yes; then
3936- # Losing compiler, so override with the script.
3937- # FIXME: It is wrong to rewrite CC.
3938- # But if we don't then we get into trouble of one sort or another.
3939- # A longer-term fix would be to have automake use am__CC in this case,
3940- # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3941- CC="$am_aux_dir/compile $CC"
3942-fi
3943-dnl Make sure AC_PROG_CC is never called again, or it will override our
3944-dnl setting of CC.
3945-m4_define([AC_PROG_CC],
3946- [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
3947-])
3948-
3949 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
3950
3951-# Copyright (C) 1997-2012 Free Software Foundation, Inc.
3952+# Copyright (C) 1997-2013 Free Software Foundation, Inc.
3953 #
3954 # This file is free software; the Free Software Foundation
3955 # gives unlimited permission to copy and/or distribute it,
3956 # with or without modifications, as long as this notice is preserved.
3957
3958-# serial 7
3959-
3960 # AM_MISSING_PROG(NAME, PROGRAM)
3961 # ------------------------------
3962 AC_DEFUN([AM_MISSING_PROG],
3963@@ -1145,11 +681,10 @@
3964 $1=${$1-"${am_missing_run}$2"}
3965 AC_SUBST($1)])
3966
3967-
3968 # AM_MISSING_HAS_RUN
3969 # ------------------
3970-# Define MISSING if not defined so far and test if it supports --run.
3971-# If it does, set am_missing_run to use it, otherwise, to nothing.
3972+# Define MISSING if not defined so far and test if it is modern enough.
3973+# If it is, set am_missing_run to use it, otherwise, to nothing.
3974 AC_DEFUN([AM_MISSING_HAS_RUN],
3975 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
3976 AC_REQUIRE_AUX_FILE([missing])dnl
3977@@ -1162,8 +697,8 @@
3978 esac
3979 fi
3980 # Use eval to expand $SHELL
3981-if eval "$MISSING --run true"; then
3982- am_missing_run="$MISSING --run "
3983+if eval "$MISSING --is-lightweight"; then
3984+ am_missing_run="$MISSING "
3985 else
3986 am_missing_run=
3987 AC_MSG_WARN(['missing' script is too old or missing])
3988@@ -1172,14 +707,12 @@
3989
3990 # Helper functions for option handling. -*- Autoconf -*-
3991
3992-# Copyright (C) 2001-2012 Free Software Foundation, Inc.
3993+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
3994 #
3995 # This file is free software; the Free Software Foundation
3996 # gives unlimited permission to copy and/or distribute it,
3997 # with or without modifications, as long as this notice is preserved.
3998
3999-# serial 6
4000-
4001 # _AM_MANGLE_OPTION(NAME)
4002 # -----------------------
4003 AC_DEFUN([_AM_MANGLE_OPTION],
4004@@ -1203,16 +736,78 @@
4005 AC_DEFUN([_AM_IF_OPTION],
4006 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
4007
4008+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
4009+#
4010+# This file is free software; the Free Software Foundation
4011+# gives unlimited permission to copy and/or distribute it,
4012+# with or without modifications, as long as this notice is preserved.
4013+
4014+# _AM_PROG_CC_C_O
4015+# ---------------
4016+# Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC
4017+# to automatically call this.
4018+AC_DEFUN([_AM_PROG_CC_C_O],
4019+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
4020+AC_REQUIRE_AUX_FILE([compile])dnl
4021+AC_LANG_PUSH([C])dnl
4022+AC_CACHE_CHECK(
4023+ [whether $CC understands -c and -o together],
4024+ [am_cv_prog_cc_c_o],
4025+ [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
4026+ # Make sure it works both with $CC and with simple cc.
4027+ # Following AC_PROG_CC_C_O, we do the test twice because some
4028+ # compilers refuse to overwrite an existing .o file with -o,
4029+ # though they will create one.
4030+ am_cv_prog_cc_c_o=yes
4031+ for am_i in 1 2; do
4032+ if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
4033+ && test -f conftest2.$ac_objext; then
4034+ : OK
4035+ else
4036+ am_cv_prog_cc_c_o=no
4037+ break
4038+ fi
4039+ done
4040+ rm -f core conftest*
4041+ unset am_i])
4042+if test "$am_cv_prog_cc_c_o" != yes; then
4043+ # Losing compiler, so override with the script.
4044+ # FIXME: It is wrong to rewrite CC.
4045+ # But if we don't then we get into trouble of one sort or another.
4046+ # A longer-term fix would be to have automake use am__CC in this case,
4047+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4048+ CC="$am_aux_dir/compile $CC"
4049+fi
4050+AC_LANG_POP([C])])
4051+
4052+# For backward compatibility.
4053+AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
4054+
4055+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
4056+#
4057+# This file is free software; the Free Software Foundation
4058+# gives unlimited permission to copy and/or distribute it,
4059+# with or without modifications, as long as this notice is preserved.
4060+
4061+# AM_RUN_LOG(COMMAND)
4062+# -------------------
4063+# Run COMMAND, save the exit status in ac_status, and log it.
4064+# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
4065+AC_DEFUN([AM_RUN_LOG],
4066+[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
4067+ ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
4068+ ac_status=$?
4069+ echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
4070+ (exit $ac_status); }])
4071+
4072 # Check to make sure that the build environment is sane. -*- Autoconf -*-
4073
4074-# Copyright (C) 1996-2012 Free Software Foundation, Inc.
4075+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
4076 #
4077 # This file is free software; the Free Software Foundation
4078 # gives unlimited permission to copy and/or distribute it,
4079 # with or without modifications, as long as this notice is preserved.
4080
4081-# serial 9
4082-
4083 # AM_SANITY_CHECK
4084 # ---------------
4085 AC_DEFUN([AM_SANITY_CHECK],
4086@@ -1288,14 +883,12 @@
4087 rm -f conftest.file
4088 ])
4089
4090-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
4091+# Copyright (C) 2009-2013 Free Software Foundation, Inc.
4092 #
4093 # This file is free software; the Free Software Foundation
4094 # gives unlimited permission to copy and/or distribute it,
4095 # with or without modifications, as long as this notice is preserved.
4096
4097-# serial 3
4098-
4099 # AM_SILENT_RULES([DEFAULT])
4100 # --------------------------
4101 # Enable less verbose build rules; with the default set to DEFAULT
4102@@ -1350,14 +943,12 @@
4103 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
4104 ])
4105
4106-# Copyright (C) 2001-2012 Free Software Foundation, Inc.
4107+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
4108 #
4109 # This file is free software; the Free Software Foundation
4110 # gives unlimited permission to copy and/or distribute it,
4111 # with or without modifications, as long as this notice is preserved.
4112
4113-# serial 2
4114-
4115 # AM_PROG_INSTALL_STRIP
4116 # ---------------------
4117 # One issue with vendor 'install' (even GNU) is that you can't
4118@@ -1380,14 +971,12 @@
4119 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4120 AC_SUBST([INSTALL_STRIP_PROGRAM])])
4121
4122-# Copyright (C) 2006-2012 Free Software Foundation, Inc.
4123+# Copyright (C) 2006-2013 Free Software Foundation, Inc.
4124 #
4125 # This file is free software; the Free Software Foundation
4126 # gives unlimited permission to copy and/or distribute it,
4127 # with or without modifications, as long as this notice is preserved.
4128
4129-# serial 3
4130-
4131 # _AM_SUBST_NOTMAKE(VARIABLE)
4132 # ---------------------------
4133 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
4134@@ -1401,14 +990,12 @@
4135
4136 # Check how to create a tarball. -*- Autoconf -*-
4137
4138-# Copyright (C) 2004-2012 Free Software Foundation, Inc.
4139+# Copyright (C) 2004-2013 Free Software Foundation, Inc.
4140 #
4141 # This file is free software; the Free Software Foundation
4142 # gives unlimited permission to copy and/or distribute it,
4143 # with or without modifications, as long as this notice is preserved.
4144
4145-# serial 3
4146-
4147 # _AM_PROG_TAR(FORMAT)
4148 # --------------------
4149 # Check how to create a tarball in format FORMAT.
4150@@ -1422,80 +1009,571 @@
4151 # Substitute a variable $(am__untar) that extract such
4152 # a tarball read from stdin.
4153 # $(am__untar) < result.tar
4154+#
4155 AC_DEFUN([_AM_PROG_TAR],
4156 [# Always define AMTAR for backward compatibility. Yes, it's still used
4157 # in the wild :-( We should find a proper way to deprecate it ...
4158 AC_SUBST([AMTAR], ['$${TAR-tar}'])
4159+
4160+# We'll loop over all known methods to create a tar archive until one works.
4161+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
4162+
4163 m4_if([$1], [v7],
4164- [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
4165- [m4_case([$1], [ustar],, [pax],,
4166- [m4_fatal([Unknown tar format])])
4167-AC_MSG_CHECKING([how to create a $1 tar archive])
4168-# Loop over all known methods to create a tar archive until one works.
4169-_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
4170-_am_tools=${am_cv_prog_tar_$1-$_am_tools}
4171-# Do not fold the above two line into one, because Tru64 sh and
4172-# Solaris sh will not grok spaces in the rhs of '-'.
4173-for _am_tool in $_am_tools
4174-do
4175- case $_am_tool in
4176- gnutar)
4177- for _am_tar in tar gnutar gtar;
4178- do
4179- AM_RUN_LOG([$_am_tar --version]) && break
4180- done
4181- am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
4182- am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
4183- am__untar="$_am_tar -xf -"
4184- ;;
4185- plaintar)
4186- # Must skip GNU tar: if it does not support --format= it doesn't create
4187- # ustar tarball either.
4188- (tar --version) >/dev/null 2>&1 && continue
4189- am__tar='tar chf - "$$tardir"'
4190- am__tar_='tar chf - "$tardir"'
4191- am__untar='tar xf -'
4192- ;;
4193- pax)
4194- am__tar='pax -L -x $1 -w "$$tardir"'
4195- am__tar_='pax -L -x $1 -w "$tardir"'
4196- am__untar='pax -r'
4197- ;;
4198- cpio)
4199- am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
4200- am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
4201- am__untar='cpio -i -H $1 -d'
4202- ;;
4203- none)
4204- am__tar=false
4205- am__tar_=false
4206- am__untar=false
4207- ;;
4208- esac
4209-
4210- # If the value was cached, stop now. We just wanted to have am__tar
4211- # and am__untar set.
4212- test -n "${am_cv_prog_tar_$1}" && break
4213-
4214- # tar/untar a dummy directory, and stop if the command works
4215- rm -rf conftest.dir
4216- mkdir conftest.dir
4217- echo GrepMe > conftest.dir/file
4218- AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
4219- rm -rf conftest.dir
4220- if test -s conftest.tar; then
4221- AM_RUN_LOG([$am__untar <conftest.tar])
4222- grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
4223- fi
4224-done
4225-rm -rf conftest.dir
4226-
4227-AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
4228-AC_MSG_RESULT([$am_cv_prog_tar_$1])])
4229+ [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
4230+
4231+ [m4_case([$1],
4232+ [ustar],
4233+ [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
4234+ # There is notably a 21 bits limit for the UID and the GID. In fact,
4235+ # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
4236+ # and bug#13588).
4237+ am_max_uid=2097151 # 2^21 - 1
4238+ am_max_gid=$am_max_uid
4239+ # The $UID and $GID variables are not portable, so we need to resort
4240+ # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
4241+ # below are definitely unexpected, so allow the users to see them
4242+ # (that is, avoid stderr redirection).
4243+ am_uid=`id -u || echo unknown`
4244+ am_gid=`id -g || echo unknown`
4245+ AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
4246+ if test $am_uid -le $am_max_uid; then
4247+ AC_MSG_RESULT([yes])
4248+ else
4249+ AC_MSG_RESULT([no])
4250+ _am_tools=none
4251+ fi
4252+ AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
4253+ if test $am_gid -le $am_max_gid; then
4254+ AC_MSG_RESULT([yes])
4255+ else
4256+ AC_MSG_RESULT([no])
4257+ _am_tools=none
4258+ fi],
4259+
4260+ [pax],
4261+ [],
4262+
4263+ [m4_fatal([Unknown tar format])])
4264+
4265+ AC_MSG_CHECKING([how to create a $1 tar archive])
4266+
4267+ # Go ahead even if we have the value already cached. We do so because we
4268+ # need to set the values for the 'am__tar' and 'am__untar' variables.
4269+ _am_tools=${am_cv_prog_tar_$1-$_am_tools}
4270+
4271+ for _am_tool in $_am_tools; do
4272+ case $_am_tool in
4273+ gnutar)
4274+ for _am_tar in tar gnutar gtar; do
4275+ AM_RUN_LOG([$_am_tar --version]) && break
4276+ done
4277+ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
4278+ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
4279+ am__untar="$_am_tar -xf -"
4280+ ;;
4281+ plaintar)
4282+ # Must skip GNU tar: if it does not support --format= it doesn't create
4283+ # ustar tarball either.
4284+ (tar --version) >/dev/null 2>&1 && continue
4285+ am__tar='tar chf - "$$tardir"'
4286+ am__tar_='tar chf - "$tardir"'
4287+ am__untar='tar xf -'
4288+ ;;
4289+ pax)
4290+ am__tar='pax -L -x $1 -w "$$tardir"'
4291+ am__tar_='pax -L -x $1 -w "$tardir"'
4292+ am__untar='pax -r'
4293+ ;;
4294+ cpio)
4295+ am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
4296+ am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
4297+ am__untar='cpio -i -H $1 -d'
4298+ ;;
4299+ none)
4300+ am__tar=false
4301+ am__tar_=false
4302+ am__untar=false
4303+ ;;
4304+ esac
4305+
4306+ # If the value was cached, stop now. We just wanted to have am__tar
4307+ # and am__untar set.
4308+ test -n "${am_cv_prog_tar_$1}" && break
4309+
4310+ # tar/untar a dummy directory, and stop if the command works.
4311+ rm -rf conftest.dir
4312+ mkdir conftest.dir
4313+ echo GrepMe > conftest.dir/file
4314+ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
4315+ rm -rf conftest.dir
4316+ if test -s conftest.tar; then
4317+ AM_RUN_LOG([$am__untar <conftest.tar])
4318+ AM_RUN_LOG([cat conftest.dir/file])
4319+ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
4320+ fi
4321+ done
4322+ rm -rf conftest.dir
4323+
4324+ AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
4325+ AC_MSG_RESULT([$am_cv_prog_tar_$1])])
4326+
4327 AC_SUBST([am__tar])
4328 AC_SUBST([am__untar])
4329 ]) # _AM_PROG_TAR
4330
4331+# po.m4 serial 20 (gettext-0.18.2)
4332+dnl Copyright (C) 1995-2012 Free Software Foundation, Inc.
4333+dnl This file is free software; the Free Software Foundation
4334+dnl gives unlimited permission to copy and/or distribute it,
4335+dnl with or without modifications, as long as this notice is preserved.
4336+dnl
4337+dnl This file can can be used in projects which are not available under
4338+dnl the GNU General Public License or the GNU Library General Public
4339+dnl License but which still want to provide support for the GNU gettext
4340+dnl functionality.
4341+dnl Please note that the actual code of the GNU gettext library is covered
4342+dnl by the GNU Library General Public License, and the rest of the GNU
4343+dnl gettext package package is covered by the GNU General Public License.
4344+dnl They are *not* in the public domain.
4345+
4346+dnl Authors:
4347+dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
4348+dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
4349+
4350+AC_PREREQ([2.60])
4351+
4352+dnl Checks for all prerequisites of the po subdirectory.
4353+AC_DEFUN([AM_PO_SUBDIRS],
4354+[
4355+ AC_REQUIRE([AC_PROG_MAKE_SET])dnl
4356+ AC_REQUIRE([AC_PROG_INSTALL])dnl
4357+ AC_REQUIRE([AC_PROG_MKDIR_P])dnl
4358+ AC_REQUIRE([AM_NLS])dnl
4359+
4360+ dnl Release version of the gettext macros. This is used to ensure that
4361+ dnl the gettext macros and po/Makefile.in.in are in sync.
4362+ AC_SUBST([GETTEXT_MACRO_VERSION], [0.18])
4363+
4364+ dnl Perform the following tests also if --disable-nls has been given,
4365+ dnl because they are needed for "make dist" to work.
4366+
4367+ dnl Search for GNU msgfmt in the PATH.
4368+ dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions.
4369+ dnl The second test excludes FreeBSD msgfmt.
4370+ AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
4371+ [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 &&
4372+ (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
4373+ :)
4374+ AC_PATH_PROG([GMSGFMT], [gmsgfmt], [$MSGFMT])
4375+
4376+ dnl Test whether it is GNU msgfmt >= 0.15.
4377+changequote(,)dnl
4378+ case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4379+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
4380+ *) MSGFMT_015=$MSGFMT ;;
4381+ esac
4382+changequote([,])dnl
4383+ AC_SUBST([MSGFMT_015])
4384+changequote(,)dnl
4385+ case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4386+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
4387+ *) GMSGFMT_015=$GMSGFMT ;;
4388+ esac
4389+changequote([,])dnl
4390+ AC_SUBST([GMSGFMT_015])
4391+
4392+ dnl Search for GNU xgettext 0.12 or newer in the PATH.
4393+ dnl The first test excludes Solaris xgettext and early GNU xgettext versions.
4394+ dnl The second test excludes FreeBSD xgettext.
4395+ AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
4396+ [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 &&
4397+ (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
4398+ :)
4399+ dnl Remove leftover from FreeBSD xgettext call.
4400+ rm -f messages.po
4401+
4402+ dnl Test whether it is GNU xgettext >= 0.15.
4403+changequote(,)dnl
4404+ case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4405+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
4406+ *) XGETTEXT_015=$XGETTEXT ;;
4407+ esac
4408+changequote([,])dnl
4409+ AC_SUBST([XGETTEXT_015])
4410+
4411+ dnl Search for GNU msgmerge 0.11 or newer in the PATH.
4412+ AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge,
4413+ [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :)
4414+
4415+ dnl Installation directories.
4416+ dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we
4417+ dnl have to define it here, so that it can be used in po/Makefile.
4418+ test -n "$localedir" || localedir='${datadir}/locale'
4419+ AC_SUBST([localedir])
4420+
4421+ dnl Support for AM_XGETTEXT_OPTION.
4422+ test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
4423+ AC_SUBST([XGETTEXT_EXTRA_OPTIONS])
4424+
4425+ AC_CONFIG_COMMANDS([po-directories], [[
4426+ for ac_file in $CONFIG_FILES; do
4427+ # Support "outfile[:infile[:infile...]]"
4428+ case "$ac_file" in
4429+ *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
4430+ esac
4431+ # PO directories have a Makefile.in generated from Makefile.in.in.
4432+ case "$ac_file" in */Makefile.in)
4433+ # Adjust a relative srcdir.
4434+ ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
4435+ ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
4436+ ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
4437+ # In autoconf-2.13 it is called $ac_given_srcdir.
4438+ # In autoconf-2.50 it is called $srcdir.
4439+ test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
4440+ case "$ac_given_srcdir" in
4441+ .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
4442+ /*) top_srcdir="$ac_given_srcdir" ;;
4443+ *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
4444+ esac
4445+ # Treat a directory as a PO directory if and only if it has a
4446+ # POTFILES.in file. This allows packages to have multiple PO
4447+ # directories under different names or in different locations.
4448+ if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
4449+ rm -f "$ac_dir/POTFILES"
4450+ test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
4451+ gt_tab=`printf '\t'`
4452+ cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
4453+ POMAKEFILEDEPS="POTFILES.in"
4454+ # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
4455+ # on $ac_dir but don't depend on user-specified configuration
4456+ # parameters.
4457+ if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
4458+ # The LINGUAS file contains the set of available languages.
4459+ if test -n "$OBSOLETE_ALL_LINGUAS"; then
4460+ test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
4461+ fi
4462+ ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
4463+ # Hide the ALL_LINGUAS assignment from automake < 1.5.
4464+ eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
4465+ POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
4466+ else
4467+ # The set of available languages was given in configure.in.
4468+ # Hide the ALL_LINGUAS assignment from automake < 1.5.
4469+ eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
4470+ fi
4471+ # Compute POFILES
4472+ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
4473+ # Compute UPDATEPOFILES
4474+ # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
4475+ # Compute DUMMYPOFILES
4476+ # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
4477+ # Compute GMOFILES
4478+ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
4479+ case "$ac_given_srcdir" in
4480+ .) srcdirpre= ;;
4481+ *) srcdirpre='$(srcdir)/' ;;
4482+ esac
4483+ POFILES=
4484+ UPDATEPOFILES=
4485+ DUMMYPOFILES=
4486+ GMOFILES=
4487+ for lang in $ALL_LINGUAS; do
4488+ POFILES="$POFILES $srcdirpre$lang.po"
4489+ UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
4490+ DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
4491+ GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
4492+ done
4493+ # CATALOGS depends on both $ac_dir and the user's LINGUAS
4494+ # environment variable.
4495+ INST_LINGUAS=
4496+ if test -n "$ALL_LINGUAS"; then
4497+ for presentlang in $ALL_LINGUAS; do
4498+ useit=no
4499+ if test "%UNSET%" != "$LINGUAS"; then
4500+ desiredlanguages="$LINGUAS"
4501+ else
4502+ desiredlanguages="$ALL_LINGUAS"
4503+ fi
4504+ for desiredlang in $desiredlanguages; do
4505+ # Use the presentlang catalog if desiredlang is
4506+ # a. equal to presentlang, or
4507+ # b. a variant of presentlang (because in this case,
4508+ # presentlang can be used as a fallback for messages
4509+ # which are not translated in the desiredlang catalog).
4510+ case "$desiredlang" in
4511+ "$presentlang"*) useit=yes;;
4512+ esac
4513+ done
4514+ if test $useit = yes; then
4515+ INST_LINGUAS="$INST_LINGUAS $presentlang"
4516+ fi
4517+ done
4518+ fi
4519+ CATALOGS=
4520+ if test -n "$INST_LINGUAS"; then
4521+ for lang in $INST_LINGUAS; do
4522+ CATALOGS="$CATALOGS $lang.gmo"
4523+ done
4524+ fi
4525+ test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
4526+ sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
4527+ for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
4528+ if test -f "$f"; then
4529+ case "$f" in
4530+ *.orig | *.bak | *~) ;;
4531+ *) cat "$f" >> "$ac_dir/Makefile" ;;
4532+ esac
4533+ fi
4534+ done
4535+ fi
4536+ ;;
4537+ esac
4538+ done]],
4539+ [# Capture the value of obsolete ALL_LINGUAS because we need it to compute
4540+ # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
4541+ # from automake < 1.5.
4542+ eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
4543+ # Capture the value of LINGUAS because we need it to compute CATALOGS.
4544+ LINGUAS="${LINGUAS-%UNSET%}"
4545+ ])
4546+])
4547+
4548+dnl Postprocesses a Makefile in a directory containing PO files.
4549+AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE],
4550+[
4551+ # When this code is run, in config.status, two variables have already been
4552+ # set:
4553+ # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in,
4554+ # - LINGUAS is the value of the environment variable LINGUAS at configure
4555+ # time.
4556+
4557+changequote(,)dnl
4558+ # Adjust a relative srcdir.
4559+ ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
4560+ ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
4561+ ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
4562+ # In autoconf-2.13 it is called $ac_given_srcdir.
4563+ # In autoconf-2.50 it is called $srcdir.
4564+ test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
4565+ case "$ac_given_srcdir" in
4566+ .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
4567+ /*) top_srcdir="$ac_given_srcdir" ;;
4568+ *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
4569+ esac
4570+
4571+ # Find a way to echo strings without interpreting backslash.
4572+ if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then
4573+ gt_echo='echo'
4574+ else
4575+ if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then
4576+ gt_echo='printf %s\n'
4577+ else
4578+ echo_func () {
4579+ cat <<EOT
4580+$*
4581+EOT
4582+ }
4583+ gt_echo='echo_func'
4584+ fi
4585+ fi
4586+
4587+ # A sed script that extracts the value of VARIABLE from a Makefile.
4588+ tab=`printf '\t'`
4589+ sed_x_variable='
4590+# Test if the hold space is empty.
4591+x
4592+s/P/P/
4593+x
4594+ta
4595+# Yes it was empty. Look if we have the expected variable definition.
4596+/^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=/{
4597+ # Seen the first line of the variable definition.
4598+ s/^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=//
4599+ ba
4600+}
4601+bd
4602+:a
4603+# Here we are processing a line from the variable definition.
4604+# Remove comment, more precisely replace it with a space.
4605+s/#.*$/ /
4606+# See if the line ends in a backslash.
4607+tb
4608+:b
4609+s/\\$//
4610+# Print the line, without the trailing backslash.
4611+p
4612+tc
4613+# There was no trailing backslash. The end of the variable definition is
4614+# reached. Clear the hold space.
4615+s/^.*$//
4616+x
4617+bd
4618+:c
4619+# A trailing backslash means that the variable definition continues in the
4620+# next line. Put a nonempty string into the hold space to indicate this.
4621+s/^.*$/P/
4622+x
4623+:d
4624+'
4625+changequote([,])dnl
4626+
4627+ # Set POTFILES to the value of the Makefile variable POTFILES.
4628+ sed_x_POTFILES=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'`
4629+ POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"`
4630+ # Compute POTFILES_DEPS as
4631+ # $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
4632+ POTFILES_DEPS=
4633+ for file in $POTFILES; do
4634+ POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file"
4635+ done
4636+ POMAKEFILEDEPS=""
4637+
4638+ if test -n "$OBSOLETE_ALL_LINGUAS"; then
4639+ test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
4640+ fi
4641+ if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
4642+ # The LINGUAS file contains the set of available languages.
4643+ ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
4644+ POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
4645+ else
4646+ # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS.
4647+ sed_x_LINGUAS=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'`
4648+ ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"`
4649+ fi
4650+ # Hide the ALL_LINGUAS assignment from automake < 1.5.
4651+ eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
4652+ # Compute POFILES
4653+ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
4654+ # Compute UPDATEPOFILES
4655+ # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
4656+ # Compute DUMMYPOFILES
4657+ # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
4658+ # Compute GMOFILES
4659+ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
4660+ # Compute PROPERTIESFILES
4661+ # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties)
4662+ # Compute CLASSFILES
4663+ # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class)
4664+ # Compute QMFILES
4665+ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm)
4666+ # Compute MSGFILES
4667+ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg)
4668+ # Compute RESOURCESDLLFILES
4669+ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll)
4670+ case "$ac_given_srcdir" in
4671+ .) srcdirpre= ;;
4672+ *) srcdirpre='$(srcdir)/' ;;
4673+ esac
4674+ POFILES=
4675+ UPDATEPOFILES=
4676+ DUMMYPOFILES=
4677+ GMOFILES=
4678+ PROPERTIESFILES=
4679+ CLASSFILES=
4680+ QMFILES=
4681+ MSGFILES=
4682+ RESOURCESDLLFILES=
4683+ for lang in $ALL_LINGUAS; do
4684+ POFILES="$POFILES $srcdirpre$lang.po"
4685+ UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
4686+ DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
4687+ GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
4688+ PROPERTIESFILES="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties"
4689+ CLASSFILES="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class"
4690+ QMFILES="$QMFILES $srcdirpre$lang.qm"
4691+ frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
4692+ MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg"
4693+ frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
4694+ RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll"
4695+ done
4696+ # CATALOGS depends on both $ac_dir and the user's LINGUAS
4697+ # environment variable.
4698+ INST_LINGUAS=
4699+ if test -n "$ALL_LINGUAS"; then
4700+ for presentlang in $ALL_LINGUAS; do
4701+ useit=no
4702+ if test "%UNSET%" != "$LINGUAS"; then
4703+ desiredlanguages="$LINGUAS"
4704+ else
4705+ desiredlanguages="$ALL_LINGUAS"
4706+ fi
4707+ for desiredlang in $desiredlanguages; do
4708+ # Use the presentlang catalog if desiredlang is
4709+ # a. equal to presentlang, or
4710+ # b. a variant of presentlang (because in this case,
4711+ # presentlang can be used as a fallback for messages
4712+ # which are not translated in the desiredlang catalog).
4713+ case "$desiredlang" in
4714+ "$presentlang"*) useit=yes;;
4715+ esac
4716+ done
4717+ if test $useit = yes; then
4718+ INST_LINGUAS="$INST_LINGUAS $presentlang"
4719+ fi
4720+ done
4721+ fi
4722+ CATALOGS=
4723+ JAVACATALOGS=
4724+ QTCATALOGS=
4725+ TCLCATALOGS=
4726+ CSHARPCATALOGS=
4727+ if test -n "$INST_LINGUAS"; then
4728+ for lang in $INST_LINGUAS; do
4729+ CATALOGS="$CATALOGS $lang.gmo"
4730+ JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties"
4731+ QTCATALOGS="$QTCATALOGS $lang.qm"
4732+ frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
4733+ TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg"
4734+ frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
4735+ CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll"
4736+ done
4737+ fi
4738+
4739+ sed -e "s|@POTFILES_DEPS@|$POTFILES_DEPS|g" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@PROPERTIESFILES@|$PROPERTIESFILES|g" -e "s|@CLASSFILES@|$CLASSFILES|g" -e "s|@QMFILES@|$QMFILES|g" -e "s|@MSGFILES@|$MSGFILES|g" -e "s|@RESOURCESDLLFILES@|$RESOURCESDLLFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@JAVACATALOGS@|$JAVACATALOGS|g" -e "s|@QTCATALOGS@|$QTCATALOGS|g" -e "s|@TCLCATALOGS@|$TCLCATALOGS|g" -e "s|@CSHARPCATALOGS@|$CSHARPCATALOGS|g" -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp"
4740+ tab=`printf '\t'`
4741+ if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then
4742+ # Add dependencies that cannot be formulated as a simple suffix rule.
4743+ for lang in $ALL_LINGUAS; do
4744+ frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
4745+ cat >> "$ac_file.tmp" <<EOF
4746+$frobbedlang.msg: $lang.po
4747+${tab}@echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \
4748+${tab}\$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
4749+EOF
4750+ done
4751+ fi
4752+ if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then
4753+ # Add dependencies that cannot be formulated as a simple suffix rule.
4754+ for lang in $ALL_LINGUAS; do
4755+ frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
4756+ cat >> "$ac_file.tmp" <<EOF
4757+$frobbedlang/\$(DOMAIN).resources.dll: $lang.po
4758+${tab}@echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \
4759+${tab}\$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
4760+EOF
4761+ done
4762+ fi
4763+ if test -n "$POMAKEFILEDEPS"; then
4764+ cat >> "$ac_file.tmp" <<EOF
4765+Makefile: $POMAKEFILEDEPS
4766+EOF
4767+ fi
4768+ mv "$ac_file.tmp" "$ac_file"
4769+])
4770+
4771+dnl Initializes the accumulator used by AM_XGETTEXT_OPTION.
4772+AC_DEFUN([AM_XGETTEXT_OPTION_INIT],
4773+[
4774+ XGETTEXT_EXTRA_OPTIONS=
4775+])
4776+
4777+dnl Registers an option to be passed to xgettext in the po subdirectory.
4778+AC_DEFUN([AM_XGETTEXT_OPTION],
4779+[
4780+ AC_REQUIRE([AM_XGETTEXT_OPTION_INIT])
4781+ XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS $1"
4782+])
4783+
4784 m4_include([m4/00gnulib.m4])
4785 m4_include([m4/alloca.m4])
4786 m4_include([m4/asm-underscore.m4])
4787@@ -1522,6 +1600,7 @@
4788 m4_include([m4/exponentf.m4])
4789 m4_include([m4/exponentl.m4])
4790 m4_include([m4/extensions.m4])
4791+m4_include([m4/extern-inline.m4])
4792 m4_include([m4/fchdir.m4])
4793 m4_include([m4/fclose.m4])
4794 m4_include([m4/fcntl-o.m4])
4795@@ -1536,11 +1615,13 @@
4796 m4_include([m4/fpieee.m4])
4797 m4_include([m4/fprintf-posix.m4])
4798 m4_include([m4/fpurge.m4])
4799+m4_include([m4/freadahead.m4])
4800 m4_include([m4/freading.m4])
4801 m4_include([m4/frexp.m4])
4802 m4_include([m4/frexpl.m4])
4803 m4_include([m4/fseek.m4])
4804 m4_include([m4/fseeko.m4])
4805+m4_include([m4/fseterr.m4])
4806 m4_include([m4/fstat.m4])
4807 m4_include([m4/ftell.m4])
4808 m4_include([m4/ftello.m4])
4809@@ -1554,7 +1635,6 @@
4810 m4_include([m4/gnulib-common.m4])
4811 m4_include([m4/gnulib-comp.m4])
4812 m4_include([m4/include_next.m4])
4813-m4_include([m4/inline.m4])
4814 m4_include([m4/intmax_t.m4])
4815 m4_include([m4/inttypes_h.m4])
4816 m4_include([m4/isnand.m4])
4817@@ -1634,7 +1714,6 @@
4818 m4_include([m4/utimes.m4])
4819 m4_include([m4/vasnprintf.m4])
4820 m4_include([m4/vfprintf-posix.m4])
4821-m4_include([m4/warn-on-use.m4])
4822 m4_include([m4/warnings.m4])
4823 m4_include([m4/wchar_h.m4])
4824 m4_include([m4/wchar_t.m4])
4825
4826=== modified file 'bits.c'
4827--- bits.c 2012-06-19 14:04:08 +0000
4828+++ bits.c 2013-08-12 10:11:48 +0000
4829@@ -1,6 +1,6 @@
4830 /* bits.c -- output variable-length bit strings
4831
4832- Copyright (C) 1999, 2009-2012 Free Software Foundation, Inc.
4833+ Copyright (C) 1999, 2009-2013 Free Software Foundation, Inc.
4834 Copyright (C) 1992-1993 Jean-loup Gailly
4835
4836 This program is free software; you can redistribute it and/or modify
4837
4838=== modified file 'build-aux/announce-gen'
4839--- build-aux/announce-gen 2012-06-19 14:04:08 +0000
4840+++ build-aux/announce-gen 2013-08-12 10:11:48 +0000
4841@@ -9,7 +9,7 @@
4842 # If you change this file with Emacs, please let the write hook
4843 # do its job. Otherwise, update this string manually.
4844
4845-# Copyright (C) 2002-2012 Free Software Foundation, Inc.
4846+# Copyright (C) 2002-2013 Free Software Foundation, Inc.
4847
4848 # This program is free software: you can redistribute it and/or modify
4849 # it under the terms of the GNU General Public License as published by
4850
4851=== modified file 'build-aux/compile'
4852--- build-aux/compile 2012-06-19 14:04:08 +0000
4853+++ build-aux/compile 2013-08-12 10:11:48 +0000
4854@@ -1,10 +1,9 @@
4855 #! /bin/sh
4856-# Wrapper for compilers which do not understand `-c -o'.
4857-
4858-scriptversion=2010-11-15.09; # UTC
4859-
4860-# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009, 2010 Free Software
4861-# Foundation, Inc.
4862+# Wrapper for compilers which do not understand '-c -o'.
4863+
4864+scriptversion=2012-10-14.11; # UTC
4865+
4866+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
4867 # Written by Tom Tromey <tromey@cygnus.com>.
4868 #
4869 # This program is free software; you can redistribute it and/or modify
4870@@ -40,7 +39,7 @@
4871
4872 # func_file_conv build_file lazy
4873 # Convert a $build file to $host form and store it in $file
4874-# Currently only supports Win32 hosts. If the determined conversion
4875+# Currently only supports Windows hosts. If the determined conversion
4876 # type is listed in (the comma separated) LAZY, no conversion will
4877 # take place.
4878 func_file_conv ()
4879@@ -79,6 +78,53 @@
4880 esac
4881 }
4882
4883+# func_cl_dashL linkdir
4884+# Make cl look for libraries in LINKDIR
4885+func_cl_dashL ()
4886+{
4887+ func_file_conv "$1"
4888+ if test -z "$lib_path"; then
4889+ lib_path=$file
4890+ else
4891+ lib_path="$lib_path;$file"
4892+ fi
4893+ linker_opts="$linker_opts -LIBPATH:$file"
4894+}
4895+
4896+# func_cl_dashl library
4897+# Do a library search-path lookup for cl
4898+func_cl_dashl ()
4899+{
4900+ lib=$1
4901+ found=no
4902+ save_IFS=$IFS
4903+ IFS=';'
4904+ for dir in $lib_path $LIB
4905+ do
4906+ IFS=$save_IFS
4907+ if $shared && test -f "$dir/$lib.dll.lib"; then
4908+ found=yes
4909+ lib=$dir/$lib.dll.lib
4910+ break
4911+ fi
4912+ if test -f "$dir/$lib.lib"; then
4913+ found=yes
4914+ lib=$dir/$lib.lib
4915+ break
4916+ fi
4917+ if test -f "$dir/lib$lib.a"; then
4918+ found=yes
4919+ lib=$dir/lib$lib.a
4920+ break
4921+ fi
4922+ done
4923+ IFS=$save_IFS
4924+
4925+ if test "$found" != yes; then
4926+ lib=$lib.lib
4927+ fi
4928+}
4929+
4930 # func_cl_wrapper cl arg...
4931 # Adjust compile command to suit cl
4932 func_cl_wrapper ()
4933@@ -94,7 +140,7 @@
4934 else
4935 case $1 in
4936 -o)
4937- # configure might choose to run compile as `compile cc -o foo foo.c'.
4938+ # configure might choose to run compile as 'compile cc -o foo foo.c'.
4939 eat=1
4940 case $2 in
4941 *.o | *.[oO][bB][jJ])
4942@@ -109,43 +155,34 @@
4943 ;;
4944 esac
4945 ;;
4946+ -I)
4947+ eat=1
4948+ func_file_conv "$2" mingw
4949+ set x "$@" -I"$file"
4950+ shift
4951+ ;;
4952 -I*)
4953 func_file_conv "${1#-I}" mingw
4954 set x "$@" -I"$file"
4955 shift
4956 ;;
4957+ -l)
4958+ eat=1
4959+ func_cl_dashl "$2"
4960+ set x "$@" "$lib"
4961+ shift
4962+ ;;
4963 -l*)
4964- lib=${1#-l}
4965- found=no
4966- save_IFS=$IFS
4967- IFS=';'
4968- for dir in $lib_path $LIB
4969- do
4970- IFS=$save_IFS
4971- if $shared && test -f "$dir/$lib.dll.lib"; then
4972- found=yes
4973- set x "$@" "$dir/$lib.dll.lib"
4974- break
4975- fi
4976- if test -f "$dir/$lib.lib"; then
4977- found=yes
4978- set x "$@" "$dir/$lib.lib"
4979- break
4980- fi
4981- done
4982- IFS=$save_IFS
4983-
4984- test "$found" != yes && set x "$@" "$lib.lib"
4985+ func_cl_dashl "${1#-l}"
4986+ set x "$@" "$lib"
4987 shift
4988 ;;
4989+ -L)
4990+ eat=1
4991+ func_cl_dashL "$2"
4992+ ;;
4993 -L*)
4994- func_file_conv "${1#-L}"
4995- if test -z "$lib_path"; then
4996- lib_path=$file
4997- else
4998- lib_path="$lib_path;$file"
4999- fi
5000- linker_opts="$linker_opts -LIBPATH:$file"
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: