Revert "Fix bug #9222 - smbd ignores the "server signing = no" setting for SMB2."
[Samba/gebeck_regimport.git] / buildtools / wafadmin / Tools / lua.py
blob5b181e1310fbc065aa40fdb6e24aec2f8d756e4e
1 #!/usr/bin/env python
2 # encoding: utf-8
3 # Sebastian Schlingmann, 2008
4 # Thomas Nagy, 2008 (ita)
6 import TaskGen
7 from TaskGen import taskgen, feature
8 from Constants import *
10 TaskGen.declare_chain(
11 name = 'luac',
12 rule = '${LUAC} -s -o ${TGT} ${SRC}',
13 ext_in = '.lua',
14 ext_out = '.luac',
15 reentrant = False,
16 install = 'LUADIR', # env variable
19 @feature('lua')
20 def init_lua(self):
21 self.default_chmod = O755
23 def detect(conf):
24 conf.find_program('luac', var='LUAC', mandatory = True)