summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorathenian200 <athenian200@outlook.com>2019-10-11 15:36:33 -0500
committerathenian200 <athenian200@outlook.com>2019-10-21 04:53:44 -0500
commit9cd92944e2c772fbb2e9856d5948553ae9233c9a (patch)
tree20831e90f8f0b8257fa7668730fd47ce7756e7e3
parent2f4488521db663520c703a9a836d5549d679266c (diff)
downloadUXP-9cd92944e2c772fbb2e9856d5948553ae9233c9a.tar
UXP-9cd92944e2c772fbb2e9856d5948553ae9233c9a.tar.gz
UXP-9cd92944e2c772fbb2e9856d5948553ae9233c9a.tar.lz
UXP-9cd92944e2c772fbb2e9856d5948553ae9233c9a.tar.xz
UXP-9cd92944e2c772fbb2e9856d5948553ae9233c9a.zip
MoonchildProductions#1251 - Part 24: Remove temporary GNU M4 workaround.
We finally found where configure was failing. Apparently they just invoked m4 without regard for TOOLCHAIN_PREFIX. Easy to fix, difficult to find.
-rw-r--r--application/palemoon/moz.configure44
-rw-r--r--old-configure.in4
2 files changed, 2 insertions, 46 deletions
diff --git a/application/palemoon/moz.configure b/application/palemoon/moz.configure
index 30ad4bfe5..de9b10b16 100644
--- a/application/palemoon/moz.configure
+++ b/application/palemoon/moz.configure
@@ -6,48 +6,4 @@
include('../../toolkit/moz.configure')
-# configure.in is unreliable on Solaris. The build system only picks up about
-# half the boolean values defined there. Doing this instead
-# works consistently. Most of the ones that use AC_DEFINE without a
-# MOZ_ARG_BOOL in this directory's configure.in fail, but all the ones in
-# old-configure.in work just fine and say there's a duplicate if I try and
-# define them here.
-
-if target_is_solaris:
-
- set_define('HAVE_SIDEBAR', True)
- set_config('HAVE_SIDEBAR', True)
-
- set_define('MC_PALEMOON', True)
- set_config('MC_PALEMOON', True)
-
- set_define('MOZ_PHOENIX', True)
- set_config('MOZ_PHOENIX', True)
-
- set_define('MOZ_PERSONAS', True)
- set_config('MOZ_PERSONAS', True)
-
-# set_define('MOZ_DEVTOOLS', True)
-# set_config('MOZ_DEVTOOLS', True)
-
- set_define('MOZ_PHOENIX_EXTENSIONS', True)
- set_config('MOZ_PHOENIX_EXTENSIONS', True)
-
- set_define('MOZ_SERVICES_COMMON', True)
- set_config('MOZ_SERVICES_COMMON', True)
-
-# set_define('MOZ_SERVICES_SYNC', True)
-# set_config('MOZ_SERVICES_SYNC', True)
-
-# set_define('MOZ_JSDOWNLOADS', True)
-# set_config('MOZ_JSDOWNLOADS', True)
-
-# set_define('MOZ_WEBGL_CONFORMANT', True)
-# set_config('MOZ_WEBGL_CONFORMANT', True)
-
-# set_define('MOZ_ADDON_SIGNING', False)
-# set_config('MOZ_ADDON_SIGNING', False)
-
-# set_define('MOZ_REQUIRE_SIGNING', False)
-# set_config('MOZ_REQUIRE_SIGNING', False)
diff --git a/old-configure.in b/old-configure.in
index c5b4f1efb..253084216 100644
--- a/old-configure.in
+++ b/old-configure.in
@@ -761,7 +761,7 @@ case "$host" in
HOST_CFLAGS="$HOST_CFLAGS -DXP_UNIX"
HOST_OPTIMIZE_FLAGS="${HOST_OPTIMIZE_FLAGS=-O3}"
;;
-
+
*)
HOST_CFLAGS="$HOST_CFLAGS -DXP_UNIX"
HOST_OPTIMIZE_FLAGS="${HOST_OPTIMIZE_FLAGS=-O2}"
@@ -4146,7 +4146,7 @@ if test -f "${srcdir}/${MOZ_BUILD_APP}/configure.in" ; then
_subconfigure_config_args="$ac_configure_args"
}
tmpscript=`$PYTHON -c 'import os, tempfile; print tempfile.mktemp(prefix="subscript.").replace(os.sep, "/")'` || exit 1
- m4 "${srcdir}/build/autoconf/subconfigure.m4" \
+ ${TOOLCHAIN_PREFIX}m4 "${srcdir}/build/autoconf/subconfigure.m4" \
"${srcdir}/build/autoconf/altoptions.m4" \
"${srcdir}/${MOZ_BUILD_APP}/configure.in" > $tmpscript
. $tmpscript