Changeset View
Changeset View
Standalone View
Standalone View
textproc/php74-simplexml/files/patch-config.m4
--- config.m4.orig 2018-09-25 09:08:02 UTC | --- config.m4.orig 2019-08-06 06:54:07 UTC | ||||
+++ config.m4 | +++ config.m4 | ||||
@@ -3,6 +3,9 @@ dnl config.m4 for extension simplexml | @@ -4,8 +4,39 @@ PHP_ARG_ENABLE([simplexml], | ||||
PHP_ARG_ENABLE(simplexml, whether to enable SimpleXML support, | [Disable SimpleXML support])], | ||||
[ --disable-simplexml Disable SimpleXML support], yes) | [yes]) | ||||
+PHP_ARG_WITH(pcre-dir, pcre install prefix, | +PHP_ARG_ENABLE([pcre-dir], | ||||
+[ --with-pcre-dir SimpleXML: pcre install prefix], no, no) | + [pcre install prefix], | ||||
+ [AS_HELP_STRING([--with-pcre-dir], | |||||
+ [SimpleXML: pcre install dir])], | |||||
+ [no], | |||||
+ [no]) | |||||
+ | + | ||||
if test -z "$PHP_LIBXML_DIR"; then | |||||
PHP_ARG_WITH(libxml-dir, libxml2 install dir, | |||||
[ --with-libxml-dir=DIR SimpleXML: libxml2 install prefix], no, no) | |||||
@@ -10,6 +13,30 @@ fi | |||||
if test "$PHP_SIMPLEXML" != "no"; then | if test "$PHP_SIMPLEXML" != "no"; then | ||||
+ dnl This is PECL build, check if bundled PCRE library is used | + dnl This is PECL build, check if bundled PCRE library is used | ||||
Context not available. | |||||
+ ]) | + ]) | ||||
+ | + | ||||
if test "$PHP_LIBXML" = "no"; then | if test "$PHP_LIBXML" = "no"; then | ||||
AC_MSG_ERROR([SimpleXML extension requires LIBXML extension, add --enable-libxml]) | AC_MSG_ERROR([SimpleXML extension requires LIBXML extension, add --with-libxml]) | ||||
fi | fi | ||||
Context not available. |