- Timestamp:
- Aug 9, 2020 12:22:43 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.vbs
r85652 r85653 548 548 549 549 '' 550 ' Right pads a string with spaces to the given length 551 function RightPad(str, cch) 552 if Len(str) < cch then 553 RightPad = str & String(cch - Len(str), " ") 554 else 555 RightPad = str 556 end if 557 end function 558 559 '' 550 560 ' Append text to the log file and echo it to stdout 551 561 sub Print(str) … … 566 576 ' Prints a success message 567 577 sub PrintResultMsg(strTest, strResult) 578 dim cchPad 568 579 LogPrint "** " & strTest & ": " & strResult 569 Wscript.Echo " Found " & strTest & ": "& strResult580 Wscript.Echo " Found " & RightPad(strTest & ": ", 18) & strPad & strResult 570 581 end sub 571 582 … … 577 588 if PathAbs(strPath) <> strLongPath then 578 589 LogPrint "** " & strTest & ": " & strPath & " (" & UnixSlashes(strLongPath) & ")" 579 Wscript.Echo " Found " & strTest & ": "& strPath & " (" & UnixSlashes(strLongPath) & ")"590 Wscript.Echo " Found " & RightPad(strTest & ": ", 18) & strPath & " (" & UnixSlashes(strLongPath) & ")" 580 591 else 581 592 LogPrint "** " & strTest & ": " & strPath 582 Wscript.Echo " Found " & strTest & ": "& strPath593 Wscript.Echo " Found " & RightPad(strTest & ": ", 18) & strPath 583 594 end if 584 595 end sub … … 1511 1522 PrintHdr "libxml2" 1512 1523 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 1513 1532 ' Skip if no COM/ATL. 1514 1533 if g_blnDisableCOM then … … 1587 1606 if bln32Bit = True then 1588 1607 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 1589 1616 end if 1590 1617 … … 1998 2025 CheckForlibSDL strOptlibSDL 1999 2026 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 2005 2028 CheckForSsl strOptSsl, False 2006 2029 if g_strTargetArch = "amd64" then
Note:
See TracChangeset
for help on using the changeset viewer.