From 59f4490689a070f6874d25c00c459143ea3eab9b Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Fri, 19 Apr 2019 15:18:31 +0300 Subject: [PATCH] Remove HAVE_PCRE, as ext/pcre is always available --- ext/pcre/config.w32 | 1 - ext/pcre/config0.m4 | 1 - 2 files changed, 2 deletions(-) diff --git a/ext/pcre/config.w32 b/ext/pcre/config.w32 index 2aef554e0d3..ab23f6b8f5f 100644 --- a/ext/pcre/config.w32 +++ b/ext/pcre/config.w32 @@ -6,7 +6,6 @@ ADD_SOURCES("ext/pcre/pcre2lib", "pcre2_auto_possess.c pcre2_chartables.c pcre2_ ADD_DEF_FILE("ext\\pcre\\php_pcre.def"); AC_DEFINE('HAVE_BUNDLED_PCRE', 1, 'Using bundled PCRE library'); -AC_DEFINE('HAVE_PCRE', 1, 'Have PCRE library'); AC_DEFINE('PCRE2_CODE_UNIT_WIDTH', 8, 'Have PCRE library'); AC_DEFINE("PCRE2_STATIC", 1, ""); PHP_PCRE="yes"; diff --git a/ext/pcre/config0.m4 b/ext/pcre/config0.m4 index c15f785a4eb..f6b904504c8 100644 --- a/ext/pcre/config0.m4 +++ b/ext/pcre/config0.m4 @@ -22,7 +22,6 @@ if test "$PHP_EXTERNAL_PCRE" != "no"; then PHP_EVAL_INCLINE($PCRE2_CFLAGS) PHP_EVAL_LIBLINE($PCRE2_LIBS) AC_DEFINE(PCRE2_CODE_UNIT_WIDTH, 8, [ ]) - AC_DEFINE(HAVE_PCRE, 1, [ ]) if test "$PHP_PCRE_JIT" != "no"; then AC_CACHE_CHECK([for JIT support in PCRE2], ac_cv_have_pcre2_jit, [