summaryrefslogtreecommitdiff
path: root/configure.vbs
diff options
context:
space:
mode:
Diffstat (limited to 'configure.vbs')
-rw-r--r--configure.vbs23
1 files changed, 21 insertions, 2 deletions
diff --git a/configure.vbs b/configure.vbs
index 005ec85c2..b7d7c2cd0 100644
--- a/configure.vbs
+++ b/configure.vbs
@@ -1,4 +1,4 @@
-' $Id: configure.vbs $
+' $Id: configure.vbs 37204 2011-05-24 16:28:51Z vboxsync $
'' @file
' The purpose of this script is to check for all external tools, headers, and
' libraries VBox OSE depends on.
@@ -9,7 +9,7 @@
'
'
-' Copyright (C) 2006-2007 Oracle Corporation
+' Copyright (C) 2006-2011 Oracle Corporation
'
' This file is part of VirtualBox Open Source Edition (OSE), as
' available from http://www.virtualbox.org. This file is free software;
@@ -756,6 +756,18 @@ end sub
''
+' No UDPTunnel
+sub DisableUDPTunnel(strReason)
+ if g_blnDisableUDPTunnel = False then
+ LogPrint "Disabled UDPTunnel network transport: " & strReason
+ g_blnDisableUDPTunnel = True
+ g_strDisableUDPTunnel = strReason
+ CfgPrint "VBOX_WITH_UDPTUNNEL="
+ end if
+end sub
+
+
+''
' Checks the the path doesn't contain characters the tools cannot deal with.
sub CheckSourcePath
dim sPwd
@@ -2227,6 +2239,7 @@ sub usage
Print ""
Print "Components:"
Print " --disable-COM"
+ Print " --disable-UDPTunnel"
Print ""
Print "Locations:"
Print " --with-DDK=PATH "
@@ -2282,6 +2295,7 @@ Sub Main
strOptPython = ""
strOptMkisofs = ""
blnOptDisableCOM = False
+ blnOptDisableUDPTunnel = False
for i = 1 to Wscript.Arguments.Count
dim str, strArg, strPath
@@ -2336,6 +2350,8 @@ Sub Main
blnOptDisableCOM = True
case "--enable-com"
blnOptDisableCOM = False
+ case "--disable-udptunnel"
+ blnOptDisableUDPTunnel = True
case "--internal"
g_blnInternalMode = True
case "--internal-last"
@@ -2375,6 +2391,9 @@ Sub Main
if blnOptDisableCOM = True then
DisableCOM "--disable-com"
end if
+ if blnOptDisableUDPTunnel = True then
+ DisableUDPTunnel "--disable-udptunnel"
+ end if
CheckSourcePath
CheckForkBuild strOptkBuild
CheckForWin2k3DDK strOptDDK