]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
don't use "echo -e"
authorPrzemyslaw Skibinski <inikep@gmail.com>
Thu, 9 Feb 2017 10:32:14 +0000 (11:32 +0100)
committerPrzemyslaw Skibinski <inikep@gmail.com>
Thu, 9 Feb 2017 10:32:21 +0000 (11:32 +0100)
programs/Makefile

index 8257e394e12f103fbd6c8d6e7c209ef995e8385c..a7de2e1af5e994329fe3cf4eb36f11a076767185 100644 (file)
@@ -67,7 +67,7 @@ endif
 
 # zlib detection
 VOID = /dev/null
-HAVE_ZLIB := $(shell echo -e "\#include <zlib.h>\nint main(){}" | $(CC) -o have_zlib -x c - -lz 2> $(VOID) && echo 1 || echo 0)
+HAVE_ZLIB := $(shell echo $$'\#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