1: // vim:ft=javascript
2: // $Id: config.w32,v 1.1 2012/02/21 23:48:06 misho Exp $
3:
4: ARG_ENABLE('nsapi', 'Build NSAPI for Netscape/iPlanet/SunONE webservers', 'no');
5:
6: ARG_WITH('nsapi-includes', 'Where to find NSAPI headers', null);
7: ARG_WITH('nsapi-libs', 'Where to find NSAPI libraries', null);
8:
9: if (PHP_NSAPI != "no") {
10: if (PHP_ZTS == "no") {
11: WARNING("NSAPI module requires an --enable-zts build of PHP");
12: PHP_NSAPI = "no"
13: } else if (CHECK_HEADER_ADD_INCLUDE("nsapi.h", "CFLAGS_NSAPI",
14: PHP_NSAPI + ';' + PHP_NSAPI_INCLUDES) &&
15: CHECK_LIB("ns-httpd*.lib", "nsapi", PHP_NSAPI + ";" + PHP_NSAPI_LIBS)) {
16: SAPI('nsapi', 'nsapi.c', 'php' + PHP_VERSION + 'nsapi.dll', '/D XP_WIN32 ');
17: } else {
18: WARNING("Could not find NSAPI headers/libraries");
19: }
20: }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>