-def check_tool(conf, name):
- "Check for a tool iff it hasn't been checked for yet"
- if type(conf.env['AUTOWAF_TOOLS']) != dict:
- conf.env['AUTOWAF_TOOLS'] = {}
-
- checked = conf.env['AUTOWAF_TOOLS']
- if not name in checked:
- conf.check_tool(name)
- checked[name] = True
-