Граф коммитов

2454 Коммитов

Автор SHA1 Сообщение Дата
Benjamin Smedberg 846c2f30a2 Backed out changeset 700bca4b693f due to reftest failure (bug 470971) 2009-01-20 18:59:20 -05:00
Benjamin Smedberg c749f3f921 Bug 470971 - Add ability to pass the GRE dir to xpcshell, r=ted 2009-01-20 14:56:44 -05:00
Jim Blandy d13e52dc90 Bug 461841: Use configure-defined macros in #ifdefs for WinCE in js/src. r=crowder
Perform the appropriate configure-time tests, and hard-code the
answers for targets that don't support autoconf-style tests.  Check
for the io.h header, and the setbuf and isatty library functions.

In js/src/xpconnect/shell/xpcshell.cpp, use configure-#defined
preprocessor symbols to decide what to #include and use.  The
top-level configure script defines the preprocessor symbols used here.

In js/src/prmjtime.cpp, use them to select the appropriate method for
retrieving fine-grained time information for Windows and WinCE.  The
js/src/configure script defines the preprocessor symbols used here.

(This should cover the issues addressed by patch.v2 in bug 461841,
except for the stdint issue.)
2009-01-16 14:10:48 -08:00
Brian Birtles c2b3e61546 Bug 216462: Add support for basic SVG animation (SMIL). Disabled in builds by default. r+sr=roc 2009-01-14 20:38:07 -08:00
Ted Mielczarek 87e43cbf40 bug 462004 - JavaScript shell should provide line editing facilities. r=bsmedberg
--HG--
rename : js/src/js.cpp => js/src/shell/js.cpp
2008-12-03 08:55:27 -05:00
Shawn Wilsher 9f839adea0 Bug 471685 - Upgrade to SQLite 3.6.7
This contains the changes to Mozilla code for the upgrade.
r=asuth
2009-01-08 11:51:21 -05:00
Benjamin Smedberg 3aaf5e7ac6 Backed out changeset 8f347bf50a53 due to x86-64 build bustage, and the fact that the committed patch didn't match the reviewed patch in an important way (bug 469558) 2009-01-13 10:19:25 -05:00
Bobby Holley 09103a29da Bug 469558: --enable-system-lcms build option should be removed.r=vlad,sr=ted 2009-01-12 16:20:45 -08:00
Ted Mielczarek 134bcd4d03 bug 472877 - Add configure option to enable gczeal. r=crowder 2009-01-10 17:00:20 -05:00
Shawn Wilsher ea4f9d62a0 Merge for backout of bug 471685 with a CLOSED TREE 2009-01-09 13:17:06 -08:00
Shawn Wilsher fc0b5a5efb Backed out changeset c569a8f91c0e (bug 471685) with a CLOSED TREE 2009-01-09 13:16:05 -08:00
Robert Strong a9d371a688 Bug 472801 - Enabling updater no longer requires iconv. r=ted.mielczarek 2009-01-09 10:19:48 -08:00
Shawn Wilsher 1c960178eb Bug 471685 - Upgrade to SQLite 3.6.7
This contains the changes to Mozilla code for the upgrade.
r=asuth
2009-01-08 11:51:21 -05:00
Michael Ventnor e10ec979eb Bug 469880. Support a libnotify-based implementation of nsIAlertsService for GTK. r+sr=roc,r=ted
--HG--
extra : rebase_source : f9a6a01ffaf868712429a42193a275eecaf9a614
2009-01-08 21:12:16 +13:00
timeless@mozdev.org 6eea76e598 Bug 471451 - configure outputs garbage while figuring out arguments for midl if midl is missing, r=ted 2009-01-07 20:42:15 -08:00
Brian Crowder 5d5184cbd7 Bug 411726 - Use localtime_r when available, to improve Date reporting for locales like Venezuela on platforms like OS X. r=mrbkap, r=ted (for build changes) 2009-01-06 09:18:35 -08:00
Doug Turner bb93398243 Backed out changeset 5b6c7ace97c4
this patch is fine, it just had the wrong comment.
2009-01-05 10:08:00 -08:00
John Wolfe 1d25b19282 Bug 464180 - link error when building nsWaveDecoder on wince. r=ted 2009-01-05 10:03:07 -08:00
Phil Ringnalda 33728e1342 Backed out changeset 55e23c647137 (bug 462004) so the backout for bug 467862 to solve bug 471097 can actually build 2008-12-25 19:49:53 -08:00
Ted Mielczarek 77c08bfb39 bug 462004 - JavaScript shell should provide line editing facilities. r=bsmedberg
--HG--
rename : js/src/js.cpp => js/src/shell/js.cpp
2008-12-03 08:55:27 -05:00
Jim Blandy 7fc56c46bc Bug 469225: Move HAVE_ARM_SIMD test after header file tests. r=vladimir
This should have no effect; the test there is in the midst of a
section titled, "Checks for header files", and doesn't belong there.

I've made the same change in both the top-level configure.in and
js/src/configure.in, just to keep things parallel.
2008-12-22 13:59:28 -08:00
Jim Blandy 48adb46174 Bug 467583: Make js/src share the 'dist' tree with the enclosing build. r=ted.mielczarek 2008-12-22 13:22:38 -08:00
Jim Blandy 1a596b38a1 Bug 468463: Use proper equality operator for Unix 'test' command. r=ted.mielczarek 2008-12-19 11:11:01 -08:00
Oleg Romashin 3e1268e3ed Bug 463887 - Building XRemoteCLient is broken on CHINOOK-ARMEL-2007 toolchain. r=ted.mielczarek, a191=beltzner. 2008-12-13 09:42:08 -05:00
Shawn Wilsher 53695e3cf7 Backed out changeset 00563815af18 (bug 463887) because it caused orange. 2008-12-11 20:25:40 -05:00
Oleg Romashin 3f503ce090 Bug 463887 - Building XRemoteCLient is broken on CHINOOK-ARMEL-2007 toolchain. r=ted.mielczarek, a191=beltzner. 2008-12-12 01:39:17 -05:00
Ted Mielczarek 2946e97bba bug 468515 - configure doesn't set OS_TEST properly in 64-bit OS X builds. r=bsmedberg 2008-12-11 09:52:18 -05:00
Robert Sayre ece0589f7a Merge tracemonkey to m-c 2008-12-11 03:22:39 -08:00
Anton Rogaynis 6a5c5464c6 Bug 468463 - Disable support for printing in Qt. r=ted.mielczarek. 2008-12-11 02:39:43 -05:00
Benjamin Smedberg 5e01ae0dd0 Merge mozilla-central into tracemonkey, specifically to pick up bug 467579. 2008-12-09 21:37:35 -05:00
Phil Ringnalda ad39ee89c0 Bug 463982 - Drop configure support for cairo-mac widget toolkit, r=ted 2008-12-07 19:31:40 -08:00
Arpad Borsos 22cd8d5550 Bug 462438 - kill MOZ_PROFILESHARING and MOZ_IPCD; build system cleanup + removes, v2; r+sr=benjamin 2008-12-04 15:37:37 +01:00
Brad Lassey 0ef0082280 Bug 464088 - Option to build NSS without dbm, non-nss changes r=ted 2008-12-03 08:42:03 -05:00
Doug Tuner af1f775874 Bug 464190 - GetProcAddress Wince Workaround r=ted 2008-12-03 08:41:12 -05:00
Ted Mielczarek 39cafc9571 merge for backout of bug 427750 - Require python >= 2.4 to build Mozilla (and >=2.5 on Windows). Apparently scratchbox only ships with 2.3 by default. 2008-12-02 14:16:54 -05:00
Ted Mielczarek 972126379d Backed out changeset 96956634349c, bug 427750 - Require python >= 2.4 to build Mozilla (and >=2.5 on Windows). Apparently scratchbox only ships with 2.3 by default. 2008-12-02 14:15:24 -05:00
Shawn Wilsher 54dec04d2a Bug 464803 - Upgrade to SQLite 3.6.6.2
This changeset contains the changes to our codebase.
r=asuth
2008-12-02 06:36:01 -05:00
Ted Mielczarek fc6bb7f61c bug 427750 - Require python >= 2.4 to build Mozilla (and >=2.5 on Windows). r=bsmedberg 2008-12-02 06:35:26 -05:00
Mats Palmgren 92008e034e Bug 463537. Fix --disable-wave. r=kinetik,sr=roc,a=beltzner 2008-11-18 21:16:35 +13:00
Dão Gottwald 9019e84775 Backed out changeset b98316b61797 2008-11-16 19:18:45 +01:00
Jeff Muizelaar 45cb37437c Bug 461202 - Turn on SSE2 pixman optimizations 2008-11-16 17:06:59 +01:00
Jim Blandy ea97b52a20 Bug 464127 - Don't use -Os with Intel C/C++ compilers r=ted.mielczarek
Intel recommends against the use of -Os, and using it seems to produce
incorrect code in many recent versions of Intel's compilers.

js/src/Makefile.in tries to use -Os only with G++, but it tests
INTEL_CC, not INTEL_CXX --- even though almost all the sources are
C++.  Check INTEL_CXX instead.
2008-11-14 14:15:02 -08:00
Jim Blandy 4c3e09894b Bug 464379: remove committed debugging 'echo'. r=bsmedberg
Here's the commit that added this:

    1.1764 <benjamin@smedbergs.us> 2007-01-31 08:12
    No bug: checking to see which tinderboxes don't have python available.

It seems unlikely that this echo was meant to stay in the configure script.
2008-11-14 14:10:29 -08:00
Matthew Gregan 36303593a5 b=449315 Support WAV format in <audio> element. r+sr=roc 2008-11-07 09:53:20 +13:00
Justin Dolske f6706fa479 Backed out changeset 30bfb150da06 2008-11-05 16:36:12 -08:00
Matthew Gregan ffc3693e6e b=449315 Support WAV format in <audio> element. r+sr=roc 2008-11-06 11:25:04 +13:00
Benjamin Smedberg 9ba2ad69ec Bug 462740 - Building spidermonkey on Windows with -j3 fails: conflicts in PDB files. Related to bug 382297 and bug 286179, where we flip-flop back and forth about this. Document the way things should actually be! 2008-11-04 14:38:40 -05:00
Chris Double 3cb4bd1ebe Backed out changeset 18403769ec19 2008-11-04 21:54:41 +13:00
Matthew Gregan d31d0aa5a2 Bug 449315 - Support WAV format in <audio> element - r+sr=roc 2008-11-04 21:29:10 +13:00
Fabien Tassin 51ae27e6b6 Bug 462467 - js/src/configure fails when building --with-system-nspr; r=ted.mielczarek 2008-10-31 18:08:50 +01:00
Gavin Sharp c7c0161ac0 Bug 462405: don't run subconfigures (fixes build bustage) when building --with-libxul-sdk, r=jimb, sr=bsmedberg 2008-10-30 15:55:20 -04:00
Jason Orendorff 22c60e1085 Merge bug 97954 (autoconf build environment for SpiderMonkey).
--HG--
rename : configure.in => js/src/configure.in
2008-10-29 10:59:10 -07:00
Karl Tomlinson 1da5d1b5c0 b=460717 Increase required Pango build-time version to 1.14. r+sr=roc 2008-10-29 10:25:22 -07:00
Jim Blandy d19055fbb5 Bug 97954: Compare SpiderMonkey's copies of build files with originals at check time. r=luser
SpiderMonkey now has its own copy of some of the files from ./config
and ./build.  Since there is a decent amount of churn in that area, I
don't want it to become a burden to make merges back and forth.  This
patch adds a comment explaining the 'identical if present' policy, and
runs a script to verify that it's actually being observed.
2008-10-29 08:40:39 -07:00
Jim Blandy 164b232685 Bug 97954: Record configuration details in an installable header. r=bsmedberg
Have js/src/configure create a header file, js-config.h, that records
configure-controlled options that affect the SpiderMonkey API, like
'--enable-threadsafe'.  js-config.h is namespace-clean, so it can be
installed with jsapi.h.

This means that clients can configure SpiderMonkey however they like,
and then simply #include "jsapi.h" and have everything work; they
don't have to remember to match their own compiler -D flags with those
SpiderMonkey's configure script chose.  For example, mozilla-config.h
needn't concern itself with JS_THREADSAFE.

It seems to me this could also be done by having js-config --cflags
print -D options.  The approach taken here seems a bit more robust: if
you can find jsapi.h at all, then you know you're getting the right
settings.
2008-10-29 08:29:37 -07:00
Jim Blandy e2ccde1f18 Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla.
Give SpiderMonkey its own configure script and top-level Makefile.
Adjust js/src/Makefile as appropriate for life as a stand-alone
makefile, instead of a 'make export; make libs'-style Mozilla tier
makefile.  Have the configure script accept '--with-nspr-cflags' and
'--with-nspr-libs' options for using an in-tree NSPR.  Also accept
'--with-system-nspr', '--with-nspr-prefix', and
'--with-nspr-exec-prefix' flags for using an installed NSPR.  Default
to --disable-jemalloc, assuming we don't have that part of the tree
available; have the top-level configure script pass --enable-jemalloc
as needed.

Since we no longer have an export phase to copy header files into
dist/include/js before we build the library, we need to be able to
find nanojit.h in the nanojit directory; fix references in
jsbuiltins.h and jstracer.cpp.

Give SpiderMonkey it its own copies of many of the files from ./config
and ./build.  These are all exact copies, except as follows:

. js/src/config/Makefile.in: js/src only has a subset of
  js/src/config, and thus a subset of the makefile targets.

. js/src/config/autoconf.mk.in: js/src/configure.in has its own make
  variables to set, not set by the top-level configure script, so it
  needs a custom automake.mk template.

. js/src/config/make-system-wrappers.pl: a copy from nsprpub/config,
  so that we can build without having an NSPR source tree handy.

Invoke js/src/configure from ./configure, passing the values computed
for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script.

Treat js/src as a static directory of the js tier, and create a new
config/js (just a Makefile) to be the js tier's non-static directory.
Let js/src/configure generate SpiderMonkey's makefiles, not
./configure.

Generate a 'js-config' script, which clients can call to find the
CFLAGS and LIBS values necessary to compile and link against an
installed SpiderMonkey library.  Don't include the js-config script in
Macintosh packages.

Teach client.mk how to rebuild js/src/configure.

Tell Mercurial to ignore files generated by autoconf in js/src.

Further work:

. Right now, callers must define JS_THREADSAFE when #including jsapi.h.
  This is fixed in a subsequent patch.

. js/src/configure is a trimmed copy of ./configure.  It could be
  trimmed more.

--HG--
rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl
rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4
rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess
rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub
rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4
rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh
rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile
rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh
rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4
rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4
rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh
rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper
rename : build/hcc => js/src/build/hcc
rename : build/hcpp => js/src/build/hcpp
rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl
rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl
rename : config/Makefile.in => js/src/config/Makefile.in
rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm
rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in
rename : config/config.mk => js/src/config/config.mk
rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c
rename : config/fastcwd.pl => js/src/config/fastcwd.pl
rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h
rename : config/insure.mk => js/src/config/insure.mk
rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl
rename : config/milestone.pl => js/src/config/milestone.pl
rename : config/milestone.txt => js/src/config/milestone.txt
rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in
rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c
rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h
rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c
rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h
rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h
rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c
rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c
rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man
rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c
rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c
rename : config/nfspwd.pl => js/src/config/nfspwd.pl
rename : config/nsinstall.c => js/src/config/nsinstall.c
rename : config/nsinstall.py => js/src/config/nsinstall.py
rename : config/pathsub.c => js/src/config/pathsub.c
rename : config/pathsub.h => js/src/config/pathsub.h
rename : config/preprocessor.pl => js/src/config/preprocessor.pl
rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl
rename : config/revdepth.pl => js/src/config/revdepth.pl
rename : config/rules.mk => js/src/config/rules.mk
rename : config/system-headers => js/src/config/system-headers
rename : config/version.mk => js/src/config/version.mk
rename : config/version_win.pl => js/src/config/version_win.pl
rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
Josh Aas e85047aa5d back out changeset 47259b642835, b=456662 2008-10-28 17:00:32 -07:00
Josh Aas bab0aa8418 Optimizations and 64-bit work for Mac OS X filesystem code. b=456662 r=smichaud sr=dougt 2008-10-28 12:15:56 -07:00
Phil Ringnalda 99f8192913 Bug 450015 - Remove support for extensions=all, since this is exactly why we can't have nice things, r=ted 2008-10-27 19:53:34 -07:00
Riku Voipio / Mike Hommey e85d3ed5ea Bug 438397 - "-fshort-wchar shouldn't be hardcoded in pkgconfig" [r=bsmedberg] 2008-10-20 22:25:16 -05:00
Mike Hommey f41ff1675a Bug 258429 - "Crash at startup on mips" [sr=bsmedberg] 2008-10-20 21:31:13 -05:00
Uli Link 2a559bf7c5 Bug 450909 - "missing support for AIX target in configure.in" (set XPCOMABI on AIX and raise minimum compiler version) [r=cls] 2008-10-20 21:25:49 -05:00
Robert Sayre 8646e66846 Merge m-c to tracemonkey. 2008-12-06 00:54:08 -08:00
Jim Blandy f0b54e065b Bug 463648: Pass absolute path to js/src/configure --with-sync-build-files. r=bsmedberg 2008-12-05 11:05:37 -08:00
Mike Hommey 2907373ac8 Bug 434501 - xpcom assembly should be built as position independant; r=benjamin 2008-10-20 14:18:12 +02:00
Shawn Wilsher 679b5c3af5 Bug 449443 - Upgrade to SQLite 3.6.4
This changeset contains the changes needed to Mozilla code.
r=Mano
2008-10-16 15:59:31 -04:00
Phil Ringnalda 6c880355df Disable prebinding for trunk builds, drop support from mozilla-central tree part, r=ted 2008-10-11 21:14:48 -07:00
Walter Meinl 4ea2d2f270 Bug 454097 - [OS/2] get rid of VisualAge in configures; m-c part; r=mozilla 2008-10-11 03:01:28 +02:00
Marco Perez 88bca445c7 Bug 458583 - $target_os case fails for FreeBSD in configure.in (topsrcdir); m-c part; r=ted.mielczarek 2008-10-10 14:13:51 +02:00
Vladimir Vukicevic cd13009ffb b=459150; avoid non-pixel-aligned clips to speed up mobile's DrawWindow usage; r=stuart 2008-10-09 14:49:15 -07:00
Axel Hecht 150c7e2528 bug 457082, configure --disable-compile-environment busted on windows, atl etc, bustage fix, r=ted 2008-10-08 15:57:17 +02:00
Serge Gautherie 6e813504a3 Bug 438331 - Remove WIN16 (support) code everywhere; (Cv1-MozillaC) <configure.in>; r=ted.mielczarek 2008-10-08 15:55:16 +02:00
Axel Hecht bebc80bd26 bug 457082, configure --disable-compile-environment busted on windows, atl etc, r=ted 2008-10-08 14:35:59 +02:00
Arpad Borsos efea680165 bug 445321 - remove --enable-glitz and related defines. r=vlad,ted 2008-09-30 13:53:38 -04:00
Anton Rogaynis b1bbef99cc Bug 457214 - Broken Qt port configuring. r=ted.mielczarek 2008-09-29 16:44:42 -05:00
Antonio Gomes 5f71c17977 Bug 454841 - glib.h not found when building qt-cairo backend without --disable-elf-dynstr-gc; r=ted.mielczarek 2008-09-29 00:24:40 +02:00
Ginn Chen d1e479875d Bug 450717 dep file for pixman-mmx.c isn't generated with GCC, r=ted.mielczarek 2008-09-28 21:18:09 +08:00
Ginn Chen 9cc1fb3770 Bug 454376 add -lCrun -lCstd for Solaris OS_LIBS, r=bsmedberg 2008-09-28 21:06:06 +08:00
Ginn Chen 91feec5ac1 Bug 455670 Clear MOZ_FIX_LINK_PATHS for Solaris, r=bsmedberg 2008-09-28 21:02:25 +08:00
Shawn Wilsher a0a071c70b backout of changesets 7e8ed11500ae and cac36f3599e0 (bug 449443)
We have to backout bug 456910 because of a Tp regression, which means we need
to back this out :(
2008-09-26 15:52:54 -04:00
Shawn Wilsher 65dc80e88a Bug 449443 - Upgrade to SQLite 3.6.3
This changeset contains the needed bits of our code.
r=Mano
2008-09-25 23:27:17 -04:00
Karl Tomlinson 1487937a1d b=454730 Move shutdown of GTK's fontmap from gfxPlatformGtk to nsAppRunner r=roc sr=bsmedberg 2008-09-26 10:38:25 +12:00
Oleg Romashin 895dfbc7cb Bug 451263 - Implement moz-icon for Qt port. r=vladimir. 2008-09-20 04:03:23 -04:00
Benjamin Smedberg cbc9810723 Remove the v1 string ABI compatibility hacks. Replace references of nsTAString_CharT with nsTSubstring_CharT which is the new base class. r=dbaron 2008-09-19 11:07:22 -04:00
Vladimir Vukicevic 28ac485b71 b=451621; push new pixman with arm fast-paths; r=me 2008-09-17 14:15:01 -07:00
Robert O'Callahan 33ca58aa35 Backing out bug 449443 (SQLite upgrade) 2008-09-17 12:19:51 +12:00
Shawn Wilsher e365147796 Bug 449443 - Upgrade to SQLite 3.6.2
This changeset contains the changes to Mozilla code for the upgrade of SQLite.
r=Mano
2008-09-16 09:48:30 -04:00
John Wolfe daec347d66 Bug 454786 - Configuration Changes to allow WinCE resource and assembly compiling; r=ted.mielczarek 2008-09-16 14:18:56 +02:00
Oleg Romashin 4bf111f8c7 Bug 445934 - Layout linking broken in NS_OSSO disable-libxul configuration. r=ted.mielczarek 2008-09-13 07:47:45 +03:00
Oleg Romashin c8bbd7ff3b Bug 454391 - Building of Qt port for N810 is failed. r=ted.mielczarek 2008-09-13 07:40:02 +03:00
Robert Kaiser 0aa8acbd76 bug 451601 - kill MOZILLA_LOCALE_VERSION, main mozilla-central patch to kill xpfe-style chrome versions, r=ted sr=Neil 2008-09-11 01:08:57 +02:00
Brad Lassey fbbe44d33d Bug 437950 - Support for mailto: r=cbiesinger 2008-09-10 12:10:23 -04:00
Brad Lassey 52ec4b0f9d Bug 453867 - Change NS_HILDON by MOZ_PLATFORM_HILDON p=tonikitoo r=ted 2008-09-10 12:08:44 -04:00
Ted Mielczarek f4576958c6 bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg 2008-09-09 13:59:11 -04:00
Ted Mielczarek f5b8c0ffc1 bug 454256 - --enable-static firefox builds should error in configure. r=bsmedberg 2008-09-09 13:59:11 -04:00
Ginn Chen d548595342 Back out Bug 450717 2008-09-08 15:19:23 +08:00
Ginn Chen 5c02cbfd3b Bug 450717 dep file for pixman-mmx.c isn't generated with GCC r=ted.mielczarek 2008-09-08 14:24:35 +08:00
Ginn Chen 6ce50e3a1a Bug 440714 use -xldscope for Sun Studio on Solaris r=vladimir,benjamin sr=benjamin 2008-09-08 14:21:07 +08:00
Jim Blandy 13451fe313 Bug 97954: Compute fully-substituted values of NSPR_CFLAGS and NSPR_LIBS. r=bsmedberg
This patch depends on compute-libxul-dist-in-configure.patch.  The
comments there explain why we need 'fully-substituted values'.

The computation of NSPR_CFLAGS and NSPR_LIBS in the top-level
configure.in is non-trivial.  To avoid duplicating all that in the
SpiderMonkey configure script, we'd like to just pass the values we've
computed down to that script as arguments.  So:

. The values should contain complete filenames, and ought not contain
  references to makefile variables only meaningful to the main build
  machinery.  In particular, they shouldn't be recursively expanded
  variables that refer to LIBXUL_DIST.

. We should set NSPR_LIBS and NSPR_CFLAGS, not the temporaries _libs
  and _cflags, because these values are what we want to pass down to
  SpiderMonkey.  A later patch in the series uses these values.
2008-09-05 10:19:25 -07:00
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