[vbox-dev] [PATCH] Python is mandatory so the script should stop if it is not available
Bodo
bopi at users.sourceforge.net
Mon Nov 12 02:54:37 PST 2012
===================================================================
--- a/configure.vbs (revision 43845)
+++ b/configure.vbs (working copy)
@@ -2108,6 +2108,16 @@
CheckForPython = True
end if
+ if not CheckForPython then
+ if strPathPython = "" then
+ MsgError "Can't locate Python. Try specify the path with the
--with-python=<path> argument. " _
+ & "If still no luck, consult the configure.log and the
build requirements."
+ else
+ MsgError "Can't locate Python. Please consult the configure.log
and the build requirements."
+ end if
+ exit function
+ end if
+
PrintResult "Python ", strPathPython
end function
@@ -2327,9 +2337,7 @@
CheckForSsl strOptSsl
CheckForCurl strOptCurl
CheckForQt4 strOptQt4
- if (strOptPython <> "") then
- CheckForPython strOptPython
- end if
+ CheckForPython strOptPython
if (strOptMkisofs <> "") then
CheckForMkisofs strOptMkisofs
end if
This Patch is contributed under the MIT license
Regards
Bodo
More information about the vbox-dev
mailing list