summaryrefslogtreecommitdiffstats
path: root/oauth-pcre.patch
blob: 31635cafe1cc7bc02f1cf5d64f255c12f2f93e7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From 2e02631fa424639b10d105ff47e9cf650403cef7 Mon Sep 17 00:00:00 2001
From: Andy Postnikov <apostnikov@gmail.com>
Date: Fri, 18 Sep 2020 16:22:33 +0300
Subject: [PATCH] Remove pcre.h dependency

PHP using pcre2 and I see no usage of pcre 1
---
 config.m4 | 2 --
 1 file changed, 2 deletions(-)

diff --git a/config.m4 b/config.m4
index f4a6899..2adf937 100644
--- a/config.m4
+++ b/config.m4
@@ -10,8 +10,6 @@ if test "$PHP_OAUTH" != "no"; then
   PHP_NEW_EXTENSION(oauth, oauth.c provider.c, $ext_shared)
   CFLAGS="$CFLAGS -Wall -g"
 
-  AC_CHECK_HEADER(pcre.h, , [AC_MSG_ERROR([Couldn't find pcre.h, try installing the libpcre development/headers package])])
-
   AS_IF([test "x$with_curl" != "xno"],
       [
         AC_MSG_CHECKING(for cURL in default path)