aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-06-07 23:58:28 +0000
committerlloyd <[email protected]>2012-06-07 23:58:28 +0000
commit1ca43e0c8caba8b2517122b46e83bf4ca5d79005 (patch)
treea1365d38c763cfd66844f7ad29f1f19ce05d15cd /configure.py
parent8a7eb1f73c503b289a6f4bc56f5ebef806c9d4e6 (diff)
Update cms, cvc, zlib, bzip2, openssl, and gnump modules for the new
allocator interface. The compression filters now just use malloc/free with a memset. Add a new info.txt field <warning>, like comment but warns. Use for CMS which is pretty broken (doesn't even compile anymore), and for TLS.
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/configure.py b/configure.py
index 31b55756d..32c8bfab5 100755
--- a/configure.py
+++ b/configure.py
@@ -536,7 +536,7 @@ class ModuleInfo(object):
lex_me_harder(infofile, self,
['source', 'header:internal', 'header:public',
'requires', 'os', 'arch', 'cc', 'libs',
- 'comment'],
+ 'comment', 'warning'],
{
'load_on': 'auto',
'define': [],
@@ -593,6 +593,11 @@ class ModuleInfo(object):
else:
self.comment = None
+ if self.warning != []:
+ self.warning = ' '.join(self.warning)
+ else:
+ self.warning = None
+
def sources(self):
return self.source
@@ -1292,8 +1297,12 @@ def choose_modules_to_use(modules, archinfo, options):
logging.info('Using MP module ' + mod)
if mod.startswith('simd_') and mod != 'simd_engine':
logging.info('Using SIMD module ' + mod)
+
+ for mod in sorted(to_load):
if modules[mod].comment:
logging.info('%s: %s' % (mod, modules[mod].comment))
+ if modules[mod].warning:
+ logging.warning('%s: %s' % (mod, modules[mod].warning))
logging.debug('Loading modules %s', ' '.join(sorted(to_load)))