xref: /PHP-5.6/sapi/aolserver/config.w32 (revision 331dc792)
1// vim:ft=javascript
2// $Id$
3
4ARG_WITH('aolserver', 'Build AOLserver support', 'no');
5
6if (PHP_AOLSERVER != "no") {
7	if (PHP_ZTS == "no") {
8		WARNING("AOLSERVER module requires an --enable-zts build of PHP");
9	} else {
10		if (CHECK_HEADER_ADD_INCLUDE("ns.h", "CFLAGS_AOLSERVER", PHP_AOLSERVER) && CHECK_LIB("nsd.lib", "aolserver", PHP_AOLSERVER)) {
11			SAPI('aolserver', 'aolserver.c', 'php' + PHP_VERSION + 'aolserver.so', '/D XP_WIN32 ');
12		} else {
13			WARNING("sapi/aolserver not enabled: Could not find libraries/headers");
14		}
15	}
16}
17