From 80ba473c52f57bb9392fb848224f127d3c20d451 Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Sat, 6 Sep 2008 14:46:01 +0100 Subject: [PATCH] For better consistency, option --nsc becomes --enable-nsc, --python-disable becomes --disable-python. --- bindings/python/wscript | 2 +- src/internet-stack/wscript | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bindings/python/wscript b/bindings/python/wscript index 102c966a1..582fe6d49 100644 --- a/bindings/python/wscript +++ b/bindings/python/wscript @@ -28,7 +28,7 @@ REQUIRED_PYGCCXML_VERSION = (0, 9, 5) def set_options(opt): opt.tool_options('python') - opt.add_option('--python-disable', + opt.add_option('--disable-python', help=("Don't build Python bindings."), action="store_true", default=False, dest='python_disable') diff --git a/src/internet-stack/wscript b/src/internet-stack/wscript index 289f7f3c4..95c52a5ae 100644 --- a/src/internet-stack/wscript +++ b/src/internet-stack/wscript @@ -12,10 +12,10 @@ NSC_DIR = "nsc" def set_options(opt): - opt.add_option('--nsc', + opt.add_option('--enable-nsc', help=('Enable Network Simulation Cradle to allow the use real-world network stacks'), action="store_true", default=False, - dest='nsc') + dest='enable_nsc') def nsc_fetch(): @@ -50,9 +50,9 @@ def configure(conf): e.name = 'fl' e.run() - if not Params.g_options.nsc: + if not Params.g_options.enable_nsc: conf.report_optional_feature("nsc", "Network Simulation Cradle", False, - "--nsc configure option not given") + "--enable-nsc configure option not given") return check_nsc_buildutils()