[Privoxy-commits] [privoxy] 05/38: configure.in: Remove code to disable pcre2
User Git
git at git.privoxy.org
Thu Apr 9 09:37:03 CEST 2026
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository privoxy.
commit 85f655b8002d0aecf4bb664b48dd3071a79b5d63
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Tue Mar 31 15:39:01 2026 +0200
configure.in: Remove code to disable pcre2
Since the removal of pcre1 support in 24d0ff8398fdf pcre2 is
no longer optional.
---
configure.in | 17 -----------------
1 file changed, 17 deletions(-)
diff --git a/configure.in b/configure.in
index d987fd25..c0c59c97 100644
--- a/configure.in
+++ b/configure.in
@@ -863,19 +863,6 @@ else
])
fi
-AC_ARG_ENABLE(pcre2,
-[ --disable-pcre2 Don't try to use pcre2 even if it's available],
-[enableval2=$enableval],
-[enableval2=yes])
-if test $enableval2 = yes; then
- try_pcre2=yes
-else
- AC_MSG_WARN([Ignoring pcre2 even if it's available])
- try_pcre2=no
- have_pcre2=no
-fi
-
-if test $try_pcre2 != no; then
dnl =================================================================
dnl Checks for libraries.
dnl =================================================================
@@ -901,7 +888,6 @@ AC_CHECK_LIB(pcre2-posix, regcomp, [
], [have_pcre2posix=no])
])
], [have_pcre2posix=no], -lpcre2-8)
-fi
dnl ================================================================
dnl libpcrs is temporarily disabled.
@@ -1110,10 +1096,7 @@ fi
# build it and link statically
#
-#check for libpcre2 first. then regular pcre
-
if test $have_pcre2 = "yes"; then
- echo "using libpcre2"
STATIC_PCRE_ONLY=#
LIBS="$LIBS -lpcre2-8 -lpcre2-posix"
if test "$use_static_pcre" = "yes"; then
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Privoxy-commits
mailing list