trace-cmd: Add build message if the best compression algorithm is not avaiable
PATCH 1/1 trace-cmd: Add build message if the best compression algorithm is not avaiable
From: "Steven Rostedt (Google)" <[email protected]>
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) <[email protected]>
---
Depends on: https://lore.kernel.org/all/[email protected]/
Makefile | 4 ++++ 1 file changed, 4 insertions(+)
Makefile +4 -0
@@ -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
Signature · 1 line
2.34.1