--- C:/home/Projekte/VirtualBox/VirtualBox-2.1.2_OSE/configure.vbs.orig	Mon Jan 26 10:51:25 2009
+++ C:/home/Projekte/VirtualBox/VirtualBox-2.1.2_OSE/configure.vbs	Wed Jan 28 11:56:06 2009
@@ -1507,7 +1507,8 @@
             end if
          end if
          if strVer <> "" then
-            if (iMajor = 3) And (iMinor = 3) then
+		 ' 3.4.x really does not work ...?
+            if (iMajor = 3) And ((iMinor = 3) Or (iMinor=4)) then
                CheckForMingWSub = True
                g_strSubOutput = strVer
             else
@@ -1630,7 +1631,7 @@
    end if
 
    if strPathXml2 = "" Then
-      str = Which("libxml2.lib")
+      str = Which("libxml2_a.lib")
       if str <> "" Then
          str = PathParent(PathStripFilename(str))
          if CheckForXml2Sub(str) then strPathXml2 = str
@@ -1656,7 +1657,7 @@
 
    strPathXml2 = UnixSlashes(PathAbs(strPathXml2))
    CfgPrint "SDK_VBOX_LIBXML2_INCS  := " & strPathXml2 & "/include"
-   CfgPrint "SDK_VBOX_LIBXML2_LIBS  := " & strPathXml2 & "/lib/libxml2.lib"
+   CfgPrint "SDK_VBOX_LIBXML2_LIBS  := " & strPathXml2 & "/lib/libxml2_a.lib"
 
    PrintResult "libxml2", strPathXml2
 end sub
@@ -1673,7 +1674,7 @@
       then
       str = LogFindFile(strPathXml2, "bin/libxml2.dll")
       if str <> "" then
-         if LogFindFile(strPathXml2, "lib/libxml2.lib") then
+         if LogFindFile(strPathXml2, "lib/libxml2_a.lib")<>"" then
             CheckForXml2Sub = True
          end if
       end if
@@ -1702,7 +1703,7 @@
    end if
 
    if strPathXslt = "" Then
-      str = Which("libxslt.lib")
+      str = Which("libxslt_a.lib")
       if str <> "" Then
          str = PathParent(PathStripFilename(str))
          if CheckForXsltSub(str) then strPathXslt = str
@@ -1736,7 +1737,7 @@
 
    strPathXslt = UnixSlashes(PathAbs(strPathXslt))
    CfgPrint "SDK_VBOX_LIBXSLT_INCS   := " & strPathXslt & "/include"
-   CfgPrint "SDK_VBOX_LIBXSLT_LIBS   := " & strPathXslt & "/lib/libxslt.lib"
+   CfgPrint "SDK_VBOX_LIBXSLT_LIBS   := " & strPathXslt & "/lib/libxslt_a.lib"
 
    PrintResult "libxslt", strPathXslt
 end sub
@@ -1752,9 +1753,9 @@
    if   LogFileExists(strPathXslt, "include/libxslt/namespaces.h") _
     And LogFileExists(strPathXslt, "include/libxslt/xsltutils.h") _
       then
-      str = LogFindFile(strPathXslt, "lib/libxslt.dll")
+      str = LogFindFile(strPathXslt, "bin/libxslt.dll")
       if str <> "" then
-         if   LogFileExists(strPathXslt, "lib/libxslt.lib") _
+         if   LogFileExists(strPathXslt, "lib/libxslt_a.lib") _
             then
             CheckForXsltSub = True
          end if
