aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorlloyd <[email protected]>2011-04-21 18:48:42 +0000
committerlloyd <[email protected]>2011-04-21 18:48:42 +0000
commit0771ef306eedd46aaa17005044e46ea0c9ac01a4 (patch)
tree0adff17c0c37e3598afea5e34eef894e3caa873b /configure.py
parentc54c7e7cf74727057dfed6bb19c116e6ac97983b (diff)
Enable unix_procs for FreeBSD. It was disabled in 2006 to work
around a bug in FreeBSD 6.1, which is long EOL. If we can't figure out the CPU in configure.py, if running verbosely dump the entire list of CPUs we know about. Some doc cleanups. Rename the 'beos' target to 'haiku', since testing shows that botan can't compile under the old BeOS GCC 2.95 anyway. Remove the call to idle_time in the stats entropy source - it causes a crash on Haiku R1-alpha2 somewhere inside a system DLL. I didn't bother debugging it beyond looking at the backtrace. Add a 'bepc' alias for i386 as that is what Haiku reports its processor as. Fix the install dirs to match Haiku R1, though apparently they will change in R2 anyway when they add package management. Enable use of gmtime_r on Haiku.
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.py b/configure.py
index 073df9d6b..ef2342e0f 100755
--- a/configure.py
+++ b/configure.py
@@ -845,6 +845,12 @@ def canon_processor(archinfo, proc):
if re.search(match, proc) != None:
return (ainfo.basename, submodel)
+ logging.debug('Known CPU names: ' + ' '.join(
+ sorted(sum([[ainfo.basename] + \
+ ainfo.aliases + \
+ [x for (x,_) in ainfo.all_submodels()]
+ for ainfo in archinfo.values()], []))))
+
raise Exception('Unknown or unidentifiable processor "%s"' % (proc))
def guess_processor(archinfo):