rem: STDOUT.WriteLine("Enabling ext/" + extname + " [shared]"); 
add: STDOUT.WriteLine("Enabling extension " + configure_module_dirname + " [shared]"); 
context: function EXTENSION(extname, file_list, shared, cflags){	var objs = null;	var EXT = extname.toUpperCase();	var dllname = false;	if (shared == null) {		eval("shared = PHP_" + EXT + "_SHARED;");	}	if (cflags == null) {		cflags = "";	}	if (shared) {		STDOUT.WriteLine("Enabling ext/" + extname + " [shared]");		cflags = "/D COMPILE_DL_" + EXT + " /D " + EXT + "_EXPORTS=1 " + cflags;		ADD_FLAG("CFLAGS_PHP", "/D COMPILE_DL_" + EXT);	} else {		STDOUT.WriteLine("Enabling ext/" + extname);	}	MFO.WriteBlankLines(1);	MFO.WriteLine("# objects for EXT " + extname);	MFO.WriteBlankLines(1);	ADD_SOURCES("ext/" + extname, file_list, extname);		MFO.WriteBlankLines(1);	if (shared) {		dllname = "php_" + extname + ".dll";		var resname = generate_version_info_resource(dllname, "ext/" + extname);			MFO.WriteLine("$(BUILD_DIR)\\" + dllname + ": $(" + EXT + "_GLOBAL_OBJS) $(BUILD_DIR)\\$(PHPLIB) $(BUILD_DIR)\\" + resname);		MFO.WriteLine("\t$(LD) /out:$(BUILD_DIR)\\" + dllname + " $(DLL_LDFLAGS) $(LDFLAGS) $(LDFLAGS_" + EXT + ") $(" + EXT + "_GLOBAL_OBJS) $(BUILD_DIR)\\$(PHPLIB) $(LIBS_" + EXT + ") $(LIBS) $(BUILD_DIR)\\" + resname);		MFO.WriteBlankLines(1);		ADD_FLAG("EXT_TARGETS", dllname);		MFO.WriteLine(dllname + ": $(BUILD_DIR)\\" + dllname);		MFO.WriteLine("\t@echo EXT " + extname + " build complete");		MFO.WriteBlankLines(1);				DEFINE('CFLAGS_' + EXT + '_OBJ', '$(CFLAGS_' + EXT + ')');	} else {		ADD_FLAG("STATIC_EXT_OBJS", "$(" + EXT + "_GLOBAL_OBJS)");		ADD_FLAG("STATIC_EXT_LIBS", "$(LIBS_" + EXT + ")");		ADD_FLAG("STATIC_EXT_LDFLAGS", "$(LDFLAGS_" + EXT + ")");		ADD_FLAG("STATIC_EXT_CFLAGS", "$(CFLAGS_" + EXT + ")");		/* find the header that declars the module pointer,		 * so we can include it in internal_functions.c */		var ext_dir = FSO.GetFolder("ext/" + extname);		var fc = new Enumerator(ext_dir.Files);		var re = /\.h$/;		var s, c;		for (; !fc.atEnd(); fc.moveNext()) {			s = fc.item() + "";			if (s.match(re)) {				c = file_get_contents(s);				if (c.match("phpext_")) {					extension_include_code += '#include "ext/' + extname + '/' + FSO.GetFileName(s) + '"\r\n';				}			}		}			extension_module_ptrs += '\tphpext_' + extname + '_ptr,\r\n';			DEFINE('CFLAGS_' + EXT + '_OBJ', '$(CFLAGS_PHP) $(CFLAGS_' + EXT + ')');	}	ADD_FLAG("CFLAGS_" + EXT, cflags);}
meta: 631	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/631/a5cf8362603d1f0a40ce1e0ccbf326a28e741777/confutils.js/clean/win32/build/confutils.js