summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-02-17 20:38:35 +0000
committerDavid Robillard <d@drobilla.net>2011-02-17 20:38:35 +0000
commitfb6024d9848c28e47a886a1e3f1c0637f55cc274 (patch)
treef591ed46503baf13570758c2ac7b6546ad2d05ae
parentd48aee8a9e46ec5edc1bd59f2f4d276aa5a702a3 (diff)
downloadautowaf-fb6024d9848c28e47a886a1e3f1c0637f55cc274.tar.gz
autowaf-fb6024d9848c28e47a886a1e3f1c0637f55cc274.tar.bz2
autowaf-fb6024d9848c28e47a886a1e3f1c0637f55cc274.zip
Docstrings first...
git-svn-id: http://svn.drobilla.net/autowaf@31 e2e4594f-ea7b-45dc-bc5a-5f5301e603aa
-rw-r--r--autowaf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/autowaf.py b/autowaf.py
index 15a8048..e5a3ed4 100644
--- a/autowaf.py
+++ b/autowaf.py
@@ -96,9 +96,9 @@ def define(conf, var_name, value):
conf.env[var_name] = value
def check_pkg(conf, name, **args):
+ "Check for a package iff it hasn't been checked for yet"
if not 'mandatory' in args:
args['mandatory'] = True
- "Check for a package iff it hasn't been checked for yet"
var_name = 'HAVE_' + nameify(args['uselib_store'])
check = not var_name in conf.env
if not check and 'atleast_version' in args: