cvs: php-src /sapi/nsapi config.w32
| From: | Uwe Schindler | Date: | Fri, 05 Dec 2003 00:00:32 +0000 |
| Subject: | cvs: php-src /sapi/nsapi config.w32 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-24937@lists.php.net to get a copy of this message | ||
thetaphi Thu Dec 4 19:00:32 2003 EDT
Added files:
/php-src/sapi/nsapi config.w32
Log:
First version... Wez: can you check this...
Index: php-src/sapi/nsapi/config.w32
+++ php-src/sapi/nsapi/config.w32
// vim:ft=javascript
// $Id: config.w32,v 1.1 2003/12/05 00:00:31 thetaphi Exp $
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"');
}