Commit Graph

1319 Commits

Author SHA1 Message Date
serge-sans-paille
43adf6b86a Bug 1901544 - Move MOZ_GLUE_IN_PROGRAM definition from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D214844
2024-07-03 12:17:18 +00:00
serge-sans-paille
4b968b63aa Bug 1903591 - Move js-confdefs / mozilla-config include from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D214280
2024-06-29 21:56:01 +00:00
Cristian Tuns
937b60b9bd Backed out changeset 26ecf87ed86c (bug 1903591) for causing build bustages with win64_armasm.obj CLOSED TREE 2024-06-28 20:23:12 -04:00
serge-sans-paille
094d397d34 Bug 1903591 - Move js-confdefs / mozilla-config include from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D214280
2024-06-28 20:36:36 +00:00
acseh
33bb061a18 Backed out changeset d059a0058c25 (bug 1903591) for causing build bustages on js-confdefs.h CLOSED TREE 2024-06-28 18:56:39 +03:00
serge-sans-paille
0613220ee6 Bug 1903591 - Move js-confdefs / mozilla-config include from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D214280
2024-06-28 14:41:39 +00:00
serge-sans-paille
ac0e662681 Bug 1903036 - Move check for libstdc++ static linkage from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D213953
2024-06-28 13:59:02 +00:00
serge-sans-paille
47577bd50a Bug 1904789 - Move MOZ_PROGRAM_LDFLAGS from old-configure to moz.configure r=glandium
As a side effect, remove obsolete __ELF__ check on netbsd.

Differential Revision: https://phabricator.services.mozilla.com/D214934
2024-06-28 10:23:49 +00:00
serge-sans-paille
894d98a519 Bug 1903638 - Remove last mention of $GCC in old-configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D214308
2024-06-25 08:49:03 +00:00
serge-sans-paille
b73026c670 Bug 1903370 - Move -fPIC flag checks from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D214152
2024-06-25 07:04:40 +00:00
serge-sans-paille
a6f78b556a Bug 1899708 - Move DSO_LDOPTS old-configure references to moz.configure r=glandium
As a side effect, syndicate --enable-profile-generate option handling.

Differential Revision: https://phabricator.services.mozilla.com/D212121
2024-06-25 07:04:39 +00:00
Stanca Serban
7f3fc85fcc Backed out changeset 43af344566c1 (bug 1903638) for causing build bustages. CLOSED TREE 2024-06-25 09:24:54 +03:00
serge-sans-paille
ba6d244b5a Bug 1903638 - Remove last mention of $GCC in old-configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D214308
2024-06-25 06:06:43 +00:00
serge-sans-paille
29e6d9081e Bug 1378595 - Remove redundant -fno-exceptions flag r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D214149
2024-06-24 16:18:30 +00:00
serge-sans-paille
93144ab5d0 Bug 1903628 - Move MOZ_FIX_LINK_PATHS from old-configure to moz.configure r=glandium
Also remove the reference to ${prefix} that got introduced in #422221.

Differential Revision: https://phabricator.services.mozilla.com/D214294
2024-06-24 14:21:10 +00:00
serge-sans-paille
9beda1e1e1 Bug 1903040 - Move Child Process Name for IPC checks from old-configure to moz.configure r=glandium
Also limit some variables related to OSX to that specific scope.

Differential Revision: https://phabricator.services.mozilla.com/D213959
2024-06-24 07:36:55 +00:00
serge-sans-paille
e1a3e49b9e Bug 1903035 - Move TARGET_XPCOM_ABI detection from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D213952
2024-06-24 07:36:54 +00:00
serge-sans-paille
e333a7bdd6 Bug 1903046 - Move NO_NSPR_10_SUPPORT macro from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D213963
2024-06-21 07:45:25 +00:00
serge-sans-paille
4a274096f7 Bug 1903061 - Move objective-C flags settings from old-configure to moz.configure r=glandium
Also get rid of host_* version which got dismissed in bug 1069556.

Differential Revision: https://phabricator.services.mozilla.com/D213978
2024-06-20 14:12:26 +00:00
Stanca Serban
4521510921 Backed out changeset d61e206198fe (bug 1903061) for causing python failures. CLOSED TREE 2024-06-20 09:57:23 +03:00
serge-sans-paille
cd00162fdd Bug 1903061 - Move objective-C flags settings from old-configure to moz.configure r=glandium
Also get rid of host_* version which got dismissed in bug 1069556.

Differential Revision: https://phabricator.services.mozilla.com/D213978
2024-06-20 06:31:44 +00:00
serge-sans-paille
6594466cad Bug 1903050 - Move NSS_EXTRA_SYMBOLS_FILE from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D213977
2024-06-19 14:09:26 +00:00
serge-sans-paille
c7d66816f8 Bug 1896414 - Move MOZ_ASAN checks from old.configure to moz.configure r=glandium,geckoview-reviewers,m_kato
Also improve detection of runtime libraries as a side effect.

Differential Revision: https://phabricator.services.mozilla.com/D210196
2024-06-18 14:44:40 +00:00
serge-sans-paille
e57b43edce Bug 1900255 - Move MOZ_DISTRIBUTION_ID from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D212387
2024-06-18 13:45:28 +00:00
Norisz Fay
d2c22840c9 Merge central to autoland CLOSED TREE 2024-06-18 13:12:31 +03:00
Butkovits Atila
b11735b86b Backed out changeset e738f0bc7395 (bug 1900255) for causing Bug 1903197. a=backout 2024-06-18 10:02:08 +03:00
serge-sans-paille
bdc08cb267 Bug 1903033 - Remove unused references to SKIP_* in old-configure.in r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D213951
2024-06-18 06:49:14 +00:00
serge-sans-paille
42eadf3cbf Bug 1900275 - Move MOZ_STUB_INSTALLER from confvars.sh to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D212388
2024-06-17 07:45:19 +00:00
serge-sans-paille
7ca50171c3 Bug 1900255 - Move MOZ_DISTRIBUTION_ID from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D212387
2024-06-17 07:01:08 +00:00
serge-sans-paille
3e51668acb Bug 1900254 - Move MOZ_INCLUDE_SOURCE_INFO from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D212386
2024-06-17 05:41:23 +00:00
serge-sans-paille
af58208cce Bug 1900206 - Move MOZ_APP_UA_NAME from confvars.sh to moz.configure r=glandium,geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D212365
2024-06-16 09:43:44 +00:00
serge-sans-paille
36c72ef7d2 Bug 1900202 - Move MOZ_PROFILE_MIGRATOR from confvars.sh to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D212364
2024-06-15 22:27:12 +00:00
serge-sans-paille
5b2d2b1223 Bug 1900200 - Move MOZ_DEVTOOLS from confvars.sh to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D212363
2024-06-15 22:27:11 +00:00
serge-sans-paille
11d5a0aef2 Bug 1898183 - Move MOZ_SOURCE_REPO and MOZ_SOURCE_CHANGESET from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D212362
2024-06-15 11:36:47 +00:00
serge-sans-paille
92467f0820 Bug 1898181 - Move BROWSER_CHROME_URL from confvars.sh to moz.configure r=glandium,geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D212361
2024-06-15 11:36:46 +00:00
serge-sans-paille
fe9f27acb6 Bug 1898177 - Move MOZ_APP_VENDOR from confvars.sh to moz.configure r=glandium,geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D212338
2024-06-14 13:44:58 +00:00
serge-sans-paille
0f273d3908 Bug 1898060 - Move MOZ_APP_ID from old-configure to moz.configure r=glandium,geckoview-reviewers,m_kato
And add a check to make sure it's always set.

Differential Revision: https://phabricator.services.mozilla.com/D211099
2024-06-14 13:44:58 +00:00
Tamas Szentpeteri
d31f750ad9 Backed out 2 changesets (bug 1898060, bug 1898177) for causing BR bustages related to MOZ_APP_ID. a=backout
Backed out changeset d31b4c115176 (bug 1898177)
Backed out changeset 8cda65a28dd1 (bug 1898060)
2024-06-14 01:56:03 +03:00
serge-sans-paille
fa8546dc3a Bug 1898177 - Move MOZ_APP_VENDOR from confvars.sh to moz.configure r=glandium,geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D212338
2024-06-13 09:32:38 +00:00
serge-sans-paille
e908646af8 Bug 1898060 - Move MOZ_APP_ID from old-configure to moz.configure r=glandium,geckoview-reviewers,m_kato
And add a check to make sure it's always set.

Differential Revision: https://phabricator.services.mozilla.com/D211099
2024-06-13 09:32:38 +00:00
Stanca Serban
d8fa6112ba Backed out 2 changesets (bug 1898060, bug 1898177) for causing build bustages. CLOSED TREE
Backed out changeset ee58e772c50b (bug 1898177)
Backed out changeset e073f86475fd (bug 1898060)
2024-06-13 00:06:03 +03:00
serge-sans-paille
2be69dd43e Bug 1898177 - Move MOZ_APP_VENDOR from confvars.sh to moz.configure r=glandium,geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D212338
2024-06-12 19:25:48 +00:00
serge-sans-paille
5575143c61 Bug 1898060 - Move MOZ_APP_ID from old-configure to moz.configure r=glandium,geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D211099
2024-06-12 19:25:47 +00:00
serge-sans-paille
aef0707504 Bug 1901477 - Move MOZ_LINKER customisation from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D213030
2024-06-12 19:19:18 +00:00
Sandor Molnar
b917b51ab9 Backed out 2 changesets (bug 1898060, bug 1898177) for causing iOS build bustages. CLOSED TREE
Backed out changeset 32df08802f88 (bug 1898177)
Backed out changeset 5a6f63673bda (bug 1898060)
2024-06-12 15:45:38 +03:00
serge-sans-paille
4a3f4c9622 Bug 1898177 - Move MOZ_APP_VENDOR from confvars.sh to moz.configure r=glandium,geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D212338
2024-06-12 11:44:21 +00:00
serge-sans-paille
d8e03508f2 Bug 1898060 - Move MOZ_APP_ID from old-configure to moz.configure r=glandium,geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D211099
2024-06-12 11:44:21 +00:00
Sandor Molnar
5098323b87 Backed out 2 changesets (bug 1898060, bug 1898177) for causing iOS build bustages. CLOSED TREE
Backed out changeset ba9e563cb78a (bug 1898177)
Backed out changeset 5692e2799309 (bug 1898060)
2024-06-12 11:46:52 +03:00
Sandor Molnar
6a86ce0382 Backed out 2 changesets (bug 1898183, bug 1898181) for causing iOS build bustages CLOSED TREE
Backed out changeset 7844bc868bc9 (bug 1898183)
Backed out changeset b3339397fb9b (bug 1898181)
2024-06-12 09:24:17 +03:00
serge-sans-paille
d848f7c2d5 Bug 1898183 - Move MOZ_SOURCE_REPO and MOZ_SOURCE_CHANGESET from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D212362
2024-06-12 05:20:24 +00:00
serge-sans-paille
8386175a59 Bug 1898181 - Move BROWSER_CHROME_URL from confvars.sh to moz.configure r=glandium,geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D212361
2024-06-12 05:20:23 +00:00
serge-sans-paille
871d25f61e Bug 1898177 - Move MOZ_APP_VENDOR from confvars.sh to moz.configure r=glandium,geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D212338
2024-06-11 16:30:58 +00:00
serge-sans-paille
f510581bc4 Bug 1898060 - Move MOZ_APP_ID from old-configure to moz.configure r=glandium,geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D211099
2024-06-11 16:30:58 +00:00
Iulian Moraru
5944e49dc4 Backed out 3 changesets (bug 1900540, bug 1896414) for causing Gtest failures.
Backed out changeset b1e69d42bb91 (bug 1896414)
Backed out changeset 2740e0cb1ac8 (bug 1896414)
Backed out changeset 073d686a1233 (bug 1900540)
2024-06-11 22:40:58 +03:00
serge-sans-paille
b7e36e86e2 Bug 1896414 - Move MOZ_ASAN checks from old.configure to moz.configure r=glandium
Also improve detection of runtime libraries as a side effect.

Differential Revision: https://phabricator.services.mozilla.com/D210196
2024-06-11 06:38:28 +00:00
serge-sans-paille
d089b7429f Bug 1900369 - Move substitution that don't require checks from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D212619
2024-06-10 14:07:13 +00:00
serge-sans-paille
1c5837e664 Bug 1900355 - Remove unused defines, variables and substitutions set in old-configure r=glandium
These are leftovers from bug 1423461, bug 680792, bug 944935, bug 1479945 and bug 1255813.

Differential Revision: https://phabricator.services.mozilla.com/D212618
2024-06-10 14:07:12 +00:00
serge-sans-paille
c44383cc71 Bug 1900349 - Move --with-macbundlename-prefix from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D212616
2024-06-10 14:07:12 +00:00
Stanca Serban
fb35e447c4 Backed out 3 changesets (bug 1900355, bug 1900349, bug 1900369) for causing android build bustages.
Backed out changeset c0f36c70afef (bug 1900369)
Backed out changeset 30b72d444cde (bug 1900355)
Backed out changeset 242196674adc (bug 1900349)
2024-06-10 10:45:01 +03:00
serge-sans-paille
c22c8db39b Bug 1900369 - Move substitution that don't require checks from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D212619
2024-06-10 06:44:16 +00:00
serge-sans-paille
1db5a812bb Bug 1900355 - Remove unused defines, variables and substitutions set in old-configure r=glandium
These are leftovers from bug 1423461, bug 680792, bug 944935, bug 1479945 and bug 1255813.

Differential Revision: https://phabricator.services.mozilla.com/D212618
2024-06-10 06:44:16 +00:00
serge-sans-paille
491f8871d6 Bug 1900349 - Move --with-macbundlename-prefix from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D212616
2024-06-10 06:44:16 +00:00
serge-sans-paille
50b32b0a99 Bug 1897973 - Move MOZ_TOOL_VARIABLES from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D211090
2024-06-04 09:42:13 +00:00
serge-sans-paille
4c80e08fec Bug 1899097 - No longer use GNU_CC CLANG_CC and the likes in old-configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D211719
2024-06-04 09:42:12 +00:00
serge-sans-paille
6193636f9b Bug 1897978 - Move MOZ_ANDROID_NDK from old-configure to moz.configure r=glandium
Also remove the rustc < 1.68 hack, as we no longer support that version.

Differential Revision: https://phabricator.services.mozilla.com/D211091
2024-06-04 09:42:11 +00:00
serge-sans-paille
53c408f3bc Bug 1894951 - Move MOZ_CHECK_ALLOCATOR to moz.configure r=glandium
MOZ_CHECK_ALLOCATOR was defining HAVE_VALLOC and HAVE_ALIGNED_MALLOC
which are unused, so get rid of these checks.

Differential Revision: https://phabricator.services.mozilla.com/D210278
2024-05-28 06:53:55 +00:00
serge-sans-paille
a40d3c0d23 Bug 1892043 - Move MOZ_EXPAND_LIBS check to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D207752
2024-05-22 08:22:16 +00:00
serge-sans-paille
6d437ba43e Bug 1895511 - Move MOZ_DEBUGGING_OPTS to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D209734
2024-05-22 06:01:37 +00:00
Mike Hommey
84a3961eba Bug 1897470 - Replace _WIN32_MSVC checks with something more accurate. r=firefox-build-system-reviewers,ahochheiden
The _WIN32_MSVC checks assume the host and target compilers are the
same, which is not the case when cross-compiling for Android.

Differential Revision: https://phabricator.services.mozilla.com/D210976
2024-05-21 19:29:39 +00:00
serge-sans-paille
ae07881baa Bug 1883940 - Replace MOZ_CXX11 autoconf macro by a moz.configure check r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D203781
2024-05-18 07:10:57 +00:00
serge-sans-paille
b19d89343d Bug 1883782 - Move pthread checks from old-configure to moz.configure r=glandium
Get read of -pthreads because (according to gcc info page) it's only
there on solaris and as an alias to -pthread.

-D_REENTRANT is always defined by gcc and clang when -pthreads is on.
-D_THREAD_SAFE is only defined on AIX by clang

so get rid of the related actions.

libpthreads is an AIX thing, I assume we can remove it too.

c/cxx flags are always added to the linker flags, so don't do any
linker-related addition.

Differential Revision: https://phabricator.services.mozilla.com/D203687
2024-05-17 14:38:08 +00:00
serge-sans-paille
a1106cbc85 Bug 1883720 - (re)Move checks for socket, gethostbyname_r and demangle to moz.configure r=glandium
Actually remove the check for demangle, no supported target need that
check.

Also make library dependencies explicit instead of relying on "$LIBS".

Differential Revision: https://phabricator.services.mozilla.com/D203637
2024-05-17 07:35:09 +00:00
serge-sans-paille
2e6000ad33 Bug 1895505 - Move MOZ_NO_DEBUG_RTL check to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D209733
2024-05-17 07:34:32 +00:00
serge-sans-paille
96b04c1115 Bug 1894923 - Remove unused AC_DEFINE(HAVE_UINT64_T) r=glandium
To be clear: the define is used, but everything that uses it defines it locally.

Differential Revision: https://phabricator.services.mozilla.com/D210277
2024-05-17 06:56:55 +00:00
serge-sans-paille
2a5cc8d486 Bug 1894917 - Remove d3d10 header check to moz.configure r=glandium
The header has been in mingw since 2010, and is in the Windows SDK since
well before the version we require.

Differential Revision: https://phabricator.services.mozilla.com/D209377
2024-05-16 08:49:18 +00:00
serge-sans-paille
b9f78f0cc2 Bug 1883615 - Move libdl checks to moz.configure and make libdl dependencies explicit r=glandium
The -ldl flag was previously set globally, it's now set for the libs
that use it.

Also rationalize the difference between HAVE_DLOPEN and HAVE_DLFCN_H.

Differential Revision: https://phabricator.services.mozilla.com/D203594
2024-05-15 20:29:07 +00:00
Tamas Szentpeteri
22c92af506 Backed out 3 changesets (bug 1883720, bug 1883719, bug 1883615) for causing multiple failures. CLOSED TREE
Backed out changeset 495b9e84ba9d (bug 1883720)
Backed out changeset 5a89cbc54dd2 (bug 1883615)
Backed out changeset 9d075e352b0e (bug 1883719)
2024-05-15 13:30:17 +03:00
serge-sans-paille
ceff7deb44 Bug 1883720 - (re)Move checks for socket, gethostbyname_r and demangle to moz.configure r=glandium
Actually remove the check for demangle, no supported target need that
check.

Also make library dependencies explicit instead of relying on "$LIBS".

Differential Revision: https://phabricator.services.mozilla.com/D203637
2024-05-15 07:47:56 +00:00
serge-sans-paille
863475a670 Bug 1883615 - Move libdl checks to moz.configure and make libdl dependencies explicit r=glandium
The -ldl flag was previously set globally, it's now set for the libs
that use it.

Also rationalize the difference between HAVE_DLOPEN and HAVE_DLFCN_H.

Differential Revision: https://phabricator.services.mozilla.com/D203594
2024-05-15 07:47:55 +00:00
Andrew Creskey
6e039d1685 Bug 1894716 - Change Android build to use -O2 optimization level r=firefox-build-system-reviewers,glandium
Optimize android at "-O2" (speed) instead of "-Oz" (reduced code size) because the performance improvements on benchmarks and pageload outweigh the expected increased in binary size.

Differential Revision: https://phabricator.services.mozilla.com/D209967
2024-05-14 15:05:32 +00:00
serge-sans-paille
8507c5b50c Bug 1892005 - Move MOZ_LINUX_32_SSE2_STARTUP_ERROR env check to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D207729
2024-05-03 05:57:52 +00:00
Tamas Szentpeteri
a86fd1fb23 Backed out changeset 4309f75eaa90 (bug 1883615) for causing build bustages related to check_symbol_in_libs. CLOSED TREE 2024-04-17 12:57:02 +03:00
serge-sans-paille
78ac6a6ccf Bug 1883615 - Move libdl checks to moz.configure and make libdl dependencies explicit r=glandium
The -ldl flag was previously set globally, it's now set for the libs
that use it.

Also rationalize the difference between HAVE_DLOPEN and HAVE_DLFCN_H.

Differential Revision: https://phabricator.services.mozilla.com/D203594
2024-04-17 09:33:00 +00:00
serge-sans-paille
0e7846c3b4 Bug 1890509 - Remove AC_EXEEXT check r=glandium
This check is used to set $EXEXT, which is unused, but it also sets
$ac_exeext which is used internally for various tests, including
AC_TRY_LINK.

Interestingly, setting $ac_exeext to a non empty value bypasses the only
portability issue with MinGW that automatically adds a `.exe` suffix if no
extension is given. So Always set `.out` as extension, as it's only used
internally.

Differential Revision: https://phabricator.services.mozilla.com/D207001
2024-04-17 05:38:24 +00:00
serge-sans-paille
ee227d1498 Bug 1884070 - Remove AC_HEADER_DIRENT checks r=glandium
This is defines HAVE_DIRENT_H which is never actually referenced.

Differential Revision: https://phabricator.services.mozilla.com/D203881
2024-03-30 08:40:23 +00:00
serge-sans-paille
09e35b7cbb Bug 1887622 - Remove legacy checks for mode_t, pid_t and off_t r=glandium
mode_t comes from POSIX.1-2008
pid_t comes from POSIX.1-2008
off_t comes from POSIX.1-2008

Differential Revision: https://phabricator.services.mozilla.com/D205569
2024-03-26 14:21:39 +00:00
serge-sans-paille
8836e202c3 Bug 1884634 - Reenable AC_EXEEXT check r=glandium
It seems to be actually relevant for mingw. Re-enabling it restores the
build to its normal state.

Differential Revision: https://phabricator.services.mozilla.com/D204828
2024-03-19 06:43:01 +00:00
serge-sans-paille
416f019769 Bug 1883858 - Remove configure checks that no longer make sense r=glandium
AC_C_CONST is officially useless, see https://www.gnu.org/software/autoconf/manual/autoconf-2.60/html_node/C-Compiler.html
AC_TYPE_SIZE_T is probably as useless, size_t is a standard type in C99 (from stddef.h)
AC_EXEEXT sets EXEEXT which is never used (and the internal ac_cv_exeext which is not used either)
MISSING_X is never referenced

Differential Revision: https://phabricator.services.mozilla.com/D203732
2024-03-11 07:45:03 +00:00
serge-sans-paille
a95cbb8f40 Bug 1882554 - Move check for -Wl,--ignore-unresolved-symbol,environ to python configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D203014
2024-03-04 19:49:01 +00:00
serge-sans-paille
00c979d8c7 Bug 1881499 - Move res_ninit check to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D202421
2024-02-28 11:11:18 +00:00
serge-sans-paille
ac2f2c943a Bug 1880424 - Move clock_monotonic check to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D201942
2024-02-28 11:11:17 +00:00
serge-sans-paille
f3cfc8bfd7 Bug 1880420 - Move __thread detection to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D201937
2024-02-28 11:11:17 +00:00
serge-sans-paille
1142b832db Bug 1880103 - Move dead_strip linker check to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D201724
2024-02-28 11:11:16 +00:00
Mike Hommey
cf08887328 Bug 1880929 - Drop support for VS 2017. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D202188
2024-02-22 00:53:52 +00:00
Mike Hommey
c7fe957839 Bug 679359 - Autodetect WIN32_REDIST_DIR. r=firefox-build-system-reviewers,sergesanspaille,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D202191
2024-02-21 22:18:10 +00:00
Mike Hommey
866c9cfcc3 Bug 1880930 - Remove irrelevant comment from old-configure.in. r=firefox-build-system-reviewers,sergesanspaille
The comment was added in bug 407459, but the code it was relevant to was
moved without the comment in bug 1257448. At the same time, while the
code that came with the comment was moved and is still relevant, the
comment itself refers to code that was removed in bug 1364358.

Differential Revision: https://phabricator.services.mozilla.com/D202189
2024-02-21 22:18:10 +00:00
Mike Hommey
b48fbe1095 Bug 1681445 - Fix CLOCK_MONOTONIC test. r=firefox-build-system-reviewers,sergesanspaille
Bug 1524461 introduced a typo, using __VA_ARGS instead of __VA_ARGS__. A
previous attempt to fix that led to bug 1684265 and the fix has been in
limbo since then. Bug 1876415 however recently changed things so that
mac builds may not use CLOCK_MONOTONIC for TimeStamp, which would avoid
bug 1684265 after fixing the configure test.

Since the first attempt, though, the availability() hack ceased to work.
At the same time, macOS < 10.12 is not supported anymore, so all
supported versions of macOS do have CLOCK_MONOTONIC, so we just remove
the availability() hack altogether.

Differential Revision: https://phabricator.services.mozilla.com/D202187
2024-02-21 22:15:44 +00:00
serge-sans-paille
f3e856c958 Bug 1880048 - Move -pipe check to moz.configure r=glandium
This flag is only meaningful for gcc, take that into account.

Differential Revision: https://phabricator.services.mozilla.com/D201703
2024-02-14 09:24:19 +00:00
serge-sans-paille
e4d4f0003c Bug 1879776 - Move -Wa,--noexecstack check to python configure r=glandium
Provide the minimal support from moz.configure to do so.

The only observable change of this patch is to permute -fPIC and
-Wa,--noexecstack in ASFLAGS.

Differential Revision: https://phabricator.services.mozilla.com/D201349
2024-02-13 10:35:28 +00:00
serge-sans-paille
aa9cfa20f9 Bug 1872748 - Move linker checks from old-configure to configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D199224
2024-02-10 18:28:43 +00:00