2
// $Id: config.w32,v 1.4.8.1 2009/03/20 18:49:37 pajoye Exp $
4
ARG_ENABLE('nsapi', 'Build NSAPI for Netscape/iPlanet/SunONE webservers', 'no');
6
ARG_WITH('nsapi-includes', 'Where to find NSAPI headers', null);
7
ARG_WITH('nsapi-libs', 'Where to find NSAPI libraries', null);
9
if (PHP_NSAPI != "no") {
10
if (PHP_ZTS == "no") {
11
WARNING("NSAPI module requires an --enable-zts build of PHP");
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 ');
18
WARNING("Could not find NSAPI headers/libraries");