diff --git a/configure b/configure index d9676a8d8d7..c16ee257431 100755 --- a/configure +++ b/configure @@ -1307,6 +1307,7 @@ def configure_intl(o): def configure_inspector(o): disable_inspector = (options.without_inspector or + options.with_intl in (None, 'none') or options.without_ssl) o['variables']['v8_enable_inspector'] = 0 if disable_inspector else 1 diff --git a/src/node.cc b/src/node.cc index 0e3024b4b04..e75ce1f528d 100644 --- a/src/node.cc +++ b/src/node.cc @@ -303,10 +303,13 @@ static struct { "so event tracing is not available.\n"); } void StopTracingAgent() {} +#endif // !NODE_USE_V8_PLATFORM + +#if NODE_USE_V8_PLATFORM == 0 || HAVE_INSPECTOR == 0 bool InspectorStarted(Environment *env) { return false; } -#endif // !NODE_USE_V8_PLATFORM +#endif // !NODE_USE_V8_PLATFORM || !HAVE_INSPECTOR } v8_platform; #ifdef __POSIX__