]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
remove zlib detection artefact
authorYann Collet <cyan@fb.com>
Fri, 3 Feb 2017 22:25:07 +0000 (14:25 -0800)
committerYann Collet <cyan@fb.com>
Fri, 3 Feb 2017 22:34:41 +0000 (14:34 -0800)
result of compilation test is sent to /dev/null

NEWS
programs/Makefile

diff --git a/NEWS b/NEWS
index f404f6e372b1e2a1a5ee0f826cf3a60908a213e1..072caee59a288df90d93c6f18c01b473bcd3004c 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
 v1.1.3
+cli : zstd can decompress .gz files. Feature can be turned off by targeting `make zstd-nogz` or setting `make HAVE_ZLIB=0`
 cli : new : experimental target `make zstdmt`, with multi-threading support
 cli : new : advanced commands for detailed parameters, by Przemyslaw Skibinski
 cli : fix zstdless on Mac OS-X, by Andrew Janke
index ce90bd457cd8abbc8fc0f7f83c822e6dbf17022a..f94bffd442e0806d796ecaa52eabe562616ae8b1 100644 (file)
@@ -66,7 +66,8 @@ EXT =
 endif
 
 # zlib detection
-HAVE_ZLIB := $(shell echo "int main(){}" | $(CC) -o have_zlib -x c - -lz && echo 1 || echo 0)
+VOID = /dev/null
+HAVE_ZLIB := $(shell echo "int main(){}" | $(CC) -o $(VOID) -x c - -lz && echo 1 || echo 0)
 ifeq ($(HAVE_ZLIB), 1)
 ZLIBCPP = -DZSTD_GZDECOMPRESS
 ZLIBLD = -lz