mgmt, main: add support for authorized commands
refs: #1227
Change-Id: I907d1fa6e78775470c5376fcdfe898be4c311001
diff --git a/wscript b/wscript
index 7d654ab..dbdff3e 100644
--- a/wscript
+++ b/wscript
@@ -5,7 +5,7 @@
import os
def options(opt):
- opt.load('compiler_cxx')
+ opt.load('compiler_cxx gnu_dirs')
opt.load('boost doxygen coverage unix-socket', tooldir=['.waf-tools'])
nfdopt = opt.add_option_group('NFD Options')
@@ -15,7 +15,7 @@
help='''Use NDN-CPP library from the specified path''')
def configure(conf):
- conf.load("compiler_cxx boost")
+ conf.load("compiler_cxx boost gnu_dirs")
try:
conf.load("doxygen")
except:
@@ -67,6 +67,8 @@
conf.load('coverage')
+ conf.define('DEFAULT_CONFIG_FILE', '%s/nfd/nfd.conf' % conf.env['SYSCONFDIR'])
+
conf.write_config_header('daemon/config.hpp')
def build(bld):