From 232fce3a592adb1ac46aff58fcb2749f323c22ad Mon Sep 17 00:00:00 2001 From: cgalibern Date: Fri, 6 Mar 2015 16:17:06 +0100 Subject: [PATCH] configure: add --without-mdb flag Fixes build issues on Solaris based platforms where libproc.h is not available or not compatible with the one shipped by SmartOS. Fixes #6439. --- configure | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 66cb312ddb86..5751a32a9c38 100755 --- a/configure +++ b/configure @@ -282,6 +282,11 @@ parser.add_option('--without-etw', dest='without_etw', help='build without ETW') +parser.add_option('--without-mdb', + action='store_true', + dest='without_mdb', + help='build without mdb') + parser.add_option('--without-npm', action='store_true', dest='without_npm', @@ -554,7 +559,7 @@ def configure_node(o): # if we're on illumos based systems wrap the helper library into the # executable if flavor == 'solaris': - o['variables']['node_use_mdb'] = 'true' + o['variables']['node_use_mdb'] = b(not options.without_mdb) else: o['variables']['node_use_mdb'] = 'false'