On 3/6/06, Christopher Nelson <[EMAIL PROTECTED]> wrote: > That would certainly be the best option long-term. I didn't want to put > any burden on the maintainers of CS, though. The version of > SpiderMonkey that AWS2 uses actually comes out of CS because Brendan > hasn't posted the 1.6 package to the website yet.
Presumably, the burden would involve distributing it pre-built with cs-win32libs, and crafting an appropriate 'configure' check if one doesn't already come with SpiderMonkey. The CS_CHECK_LIBRARY_WITH() macro I wrote for CS's Autoconf stuff, however, is pretty powerful, and generally makes quick work of recognizing external libraries. > One possible note of frustration: there's no config file for mingw or > cygwin builds for SpiderMonkey. The MSVC versions apparently work fine > for MSVC, but you would need to write and maybe submit Makefiles for the > /config directory for those platforms, or else have your own Makefiles > for when you do a cs-win32libs build. I would volunteer to do that, but > I hate Make and I don't really understand Makefiles. Provided that the SpiderMonkey API is plain C with the appropriate __stdcall goop and so on, it should be possible for Frank to build it using MSVC, and then use that single build for Mingw and Cygwin installations; no need to build it separately for those environments. > In any case, this would certainly allow tighter integration with AWS2 > for those apps who chose to include the API in their projects. The > simple notification object that is shared with clients at this point is > somewhat limited in comparison to native integration. This is a somewhat tangental issue. Detecting SpiderMonkey as an external library for use within CS's own AWS2 plugin does not imply that it would be available automatically to client applications. They still would need to detect and link against SpiderMonkey themselves. We can, of course, make the 'configure' check re-usable so that other projects can take advantage of work already performed. -- ES ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Crystal-main mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/crystal-main Unsubscribe: mailto:[EMAIL PROTECTED]
