From: Pierre Joye Date: Fri, 20 Mar 2009 18:49:37 +0000 (+0000) Subject: - disable it when ZTS is disabled X-Git-Tag: php-5.3.0RC1~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=afc5630357acdb053432ddba3322e7fe491877c9;p=php - disable it when ZTS is disabled --- 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)) {