diff options
| author | Uwe Schindler <thetaphi@php.net> | 2003-12-05 00:00:31 +0000 |
|---|---|---|
| committer | Uwe Schindler <thetaphi@php.net> | 2003-12-05 00:00:31 +0000 |
| commit | 6abf2179c1d3c17ffe64072678935481d76f67ab (patch) | |
| tree | 4aa2c20aac385edd819249ba5dcc6064330ba09c /sapi | |
| parent | 4f14ee67fb8c4860e2eec2291e922a52ffc93f47 (diff) | |
| download | php-git-6abf2179c1d3c17ffe64072678935481d76f67ab.tar.gz | |
First version... Wez: can you check this...
Diffstat (limited to 'sapi')
| -rw-r--r-- | sapi/nsapi/config.w32 | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sapi/nsapi/config.w32 b/sapi/nsapi/config.w32 new file mode 100644 index 0000000000..61bbcd4008 --- /dev/null +++ b/sapi/nsapi/config.w32 @@ -0,0 +1,28 @@ +// vim:ft=javascript +// $Id$ + +ARG_ENABLE('nsapi', 'Build NSAPI for Netscape/iPlanet/SunONE webservers', 'no'); + +ARG_WITH('nsapi-includes', 'Where to find NSAPI headers', null); +ARG_WITH('nsapi-libs', 'Where to find NSAPI libraries', null); + +if (PHP_NSAPI == "yes") { + + if (!CHECK_HEADER_ADD_INCLUDE("nsapi.h", "CFLAGS_NSAPI", php_usual_include_suspects + ";" + PHP_NSAPI_INCLUDES)) { + ERROR("Could not find NSAPI headers"); + } + + if (!CHECK_LIB("ns-httpd40.lib", "nsapi", php_usual_lib_suspects + ";" + PHP_NSAPI_LIBS)) { + if (!CHECK_LIB("ns-httpd36.lib", "nsapi", php_usual_lib_suspects + ";" + PHP_NSAPI_LIBS)) { + if (!CHECK_LIB("ns-httpd35.lib", "nsapi", php_usual_lib_suspects + ";" + PHP_NSAPI_LIBS)) { + if (!CHECK_LIB("ns-httpd30.lib", "nsapi", php_usual_lib_suspects + ";" + PHP_NSAPI_LIBS)) { + ERROR("Could not find NSAPI libraries"); + } + } + } + } + + SAPI('nsapi', 'nsapi.c', + 'php' + PHP_VERSION + 'nsapi.dll', + '/D "XP_WIN32" /D "php' + PHP_VERSION + 'nsapi_EXPORTS"'); +} |
