// The trailing space is needed to prevent the trailing backslash
// that is part of the build dir flags (CFLAGS_BD_XXX) from being
// seen as a line continuation character
- MF.WriteLine(keys[i] + "=" +
- /* \s+\/ eliminates extra whitespace caused when using \ for string continuation,
- whereby \/ is the start of the next compiler switch */
- trim(configure_subst.Item(keys[i])).replace(/\s+\//gm, " /") + " "
- );
+
+ /* \s+\/ eliminates extra whitespace caused when using \ for string continuation,
+ whereby \/ is the start of the next compiler switch */
+ var val = trim(configure_subst.Item(keys[i])).replace(/\s+\//gm, " /");
+
+ MF.WriteLine(keys[i] + "=" + val + " ");
MF.WriteBlankLines(1);
+
+ /* If static analyze is enabled, add analyzer specific stuff to the Makefile. */
+ handle_analyzer_makefile_flags(MF, keys[i], val);
}
+ if (!MODE_PHPIZE) {
+ var val = "yes" == PHP_TEST_INI ? PHP_TEST_INI_PATH : "";
+ /* Be sure it's done after generate_test_php_ini(). */
+ MF.WriteLine("PHP_TEST_INI_PATH=\"" + val + "\"");
+ }
+
MF.WriteBlankLines(1);
if (MODE_PHPIZE) {
var TF = FSO.OpenTextFile(PHP_DIR + "/script/Makefile.phpize", 1);