php-src/ext/xml/config.w32
Pierre Joye 41976c7ab6 - do not enable an ext when a lib/header fails
- use MESSAGE in mysql*
- use correct CFLAGS for ext/libxml headers
2008-06-23 18:40:29 +00:00

18 lines
427 B
JavaScript

// $Id$
// vim:ft=javascript
ARG_WITH("xml", "XML support", "yes");
if (PHP_XML == "yes") {
if (PHP_LIBXML == "yes"
&& ADD_EXTENSION_DEP('xml', 'libxml')) {
EXTENSION("xml", "xml.c compat.c");
AC_DEFINE("HAVE_XML", 1, "XML support");
if (!PHP_XML_SHARED) {
ADD_FLAG("CFLAGS_XML", "/D LIBXML_STATIC ");
}
} else {
WARNING("xml support can't be enabled, libraries or headers are missing")
PHP_ZLIB = "no"
}
}