File Changes and Ports
Any data displayed on this site is only for archive purposes and starting with March 2019 is not being updated any more.
Original Change
- Commit date/time: 2008-10-29 16:29
- Push date/time: [not found in pushlog]
- Repository: releases/mozilla-1.9.1
- File: configure.in
- Revision: 8c52a9486c8f
- Author: Jim Blandy <jimb@mozilla.org>
- Comment:
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla.<br/> <br/> Give SpiderMonkey its own configure script and top-level Makefile.<br/> Adjust js/src/Makefile as appropriate for life as a stand-alone<br/> makefile, instead of a 'make export; make libs'-style Mozilla tier<br/> makefile. Have the configure script accept '--with-nspr-cflags' and<br/> '--with-nspr-libs' options for using an in-tree NSPR. Also accept<br/> '--with-system-nspr', '--with-nspr-prefix', and<br/> '--with-nspr-exec-prefix' flags for using an installed NSPR. Default<br/> to --disable-jemalloc, assuming we don't have that part of the tree<br/> available; have the top-level configure script pass --enable-jemalloc<br/> as needed.<br/> <br/> Since we no longer have an export phase to copy header files into<br/> dist/include/js before we build the library, we need to be able to<br/> find nanojit.h in the nanojit directory; fix references in<br/> jsbuiltins.h and jstracer.cpp.<br/> <br/> Give SpiderMonkey it its own copies of many of the files from ./config<br/> and ./build. These are all exact copies, except as follows:<br/> <br/> . js/src/config/Makefile.in: js/src only has a subset of<br/> js/src/config, and thus a subset of the makefile targets.<br/> <br/> . js/src/config/autoconf.mk.in: js/src/configure.in has its own make<br/> variables to set, not set by the top-level configure script, so it<br/> needs a custom automake.mk template.<br/> <br/> . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config,<br/> so that we can build without having an NSPR source tree handy.<br/> <br/> Invoke js/src/configure from ./configure, passing the values computed<br/> for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script.<br/> <br/> Treat js/src as a static directory of the js tier, and create a new<br/> config/js (just a Makefile) to be the js tier's non-static directory.<br/> Let js/src/configure generate SpiderMonkey's makefiles, not<br/> ./configure.<br/> <br/> Generate a 'js-config' script, which clients can call to find the<br/> CFLAGS and LIBS values necessary to compile and link against an<br/> installed SpiderMonkey library. Don't include the js-config script in<br/> Macintosh packages.<br/> <br/> Teach client.mk how to rebuild js/src/configure.<br/> <br/> Tell Mercurial to ignore files generated by autoconf in js/src.<br/> <br/> Further work:<br/> <br/> . Right now, callers must define JS_THREADSAFE when #including jsapi.h.<br/> This is fixed in a subsequent patch.<br/> <br/> . js/src/configure is a trimmed copy of ./configure. It could be<br/> trimmed more. - Bug report: 97954
Port Info
- Bug report: 97954
- Repository: comm-central
- Revision: 08cec1de1b42