php-src/ext/xmlwriter/config.w32

19 lines
516 B
Plaintext
Raw Normal View History

2004-07-14 01:01:30 +08:00
// $Id$
// vim:ft=javascript
2005-12-02 19:01:19 +08:00
ARG_ENABLE("xmlwriter", "XMLWriter support", "yes");
2004-07-14 01:01:30 +08:00
if (PHP_XMLWRITER == "yes" && PHP_LIBXML == "yes") {
if (CHECK_HEADER_ADD_INCLUDE('libxml/xmlwriter.h', 'CFLAGS_XMLWRITER', PHP_XMLWRITER)) {
EXTENSION("xmlwriter", "php_xmlwriter.c");
AC_DEFINE("HAVE_XMLWRITER", 1, "XMLWriter support");
if (!PHP_XMLWRITER_SHARED) {
ADD_FLAG("CFLAGS_XMLWRITER", "/D LIBXML_STATIC");
}
ADD_EXTENSION_DEP('xmlwriter', 'libxml');
} else {
WARNING('Could not find xmlwriter.h');
2004-07-14 01:01:30 +08:00
}
}