var PHP_EXTRA_VERSION = "";
var PHP_VERSION_STRING = "5.0.0";
+/* Get version numbers and DEFINE as a string */
function get_version_numbers()
{
var cin = file_get_contents("configure.in");
if (typeof(p) == "string") {
ADD_FLAG(flag_name, '/I "' + p + dir_part_to_add + '" ');
} else if (p == false) {
- /* not found in the defaults or the explicit paths,
+ /* Not found in the defaults or the explicit paths,
* so check the general extra includes; if we find
* it here, no need to add another /I for it as we
* already have it covered, unless we are adding
return p;
}
-/* emits rule to generate version info for a SAPI
+/* Emits rule to generate version info for a SAPI
* or extension. Returns the name of the .res file
* that will be generated */
function generate_version_info_resource(makefiletarget, basename, creditspath, sapi)
/* Check if PGO is enabled for given module. To disable PGO for a particular module,
define a global variable by the following name scheme before SAPI() or EXTENSION() call
- var PHP_MYMODULE_PGO = false; */
+var PHP_MYMODULE_PGO = false; */
function is_pgo_desired(mod)
{
var varname = "PHP_" + mod.toUpperCase() + "_PGO";
for (j=0; j < l; j++) {
var tmax, tmin;
- /*Figure out the max length per column */
+ /* Figure out the max length per column */
tmin = 0;
tmax = 0;
for (k = 0; k < ar_out.length; k++) {
CJ.Close();
}
+/* Generate the Makefile */
function generate_makefile()
{
STDOUT.WriteLine("Generating Makefile");
}
}
-// for snapshot builders, this option will attempt to enable everything
+// For snapshot builders, this option will attempt to enable everything
// and you can then build everything, ignoring fatal errors within a module
// by running "nmake snap"
PHP_SNAPSHOT_BUILD = "no";
ARG_ENABLE('one-shot', 'Optimize for fast build - best for release and snapshot builders, not so hot for edit-and-rebuild hacking', 'no');
}
-
function toolset_option_handle()
{
if ("clang" == PHP_TOOLSET) {
PATH_PROG('mt', WshShell.Environment("Process").Item("PATH"));
}
}
-
+/* Get compiler if the toolset is supported */
function toolset_get_compiler()
{
if (VS_TOOLSET) {