VirtualBox

Changeset 66 in vbox


Ignore:
Timestamp:
Jan 16, 2007 2:41:33 PM (18 years ago)
Author:
vboxsync
Message:

committing for testing on windows.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.vbs

    r1 r66  
    491491      CfgPrint "VBOX_WITHOUT_COM=1"
    492492   end if
     493end sub
     494
     495
     496''
     497' Checks the the path doesn't contain characters the tools cannot deal with.
     498sub CheckSourcePath
     499   dim sPwd;
     500
     501   sPwd = PathAbs(g_strPath);
     502   if InStr(1, sPwd, " ") > 0 then
     503      MsgError "Source path contains spaces! Please move it. (" & sPwd & ")"
     504   end if
     505   if InStr(1, sPwd, "$") > 0 then
     506      MsgError "Source path contains the '$' char! Please move it. (" & sPwd & ")"
     507   end if
     508   if InStr(1, sPwd, "%") > 0 then
     509      MsgError "Source path contains the '%' char! Please move it. (" & sPwd & ")"
     510   end if
     511   if  InStr(1, sPwd, Chr(10)) > 0 _
     512    Or InStr(1, sPwd, Chr(13)) > 0 _
     513    Or InStr(1, sPwd, Chr(9)) > 0 _
     514    then
     515      MsgError "Source path contains control characters! Please move it. (" & sPwd & ")"
     516   end if
     517   Print "Source path: OK"
    493518end sub
    494519
     
    17161741      DisableCOM "--disable-com"
    17171742   end if
     1743   CheckSourcePath
    17181744   CheckForkBuild strOptkBuild
    17191745   CheckForVisualCPP strOptVC, strOptVCCommon, blnOptVCExpressEdition
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