From afc5630357acdb053432ddba3322e7fe491877c9 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Fri, 20 Mar 2009 18:49:37 +0000 Subject: [PATCH] - disable it when ZTS is disabled --- sapi/nsapi/config.w32 | 1 + 1 file changed, 1 insertion(+) 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)) { -- 2.50.1