pjs/config
Jim Blandy 62b50caf89 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
..
Moz Fix Windows fileversion fu from bug 383167 2007-06-25 10:23:32 -07:00
mkdepend Fix the bustage for bug 381247 on Solaris. Use the POSIX macro S_ISDIR.r=benjamin. 2007-05-23 06:30:45 -07:00
nspr Bug 236613: change to MPL/LGPL/GPL tri-license. 2006-12-11 09:45:41 +00:00
tests bug 440675, add USE_EXTENSION_MANIFEST coveragae to jar.mn tests, r=ted 2008-06-23 21:26:26 +02:00
Expression.py bug 361583, start using Preprocessor.py instead of preprocessor.pl in building Minefield, r=bsmedberg 2007-04-11 09:35:01 -07:00
Makefile.in bug 440675, add USE_EXTENSION_MANIFEST coveragae to jar.mn tests, r=ted 2008-06-23 21:26:26 +02:00
Preprocessor.py Bug 443096 - "Typo in help in Preprocessor.py" [r=luser/ted] 2008-07-12 05:29:59 -05:00
add-chrome.pl bug 328317 - merge platform .jar files into en-US.jar, r=mento for the mozilla/config changes r=jag sr=Neil 2006-04-08 11:49:47 +00:00
asencode.cpp Adding comment explaining how to build this utility. Not part of the build. 2006-03-10 00:37:54 +00:00
autoconf.mk.in Bug 97954: Don't cite Makefile variables in the value for LIBXUL_DIST. r=bsmedberg 2008-09-05 10:19:21 -07:00
bin2rc.c Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
bin2rc.exe
build-list.pl Bug 296561 - rework static component loading so that nsIXULAppInfo/Runtime/etc are available during autoregistration/xpcom-startup notification (and make static component loading saner in general) - r=shaver+dougt, a=asa 2005-07-21 13:33:43 +00:00
build_header.pl
buildpkg.bat Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-08-25 23:02:50 +00:00
chrome-versions.sh bump SeaMonkey locale and skin versions on trunk, r+sr=Neil 2005-09-05 13:39:38 +00:00
clobber_miss.pl Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
common.mk Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
config.mk bug 445328, add configure option ot l10n repositories, r=ted 2008-07-22 08:57:07 +02:00
configobj.py Bug 383167 try #3 - need buildid in an external file, r=luser sr=jst with additional parts r=biesi 2007-07-02 11:20:24 -07:00
cvsco-fast-update.pl Bug 365745: fast-update should query bonsai for multiple directories at once. r=bsmedberg 2007-01-05 04:23:48 +00:00
cvsco.pl Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
doxygen.cfg.in Bug 433206 - Update doxygen.cfg.in r=biesi, sr=bsmedberg 2008-07-23 09:26:17 -04:00
elf-dynstr-gc.c Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
fast-update.pl Bug 365745: fast-update should query bonsai for multiple directories at once. r=bsmedberg 2007-01-05 04:23:48 +00:00
fastcwd.pl Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
gcc_hidden.h Add support for using gcc's visibility pragma to treat all function and method declarations as "hidden" unless declared otherwise. Create wrappers for system headers that cause them to be treated as default-visibility declarations. This gives a substantial code size and performance win on compilers that support it, and should show up on the gruff tinderbox. Bug 273336, r=darin sr=dbaron. 2004-12-15 05:52:44 +00:00
glibcversion.sh Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
gtscc.c Bug 106386 Correct misspellings in source code 2005-06-03 10:26:28 +00:00
install.bat Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-08-25 23:02:50 +00:00
installcfunc.pl Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
installchrome.pl Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
insure.mk Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
javarules.mak Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
make-atom-strings.pl
make-jars.pl Bug 433701 – don't print non-critical messages when make is invoked with -s, r=bsmedberg 2008-07-12 12:55:43 +02:00
makedep.cpp Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
makedep.exe
mangle.c Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
mangle.exe
mantomak.c Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
mantomak.exe
milestone.pl Re-add milestone.pl to make configure.in MOZILLA_VERSION happy :-( 2007-06-25 10:35:03 -07:00
milestone.txt Merge of 3.1a2 release branch back to default, with version bumps to 3.1b1pre 2008-08-29 09:31:25 -04:00
module2dir.pl
mozLock.pm Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
nfspwd.pl Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
nodl.pl Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
nsBuildID.h.in
nsStaticComponents.cpp.in Forgotten files from bug 296561 (NS_InitXPCOM3) 2005-07-21 13:47:05 +00:00
nsStaticComponents.h Forgotten files from bug 296561 (NS_InitXPCOM3) 2005-07-21 13:47:05 +00:00
nsinstall.c Bug 392722 - nsinstall doesn't work if paths have double slashes, patch by Fabien Tassin <fta+bugzilla@sofaraway.org>, r=me 2007-08-29 13:05:52 -07:00
nsinstall.py bug 386874, add python emulation for nsinstall for --disable-compile-environment, r=bsmedberg 2007-07-17 06:47:55 -07:00
outofdate.pl Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
pathsub.c Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
pathsub.h Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
pkg2dpth.pl Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
prebind-address-table 331898 Prebinding is disabled in static debug builds. The huge main executable image at address 0 is overlapping with the preferred address spaces of dylib dependencies. Move the dylibs' preferred addresses up out of the way. r=bryner 2006-03-29 21:33:37 +00:00
preprocessor.pl Bug 277122 - XUL preprocessor #else-type conditions are evaluated relative to the result of the previous condition only. Fixed the bug with the original patch (unknowing use of a Perl 5.8.0 feature) and relanding... r=bsmedberg 2006-12-08 04:13:00 +00:00
preprocessor.txt Bug 277122 - XUL preprocessor #else-type conditions are evaluated relative to the result of the previous condition only. Fixed the bug with the original patch (unknowing use of a Perl 5.8.0 feature) and relanding... r=bsmedberg 2006-12-08 04:13:00 +00:00
printconfigsetting.py Bug 383167 try #3 - need buildid in an external file, r=luser sr=jst with additional parts r=biesi 2007-07-02 11:20:24 -07:00
revdepth-nt.pl Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
revdepth.pl Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
rules.mk Minor doc fixes for GNU make conditionals in rules.mk. 2008-08-26 14:34:36 -07:00
sj.pl Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
static-config.mk Bug 445143 - "clean mozilla-central from unneeded references to suite, mail, etc." [r=Standard8 r=ted] 2008-08-19 23:05:00 -05:00
static-rules.mk bug 368206 - integrate breakpad exception handler/crash reporter on OS X. fix up static linking for thunderbird et. al and enable breakpad by default on OS X. r=bsmedberg 2007-05-07 08:32:41 -07:00
system-headers b=422221; additional DirectFB compilation fixes 2008-08-09 22:25:30 -07:00
true.bat Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-08-25 23:02:50 +00:00
version.mk Bug 386740 - Windows file versions are incorrect, r=luser 2008-01-14 07:24:19 -08:00
version_win.pl (landing for joduinn) generate BuildID with up to the second resolution. b=431270, r=ted.mielczarek 2008-08-07 14:10:47 -04:00
xterm.str Bug 329358 use ESC]2 rather than ESC]0 for xterm title setting in order to 2006-04-03 19:09:46 +00:00
zipcfunc.pl Bug 242037 mkdir in many perl scripts contains a decimal 775, not the correct octal specification of 0775 2004-04-30 04:23:06 +00:00
zipchrome.pl Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00