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

ARG_ENABLE('isapi', 'Build ISAPI version of PHP', 'no');

if (PHP_ISAPI == "yes") {
	if (PHP_ZTS == "no") {
		WARNING("ISAPI module requires an --enable-zts build of PHP");
	} else {
		SAPI('isapi', 'php7isapi.c', 'php' + PHP_VERSION + 'isapi.dll', '/D PHP7ISAPI_EXPORTS');
		ADD_FLAG('LDFLAGS_ISAPI', '/DEF:sapi\\isapi\\php7isapi.def');
	}
}