From 94b727f1ce7de03c13cdf0480b842981f8ad54df Mon Sep 17 00:00:00 2001 From: Karen Huddleston Date: Thu, 17 Jan 2019 01:43:09 +0000 Subject: [PATCH] Update missing zstd error message in configure Authored-by: Karen Huddleston --- configure | 5 ++++- configure.in | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 20d309c334..4e9e8c5c10 100755 --- a/configure +++ b/configure @@ -10864,7 +10864,10 @@ _ACEOF LIBS="-lzstd $LIBS" else - as_fn_error $? "zstd library not found." "$LINENO" 5 + as_fn_error $? "zstd library not found +If you have libzstd already installed, see config.log for details on the +failure. It is possible the compiler isn't looking in the proper directory. +Use --without-zstd to disable zstd support." "$LINENO" 5 fi fi diff --git a/configure.in b/configure.in index 4bc156b735..be363b5abb 100644 --- a/configure.in +++ b/configure.in @@ -1315,7 +1315,10 @@ fi if test "$with_zstd" = yes; then AC_CHECK_LIB(zstd, ZSTD_compressCCtx, [], - [AC_MSG_ERROR([zstd library not found.])]) + [AC_MSG_ERROR([zstd library not found +If you have libzstd already installed, see config.log for details on the +failure. It is possible the compiler isn't looking in the proper directory. +Use --without-zstd to disable zstd support.])]) fi if test "$with_quicklz" = yes; then -- GitLab