1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-26 04:35:39 +03:00
aports/community/php7-pecl-oauth/pcre.patch
Natanael Copa 4a6b944d7f community/php7-pecl-oauth: fix build
remove the configure test for pcre.h. php 7.3 uses pcre2.h and there is
nothing in php oauth that uses pcre.h directly, it only relies on
"ext/pcre/php_pcre.h"

simply remove the check to fix build.
2019-06-14 12:00:37 +00:00

13 lines
469 B
Diff

diff --git a/config.m4 b/config.m4
index e05ed68..48e2608 100644
--- a/config.m4
+++ b/config.m4
@@ -14,8 +14,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)