summaryrefslogtreecommitdiff
path: root/sapi/activescript/config.w32
blob: 1448cb2398bb2eda3a3b4d5a3af30a1b79ebb9e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// vim:ft=javascript
// $Id$

ARG_ENABLE('activescript', 'Build ActiveScript version of PHP', 'no');

if (PHP_ACTIVESCRIPT == "yes") {
	if (PHP_ZTS == "no") {
		ERROR("ActiveScript module requires an --enable-zts build of PHP");
	}

	SAPI('activescript', 'classfactory.cpp php5activescript.c scriptengine.cpp', 'php' + PHP_VERSION + 'activescript.dll', '/D PHP5ISAPI_EXPORTS');
	ADD_FLAG('LDFLAGS_ACTIVESCRIPT', 'oleaut32.lib ole32.lib user32.lib advapi32.lib /DEF:' + configure_module_dirname + '\\php5activescript.def');
}