if test $pcrever_major -eq 6 && test $pcrever_minor -lt 5; then
as_fn_error $? "This pcre version is missing features used by ClamAV. Please upgrade to a newer version: http://www.pcre.org." "$LINENO" 5
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pcre (original) detected. We recommend upgrading from pcre to pcre2 10.30 or later: http://www.pcre.org." >&5
$as_echo "$as_me: WARNING: pcre (original) detected. We recommend upgrading from pcre to pcre2 10.30 or later: http://www.pcre.org." >&2;}
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CVE-2015-3210" >&5
$as_echo_n "checking for CVE-2015-3210... " >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CVE-2017-7186" >&5
$as_echo_n "checking for CVE-2017-7186... " >&6; }
if test "$pcrelib" = "pcre2"; then
if test $pcrever_major -eq 10 && test $pcrever_minor -eq 10; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The installed pcre2 version may contain a security bug. Please upgrade to 10.20 or later: http://www.pcre.org." >&5
$as_echo "$as_me: WARNING: The installed pcre2 version may contain a security bug. Please upgrade to 10.20 or later: http://www.pcre.org." >&2;}
if test $pcrever_major -eq 10 && test $pcrever_minor -lt 24; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The installed pcre2 version may contain security bugs. Please upgrade to 10.30 or later: http://www.pcre.org." >&5
$as_echo "$as_me: WARNING: The installed pcre2 version may contain security bugs. Please upgrade to 10.30 or later: http://www.pcre.org." >&2;}
test $pcrever_minor -gt 33 && test $pcrever_minor -lt 38; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The installed pcre version may contain a security bug. Please upgrade to 8.38 or later: http://www.pcre.org." >&5
$as_echo "$as_me: WARNING: The installed pcre version may contain a security bug. Please upgrade to 8.38 or later: http://www.pcre.org." >&2;}
if test $pcrever_major -eq 8 && test $pcrever_minor -lt 41; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The installed pcre version may contain security bugs. Please upgrade to 8.41+ or _preferably_ install pcre2 10.30+: http://www.pcre.org." >&5
$as_echo "$as_me: WARNING: The installed pcre version may contain security bugs. Please upgrade to 8.41+ or _preferably_ install pcre2 10.30+: http://www.pcre.org." >&2;}