aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-09-28 15:12:23 +0000
committerlloyd <[email protected]>2010-09-28 15:12:23 +0000
commitacdceb716e83dd686122fb2a598ef56f4733caa0 (patch)
tree60fd007a5f80bace7c185b21f572ba6b6569ebcc /configure.py
parent526f7067844eac0f1dccf2d0c4489b9c68e34632 (diff)
Make configure output more sensible wrt incompatible modules
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.py b/configure.py
index c9c2ed9ff..b99577135 100755
--- a/configure.py
+++ b/configure.py
@@ -1071,12 +1071,12 @@ def choose_modules_to_use(modules, archinfo, options):
elif modname in options.enabled_modules:
to_load.append(modname) # trust the user
- elif not module.compatible_cpu(archinfo, options):
- cannot_use_because(modname, 'incompatible CPU')
elif not module.compatible_os(options.os):
cannot_use_because(modname, 'incompatible OS')
elif not module.compatible_compiler(options.compiler):
cannot_use_because(modname, 'incompatible compiler')
+ elif not module.compatible_cpu(archinfo, options):
+ cannot_use_because(modname, 'incompatible CPU')
elif not module.tr1_ok(options.with_tr1):
cannot_use_because(modname, 'missing TR1')