From c23a664ece8d3dda1220051f4d0450d3a31402f3 Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Fri, 8 Feb 2013 15:58:53 +0100 Subject: [PATCH] Bug 838915 - Add a JS_STANDALONE configure/make variable. r=ted --- configure.in | 1 + js/src/configure.in | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/configure.in b/configure.in index 3cacf05203f2..83dcccfa3c18 100644 --- a/configure.in +++ b/configure.in @@ -9270,6 +9270,7 @@ export MOZILLA_CENTRAL_PATH=$_topsrcdir export STLPORT_CPPFLAGS export STLPORT_LDFLAGS export STLPORT_LIBS +export JS_STANDALONE=no AC_OUTPUT_SUBDIRS(js/src) ac_configure_args="$_SUBDIR_CONFIG_ARGS" diff --git a/js/src/configure.in b/js/src/configure.in index 2a838d5c3c06..cc3349b972be 100644 --- a/js/src/configure.in +++ b/js/src/configure.in @@ -144,6 +144,13 @@ else fi AC_SUBST(JS_SHARED_LIBRARY) +if test "$JS_STANDALONE" = no; then + JS_STANDALONE= +else + JS_STANDALONE=1 +fi +AC_SUBST(JS_STANDALONE) + MOZ_ARG_WITH_STRING(gonk, [ --with-gonk=DIR location of gonk dir],