wez Fri Aug 22 11:04:11 2003 EDT Modified files: /php-src/ext/dom attr.c cdatasection.c characterdata.c comment.c document.c documentfragment.c documenttype.c domconfiguration.c domerror.c domerrorhandler.c domexception.c domimplementation.c domimplementationlist.c domimplementationsource.c domlocator.c domstringlist.c element.c entity.c entityreference.c namednodemap.c namelist.c node.c nodelist.c notation.c php_dom.c processinginstruction.c string_extend.c text.c typeinfo.c userdatahandler.c xpath.c Log: allow building without libxml2 under win32
Index: php-src/ext/dom/attr.c diff -u php-src/ext/dom/attr.c:1.5 php-src/ext/dom/attr.c:1.6 --- php-src/ext/dom/attr.c:1.5 Sun Jul 27 13:57:06 2003 +++ php-src/ext/dom/attr.c Fri Aug 22 11:04:10 2003 @@ -17,13 +17,16 @@ +----------------------------------------------------------------------+ */ -/* $Id: attr.c,v 1.5 2003/07/27 17:57:06 rrichards Exp $ */ +/* $Id: attr.c,v 1.6 2003/08/22 15:04:10 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" + +#if HAVE_LIBXML && HAVE_DOM + #include "php_dom.h" @@ -232,3 +235,5 @@ } } /* }}} end dom_attr_is_id */ + +#endif Index: php-src/ext/dom/cdatasection.c diff -u php-src/ext/dom/cdatasection.c:1.3 php-src/ext/dom/cdatasection.c:1.4 --- php-src/ext/dom/cdatasection.c:1.3 Tue Jun 10 16:03:27 2003 +++ php-src/ext/dom/cdatasection.c Fri Aug 22 11:04:10 2003 @@ -17,13 +17,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: cdatasection.c,v 1.3 2003/06/10 20:03:27 imajes Exp $ */ +/* $Id: cdatasection.c,v 1.4 2003/08/22 15:04:10 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" +#if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" @@ -71,3 +72,5 @@ } } /* }}} end dom_cdatasection_cdatasection */ + +#endif Index: php-src/ext/dom/characterdata.c diff -u php-src/ext/dom/characterdata.c:1.6 php-src/ext/dom/characterdata.c:1.7 --- php-src/ext/dom/characterdata.c:1.6 Mon Jul 7 15:37:32 2003 +++ php-src/ext/dom/characterdata.c Fri Aug 22 11:04:10 2003 @@ -17,13 +17,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: characterdata.c,v 1.6 2003/07/07 19:37:32 rrichards Exp $ */ +/* $Id: characterdata.c,v 1.7 2003/08/22 15:04:10 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" +#if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" @@ -363,3 +364,4 @@ RETURN_TRUE; } /* }}} end dom_characterdata_replace_data */ +#endif Index: php-src/ext/dom/comment.c diff -u php-src/ext/dom/comment.c:1.3 php-src/ext/dom/comment.c:1.4 --- php-src/ext/dom/comment.c:1.3 Tue Jun 10 16:03:27 2003 +++ php-src/ext/dom/comment.c Fri Aug 22 11:04:10 2003 @@ -17,13 +17,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: comment.c,v 1.3 2003/06/10 20:03:27 imajes Exp $ */ +/* $Id: comment.c,v 1.4 2003/08/22 15:04:10 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" +#if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" @@ -70,3 +71,4 @@ } } /* }}} end dom_comment_comment */ +#endif Index: php-src/ext/dom/document.c diff -u php-src/ext/dom/document.c:1.19 php-src/ext/dom/document.c:1.20 --- php-src/ext/dom/document.c:1.19 Mon Aug 11 20:55:58 2003 +++ php-src/ext/dom/document.c Fri Aug 22 11:04:10 2003 @@ -17,13 +17,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: document.c,v 1.19 2003/08/12 00:55:58 iliaa Exp $ */ +/* $Id: document.c,v 1.20 2003/08/22 15:04:10 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" +#if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" typedef struct _idsIterator idsIterator; @@ -1273,3 +1274,4 @@ } } /* }}} end dom_document_savexml */ +#endif Index: php-src/ext/dom/documentfragment.c diff -u php-src/ext/dom/documentfragment.c:1.3 php-src/ext/dom/documentfragment.c:1.4 --- php-src/ext/dom/documentfragment.c:1.3 Tue Jun 10 16:03:27 2003 +++ php-src/ext/dom/documentfragment.c Fri Aug 22 11:04:10 2003 @@ -17,13 +17,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: documentfragment.c,v 1.3 2003/06/10 20:03:27 imajes Exp $ */ +/* $Id: documentfragment.c,v 1.4 2003/08/22 15:04:10 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" +#if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" @@ -64,3 +65,4 @@ } } /* }}} end dom_documentfragment_documentfragment */ +#endif Index: php-src/ext/dom/documenttype.c diff -u php-src/ext/dom/documenttype.c:1.5 php-src/ext/dom/documenttype.c:1.6 --- php-src/ext/dom/documenttype.c:1.5 Sat Jul 12 13:29:20 2003 +++ php-src/ext/dom/documenttype.c Fri Aug 22 11:04:10 2003 @@ -17,13 +17,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: documenttype.c,v 1.5 2003/07/12 17:29:20 rrichards Exp $ */ +/* $Id: documenttype.c,v 1.6 2003/08/22 15:04:10 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" +#if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" typedef struct _nodeIterator nodeIterator; @@ -290,4 +291,4 @@ /* }}} */ - +#endif Index: php-src/ext/dom/domconfiguration.c diff -u php-src/ext/dom/domconfiguration.c:1.2 php-src/ext/dom/domconfiguration.c:1.3 --- php-src/ext/dom/domconfiguration.c:1.2 Tue Jun 10 16:03:27 2003 +++ php-src/ext/dom/domconfiguration.c Fri Aug 22 11:04:10 2003 @@ -17,13 +17,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: domconfiguration.c,v 1.2 2003/06/10 20:03:27 imajes Exp $ */ +/* $Id: domconfiguration.c,v 1.3 2003/08/22 15:04:10 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" +#if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" @@ -75,3 +76,4 @@ DOM_NOT_IMPLEMENTED(); } /* }}} end dom_domconfiguration_can_set_parameter */ +#endif Index: php-src/ext/dom/domerror.c diff -u php-src/ext/dom/domerror.c:1.2 php-src/ext/dom/domerror.c:1.3 --- php-src/ext/dom/domerror.c:1.2 Tue Jun 10 16:03:27 2003 +++ php-src/ext/dom/domerror.c Fri Aug 22 11:04:10 2003 @@ -17,13 +17,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: domerror.c,v 1.2 2003/06/10 20:03:27 imajes Exp $ */ +/* $Id: domerror.c,v 1.3 2003/08/22 15:04:10 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" +#if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" @@ -134,4 +135,4 @@ /* }}} */ - +#endif Index: php-src/ext/dom/domerrorhandler.c diff -u php-src/ext/dom/domerrorhandler.c:1.2 php-src/ext/dom/domerrorhandler.c:1.3 --- php-src/ext/dom/domerrorhandler.c:1.2 Tue Jun 10 16:03:27 2003 +++ php-src/ext/dom/domerrorhandler.c Fri Aug 22 11:04:10 2003 @@ -17,13 +17,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: domerrorhandler.c,v 1.2 2003/06/10 20:03:27 imajes Exp $ */ +/* $Id: domerrorhandler.c,v 1.3 2003/08/22 15:04:10 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" +#if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" @@ -51,3 +52,4 @@ DOM_NOT_IMPLEMENTED(); } /* }}} end dom_domerrorhandler_handle_error */ +#endif Index: php-src/ext/dom/domexception.c diff -u php-src/ext/dom/domexception.c:1.2 php-src/ext/dom/domexception.c:1.3 --- php-src/ext/dom/domexception.c:1.2 Tue Jun 10 16:03:27 2003 +++ php-src/ext/dom/domexception.c Fri Aug 22 11:04:10 2003 @@ -17,13 +17,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: domexception.c,v 1.2 2003/06/10 20:03:27 imajes Exp $ */ +/* $Id: domexception.c,v 1.3 2003/08/22 15:04:10 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" +#if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" @@ -110,3 +111,4 @@ EG(exception) = dom_exception; } /* }}} end php_dom_throw_error */ +#endif Index: php-src/ext/dom/domimplementation.c diff -u php-src/ext/dom/domimplementation.c:1.7 php-src/ext/dom/domimplementation.c:1.8 --- php-src/ext/dom/domimplementation.c:1.7 Sun Aug 10 16:39:58 2003 +++ php-src/ext/dom/domimplementation.c Fri Aug 22 11:04:10 2003 @@ -17,13 +17,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: domimplementation.c,v 1.7 2003/08/10 20:39:58 helly Exp $ */ +/* $Id: domimplementation.c,v 1.8 2003/08/22 15:04:10 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" +#if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" /* @@ -235,3 +236,4 @@ DOM_NOT_IMPLEMENTED(); } /* }}} end dom_domimplementation_get_feature */ +#endif Index: php-src/ext/dom/domimplementationlist.c diff -u php-src/ext/dom/domimplementationlist.c:1.2 php-src/ext/dom/domimplementationlist.c:1.3 --- php-src/ext/dom/domimplementationlist.c:1.2 Tue Jun 10 16:03:27 2003 +++ php-src/ext/dom/domimplementationlist.c Fri Aug 22 11:04:10 2003 @@ -17,13 +17,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: domimplementationlist.c,v 1.2 2003/06/10 20:03:27 imajes Exp $ */ +/* $Id: domimplementationlist.c,v 1.3 2003/08/22 15:04:10 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" +#if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" @@ -67,3 +68,4 @@ DOM_NOT_IMPLEMENTED(); } /* }}} end dom_domimplementationlist_item */ +#endif Index: php-src/ext/dom/domimplementationsource.c diff -u php-src/ext/dom/domimplementationsource.c:1.2 php-src/ext/dom/domimplementationsource.c:1.3 --- php-src/ext/dom/domimplementationsource.c:1.2 Tue Jun 10 16:03:27 2003 +++ php-src/ext/dom/domimplementationsource.c Fri Aug 22 11:04:10 2003 @@ -17,13 +17,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: domimplementationsource.c,v 1.2 2003/06/10 20:03:27 imajes Exp $ */ +/* $Id: domimplementationsource.c,v 1.3 2003/08/22 15:04:10 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" +#if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" @@ -63,3 +64,4 @@ DOM_NOT_IMPLEMENTED(); } /* }}} end dom_domimplementationsource_get_domimplementations */ +#endif Index: php-src/ext/dom/domlocator.c diff -u php-src/ext/dom/domlocator.c:1.2 php-src/ext/dom/domlocator.c:1.3 --- php-src/ext/dom/domlocator.c:1.2 Tue Jun 10 16:03:27 2003 +++ php-src/ext/dom/domlocator.c Fri Aug 22 11:04:10 2003 @@ -17,13 +17,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: domlocator.c,v 1.2 2003/06/10 20:03:27 imajes Exp $ */ +/* $Id: domlocator.c,v 1.3 2003/08/22 15:04:10 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" +#if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" @@ -119,3 +120,4 @@ /* }}} */ +#endif Index: php-src/ext/dom/domstringlist.c diff -u php-src/ext/dom/domstringlist.c:1.2 php-src/ext/dom/domstringlist.c:1.3 --- php-src/ext/dom/domstringlist.c:1.2 Tue Jun 10 16:03:27 2003 +++ php-src/ext/dom/domstringlist.c Fri Aug 22 11:04:10 2003 @@ -17,13 +17,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: domstringlist.c,v 1.2 2003/06/10 20:03:27 imajes Exp $ */ +/* $Id: domstringlist.c,v 1.3 2003/08/22 15:04:10 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" +#if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" @@ -67,3 +68,4 @@ DOM_NOT_IMPLEMENTED(); } /* }}} end dom_domstringlist_item */ +#endif Index: php-src/ext/dom/element.c diff -u php-src/ext/dom/element.c:1.11 php-src/ext/dom/element.c:1.12 --- php-src/ext/dom/element.c:1.11 Mon Aug 11 20:55:58 2003 +++ php-src/ext/dom/element.c Fri Aug 22 11:04:10 2003 @@ -17,13 +17,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: element.c,v 1.11 2003/08/12 00:55:58 iliaa Exp $ */ +/* $Id: element.c,v 1.12 2003/08/22 15:04:10 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" +#if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" @@ -834,3 +835,5 @@ DOM_NOT_IMPLEMENTED(); } /* }}} end dom_element_set_id_attribute_node */ + +#endif Index: php-src/ext/dom/entity.c diff -u php-src/ext/dom/entity.c:1.3 php-src/ext/dom/entity.c:1.4 --- php-src/ext/dom/entity.c:1.3 Mon Jul 7 15:37:32 2003 +++ php-src/ext/dom/entity.c Fri Aug 22 11:04:10 2003 @@ -17,13 +17,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: entity.c,v 1.3 2003/07/07 19:37:32 rrichards Exp $ */ +/* $Id: entity.c,v 1.4 2003/08/22 15:04:10 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" +#if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" @@ -179,4 +180,4 @@ /* }}} */ - +#endif Index: php-src/ext/dom/entityreference.c diff -u php-src/ext/dom/entityreference.c:1.3 php-src/ext/dom/entityreference.c:1.4 --- php-src/ext/dom/entityreference.c:1.3 Tue Jun 10 16:03:27 2003 +++ php-src/ext/dom/entityreference.c Fri Aug 22 11:04:10 2003 @@ -17,13 +17,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: entityreference.c,v 1.3 2003/06/10 20:03:27 imajes Exp $ */ +/* $Id: entityreference.c,v 1.4 2003/08/22 15:04:10 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" +#if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" @@ -76,3 +77,4 @@ } /* }}} end dom_entityreference_entityreference */ +#endif Index: php-src/ext/dom/namednodemap.c diff -u php-src/ext/dom/namednodemap.c:1.2 php-src/ext/dom/namednodemap.c:1.3 --- php-src/ext/dom/namednodemap.c:1.2 Tue Jun 10 16:03:27 2003 +++ php-src/ext/dom/namednodemap.c Fri Aug 22 11:04:10 2003 @@ -17,13 +17,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: namednodemap.c,v 1.2 2003/06/10 20:03:27 imajes Exp $ */ +/* $Id: namednodemap.c,v 1.3 2003/08/22 15:04:10 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" +#if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" @@ -139,3 +140,4 @@ DOM_NOT_IMPLEMENTED(); } /* }}} end dom_namednodemap_remove_named_item_ns */ +#endif Index: php-src/ext/dom/namelist.c diff -u php-src/ext/dom/namelist.c:1.2 php-src/ext/dom/namelist.c:1.3 --- php-src/ext/dom/namelist.c:1.2 Tue Jun 10 16:03:27 2003 +++ php-src/ext/dom/namelist.c Fri Aug 22 11:04:10 2003 @@ -17,13 +17,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: namelist.c,v 1.2 2003/06/10 20:03:27 imajes Exp $ */ +/* $Id: namelist.c,v 1.3 2003/08/22 15:04:10 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" +#if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" @@ -79,3 +80,4 @@ DOM_NOT_IMPLEMENTED(); } /* }}} end dom_namelist_get_namespace_uri */ +#endif Index: php-src/ext/dom/node.c diff -u php-src/ext/dom/node.c:1.9 php-src/ext/dom/node.c:1.10 --- php-src/ext/dom/node.c:1.9 Sun Jul 27 13:57:06 2003 +++ php-src/ext/dom/node.c Fri Aug 22 11:04:10 2003 @@ -17,13 +17,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: node.c,v 1.9 2003/07/27 17:57:06 rrichards Exp $ */ +/* $Id: node.c,v 1.10 2003/08/22 15:04:10 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" +#if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" @@ -1398,3 +1399,4 @@ DOM_NOT_IMPLEMENTED(); } /* }}} end dom_node_get_user_data */ +#endif Index: php-src/ext/dom/nodelist.c diff -u php-src/ext/dom/nodelist.c:1.2 php-src/ext/dom/nodelist.c:1.3 --- php-src/ext/dom/nodelist.c:1.2 Tue Jun 10 16:03:27 2003 +++ php-src/ext/dom/nodelist.c Fri Aug 22 11:04:10 2003 @@ -17,13 +17,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: nodelist.c,v 1.2 2003/06/10 20:03:27 imajes Exp $ */ +/* $Id: nodelist.c,v 1.3 2003/08/22 15:04:10 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" +#if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" @@ -67,3 +68,4 @@ DOM_NOT_IMPLEMENTED(); } /* }}} end dom_nodelist_item */ +#endif Index: php-src/ext/dom/notation.c diff -u php-src/ext/dom/notation.c:1.3 php-src/ext/dom/notation.c:1.4 --- php-src/ext/dom/notation.c:1.3 Mon Jul 7 15:37:32 2003 +++ php-src/ext/dom/notation.c Fri Aug 22 11:04:10 2003 @@ -17,13 +17,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: notation.c,v 1.3 2003/07/07 19:37:32 rrichards Exp $ */ +/* $Id: notation.c,v 1.4 2003/08/22 15:04:10 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" +#if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" @@ -86,4 +87,4 @@ /* }}} */ - +#endif Index: php-src/ext/dom/php_dom.c diff -u php-src/ext/dom/php_dom.c:1.26 php-src/ext/dom/php_dom.c:1.27 --- php-src/ext/dom/php_dom.c:1.26 Wed Aug 20 14:58:03 2003 +++ php-src/ext/dom/php_dom.c Fri Aug 22 11:04:10 2003 @@ -18,19 +18,18 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_dom.c,v 1.26 2003/08/20 18:58:03 rrichards Exp $ */ +/* $Id: php_dom.c,v 1.27 2003/08/22 15:04:10 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" +#if HAVE_LIBXML && HAVE_DOM #include "ext/standard/php_rand.h" #include "php_dom.h" #include "dom_ce.h" #include "dom_properties.h" - -#if HAVE_DOM #include "ext/standard/info.h" #define PHP_XPATH 1 Index: php-src/ext/dom/processinginstruction.c diff -u php-src/ext/dom/processinginstruction.c:1.4 php-src/ext/dom/processinginstruction.c:1.5 --- php-src/ext/dom/processinginstruction.c:1.4 Mon Jul 7 15:37:32 2003 +++ php-src/ext/dom/processinginstruction.c Fri Aug 22 11:04:10 2003 @@ -17,13 +17,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: processinginstruction.c,v 1.4 2003/07/07 19:37:32 rrichards Exp $ */ +/* $Id: processinginstruction.c,v 1.5 2003/08/22 15:04:10 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" +#if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" @@ -135,4 +136,4 @@ /* }}} */ - +#endif Index: php-src/ext/dom/string_extend.c diff -u php-src/ext/dom/string_extend.c:1.2 php-src/ext/dom/string_extend.c:1.3 --- php-src/ext/dom/string_extend.c:1.2 Tue Jun 10 16:03:27 2003 +++ php-src/ext/dom/string_extend.c Fri Aug 22 11:04:10 2003 @@ -17,13 +17,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: string_extend.c,v 1.2 2003/06/10 20:03:27 imajes Exp $ */ +/* $Id: string_extend.c,v 1.3 2003/08/22 15:04:10 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" +#if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" @@ -63,3 +64,4 @@ DOM_NOT_IMPLEMENTED(); } /* }}} end dom_string_extend_find_offset32 */ +#endif Index: php-src/ext/dom/text.c diff -u php-src/ext/dom/text.c:1.11 php-src/ext/dom/text.c:1.12 --- php-src/ext/dom/text.c:1.11 Mon Jul 7 15:37:32 2003 +++ php-src/ext/dom/text.c Fri Aug 22 11:04:10 2003 @@ -17,13 +17,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: text.c,v 1.11 2003/07/07 19:37:32 rrichards Exp $ */ +/* $Id: text.c,v 1.12 2003/08/22 15:04:10 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" +#if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" #include "dom_ce.h" @@ -188,3 +189,4 @@ DOM_NOT_IMPLEMENTED(); } /* }}} end dom_text_replace_whole_text */ +#endif Index: php-src/ext/dom/typeinfo.c diff -u php-src/ext/dom/typeinfo.c:1.2 php-src/ext/dom/typeinfo.c:1.3 --- php-src/ext/dom/typeinfo.c:1.2 Tue Jun 10 16:03:27 2003 +++ php-src/ext/dom/typeinfo.c Fri Aug 22 11:04:10 2003 @@ -17,13 +17,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: typeinfo.c,v 1.2 2003/06/10 20:03:27 imajes Exp $ */ +/* $Id: typeinfo.c,v 1.3 2003/08/22 15:04:10 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" +#if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" @@ -70,4 +71,4 @@ /* }}} */ - +#endif Index: php-src/ext/dom/userdatahandler.c diff -u php-src/ext/dom/userdatahandler.c:1.2 php-src/ext/dom/userdatahandler.c:1.3 --- php-src/ext/dom/userdatahandler.c:1.2 Tue Jun 10 16:03:27 2003 +++ php-src/ext/dom/userdatahandler.c Fri Aug 22 11:04:10 2003 @@ -17,13 +17,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: userdatahandler.c,v 1.2 2003/06/10 20:03:27 imajes Exp $ */ +/* $Id: userdatahandler.c,v 1.3 2003/08/22 15:04:10 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" +#if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" @@ -51,3 +52,4 @@ DOM_NOT_IMPLEMENTED(); } /* }}} end dom_userdatahandler_handle */ +#endif Index: php-src/ext/dom/xpath.c diff -u php-src/ext/dom/xpath.c:1.1 php-src/ext/dom/xpath.c:1.2 --- php-src/ext/dom/xpath.c:1.1 Thu Jul 24 09:18:40 2003 +++ php-src/ext/dom/xpath.c Fri Aug 22 11:04:10 2003 @@ -17,13 +17,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: xpath.c,v 1.1 2003/07/24 13:18:40 rrichards Exp $ */ +/* $Id: xpath.c,v 1.2 2003/08/22 15:04:10 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" +#if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" @@ -165,3 +166,4 @@ #endif /* LIBXML_XPATH_ENABLED */ /* }}} */ +#endif
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php