-
Notifications
You must be signed in to change notification settings - Fork 39
/
config.w32
21 lines (19 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
// $Id$
// vim:ft=javascript
ARG_WITH("ui", "for ui support", "no");
if (PHP_UI != "no") {
if (CHECK_HEADER_ADD_INCLUDE("ui.h", "CFLAGS_UI", PHP_UI + ";" + configure_module_dirname) &&
CHECK_LIB("libui.lib", "ui", PHP_UI) &&
CHECK_HEADER_ADD_INCLUDE("pthread.h", "CFLAGS_UI", PHP_UI + ";" + configure_module_dirname) &&
CHECK_HEADER_ADD_INCLUDE("sched.h", "CFLAGS_UI", PHP_UI + ";" + configure_module_dirname) &&
CHECK_LIB("pthreadVC2.lib", "ui", PHP_UI)) {
EXTENSION("ui", "ui.c", PHP_UI_SHARED, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 /I" + configure_module_dirname);
ADD_SOURCES(
configure_module_dirname + '/classes',
"window.c box.c form.c grid.c button.c cbutton.c check.c combo.c control.c ecombo.c entry.c group.c item.c label.c menu.c multi.c picker.c progress.c radio.c separator.c slider.c spin.c tab.c point.c size.c area.c pen.c path.c color.c brush.c stroke.c matrix.c descriptor.c font.c layout.c exceptions.c executor.c",
"ui"
);
} else {
WARNING("libui not found; libraries and headers not found");
}
}