Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (29 sloc) 1.04 KB
// $Id: config.w32,v 1.0 2009/03/03 14:28:00 fdintino Exp $
// vim:ft=javascript
ARG_WITH("xydiff", "XyDiff support", "no");
if (PHP_XYDIFF != "no") {
if (!CHECK_LIB("libxydiff.lib", "xydiff")) {
WARNING("Could not find libxydiff.lib");
}
else if (!CHECK_HEADER_ADD_INCLUDE("xydiff/XID_DOMDocument.hpp", "CFLAGS_XYDIFF")) {
WARNING("Could not find header XID_DOMDocument.hpp");
}
else if (!CHECK_HEADER_ADD_INCLUDE("libxml/parser.h", "CFLAGS_XYDIFF")) {
WARNING("Could not find header libxml/parser.h");
}
else if (!CHECK_LIB("xerces-c_3.lib", "xydiff")) {
WARNING("Could not find xerces-c_3.lib");
}
else if (!CHECK_HEADER_ADD_INCLUDE("xercesc/dom/DOM.hpp", "CFLAGS_XYDIFF")) {
WARNING("Could not find header xercesc/dom/DOM.hpp");
}
else {
var cflags = "/EHsc";
AC_DEFINE("HAVE_XYDIFF", 1, "XyDiff support");
EXTENSION("xydiff", "xydiff.cpp \
xydiffprocessor.cpp \
xiddomdocument.cpp \
xydiff_error_handler.cpp \
xydelta.cpp", 1, cflags);
}
}