]> granicus.if.org Git - php/commitdiff
add config vars for phpize where conf opts aren't enabled
authorAnatol Belski <ab@php.net>
Mon, 4 May 2015 14:07:27 +0000 (16:07 +0200)
committerAnatol Belski <ab@php.net>
Mon, 4 May 2015 14:07:27 +0000 (16:07 +0200)
win32/build/confutils.js

index e9c6e16fa5359d73f23e0e2607ee6681d4024e64..2005571f360df6469701563943ffd6693a071501 100644 (file)
@@ -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();
 }