Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Go to file
Jim Blandy ceaba9297e Bug 97954: Don't cite Makefile variables in the value for LIBXUL_DIST. r=bsmedberg
Background:

Thread-safe SpiderMonkey needs NSPR for threading support, so it uses
the values of NSPR_CFLAGS and NSPR_LIBS to compile and link.  The
configure script puts values for those variables in
$(DEPTH)/config/autoconf.mk.  They're recursively expanded Make
variables, and the configure script gives them values that cite the
value of LIBXUL_DIST.

LIBXUL_DIST is itself a recursively expanded variable which usually
refers to $(DIST), but refers to $(LIBXUL_SDK) if we're building
against a separate XUL tree.

Once SpiderMonkey has its own configure script, that script should
take options specifying values to use for NSPR_CFLAGS and NSPR_LIBS.
The values we pass to it shouldn't try to reference $(LIBXUL_DIST) or
any other variable from the surrounding makefiles: a stand-alone
Spidermonkey's configuration and build system shouldn't mention LIBXUL
at all.  SpiderMonkey doesn't depend on LIBXUL, only NSPR, which just
happens to be installed in the same dist directory as LIBXUL.

That means we need to compute fully-substituted values for NSPR_CFLAGS
and NSPR_LIBS, suitable for stand-alone use in the top-level configure
script, which we can pass down to the SpiderMonkey configure script
(once it has one).

The first step is to actually compute an independent value for
LIBXUL_DIST, one that doesn't refer to either $(DIST) or
$(LIBXUL_SDK).  This means we need to make that choice in the
configuration script, not in autoconf.mk.  Subsequent patches will use
this to compute fully-substituted values for NSPR_LIBS and NSPR_CFLAGS.
2008-09-05 10:19:21 -07:00
accessible Bug 453312 - Building accessible without MOZ_XUL fails. r=surkov 2008-09-05 14:30:19 +03:00
browser Bug 452975 - don't reset browser.sessionstore.resume_session_once until the first browser window opened. r=dietrich 2008-09-05 12:05:34 +02:00
build bug 428009 - hook up ssltunnel to mochitest. r=waldo,kaie 2008-09-05 09:35:58 -04:00
caps Bug 453720 - "Caps should assert when scripts do not contain principals". r+sr=mrbkap. 2008-09-04 15:52:20 -07:00
chrome Bug 391311 followup - if the chrome registry doesn't initialize correctly, don't crash on destruction, r=Mossop a=beltzner 2008-04-11 08:05:58 -07:00
config Bug 97954: Don't cite Makefile variables in the value for LIBXUL_DIST. r=bsmedberg 2008-09-05 10:19:21 -07:00
content Bug 453308 - Building without MOZ_XUL failed. r=jonas. 2008-09-05 18:45:03 +03:00
db Bug 443296 -- morkRowCellCursor::NextCell skips first cell. r/sr=bienvenu 2008-08-06 17:05:32 -04:00
dbm Bug 450646, Upgrade Mozilla to NSS 3.12.1 release candidate 1 2008-08-15 06:12:54 +02:00
docshell Bug 451909 kill MOZ_XUL_APP now that all apps set it. docshell/toolkit cleanup r=benjamin, makefile cleanups r=ted 2008-09-02 10:45:14 +01:00
dom Bug 445180. More geolocation mochitests. Patch by harthur@cmu.edu, r=dougt@meer.net 2008-09-04 16:31:09 -07:00
editor Bug 414046 - Remove nsPresShell::GetLayoutObjectFor(), r/sr=roc 2008-09-04 22:32:39 +02:00
embedding Bug 451909 kill MOZ_XUL_APP now that all apps set it. docshell/toolkit cleanup r=benjamin, makefile cleanups r=ted 2008-09-02 10:45:14 +01:00
extensions Bug 451909 kill MOZ_XUL_APP now that all apps set it. docshell/toolkit cleanup r=benjamin, makefile cleanups r=ted 2008-09-02 10:45:14 +01:00
gfx Backed out changeset 6014c4fca4a1 (Cairo upgrade to 1.7.4-136) 2008-09-05 00:14:16 -07:00
intl Test cases for bug 116882 2008-09-03 22:46:32 +03:00
ipc/ipcd backing out: switching narrow char system calls to wide char in windows b=418703 2008-03-11 15:46:26 -07:00
jpeg Backed out changeset 6eec92f9276a from bug 416157 because the image tests need to be updated before it can be landed. 2008-08-20 02:03:01 -05:00
js Bug 97954: Give jsconfig.h a better name, and make room for the new js-config.h. r=bsmedberg 2008-09-05 10:19:17 -07:00
layout Backing out changeset 1bdd5da49865 (for bug 376662) due to regression bug 453661 2008-09-05 15:40:06 +12:00
media Bug 449564 - "Remove duplicate typedef of sa_event_callback_t at liboggplay_audio" 2008-08-19 22:46:20 -05:00
memory/jemalloc bug 451193. link xulrunner-stub with jemalloc on linux. r=bsmedberg 2008-08-26 15:25:05 -07:00
modules Bug 430061: Don't use necko's memory cache in imglib; r/sr=stuart,vlad,bz 2008-09-04 19:00:42 -04:00
netwerk Bug 450339 - Public Suffix List incorrectly blocks second-level .pe domains which now exist. Patch by gerv; r=pamg. 2008-09-03 18:23:46 +01:00
nsprpub Merge. 2008-09-04 01:21:49 -07:00
other-licenses Bug 407216 - DOM quick stubs - faster paths for top N DOM methods (r+sr=jst, security r=mrbkap, build r=bsmedberg) 2008-08-19 21:38:24 -05:00
parser Bug 445570 - parser autostring allocated on the heap, r=mrbkap 2008-07-17 11:23:00 -04:00
plugin/oji JEP 0.9.6.4. b=428606 r=josh sr=jst a=dsicore 2008-04-23 12:16:08 -07:00
probes Landing basic framework for dtrace support (bug 388564). Patch by john.rice@sun.com and padraig.obriain@sun.com. r+a=ted.mielczarek@gmail.com, sr=sayrer@gmail.com 2007-10-10 16:03:14 -07:00
profile Bug 420459 Move mailnews-specific profe code. r=benjamin,Neil,sr=dmose,a1.9=beltzner 2008-03-17 12:05:24 -07:00
rdf Bug 422786 - reduce narrow Windows API calls in rdf, original patch by Brad Lassey <blassey@mozilla.com>, r=ted.mielczarek 2008-08-27 14:44:55 -07:00
security bug 428009 - hook up ssltunnel to mochitest. r=waldo,kaie 2008-09-05 09:35:58 -04:00
storage Bug 452836 - Optimize calls to sqlite3_prepare_v2 2008-09-03 12:20:10 -04:00
sun-java Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
testing bug 428009 - hook up ssltunnel to mochitest. r=waldo,kaie 2008-09-05 09:35:58 -04:00
toolkit Bug 453821 - Places building in embedding-minimal profile failed. r=edilee. 2008-09-05 17:49:49 +03:00
tools Revert accidental hunk from the merge changeset cf844bddfe57 that's causing unittest orange. r=shaver 2008-09-02 21:26:49 -07:00
uriloader Bug 422511 - "Open with 'TextEditor.app'" Should be "Open with 'TextEditor'" 2008-09-03 12:22:16 -04:00
view Backing out changeset 1bdd5da49865 (for bug 376662) due to regression bug 453661 2008-09-05 15:40:06 +12:00
webshell Bye bye gtk1 and xlib (part 1 of 2). b=326152 r+sr=roc 2007-04-30 16:52:44 -07:00
widget Bug 451232 - Setting ui.* color pref to empty string or removing pref doesn't immediately reset color to default. r+sr=roc 2008-09-05 11:57:52 +02:00
xpcom Bug 449822 - "Service manager can create two instances of a service". r=bsmedberg. 2008-09-04 15:44:41 -07:00
xpfe Bug 364168 Winhooks commandline options won't work in suiterunner. r/sr=Neil 2008-09-04 17:12:18 +01:00
xpinstall Bug 450050 - "nsIDOMInstallTriggerGlobal.h(76) : warning C4309: 'initializing' : truncation of constant value", r/sr=dveditz 2008-09-04 22:03:25 +02:00
xulrunner Bug 450694 – changelog should depend on platform.ini r=bsmedberg 2008-08-28 00:49:11 -04:00
.hgignore Backed out changeset 7fdbccdc1e94 2008-08-26 19:40:21 -04:00
.hgtags Added tag FIREFOX_3_1a2_RELEASE for changeset f197b51bbc29 2008-08-29 09:25:45 -04:00
aclocal.m4 To allow altoptions.m4 to be shared by both the main Mozilla and the 2008-08-26 14:34:35 -07:00
allmakefiles.sh bug 361583, add testcases for jar.mn, r=ted.mielczarek 2008-06-13 16:41:43 +02:00
client.mk Neaten up the handling of configure script regeneration in client.mk. 2008-08-26 14:34:35 -07:00
client.py Bug 417635 - import NSPR and NSS into hg, r=ted 2008-06-06 08:34:40 -04:00
configure.in Bug 97954: Don't cite Makefile variables in the value for LIBXUL_DIST. r=bsmedberg 2008-09-05 10:19:21 -07:00
LEGAL
LICENSE Revert License to previous version to make the SeaMonkey installer suck less. 2007-01-08 18:59:04 +00:00
Makefile.in bug 417516 - add top level Makefile targets to run test suites. add targets for mochitest. r=bsmedberg 2008-07-27 13:06:58 -04:00
README.txt Bug 411638 - Update top-level README.txt in CVS. r=bsmedberg 2008-01-18 14:09:32 -08:00

For information on how to build Mozilla from the source code, see:

    http://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (http://bugzilla.mozilla.org). Instructions are at:

    http://developer.mozilla.org/en/docs/Creating_a_patch
    http://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on http://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    ftp://ftp.mozilla.org/pub/firefox/nightly/latest-trunk/