File: config.w32

package info (click to toggle)
php5 5.2.0-8%2Betch1
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 58,836 kB
  • ctags: 45,575
  • sloc: ansic: 535,107; sh: 17,819; php: 11,336; cpp: 4,289; xml: 3,861; yacc: 2,446; lex: 2,174; makefile: 1,150; tcl: 1,128; awk: 693; perl: 71; sql: 22; pascal: 15
file content (15 lines) | stat: -rw-r--r-- 380 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// $Id: config.w32,v 1.1 2003/12/19 17:00:12 wez Exp $
// vim:ft=javascript

ARG_ENABLE("sockets", "SOCKETS support", "no");

if (PHP_SOCKETS != "no") {

	if (CHECK_LIB("ws2_32.lib", "sockets", PHP_SOCKETS)) {
		EXTENSION('sockets', 'sockets.c php_sockets_win.c');
		AC_DEFINE('HAVE_SOCKETS', 1);
	} else {
		WARNING("sockets not enabled; libraries and headers not found");
	}
}