VirtualBox

Changeset 66

Show
Ignore:
Timestamp:
01/16/07 15:41:33 (2 years ago)
Author:
vboxsync
Message:

committing for testing on windows.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy