]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
echo replaced with printf 533/head
authorPrzemyslaw Skibinski <inikep@gmail.com>
Thu, 9 Feb 2017 16:01:17 +0000 (17:01 +0100)
committerPrzemyslaw Skibinski <inikep@gmail.com>
Thu, 9 Feb 2017 16:01:17 +0000 (17:01 +0100)
programs/Makefile

index a7de2e1af5e994329fe3cf4eb36f11a076767185..862ba35dd8b5cd259cd0e53f627c32809fc6b395 100644 (file)
@@ -67,7 +67,7 @@ endif
 
 # zlib detection
 VOID = /dev/null
-HAVE_ZLIB := $(shell echo $$'\#include <zlib.h>\nint main(){}' | $(CC) -o have_zlib -x c - -lz 2> $(VOID) && echo 1 || echo 0)
+HAVE_ZLIB := $(shell printf '\#include <zlib.h>\nint main(){}' | $(CC) -o have_zlib -x c - -lz 2> $(VOID) && echo 1 || echo 0)
 ifeq ($(HAVE_ZLIB), 1)
 TEMP := $(shell rm have_zlib$(EXT))
 ZLIBCPP = -DZSTD_GZDECOMPRESS