[Privoxy-commits] [privoxy] 07/13: windows/MYconfigure: Bump pcre2 version to 10.49
User Git
git at git.privoxy.org
Sun Nov 22 16:33:34 CET 2026
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository privoxy.
commit 092439b52d3036d968ec04ec412a6f19a9eb5ee8
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Sun Nov 15 17:13:02 2026 +0100
windows/MYconfigure: Bump pcre2 version to 10.49
... and remove broken pcre1 support.
---
windows/MYconfigure | 24 +++++-------------------
1 file changed, 5 insertions(+), 19 deletions(-)
diff --git a/windows/MYconfigure b/windows/MYconfigure
index 0ae7972a..5dfb3921 100755
--- a/windows/MYconfigure
+++ b/windows/MYconfigure
@@ -20,7 +20,6 @@ fi
# --enable-mingw32 Use mingw32 for a Windows GUI
# --enable-static-linking Use static linking instead of dynamic linking (and not have
# to put all the .DLLs in the path or the same dir as Privoxy)
-# --disable-pcre2 Don't try to use the pcre2 library even if it's available
# --disable-pthread Use native threads instead of POSIX pthreads library
# --disable-dynamic-pcre Use the built-in, static pcre, even if libpcre is available
# --with-docbook=yes Enable docbook documentation creation
@@ -140,26 +139,14 @@ CFLAGS="${CFLAGS} -Wshadow"
# why does the mingw library _not_ include .a files for libpcre?
# *sigh* build my own pcre so I can do static linking
-# Get the 8.x PCRE library from
-# https://sourceforge.net/projects/pcre/files/pcre/
# Get the 10.x PCRE2 library from
# https://github.com/PCRE2Project/pcre2/releases
#
-#
-usepcre2=yes
-#
-#
-if [ "$usepcre2" = "yes" ]; then
- PCREOPT=""
- inc="/source/pcre2-10.47/src/"
- # need pcre2.h
- lib="/source/pcre2-10.47/.libs"
- # need libpcre2-8.a & libpcre2-posix.a
-else
- PCREOPT="--disable-pcre2"
- inc="/source/pcre-8.45/"
- lib="/source/pcre-8.45/.libs"
-fi
+
+inc="/source/pcre2-10.49/src/"
+# need pcre2.h
+lib="/source/pcre2-10.49/.libs"
+# need libpcre2-8.a & libpcre2-posix.a
CPPFLAGS="${CPPFLAGS} -I${inc}"
LDFLAGS="${LDFLAGS} -L${lib}"
@@ -223,7 +210,6 @@ echo "LDFLAGS=${LDFLAGS}"
./configure --host=i686-w64-mingw32 --enable-mingw32 --enable-zlib \
--enable-compression \
--enable-extended-statistics \
- ${PCREOPT} \
--enable-pcre-host-patterns \
--enable-static-linking \
--enable-strptime-sanity-checks \
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Privoxy-commits
mailing list