diff options
author | Remi Collet <remi@remirepo.net> | 2022-09-20 18:05:01 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2022-09-20 18:05:01 +0200 |
commit | 650646c147b0bfab5646d920d03ad9bdc4014601 (patch) | |
tree | 5814d6fb17824b5ca30d271c7e8acb5f30ae5a73 /oauth-pcre.patch | |
parent | 49bb467d1ddc7c1b86fd76543973ed9b5bd1ef61 (diff) |
drop unneeded build dependency on pcre #2128353
Diffstat (limited to 'oauth-pcre.patch')
-rw-r--r-- | oauth-pcre.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/oauth-pcre.patch b/oauth-pcre.patch new file mode 100644 index 0000000..31635ca --- /dev/null +++ b/oauth-pcre.patch @@ -0,0 +1,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) |