diff options
| author | Pierre Joye <pajoye@php.net> | 2009-03-20 18:49:37 +0000 |
|---|---|---|
| committer | Pierre Joye <pajoye@php.net> | 2009-03-20 18:49:37 +0000 |
| commit | afc5630357acdb053432ddba3322e7fe491877c9 (patch) | |
| tree | 9ea41d022c4057da4211891ac475869da78a6bd0 /sapi/nsapi | |
| parent | 689c2f9ab2de92a083f42cab3427d64dc5261aa1 (diff) | |
| download | php-git-afc5630357acdb053432ddba3322e7fe491877c9.tar.gz | |
- disable it when ZTS is disabled
Diffstat (limited to 'sapi/nsapi')
| -rw-r--r-- | sapi/nsapi/config.w32 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sapi/nsapi/config.w32 b/sapi/nsapi/config.w32 index 3522eb7d56..17b86d20e4 100644 --- a/sapi/nsapi/config.w32 +++ b/sapi/nsapi/config.w32 @@ -9,6 +9,7 @@ ARG_WITH('nsapi-libs', 'Where to find NSAPI libraries', null); if (PHP_NSAPI != "no") { if (PHP_ZTS == "no") { WARNING("NSAPI module requires an --enable-zts build of PHP"); + PHP_NSAPI = "no" } else if (CHECK_HEADER_ADD_INCLUDE("nsapi.h", "CFLAGS_NSAPI", PHP_NSAPI + ';' + PHP_NSAPI_INCLUDES) && CHECK_LIB("ns-httpd*.lib", "nsapi", PHP_NSAPI + ";" + PHP_NSAPI_LIBS)) { |
