1// vim:ft=javascript 2// $Id$ 3 4ARG_ENABLE('cgi', 'Build CGI version of PHP', 'yes'); 5 6if (PHP_CGI == "yes") { 7 ADD_FLAG("LDFLAGS_CGI", "/stack:67108864"); 8 SAPI('cgi', 'cgi_main.c', 'php-cgi.exe', '/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1'); 9 ADD_SOURCES('main', 'fastcgi.c', 'cgi'); 10 ADD_FLAG('LIBS_CGI', 'ws2_32.lib kernel32.lib advapi32.lib'); 11} 12