Since we're no longer using fdlibm, it doesn't make sense to use
fd_copysign as the name of SpiderMonkey's appropriately chosen version
of copysign. js_copysign seems more appropriate.
The Mozilla tree used to optionally use its own math library, fdlibm.
For each standard math function FOO, fdlibm defined its own version
named fd_FOO. The SpiderMonkey sources called the fd_FOO functions
directly. In configurations where fdlibm was not used, jslibmath.h
#defined fd_FOO to expand to FOO, resulting in references to the
standard math library's functions.
Now that fdlibm is not used, even optionally, those fd_ prefixes are
unnecessary. However, some code is still needed to choose the right
copysign function, so jslibmath.h still has a reason to exist.
We'd like the SpiderMonkey configure script to generate a header file
named js-config.h to hold #definitions chosen at configure time that
affect the SpiderMonkey API, like JS_THREADSAFE. However, that name
is very similar to that of an existing header file, jsconfig.h. This
patch renames the existing header file, and updates all references to
it.
--HG--
rename : js/src/jsconfig.h => js/src/jsversion.h