diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-03-28 22:01:04 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-06 20:27:14 +1000 |
commit | b7ff06b904f8983d49d4a37c1e86a342e55790f6 (patch) | |
tree | 2a4a50236891bf4a9e87882406ec37f97855f2f8 /buildtools/wafsamba/samba_bundled.py | |
parent | d8b91f112011128eeaee2e5b3e2c3ac98e8fa708 (diff) | |
download | samba-b7ff06b904f8983d49d4a37c1e86a342e55790f6.tar.gz samba-b7ff06b904f8983d49d4a37c1e86a342e55790f6.tar.bz2 samba-b7ff06b904f8983d49d4a37c1e86a342e55790f6.zip |
build: tidy up the wafsamba rules a bit
use python string conventions for function comments
Diffstat (limited to 'buildtools/wafsamba/samba_bundled.py')
-rw-r--r-- | buildtools/wafsamba/samba_bundled.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba_bundled.py b/buildtools/wafsamba/samba_bundled.py index a494907af0..47c6a836d6 100644 --- a/buildtools/wafsamba/samba_bundled.py +++ b/buildtools/wafsamba/samba_bundled.py @@ -42,10 +42,15 @@ def BUNDLED_EXTENSION_DEFAULT(opt, extension, noextenion=''): Options.Handler.BUNDLED_EXTENSION_DEFAULT = BUNDLED_EXTENSION_DEFAULT + @runonce @conf def CHECK_BUNDLED_SYSTEM(conf, libname, minversion='0.0.0', checkfunctions=None, headers=None): + '''check if a library is available as a system library. + this first tries via pkg-config, then if that fails + tries by testing for a specified function in the specified lib + ''' if 'ALL' in conf.env.BUNDLED_LIBS or libname in conf.env.BUNDLED_LIBS: return False found = 'FOUND_SYSTEMLIB_%s' % libname |