From 371135fa2ce8a47aaf0353dad2c8eabb62f0268d Mon Sep 17 00:00:00 2001 From: foobar Date: Fri, 17 Jun 2005 11:44:59 +0000 Subject: [PATCH] Use the new dependency system --- ext/xsl/php_xsl.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ext/xsl/php_xsl.c b/ext/xsl/php_xsl.c index d101554558..62d8863d6b 100644 --- a/ext/xsl/php_xsl.c +++ b/ext/xsl/php_xsl.c @@ -43,10 +43,18 @@ function_entry xsl_functions[] = { }; /* }}} */ +static zend_module_dep xsl_deps[] = { + ZEND_MOD_REQUIRED("libxml") + {NULL, NULL, NULL} +}; + /* {{{ xsl_module_entry */ zend_module_entry xsl_module_entry = { -#if ZEND_MODULE_API_NO >= 20010901 +#if ZEND_MODULE_API_NO >= 20050617 + STANDARD_MODULE_HEADER_EX, NULL, + xsl_deps, +#elif ZEND_MODULE_API_NO >= 20010901 STANDARD_MODULE_HEADER, #endif "xsl", -- 2.40.0