Commit graph

77 commits

Author SHA1 Message Date
Matt A. Tobin
bb6d11a8a8 Alter config.guess to properly detect host and target bitness on SunOS 2020-04-11 09:40:35 +08:00
New Tobin Paradigm
011949484d Issue #1497 - Re-implement an un-preprocessed file check 2020-04-11 09:40:28 +08:00
Matt A. Tobin
55aa43420a Teach config.guess to know if we want to build 32 or 64 bit builds on Windows 2020-04-03 09:22:03 +08:00
wolfbeast
8778ddfc52 Issue #1467 - Part 4: Rename NSS_SQLSTORE to MOZ_SECURITY_SQLSTORE.
Rename the build config option accordingly.
2020-04-03 09:14:07 +08:00
wolfbeast
105283790e Issue #1467 - Part 1b: Fix type and make moz.configure happy. 2020-04-03 09:12:06 +08:00
Matt A. Tobin
57552faa1d Issue #251 - Move --disable-dbm to ac configure
Also Tag #1467
2020-03-05 09:38:24 +08:00
Matt A. Tobin
ecf0a07d12 Issue #1319 - Remove EARLY_BETA_OR_EARLIER condition 2020-03-05 09:38:16 +08:00
wolfbeast
fced04faa2 Issue #1342 - Remove support for system libvpx 2020-02-07 07:52:18 +08:00
wolfbeast
7b237d9768 Issue #1342 - Remove support for system sqlite 2020-02-07 07:52:16 +08:00
wolfbeast
2ca47404a4 Issue #1342 - Update old.configure for removed build options 2020-02-07 07:52:14 +08:00
wolfbeast
7f94258c9a Issue #1342 - Remove support for system linbpng 2020-02-07 07:52:11 +08:00
wolfbeast
0070369171 Issue #1342 - Remove support for system NSPR/NSS 2020-01-31 07:44:03 +08:00
wolfbeast
a7a26d5d62 Issue #1342 - Remove support for system ICU 2020-01-31 07:43:12 +08:00
wolfbeast
25ae10aaec Issue #1342 - Remove support for system libevent 2020-01-24 09:36:30 +08:00
wolfbeast
48adbfd454 Issue #1322 - Part 2: Remove --enable-sm-promise buildconfig switch. 2019-12-20 09:07:26 +08:00
Matt A. Tobin
1531d6498d Issue #1258 - Part 8: Ifdef MailNews OAuth2 Support
Use --disable-mailnews-oauth2 to exclude it. Confvars won't be respected.
2019-11-17 00:09:28 +08:00
Matt A. Tobin
18ffebc2a1 Issue #1258 - Part 3: Make mailnews and friends build 2019-11-17 00:09:10 +08:00
Gaming4JC
84c1e8ce10 Issue #1265 - Expose sndio as a build option for any supporting system 2019-11-04 11:54:32 +08:00
athenian200
0ffa2c1711 MoonchildProductions#1251 - Part 26: Oracle Solaris gsed/ICU fix.
OpenIndiana didn't need this for some reason, but on Oracle Solaris, we need this to make sure we're using gsed (GNU sed) here. It's probably a safer bet anyway.
2019-11-04 11:54:06 +08:00
athenian200
b652dd59ae MoonchildProductions#1251 - Part 7: All the posix_m* memory-related stuff, gathered together.
https://bugzilla.mozilla.org/show_bug.cgi?id=1158445
https://bugzilla.mozilla.org/show_bug.cgi?id=963983
https://bugzilla.mozilla.org/show_bug.cgi?id=1542758

Solaris madvise and malign don't perfectly map to their POSIX counterparts, and some Linux versions (especially Android) don't define the POSIX counterparts at all, so options are limited. Ideally posix_madvise and posix_malign should be the safer and more portable options for all platforms.
2019-11-04 11:52:22 +08:00
athenian200
afb2e3a054 MoonchildProductions#1251 - Part 4: Core build system changes, lots of libevent/IPC junk.
This is mostly ifdefs, but as you can see, Solaris is actually a lot like Linux. They're both more SysV than BSD at core, and most of the differences have more to do with Solaris not using glibc than anything else.

I still need to audit a lot of these changes and understand why they're needed and what the alternative approaches are. After this patch, most of the core functionality needed to build Solaris is here.
2019-11-04 11:52:17 +08:00
athenian200
6de8a0f12d MoonchildProductions#1251 - Part 1: Restore initial Solaris support, fixed up.
Compared with what Pale Moon had for Solaris originally, this is mostly the same zero point I started patching from, but I've made the following changes here after reviewing all this initial code I never looked at closely before.

1. In package-manifest.in for both Basilisk and Pale Moon, I've made the SPARC code for libfreebl not interefere with the x86 code, use the proper build flags, and also updated it to allow a SPARC64 build which is more likely to be used than the 32-bit SPARC code we had there.

2. See Mozilla bug #832272 and the old rules.mk patch from around Firefox 30 in oracle/solaris-userland. I believe they screwed up NSINSTALL on Solaris when they were trying to streamline the NSS buildsystem, because they started having unexplained issues with it around that time after Firefox 22 that they never properly resolved until Mozilla began building NSS with gyp files. I'm actually not even sure how relevant the thing they broke actually is to Solaris at this point, bug 665509 is so old it predates Firefox itself and goes back to the Mozilla suite days. I believe $(INSTALL) -t was wrong, and they meant $(NSINSTALL) -t because that makes more sense and is closer to what was there originally. It's what they have for WINNT, and it's possible a fix more like that could serve for Solaris as well. Alternatively, we could get rid of all these half-broken Makefiles and start building NSS with gyp files like Mozilla did.

3. I've completely cut out support for the Sun compiler and taken into account the reality that everyone builds Firefox (and therefore its forks) with GCC now on Solaris. This alone helped clean up a lot of the uglier parts of the code.

4. I've updated all remaining SOLARIS build flags to the newer XP_SOLARIS, because the SOLARIS flag is no longer set when building Solaris.

5. I've confirmed the workaround in gtxFontconfigFonts.cpp is no longer necessary. The Solaris people got impatient about implementing a half-baked patch for a fontconfig feature that wasn't ready yet back in 2009, and somehow convinced Mozilla to patch their software to work around it when really they should have just fixed or removed their broken fontconfig patch. The feature they wanted has since been implemented properly, and no version of Solaris still uses the broken patch that required this fix. If anyone had ever properly audited this code, it would have been removed a long time ago.
2019-11-04 11:52:13 +08:00
wolfbeast
5449e900ba Issue #1226 - Explicitly enable sse2 on x86_64 also.
Although it's enabled by default in gcc (should be, anyway!), we're
being explicit here for 64-bit x86 platforms here also. This matches the
old behavior.
2019-09-20 22:14:44 +08:00
wolfbeast
3686403436 Don't assume Intel architecture for compiler optimizations on Linux/gcc.
This only adds SSE2 flags when the CPU architecture is correct for it.
Resolves #1226
2019-09-20 22:14:42 +08:00
Ascrod
cf71a30b16 Issue #1217 - Add support for (later versions of) the Windows 10 SDK 2019-09-06 23:49:23 +08:00
Matt A. Tobin
c135f205d9 [Pale Moon] Add a configure flag to functionally disable personas at build time 2019-07-05 21:30:02 +08:00
Matt A. Tobin
c9b411d6cd Issue #1053 - Drop support Android and remove Fennec - Part 1a: Remove mobile/android 2019-04-27 08:51:42 +08:00
wolfbeast
0a50553673 Issue #187: Remove solaris 1st party code OS checks. 2019-04-04 20:26:29 +08:00
trav90
22183c7754 Remove OMX related options from configure 2019-02-16 00:22:39 +08:00
NTD
38e84217a3 [PALEMOON] Complete making Sync optional at build time 2019-02-16 00:20:51 +08:00
Gaming4JC
3c4b6babee Issue #795 - Make nsIUserInfo component optional
This allows the nsIUserinfo component to be disabled with --disable-userinfo in mozconfig
at build time, but leaves it on by default to avoid any compatibility issues in existing
applications.
2019-02-16 00:18:11 +08:00
Moonchild
d0e0acb1fa Revert "Make nsIUserInfo component optional with --disable-userinfo at build time" 2019-02-16 00:18:05 +08:00
Gaming4JC
5d075cfe31 Issue #795 - Make nsIUserInfo component optional
This allows the nsIUserinfo component to be disabled with --disable-userinfo in mozconfig
at build time, but leaves it on by default to avoid any compatibility issues in existing
applications.
2019-02-16 00:17:59 +08:00
trav90
eb98eba938 [GCC] Add -Wno-noexcept-type to the js build flags 2019-02-16 00:12:48 +08:00
trav90
8c17dc77d0 Disable -Werror on -Wmultistatement-macros
Silences compiler warning spam with GCC 8.
2019-02-16 00:11:00 +08:00
wolfbeast
d224ddb0e5 Issue #303 Part 2: Update build files for the new location 2019-02-16 00:00:40 +08:00
trav90
3f87aa1a69 Always build with SSE2 support when using GCC 2019-02-16 00:00:14 +08:00
wolfbeast
f4a29c2947 Teach moz.configure about --enable-precompiled-startupcache 2019-02-15 23:59:58 +08:00
Moonchild
170f2ade41 Revert "Always build with SSE2 support & display an error if not available" 2019-02-15 23:59:11 +08:00
trav90
10bc6c2b0d Remove extraneous SSE flag 2019-02-15 23:59:05 +08:00
trav90
1e8a7b041e Tweak SSE/SSE2 GCC flags 2019-02-15 23:59:04 +08:00
trav90
bbc27e01ae Always build with SSE2 support when using GCC 2019-02-15 23:59:02 +08:00
wolfbeast
92fbd042f5 Remove the Dark Matter Detector (DMD) Memeory debugger component.
This resolves #376.
2019-02-15 23:58:31 +08:00
wolfbeast
fd9202fef0 Remove moz_widget_toolkit_gonk
Tag #288
2019-02-15 23:57:24 +08:00
wolfbeast
74df182488 Remove other gonk widget conditionals and unused files.
Tag #288.
2019-02-15 23:57:15 +08:00
NTD
b7158e06ac Use application specific application.ini 2019-02-15 23:56:27 +08:00
wolfbeast
127b2c99dc Issue #325 Part 15: Remove ENABLE_INTL_API and EXPOSE_INTL_API flags. 2019-02-15 23:56:20 +08:00
wolfbeast
b19e3c348c Remove the option to build without INTL/ICU
This resolves #324.
2019-02-15 23:55:55 +08:00
wolfbeast
c8462db202 Remove sandbox ductwork conditional code. 2019-02-15 23:55:41 +08:00
wolfbeast
8ffcc15d3f Move --enable-tests out of Python configure and flip the default. 2019-02-15 23:53:16 +08:00