jsprobes-patches / add-configure-moz-jsflags-option

# HG changeset patch
# Parent f4049f65efc6e367c54643ad7c66b3e81e24bac5
Add the MOZ_JSPROBES guard to configure.in

diff --git a/js/src/configure.in b/js/src/configure.in
--- a/js/src/configure.in
+++ b/js/src/configure.in
@@ -2012,16 +2012,28 @@ dnl ====================================
 dnl = Use profiling compile flags
 dnl ========================================================
 [  --enable-profiling      Set compile flags necessary for using sampling profilers (e.g. shark, perf)],
 dnl ========================================================
+dnl = Enable jsprobes instrumentation points and handlers.
+dnl ========================================================
+[  --enable-jsprobes       Set compile flags necessary to add static probe instrumentation points and support for JavaScript probe handlers],
+if test -n "$MOZ_JSPROBES"; then
+dnl ========================================================
 dnl System overrides of the defaults for host
 dnl ========================================================
 case "$host" in
     # we need Python 2.5 on Windows
     if test -n "$_WIN32_MSVC"; then
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.