@@ -9092,19 +9092,19 @@ $as_echo "$with_zstd" >&6; }
9092
9092
if test "$with_zstd" = yes; then
9093
9093
9094
9094
pkg_failed=no
9095
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libzstd" >&5
9096
- $as_echo_n "checking for libzstd... " >&6; }
9095
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libzstd >= 1.4.0 " >&5
9096
+ $as_echo_n "checking for libzstd >= 1.4.0 ... " >&6; }
9097
9097
9098
9098
if test -n "$ZSTD_CFLAGS"; then
9099
9099
pkg_cv_ZSTD_CFLAGS="$ZSTD_CFLAGS"
9100
9100
elif test -n "$PKG_CONFIG"; then
9101
9101
if test -n "$PKG_CONFIG" && \
9102
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzstd\""; } >&5
9103
- ($PKG_CONFIG --exists --print-errors "libzstd") 2>&5
9102
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzstd >= 1.4.0 \""; } >&5
9103
+ ($PKG_CONFIG --exists --print-errors "libzstd >= 1.4.0 ") 2>&5
9104
9104
ac_status=$?
9105
9105
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9106
9106
test $ac_status = 0; }; then
9107
- pkg_cv_ZSTD_CFLAGS=`$PKG_CONFIG --cflags "libzstd" 2>/dev/null`
9107
+ pkg_cv_ZSTD_CFLAGS=`$PKG_CONFIG --cflags "libzstd >= 1.4.0 " 2>/dev/null`
9108
9108
test "x$?" != "x0" && pkg_failed=yes
9109
9109
else
9110
9110
pkg_failed=yes
@@ -9116,12 +9116,12 @@ if test -n "$ZSTD_LIBS"; then
9116
9116
pkg_cv_ZSTD_LIBS="$ZSTD_LIBS"
9117
9117
elif test -n "$PKG_CONFIG"; then
9118
9118
if test -n "$PKG_CONFIG" && \
9119
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzstd\""; } >&5
9120
- ($PKG_CONFIG --exists --print-errors "libzstd") 2>&5
9119
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzstd >= 1.4.0 \""; } >&5
9120
+ ($PKG_CONFIG --exists --print-errors "libzstd >= 1.4.0 ") 2>&5
9121
9121
ac_status=$?
9122
9122
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9123
9123
test $ac_status = 0; }; then
9124
- pkg_cv_ZSTD_LIBS=`$PKG_CONFIG --libs "libzstd" 2>/dev/null`
9124
+ pkg_cv_ZSTD_LIBS=`$PKG_CONFIG --libs "libzstd >= 1.4.0 " 2>/dev/null`
9125
9125
test "x$?" != "x0" && pkg_failed=yes
9126
9126
else
9127
9127
pkg_failed=yes
@@ -9142,14 +9142,14 @@ else
9142
9142
_pkg_short_errors_supported=no
9143
9143
fi
9144
9144
if test $_pkg_short_errors_supported = yes; then
9145
- ZSTD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libzstd" 2>&1`
9145
+ ZSTD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libzstd >= 1.4.0 " 2>&1`
9146
9146
else
9147
- ZSTD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libzstd" 2>&1`
9147
+ ZSTD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libzstd >= 1.4.0 " 2>&1`
9148
9148
fi
9149
9149
# Put the nasty error message in config.log where it belongs
9150
9150
echo "$ZSTD_PKG_ERRORS" >&5
9151
9151
9152
- as_fn_error $? "Package requirements (libzstd) were not met:
9152
+ as_fn_error $? "Package requirements (libzstd >= 1.4.0 ) were not met:
9153
9153
9154
9154
$ZSTD_PKG_ERRORS
9155
9155
0 commit comments