summaryrefslogtreecommitdiffstats
path: root/js/src
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-02-21 01:19:16 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-02-21 01:19:16 +0100
commit5e21bf1d544f8d15e73cf7cb4ca793addd4bc38d (patch)
tree1a888c298b7c23ad8c5668e49509c11121e09f53 /js/src
parentd53b11c9dc34d0a8c3bb4ad862cff1e0ce566457 (diff)
downloadUXP-5e21bf1d544f8d15e73cf7cb4ca793addd4bc38d.tar
UXP-5e21bf1d544f8d15e73cf7cb4ca793addd4bc38d.tar.gz
UXP-5e21bf1d544f8d15e73cf7cb4ca793addd4bc38d.tar.lz
UXP-5e21bf1d544f8d15e73cf7cb4ca793addd4bc38d.tar.xz
UXP-5e21bf1d544f8d15e73cf7cb4ca793addd4bc38d.zip
Issue #316 - Make sure MOZ_DEVTOOLS_SERVER is passed down to js.
Diffstat (limited to 'js/src')
-rw-r--r--js/src/old-configure.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/js/src/old-configure.in b/js/src/old-configure.in
index 856d7aeb4..dc3d7da04 100644
--- a/js/src/old-configure.in
+++ b/js/src/old-configure.in
@@ -435,6 +435,7 @@ LIB_SUFFIX=a
IMPORT_LIB_SUFFIX=
DIRENT_INO=d_ino
MOZ_USER_DIR=".mozilla"
+MOZ_DEVTOOLS_SERVER=1
MOZ_FIX_LINK_PATHS="-Wl,-rpath-link,${DIST}/bin -Wl,-rpath-link,${prefix}/lib"
@@ -1905,6 +1906,20 @@ dnl =
dnl ========================================================
MOZ_ARG_HEADER(Misc. Options)
+dnl ========================================================
+dnl = Disable Mozilla Developer Tools (server)
+dnl ========================================================
+MOZ_ARG_DISABLE_BOOL(devtools-server,
+[ --disable-devtools-server Disable Mozilla Developer Tools (server)],
+ MOZ_DEVTOOLS_SERVER=,
+ MOZ_DEVTOOLS_SERVER=1)
+
+if test -n "$MOZ_DEVTOOLS_SERVER"; then
+ AC_DEFINE(MOZ_DEVTOOLS_SERVER)
+fi
+
+AC_SUBST(MOZ_DEVTOOLS_SERVER)
+
if test -z "$SKIP_COMPILER_CHECKS"; then
dnl ========================================================
dnl =