[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 1/5] configure: Improve zstd test
From: |
Dr. David Alan Gilbert (git) |
Subject: |
[PULL 1/5] configure: Improve zstd test |
Date: |
Fri, 13 Mar 2020 10:30:35 +0000 |
From: Juan Quintela <address@hidden>
There were one error on the test (missing an s for --exists).
But we really need a recent zstd (1.4.0).
Thanks to Michal Privoznik to provide the right vension.
Signed-off-by: Juan Quintela <address@hidden>
Reported-by: Richard Henderson <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Dr. David Alan Gilbert <address@hidden>
Signed-off-by: Dr. David Alan Gilbert <address@hidden>
---
configure | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index 3c7470096f..eb49bb6680 100755
--- a/configure
+++ b/configure
@@ -2475,7 +2475,8 @@ fi
# zstd check
if test "$zstd" != "no" ; then
- if $pkg_config --exist libzstd ; then
+ libzstd_minver="1.4.0"
+ if $pkg_config --atleast-version=$libzstd_minver libzstd ; then
zstd_cflags="$($pkg_config --cflags libzstd)"
zstd_libs="$($pkg_config --libs libzstd)"
LIBS="$zstd_libs $LIBS"
--
2.24.1
- [PULL 0/5] migration queue, Dr. David Alan Gilbert (git), 2020/03/13
- [PULL 1/5] configure: Improve zstd test,
Dr. David Alan Gilbert (git) <=
- [PULL 4/5] ram/colo: only record bitmap of dirty pages in COLO stage, Dr. David Alan Gilbert (git), 2020/03/13
- [PULL 2/5] migration/throttle: Add throttle-trig-thres migration parameter, Dr. David Alan Gilbert (git), 2020/03/13
- [PULL 3/5] COLO: Optimize memory back-up process, Dr. David Alan Gilbert (git), 2020/03/13
- [PULL 5/5] migration: recognize COLO as part of activating process, Dr. David Alan Gilbert (git), 2020/03/13
- Re: [PULL 0/5] migration queue, Peter Maydell, 2020/03/13