summaryrefslogtreecommitdiff
path: root/lib/socket_wrapper
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-30 13:05:15 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:17 +1000
commit77a4fe495ef8056d186d5b6d24f895ff64db77ee (patch)
tree391fc8e9622d2d834b0b721c714b2d70d583882f /lib/socket_wrapper
parent7da57cc94b8e6ddfac1b9e1f35956667ebee2abc (diff)
downloadsamba-77a4fe495ef8056d186d5b6d24f895ff64db77ee.tar.gz
samba-77a4fe495ef8056d186d5b6d24f895ff64db77ee.tar.bz2
samba-77a4fe495ef8056d186d5b6d24f895ff64db77ee.zip
s4-waf: added a --enable-selftest option as a shortcut
This is equiavalent to --enable-uid-wrapper --enable-nss-wrapper --enable-socket-wrapper but is easier to remember!
Diffstat (limited to 'lib/socket_wrapper')
-rw-r--r--lib/socket_wrapper/wscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/socket_wrapper/wscript b/lib/socket_wrapper/wscript
index f4fdff2ab9..6d9a95795d 100644
--- a/lib/socket_wrapper/wscript
+++ b/lib/socket_wrapper/wscript
@@ -8,7 +8,9 @@ def set_options(opt):
action="store_true", dest='enable_socket_wrapper', default=False)
def configure(conf):
- if Options.options.enable_socket_wrapper or Options.options.developer:
+ if (Options.options.enable_socket_wrapper or
+ Options.options.developer or
+ Options.options.enable_selftest):
conf.DEFINE('SOCKET_WRAPPER', 1)
conf.ADD_GLOBAL_DEPENDENCY('SOCKET_WRAPPER')