aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-02-17 07:05:45 +0000
committerlloyd <[email protected]>2010-02-17 07:05:45 +0000
commit40e2f75e3ecafa8d9ea6518780c2f97aae66d93f (patch)
tree1b54f5397346c0e5cfa96c2aef13b73d01ade14f
parent899d91f8f3f53cf0c19389e2a3667d93974a8a53 (diff)
If --gen-amalgamation is used, imply --disable-asm and
--disable-modules=sha1_sse,serpent_simd (and inform the user this is happening), so amalgamation builds work out of the box.
-rwxr-xr-xconfigure.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.py b/configure.py
index e1b1df7c2..1f0c9aa00 100755
--- a/configure.py
+++ b/configure.py
@@ -1498,6 +1498,16 @@ def main(argv = None):
else:
options.with_tr1 = 'none'
+ if options.gen_amalgamation:
+ if options.asm_ok:
+ logging.info('Disabling assembly code, cannot use in amalgamation')
+ options.asm_ok = False
+
+ for mod in ['sha1_sse2', 'serpent_simd']:
+ if mod not in options.disabled_modules:
+ logging.info('Disabling %s, cannot use in amalgamation' % (mod))
+ options.disabled_modules.append(mod)
+
modules_to_use = choose_modules_to_use(modules,
archinfo[options.arch],
options)