configure: Improve zstd test
PATCH v2 1/1 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 <[email protected]>
Reported-by Richard Henderson <[email protected]>
--- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
configure +2 -1
@@ -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"
Signature · 1 line
2.24.1
Quoted 6 lines · * Juan Quintela ([email protected]) wrote:
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 <[email protected]>Reported-by Richard Henderson <[email protected]>
Queued for migration
Quoted 22 lines
--- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)configure +2
-1@@ -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"Signature · 1 line
2.24.1
--
Dr. David Alan Gilbert / [email protected] / Manchester, UK