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-09-05 19:19
- Push date/time: [not found in pushlog]
- Repository: releases/mozilla-1.9.1
- File: configure.in
- Revision: 4611778ba22a
- Author: Jim Blandy <jimb@mozilla.org>
- Comment:
Bug 97954: Don't cite Makefile variables in the value for LIBXUL_DIST. r=bsmedberg<br/> <br/> Background:<br/> <br/> Thread-safe SpiderMonkey needs NSPR for threading support, so it uses<br/> the values of NSPR_CFLAGS and NSPR_LIBS to compile and link. The<br/> configure script puts values for those variables in<br/> $(DEPTH)/config/autoconf.mk. They're recursively expanded Make<br/> variables, and the configure script gives them values that cite the<br/> value of LIBXUL_DIST.<br/> <br/> LIBXUL_DIST is itself a recursively expanded variable which usually<br/> refers to $(DIST), but refers to $(LIBXUL_SDK) if we're building<br/> against a separate XUL tree.<br/> <br/> Once SpiderMonkey has its own configure script, that script should<br/> take options specifying values to use for NSPR_CFLAGS and NSPR_LIBS.<br/> The values we pass to it shouldn't try to reference $(LIBXUL_DIST) or<br/> any other variable from the surrounding makefiles: a stand-alone<br/> Spidermonkey's configuration and build system shouldn't mention LIBXUL<br/> at all. SpiderMonkey doesn't depend on LIBXUL, only NSPR, which just<br/> happens to be installed in the same dist directory as LIBXUL.<br/> <br/> That means we need to compute fully-substituted values for NSPR_CFLAGS<br/> and NSPR_LIBS, suitable for stand-alone use in the top-level configure<br/> script, which we can pass down to the SpiderMonkey configure script<br/> (once it has one).<br/> <br/> The first step is to actually compute an independent value for<br/> LIBXUL_DIST, one that doesn't refer to either $(DIST) or<br/> $(LIBXUL_SDK). This means we need to make that choice in the<br/> configuration script, not in autoconf.mk. Subsequent patches will use<br/> this to compute fully-substituted values for NSPR_LIBS and NSPR_CFLAGS. - Bug report: 97954
Port Info
- Bug report: [unknown]
- Repository: [unknown]
- Revision: [unknown]