summaryrefslogtreecommitdiff
path: root/lib/uid_wrapper
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-07 23:48:57 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:46 +1000
commit6a8c43672bc5d33ea7edbe7879a4284cbc6df12f (patch)
tree9205e17b66e0306bcf38c64b3818518a96e838e3 /lib/uid_wrapper
parentdd2aba149c7176594a311cbc4c42065c3074c696 (diff)
downloadsamba-6a8c43672bc5d33ea7edbe7879a4284cbc6df12f.tar.gz
samba-6a8c43672bc5d33ea7edbe7879a4284cbc6df12f.tar.bz2
samba-6a8c43672bc5d33ea7edbe7879a4284cbc6df12f.zip
build: added wrapper options
Diffstat (limited to 'lib/uid_wrapper')
-rw-r--r--lib/uid_wrapper/wscript11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/uid_wrapper/wscript b/lib/uid_wrapper/wscript
new file mode 100644
index 0000000000..2ca2af6648
--- /dev/null
+++ b/lib/uid_wrapper/wscript
@@ -0,0 +1,11 @@
+import Options
+
+def set_options(opt):
+ opt.add_option('--enable-uid-wrapper',
+ help=("Turn on uid wrapper library (default=no)"),
+ action="store_true", dest='enable_uid_wrapper', default=False)
+
+def configure(conf):
+ if Options.options.enable_uid_wrapper or Options.options.developer:
+ conf.DEFINE('UID_WRAPPER', 1)
+