From 8f2b0e64d74cf7e350454b9f230f243d9098e2f2 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Mon, 4 May 2015 16:07:27 +0200 Subject: [PATCH] add config vars for phpize where conf opts aren't enabled --- win32/build/confutils.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/win32/build/confutils.js b/win32/build/confutils.js index e9c6e16fa5..2005571f36 100644 --- a/win32/build/confutils.js +++ b/win32/build/confutils.js @@ -1987,6 +1987,14 @@ function generate_phpize() CJ.WriteLine("var PHP_ZTS =" + '"' + PHP_ZTS + '"'); CJ.WriteLine("var PHP_DLL_LIB =" + '"' + get_define('PHPLIB') + '"'); CJ.WriteLine("var PHP_DLL =" + '"' + get_define('PHPDLL') + '"'); + + /* The corresponding configure options aren't enabled through phpize, + thus these dummy declarations are required. */ + CJ.WriteLine("var PHP_ANALYZER =" + '"no"'); + CJ.WriteLine("var PHP_PGO =" + '"no"'); + CJ.WriteLine("var PHP_PGI =" + '"no"'); + CJ.WriteLine("var PHP_ALL_SHARED =" + '"no"'); + CJ.WriteBlankLines(1); CJ.Close(); } -- 2.40.0