From: Pierre Joye Date: Fri, 26 Dec 2008 14:05:05 +0000 (+0000) Subject: - be sure we define the deps so the right exts are built before (dom symbol error) X-Git-Tag: php-5.3.0beta1~376 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bfa5044bb3683ddaa40dfa746c30389eef46483f;p=php - be sure we define the deps so the right exts are built before (dom symbol error) --- diff --git a/ext/xsl/config.w32 b/ext/xsl/config.w32 index 37da4bd630..1b3864dd08 100644 --- a/ext/xsl/config.w32 +++ b/ext/xsl/config.w32 @@ -4,7 +4,9 @@ ARG_WITH("xsl", "xsl support", "no"); if (PHP_XSL != "no") { - if (PHP_DOM == "yes" && PHP_LIBXML == "yes") { + if (PHP_DOM == "yes" && PHP_LIBXML == "yes" + && ADD_EXTENSION_DEP('xsl', 'libxml') + && ADD_EXTENSION_DEP('xsl', 'dom')) { var ext_xsl_lib_found = false; var ext_exslt_lib_found = false; @@ -37,7 +39,7 @@ if (PHP_XSL != "no") { ADD_FLAG("LDFLAGS_XSL", "/nodefaultlib:msvcrt"); } } - ADD_EXTENSION_DEP('xsl', 'libxml'); + } else { WARNING("xsl not enabled; libraries and headers not found"); }