File: config.w32

package info (click to toggle)
php5 5.2.0%2Bdfsg-8%2Betch16
  • links: PTS
  • area: main
  • in suites: etch
  • size: 58,940 kB
  • ctags: 45,388
  • sloc: ansic: 533,605; sh: 17,835; php: 11,336; cpp: 4,289; xml: 3,809; yacc: 2,446; lex: 2,174; makefile: 1,150; tcl: 1,128; awk: 693; perl: 71; sql: 22; pascal: 15
file content (26 lines) | stat: -rw-r--r-- 1,041 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// vim:ft=javascript
// $Id: config.w32,v 1.2.4.1.2.2 2006/09/28 09:37:52 dmitry Exp $

ARG_ENABLE('cgi', 'Build CGI version of PHP', 'yes');
ARG_ENABLE('fastcgi', 'Build FastCGI support into CGI binary', 'yes');
ARG_ENABLE('path-info-check',
	'If this is disabled, paths such as /info.php/test?a=b will fail to work', 'yes');

ARG_ENABLE("force-cgi-redirect", "Enable the security check for internal \
server redirects.  You should use this if you are running the CGI \
version with Apache.", "yes");

AC_DEFINE("FORCE_CGI_REDIRECT", PHP_FORCE_CGI_REDIRECT == "yes" ? 1 : 0, "CGI redirect mode");
AC_DEFINE("ENABLE_PATHINFO_CHECK", PHP_PATH_INFO_CHECK == "yes" ? 1 : 0, "Pathinfo check");

if (PHP_CGI == "yes") {
	AC_DEFINE('PHP_FASTCGI', PHP_FASTCGI == "yes" ? 1 : 0);
	ADD_FLAG("LDFLAGS_CGI", "/stack:8388608");

	if (PHP_FASTCGI == "yes") {
		SAPI('cgi', 'cgi_main.c getopt.c fastcgi.c', 'php-cgi.exe');
		ADD_FLAG('LIBS_CGI', 'ws2_32.lib kernel32.lib advapi32.lib');
	} else {
		SAPI('cgi', 'cgi_main.c getopt.c', 'php-cgi.exe');
	}
}