ports/textproc/php72-wddx/files/patch-config.m4
Torsten Zuehlsdorff 687591dd75 Add PHP 7.2 RC6
Notable changes:
- mcrypt module was removed
- sodium module was added
- sybase_ct artifacts removed

Also many PECL ports will not work with this version
since some files got renamed.

Reviewed by:           mat, ale, Rainer Duffner <rainer@ultra-secure.de>
Differential Revision: https://reviews.freebsd.org/D12980
2017-11-16 10:48:48 +00:00

22 lines
711 B
Text

--- config.m4.orig Mon Jul 26 09:05:10 2004
+++ config.m4 Mon Jul 26 09:07:46 2004
@@ -5,6 +5,9 @@
PHP_ARG_ENABLE(wddx,whether to enable WDDX support,
[ --enable-wddx Enable WDDX support.])
+PHP_ARG_WITH(libxml-dir, libxml2 install dir,
+[ --with-libxml-dir=<DIR> WDDX: libxml2 install prefix], no, no)
+
if test "$PHP_WDDX" != "no"; then
if test "$ext_shared" != "yes" && test "$enable_xml" = "no"; then
AC_MSG_WARN(Activating XML)
@@ -12,4 +15,9 @@
fi
AC_DEFINE(HAVE_WDDX, 1, [ ])
PHP_NEW_EXTENSION(wddx, wddx.c, $ext_shared)
+
+ PHP_SETUP_LIBXML(WDDX_SHARED_LIBADD, [
+ ], [
+ AC_MSG_ERROR([xml2-config not found. Please check your libxml2 installation.])
+ ])
fi