[Privoxy-commits] [privoxy] 08/10: configure: Fix --disable-pcre2

User Git git at git.privoxy.org
Sun Aug 27 12:59:14 CEST 2023


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

commit 7fb978c74a8a46bd105d9f0ced92a4be0c9647e6
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Sun Aug 27 12:13:48 2023 +0200

    configure: Fix --disable-pcre2
    
    Previously it would result in neither pcre library being detected:
    
        checking for getnameinfo... (cached) yes
        configure: WARNING: Ignoring pcre2 even if it's available
        test: =: unexpected operator
        Enabling support for client-specific tags.
        checking for zlibVersion in -lz... (cached) yes
        Enabling compression support.
        test: =: unexpected operator
        test: =: unexpected operator
        configure: error: Detected neither pcre2 nor pcre library.
---
 configure.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.in b/configure.in
index 0181d253..f8a23a52 100644
--- a/configure.in
+++ b/configure.in
@@ -872,6 +872,7 @@ if test $enableval2 = yes; then
 else
   AC_MSG_WARN([Ignoring pcre2 even if it's available])
   try_pcre2=no
+  have_pcre2=no
 fi
 
 if test $try_pcre2 != no; then

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list