Commit 297254c7 authored by Juan Quintela's avatar Juan Quintela Committed by Dr. David Alan Gilbert
Browse files

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: default avatarJuan Quintela <quintela@redhat.com>
Reported-by: default avatarRichard Henderson <richard.henderson@linaro.org>
Message-Id: <20200310111431.173151-1-quintela@redhat.com>
Reviewed-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
parent d4f7d567
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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"