[Privoxy-devel] PATCH for pcre2 support

Fabian Keil fk at fabiankeil.de
Thu Jun 15 13:20:51 CEST 2023


Gagan Sidhu <broly at mac.com> wrote on 2023-05-20 at 15:19:12:

> ???
> is there anybody out there
> ???

I looked into this again and noticed that with the latest patch
(SHA256 (substandard_pcre2.patch) = 322dfd5c3082aaec436fde295dfbeee38d7743eb959d88a2a704b0c3abf7cadd)
pcre2 is not picked up on my system:

checking for pcre_compile in -lpcre... (cached) yes
checking for pcre.h... (cached) yes
configure: WARNING: pcre old version installed
checking for regcomp in -lpcreposix... (cached) yes
checking for pcreposix.h... (cached) yes
checking for pcre2_compile_8 in -lpcre2-8... (cached) yes
checking for pcre2.h... (cached) yes
configure: WARNING: pcre2 old version installed
checking for regcomp in -lpcre2-posix... (cached) yes
checking for pcre2posix.h... (cached) yes
configure: WARNING: pcre2posix old version installed

This seems to be caused by the configure.in line:

      AC_EGREP_HEADER(pcre2_pattern_info, pcre2.h, [AC_MSG_WARN([[pcre2 old version installed]]); have_pcre2=no], [have_pcre2=yes; AC_DEFINE(HAVE_PCRE2)])

My system has pcre2 10.42 installs which seems to come
with pcre2_pattern_info.

Can you reproduce this?

Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.privoxy.org/pipermail/privoxy-devel/attachments/20230615/d3280385/attachment.bin>


More information about the Privoxy-devel mailing list