<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>utils/archdetect/archdetect.py</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -4,4 +4,5 @@ floppy.img
 scache.conf
 build/
 doc/html
+*.pyc
 </diff>
      <filename>.gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -1,18 +1,16 @@
 import os.path
-import platform
-import re
+import sys
 import SCons.Errors
+sys.path += ['./utils/archdetect']
+import archdetect
 
 opts = Variables('scache.conf')
 topts = Variables()
 
-test_for_i386 = re.match(&quot;(i.86)|(x86$)&quot;, platform.machine())
-arch = ''
-
-if test_for_i386:
+if archdetect.i386():
     arch = 'i386'
 else:
-    raise Scons.Errors.EnvironmentError, &quot;Your arch is not supported&quot;
+    raise SCons.Errors.EnvironmentError, &quot;Your arch is not supported&quot;
 
 ### These options are global defaults.
 ### If you want to change your options locally,</diff>
      <filename>SConstruct</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>083f5d47f7031fbb76f877455e5fc96d06410434</id>
    </parent>
  </parents>
  <author>
    <name>Andrew Etches</name>
    <email>andrew.etches@dur.ac.uk</email>
  </author>
  <url>http://github.com/seadog/kaiser/commit/7d5a007e33febbd3195f65baf3d082368af3a661</url>
  <id>7d5a007e33febbd3195f65baf3d082368af3a661</id>
  <committed-date>2009-08-05T23:22:09-07:00</committed-date>
  <authored-date>2009-08-05T23:22:09-07:00</authored-date>
  <message>Added an archdetect module</message>
  <tree>93d1fca5843253dce62d35da2a0877da2325272c</tree>
  <committer>
    <name>Andrew Etches</name>
    <email>andrew.etches@dur.ac.uk</email>
  </committer>
</commit>
