// vim:ft=javascript

ARG_ENABLE('cgi', 'Build CGI version of PHP', 'yes');

if (PHP_CGI == "yes") {
	ADD_FLAG("LDFLAGS_CGI", "/stack:67108864");
	SAPI('cgi', 'cgi_main.c', 'php-cgi.exe', '/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1');
	ADD_SOURCES('main', 'fastcgi.c', 'cgi');
	ADD_FLAG('LIBS_CGI', 'ws2_32.lib kernel32.lib advapi32.lib');
}
