From: =?utf-8?b?T25kxZllaiBTdXLDvQ==?= <ondrej@sury.org>
Date: Thu, 18 Nov 2021 13:25:57 +0100
Subject: Remove dummy pcre.h config check (it actually needs php_pcre.h,
 not pcre.h)

---
 oauth-2.0.7/config.m4 | 2 --
 1 file changed, 2 deletions(-)

diff --git a/oauth-2.0.7/config.m4 b/oauth-2.0.7/config.m4
index f4a6899..2adf937 100644
--- a/oauth-2.0.7/config.m4
+++ b/oauth-2.0.7/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)
