textproc/php71-simplexml: sync with upstream

Taken from: HardenedBSD
This commit is contained in:
Franco Fichtner 2018-11-15 21:10:30 +01:00
parent 83c92ffe4d
commit ade05bf218

View file

@ -1,6 +1,6 @@
--- config.m4.orig 2014-05-14 10:14:22.929420181 +0000
+++ config.m4 2014-05-14 10:15:36.967414693 +0000
@@ -4,6 +4,9 @@
--- config.m4.orig 2018-11-09 21:17:02.404698000 +0100
+++ config.m4 2018-11-09 21:18:57.799985000 +0100
@@ -4,6 +4,9 @@ dnl config.m4 for extension simplexml
PHP_ARG_ENABLE(simplexml, whether to enable SimpleXML support,
[ --disable-simplexml Disable SimpleXML support], yes)
@ -9,8 +9,8 @@
+
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)
@@ -11,6 +14,30 @@
[ --with-libxml-dir=DIR SimpleXML: libxml2 install prefix], no, no)
@@ -11,6 +14,30 @@ fi
if test "$PHP_SIMPLEXML" != "no"; then
@ -38,6 +38,6 @@
+ ])
+ ])
+
if test "$PHP_LIBXML" = "no"; then
AC_MSG_ERROR([SimpleXML extension requires LIBXML extension, add --enable-libxml])
if test "$PHP_LIBXML" = "no"; then
AC_MSG_ERROR([SimpleXML extension requires LIBXML extension, add --enable-libxml])
fi