Merge branch 'PHP-7.4'

* PHP-7.4:
  Enable pcre valgrind support only in DEBUG build (it affects performance)
This commit is contained in:
Dmitry Stogov 2019-05-27 16:20:30 +03:00
commit 12fd1d4aae

View File

@ -82,6 +82,9 @@ else
fi
if test "$PHP_VALGRIND" != "no" && test "$have_valgrind" = "yes"; then
AC_DEFINE(HAVE_PCRE_VALGRIND_SUPPORT, 1, [ ])
dnl Enable pcre valgrind support only in DEBUG build (it affects performance)
if test "$ZEND_DEBUG" = "yes"; then
AC_DEFINE(HAVE_PCRE_VALGRIND_SUPPORT, 1, [ ])
fi
fi
fi