-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.w32
30 lines (29 loc) · 1.04 KB
/
config.w32
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// $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);
}
}