Changeset View
Changeset View
Standalone View
Standalone View
lang/php72/files/patch-ext_wddx_config.m4
- This file was moved from textproc/php72-wddx/files/patch-config.m4.
--- config.m4.orig Mon Jul 26 09:05:10 2004 | --- ext/wddx/config.m4.orig 2018-07-17 05:35:50 UTC | ||||
+++ config.m4 Mon Jul 26 09:07:46 2004 | +++ ext/wddx/config.m4 | ||||
@@ -5,6 +5,9 @@ | @@ -13,6 +13,9 @@ fi | ||||
PHP_ARG_ENABLE(wddx,whether to enable WDDX support, | PHP_ARG_WITH(libexpat-dir, libexpat dir for WDDX, | ||||
[ --enable-wddx Enable WDDX support.]) | [ --with-libexpat-dir=DIR WDDX: libexpat dir for XMLRPC-EPI (deprecated)],no,no) | ||||
+PHP_ARG_WITH(libxml-dir, libxml2 install dir, | +PHP_ARG_WITH(libxml-dir, libxml2 install dir, | ||||
+[ --with-libxml-dir=<DIR> WDDX: libxml2 install prefix], no, no) | +[ --with-libxml-dir=<DIR> WDDX: libxml2 install prefix], no, no) | ||||
+ | + | ||||
if test "$PHP_WDDX" != "no"; then | if test "$PHP_WDDX" != "no"; then | ||||
if test "$ext_shared" != "yes" && test "$enable_xml" = "no"; then | |||||
AC_MSG_WARN(Activating XML) | dnl | ||||
@@ -12,4 +15,9 @@ | @@ -55,6 +58,11 @@ if test "$PHP_WDDX" != "no"; then | ||||
fi | |||||
AC_DEFINE(HAVE_WDDX, 1, [ ]) | AC_DEFINE(HAVE_WDDX, 1, [ ]) | ||||
PHP_NEW_EXTENSION(wddx, wddx.c, $ext_shared) | PHP_NEW_EXTENSION(wddx, wddx.c, $ext_shared) | ||||
+ | + | ||||
+ PHP_SETUP_LIBXML(WDDX_SHARED_LIBADD, [ | + PHP_SETUP_LIBXML(WDDX_SHARED_LIBADD, [ | ||||
+ ], [ | + ], [ | ||||
+ AC_MSG_ERROR([xml2-config not found. Please check your libxml2 installation.]) | + AC_MSG_ERROR([xml2-config not found. Please check your libxml2 installation.]) | ||||
+ ]) | + ]) | ||||
PHP_ADD_EXTENSION_DEP(wddx, libxml) | |||||
PHP_SUBST(XMLRPC_SHARED_LIBADD) | |||||
fi | fi |