# HG changeset patch # User John W. Eaton # Date 1511321087 18000 # Node ID 23a905c6f5d3a37bbd75802ee02bef4f86336cfd # Parent 2a8b5cf2085cc25d30a4f8eeafa8e32723fb186f adapt to wget's new --compression option diff -r 2a8b5cf2085c -r 23a905c6f5d3 Makefile.in --- a/Makefile.in Tue Nov 21 16:45:20 2017 -0500 +++ b/Makefile.in Tue Nov 21 22:24:47 2017 -0500 @@ -206,7 +206,11 @@ PATCH := $(shell gpatch --help >/dev/null 2>&1 && echo g)patch SED := $(shell gsed --help >/dev/null 2>&1 && echo g)sed SORT := $(shell gsort --help >/dev/null 2>&1 && echo g)sort -WGET := wget --no-check-certificate \ +## The --compression option for wget is new in 1.19.2 and now without +## using --compression=none, wget seems to uncompress .gz archives +## automatically?!? +WGET_COMP := $(shell wget --compression=none --help >/dev/null && echo x--compression=none | $(SED) 's/x//') +WGET := wget $(WGET_COMP) --no-check-certificate \ --user-agent=$(shell wget --version | \ $(SED) -n 's,GNU \(Wget\) \([0-9.]*\).*,\1/\2,p') # The MSYS GNU tar does not support long uid/gid, leading to unpacking