VirtualBox

Changeset 17329 in vbox for trunk


Ignore:
Timestamp:
Mar 4, 2009 9:02:44 AM (16 years ago)
Author:
vboxsync
Message:

configure.vbs: OSE fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.vbs

    r14460 r17329  
    16741674      str = LogFindFile(strPathXml2, "bin/libxml2.dll")
    16751675      if str <> "" then
    1676          if LogFindFile(strPathXml2, "lib/libxml2.lib") then
     1676         if LogFindFile(strPathXml2, "lib/libxml2.lib") <> "" then
    16771677            CheckForXml2Sub = True
    16781678         end if
     
    19331933      end if
    19341934   end if
     1935end function
     1936
     1937
     1938''
     1939' Checks for any Qt4 binaries.
     1940sub CheckForQt4(strOptQt4)
     1941   dim strPathQt4
     1942
     1943   PrintHdr "Qt4"
     1944
     1945   '
     1946   ' Try to find the Qt4 installation (user specified path with --with-qt4)
     1947   '
     1948   strPathQt4 = ""
     1949
     1950   LogPrint "Checking for user specified path of Qt4 ... "
     1951   if (strPathQt4 = "") And (strOptQt4 <> "") then
     1952      strOptQt4 = UnixSlashes(strOptQt4)
     1953      if CheckForQt4Sub(strOptQt4) then strPathQt4 = strOptQt4
     1954   end if
     1955
     1956   if strPathQt4 = "" then
     1957      CfgPrint "VBOX_WITH_QT4GUI="
     1958      PrintResult "Qt4", "not found"
     1959   else
     1960      CfgPrint "PATH_SDK_QT4          := " & strPathQt4
     1961      CfgPrint "PATH_TOOL_QT4          = $(PATH_SDK_QT4)"
     1962      CfgPrint "VBOX_PATH_QT4          = $(PATH_SDK_QT4)"
     1963      PrintResult "Qt4 ", strPathQt4
     1964   end if
     1965end sub
     1966
     1967
     1968'
     1969'
     1970function CheckForQt4Sub(strPathQt4)
     1971
     1972   CheckForQt4Sub = False
     1973   LogPrint "trying: strPathQt4=" & strPathQt4
     1974
     1975   if   LogFileExists(strPathQt4, "bin/moc.exe") _
     1976    And LogFileExists(strPathQt4, "bin/uic.exe") _
     1977    And LogFileExists(strPathQt4, "include/Qt/qwidget.h") _
     1978    And LogFileExists(strPathQt4, "include/QtGui/QApplication") _
     1979    And LogFileExists(strPathQt4, "include/QtNetwork/QHostAddress") _
     1980    And (   LogFileExists(strPathQt4, "lib/QtCore4.lib") _
     1981         Or LogFileExists(strPathQt4, "lib/VBoxQtCore4.lib")) _
     1982    And (   LogFileExists(strPathQt4, "lib/QtNetwork4.lib") _
     1983         Or LogFileExists(strPathQt4, "lib/VBoxQtNetwork4.lib")) _
     1984      then
     1985         CheckForQt4Sub = True
     1986   end if
     1987
    19351988end function
    19361989
     
    19552008   Print "  --with-libSDL=PATH    "
    19562009   Print "  --with-MinGW=PATH     "
    1957    Print "  --with-Qt3=PATH       "
     2010   Print "  --with-Qt=PATH        "
     2011   Print "  --with-Qt4=PATH       "
    19582012   Print "  --with-SDK=PATH       "
    19592013   Print "  --with-VC=PATH        "
     
    19612015   Print "  --with-VC-Express-Edition"
    19622016   Print "  --with-W32API=PATH    "
    1963    Print "  --with-libxml3=PATH   "
     2017   Print "  --with-libxml2=PATH   "
    19642018   Print "  --with-libxslt=PATH   "
    19652019end sub
     
    20242078         case "--with-qt"
    20252079            strOptQt = strPath
     2080         case "--with-qt4"
     2081            strOptQt4 = strPath
    20262082         case "--with-sdk"
    20272083            strOptSDK = strPath
     
    20932149   CheckForXslt strOptXslt
    20942150   CheckForQt strOptQt
     2151   CheckForQt4 strOptQt4
    20952152   if g_blnInternalMode then
    20962153      EnvPrint "call " & g_strPathDev & "/env.cmd %1 %2 %3 %4 %5 %6 %7 %8 %9"
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette