[PATCH] trace-cmd: Add build message if the best compression algorithm is not avaiable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Steven Rostedt (Google)" <rostedt@xxxxxxxxxxx>

If the best compression package is not available at build time, give a
message stating so. This can help users know that hey should install the
compression developer package.

Signed-off-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx>
---
Depends on: https://lore.kernel.org/all/YhOVEG2AjVPJEw0q@xxxxxxxxxxxxx/

 Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Makefile b/Makefile
index b4b08b8858aa..3009c2d74592 100644
--- a/Makefile
+++ b/Makefile
@@ -315,6 +315,10 @@ LIBZSTD_LDLAGS = $(shell sh -c "$(PKG_CONFIG) --libs libzstd")
 CFLAGS += -DHAVE_ZSTD
 ZSTD_INSTALLED=1
 $(info    Have ZSTD compression support)
+else
+$(info	  *************************************************************)
+$(info	  ZSTD package not found, best compression algorithm not in use)
+$(info	  *************************************************************)
 endif
 
 export LIBZSTD_CFLAGS LIBZSTD_LDLAGS ZSTD_INSTALLED
-- 
2.34.1




[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux