diff options
author | Juan Quintela <quintela@redhat.com> | 2020-03-10 12:14:31 +0100 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2020-03-13 09:36:30 +0000 |
commit | 297254c71b302abf9f4f37c41e274b5722e1a5da (patch) | |
tree | ea621e8c7e2fd2a76345e69680c312c89beb66d8 | |
parent | d4f7d56759f7c75270c13d5f3f5f736a9558929c (diff) | |
download | qemu-297254c71b302abf9f4f37c41e274b5722e1a5da.zip |
configure: Improve zstd test
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 <quintela@redhat.com>
Reported-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200310111431.173151-1-quintela@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
-rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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" |