ifstat: fix compilation with GCC14
[feed/packages.git] / net / privoxy / patches / 102-configure-Fix-disable-pcre2.patch
1 From 7fb978c74a8a46bd105d9f0ced92a4be0c9647e6 Mon Sep 17 00:00:00 2001
2 From: Fabian Keil <fk@fabiankeil.de>
3 Date: Sun, 27 Aug 2023 12:13:48 +0200
4 Subject: [PATCH] configure: Fix --disable-pcre2
5
6 Previously it would result in neither pcre library being detected:
7
8 checking for getnameinfo... (cached) yes
9 configure: WARNING: Ignoring pcre2 even if it's available
10 test: =: unexpected operator
11 Enabling support for client-specific tags.
12 checking for zlibVersion in -lz... (cached) yes
13 Enabling compression support.
14 test: =: unexpected operator
15 test: =: unexpected operator
16 configure: error: Detected neither pcre2 nor pcre library.
17 ---
18 configure.in | 1 +
19 1 file changed, 1 insertion(+)
20
21 --- a/configure.in
22 +++ b/configure.in
23 @@ -872,6 +872,7 @@ if test $enableval2 = yes; then
24 else
25 AC_MSG_WARN([Ignoring pcre2 even if it's available])
26 try_pcre2=no
27 + have_pcre2=no
28 fi
29
30 if test $try_pcre2 != no; then