VirtualBox

Changeset 85653 in vbox for trunk


Ignore:
Timestamp:
Aug 9, 2020 12:22:43 PM (4 years ago)
Author:
vboxsync
Message:

configure.vbs: OpenSSL is now part of the tarball, just like libxml2 is.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.vbs

    r85652 r85653  
    548548
    549549''
     550' Right pads a string with spaces to the given length
     551function RightPad(str, cch)
     552   if Len(str) < cch then
     553      RightPad = str & String(cch - Len(str), " ")
     554   else
     555      RightPad = str
     556   end if
     557end function
     558
     559''
    550560' Append text to the log file and echo it to stdout
    551561sub Print(str)
     
    566576' Prints a success message
    567577sub PrintResultMsg(strTest, strResult)
     578   dim cchPad
    568579   LogPrint "** " & strTest & ": " & strResult
    569    Wscript.Echo " Found "& strTest & ": " & strResult
     580   Wscript.Echo " Found " & RightPad(strTest & ": ", 18) & strPad & strResult
    570581end sub
    571582
     
    577588   if PathAbs(strPath) <> strLongPath then
    578589      LogPrint         "** " & strTest & ": " & strPath & " (" & UnixSlashes(strLongPath) & ")"
    579       Wscript.Echo " Found " & strTest & ": " & strPath & " (" & UnixSlashes(strLongPath) & ")"
     590      Wscript.Echo " Found " & RightPad(strTest & ": ", 18) & strPath & " (" & UnixSlashes(strLongPath) & ")"
    580591   else
    581592      LogPrint         "** " & strTest & ": " & strPath
    582       Wscript.Echo " Found " & strTest & ": " & strPath
     593      Wscript.Echo " Found " & RightPad(strTest & ": ", 18) & strPath
    583594   end if
    584595end sub
     
    15111522   PrintHdr "libxml2"
    15121523
     1524   '
     1525   ' Part of tarball / svn, so we can exit immediately if no path was specified.
     1526   '
     1527   if (strOptXml2 = "") then
     1528      PrintResultMsg "libxml2", "src/lib/libxml2-*"
     1529      exit sub
     1530   end if
     1531
    15131532   ' Skip if no COM/ATL.
    15141533   if g_blnDisableCOM then
     
    15871606   if bln32Bit = True then
    15881607       strOpenssl = "openssl32"
     1608   end if
     1609
     1610   '
     1611   ' Part of tarball / svn, so we can exit immediately if no path was specified.
     1612   '
     1613   if (strOptSsl = "") then
     1614      PrintResult strOpenssl, "src/libs/openssl-*"
     1615      exit sub
    15891616   end if
    15901617
     
    19982025      CheckForlibSDL strOptlibSDL
    19992026   end if
    2000    ' Don't check for this library by default as it's part of the tarball
    2001    ' Using an external library can add a dependency to iconv
    2002    if (strOptXml2 <> "") then
    2003       CheckForXml2 strOptXml2
    2004    end if
     2027   CheckForXml2 strOptXml2
    20052028   CheckForSsl strOptSsl, False
    20062029   if g_strTargetArch = "amd64" then
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