diff --git a/build/autoconf/config.sub b/build/autoconf/config.sub index 3d9a8dc..2d958b2 100755 --- a/build/autoconf/config.sub +++ b/build/autoconf/config.sub @@ -1728,6 +1728,8 @@ case $os in sco3.2v2 | sco3.2v[4-9]* | sco5v6*) # Don't forget version if it is 3.2v4 or newer. ;; + illumos) + ;; none) ;; *) diff --git a/build/moz.configure/init.configure b/build/moz.configure/init.configure index 3a164c6..f287f5c 100644 --- a/build/moz.configure/init.configure +++ b/build/moz.configure/init.configure @@ -716,6 +716,8 @@ def split_triplet(triplet, allow_msvc=False, allow_wasi=False): canonical_os = canonical_kernel = "OpenBSD" elif os.startswith("solaris"): canonical_os = canonical_kernel = "SunOS" + elif os.startswith("illumos"): + canonical_os = canonical_kernel = "SunOS" elif os.startswith("wasi") and allow_wasi: canonical_os = canonical_kernel = "WASI" else: @@ -1111,7 +1116,7 @@ def target_is_solaris(target): return True -set_define("XP_SOLARIS", target_is_solaris) +set_define("SOLARIS", target_is_solaris) @depends(target) diff --git a/python/mozbuild/mozbuild/configure/constants.py b/python/mozbuild/mozbuild/configure/constants.py index 9f7a977..610121f 100644 --- a/python/mozbuild/mozbuild/configure/constants.py +++ b/python/mozbuild/mozbuild/configure/constants.py @@ -24,6 +24,7 @@ OS = EnumString.subclass( "OpenBSD", "OSX", "SunOS", + "Illumos", "WINNT", "WASI", ) @@ -37,6 +38,7 @@ Kernel = EnumString.subclass( "NetBSD", "OpenBSD", "SunOS", + "Illumos", "WINNT", "WASI", ) @@ -113,6 +113,7 @@ kernel_preprocessor_checks = { "NetBSD": "__NetBSD__", "OpenBSD": "__OpenBSD__", "SunOS": "__sun__", + "Illumos": "__sun__", "WINNT": "_WIN32 || __CYGWIN__", "WASI": "__wasi__", } diff --git a/old-configure.in b/old-configure.in index de2642f..93ac752 100644 --- a/old-configure.in +++ b/old-configure.in @@ -825,6 +825,6 @@ case "$target" in ;; -*-solaris*) +*-solaris* | *-illumos*) MOZ_FIX_LINK_PATHS="-L${DIST}/bin" ;; <<<<<<< HEAD ======= index 77652f6..67235f3 100644 --- a/js/src/old-configure.in +++ b/js/src/old-configure.in @@ -701,7 +701,7 @@ case "$target" in fi ;; -*-solaris*) +*-solaris* | *-illumos*) MOZ_FIX_LINK_PATHS="-L${DIST}/bin" ;; >>>>>>> 960f0c516 (firefox: update 91esr patches)