--- C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/configure.vb-revBASE.svn001.tmp.vbs	Wed Jul  1 08:40:37 2009
+++ C:/virtualbox-dev/vbox/configure.vbs	Wed Jul  1 08:32:45 2009
@@ -683,14 +683,14 @@
          g_strPathkBuildBin = g_strPathkBuild & "/bin/win.x86"
       else ' boldly assumes there is only x86 and amd64.
          g_strPathkBuildBin = g_strPathkBuild & "/bin/win.amd64"
-         if FileExists(g_strPathkBuild & "/kmk.exe") = False then
+         if FileExists(g_strPathkBuildBin & "/kmk.exe") = False then
             g_strPathkBuildBin = g_strPathkBuild & "/bin/win.x86"
          end if
       end if
-      if FileExists(g_strPathkBuild & "/kmk.exe") = False then
+      if FileExists(g_strPathkBuildBin & "/kmk.exe") = False then
          g_strPathkBuildBin = g_strPathkBuild & "/bin/win.x86"
       end if
-   end if
+   end if   
 
    '
    ' Perform basic validations of the kBuild installation.
