pajoye          Sun Jul  6 16:52:59 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/xmlrpc config.w32 
  Log:
  - don't enable xmlrpc when libxml is missing
  
http://cvs.php.net/viewvc.cgi/php-src/ext/xmlrpc/config.w32?r1=1.2.8.1&r2=1.2.8.2&diff_format=u
Index: php-src/ext/xmlrpc/config.w32
diff -u php-src/ext/xmlrpc/config.w32:1.2.8.1 
php-src/ext/xmlrpc/config.w32:1.2.8.2
--- php-src/ext/xmlrpc/config.w32:1.2.8.1       Sun Jun 22 23:17:22 2008
+++ php-src/ext/xmlrpc/config.w32       Sun Jul  6 16:52:59 2008
@@ -1,19 +1,17 @@
-// $Id: config.w32,v 1.2.8.1 2008/06/22 23:17:22 pajoye Exp $
+// $Id: config.w32,v 1.2.8.2 2008/07/06 16:52:59 pajoye Exp $
 // vim:ft=javascript
 
 ARG_WITH("xmlrpc", "XMLRPC-EPI support", "no");
 
 if (PHP_XMLRPC != "no") {
        if (CHECK_HEADER_ADD_INCLUDE("xmlrpc.h", "CFLAGS_XMLRPC", 
configure_module_dirname + "/libxmlrpc")
-               && CHECK_HEADER_ADD_INCLUDE("iconv.h", "CFLAGS")) {
+               && CHECK_HEADER_ADD_INCLUDE("iconv.h", "CFLAGS")
+               && ADD_EXTENSION_DEP('xmlrpc', 'libxml')) {
                EXTENSION('xmlrpc', 'xmlrpc-epi-php.c', PHP_XMLRPC_SHARED, 
"-DVERSION=\"0.50\"");
                ADD_SOURCES(configure_module_dirname + "/libxmlrpc", "base64.c 
simplestring.c xml_to_dandarpc.c \
                xmlrpc_introspection.c encodings.c system_methods.c 
xml_to_xmlrpc.c \
                queue.c xml_element.c xmlrpc.c xml_to_soap.c", "xmlrpc");
 
-               if (!ADD_EXTENSION_DEP('xmlrpc', 'libxml')) {
-                       PHP_XMLRPC = "no";
-               }
        } else {
                WARNING("xmlrpc support can't be enabled, libraries or headers 
are missing")
                PHP_XMLRPC = "no";



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to