- Timestamp:
- Dec 15, 2007 4:50:59 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 26774
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.vbs
r6079 r6081 50 50 dim g_blnInternalMode 51 51 g_blnInternalMode = False 52 53 ' Whether to try the internal stuff first or last. 54 dim g_blnInternalFirst 55 g_blnInternalFirst = True 52 56 53 57 … … 790 794 end if 791 795 792 if strPathVC = ""Then796 if (strPathVC = "") And (g_blnInternalFirst = True) Then 793 797 strPathVC = g_strPathDev & "/win.x86/vcc/v8" 794 798 if CheckForVisualCPPSub(strPathVC, "", blnOptVCExpressEdition) = False then … … 896 900 strPathVC = str 897 901 strPathVCCommon = str2 902 end if 903 end if 904 end if 905 906 if (strPathVC = "") And (g_blnInternalFirst = False) Then 907 strPathVC = g_strPathDev & "/win.x86/vcc/v8" 908 if CheckForVisualCPPSub(strPathVC, "", blnOptVCExpressEdition) = False then 909 strPathVC = g_strPathDev & "/win.x86/vcc/v7" 910 if CheckForVisualCPPSub(strPathVC, "", blnOptVCExpressEdition) = False then 911 strPathVC = "" 898 912 end if 899 913 end if … … 1004 1018 end if 1005 1019 1006 ' The tools location .1007 if strPathPSDK = ""then1020 ' The tools location (first). 1021 if (strPathPSDK = "") And (g_blnInternalFirst = True) then 1008 1022 str = g_strPathDev & "/win.x86/sdk/200604" 1009 1023 if CheckForPlatformSDKSub(str) then strPathPSDK = str 1010 1024 end if 1011 1025 1012 if strPathPSDK = ""then1026 if (strPathPSDK = "") And (g_blnInternalFirst = True) then 1013 1027 str = g_strPathDev & "/win.x86/sdk/200504" 1014 1028 if CheckForPlatformSDKSub(str) then strPathPSDK = str 1015 1029 end if 1016 1030 1017 if strPathPSDK = ""then1031 if (strPathPSDK = "") And (g_blnInternalFirst = True) then 1018 1032 str = g_strPathDev & "/win.x86/sdk/200209" 1019 1033 if CheckForPlatformSDKSub(str) then strPathPSDK = str … … 1067 1081 end if 1068 1082 Next 1083 1084 ' The tools location (post). 1085 if (strPathPSDK = "") And (g_blnInternalFirst = False) then 1086 str = g_strPathDev & "/win.x86/sdk/200604" 1087 if CheckForPlatformSDKSub(str) then strPathPSDK = str 1088 end if 1089 1090 if (strPathPSDK = "") And (g_blnInternalFirst = False) then 1091 str = g_strPathDev & "/win.x86/sdk/200504" 1092 if CheckForPlatformSDKSub(str) then strPathPSDK = str 1093 end if 1094 1095 if (strPathPSDK = "") And (g_blnInternalFirst = False) then 1096 str = g_strPathDev & "/win.x86/sdk/200209" 1097 if CheckForPlatformSDKSub(str) then strPathPSDK = str 1098 end if 1069 1099 1070 1100 ' Give up. … … 1116 1146 end if 1117 1147 1118 ' The tools location .1119 if strPathDDK = ""then1148 ' The tools location (first). 1149 if (strPathDDK = "") And (g_blnInternalFirst = True) then 1120 1150 str = g_strPathDev & "/win.x86/ddkwin2k3/200503" 1121 1151 if CheckForWin2k3DDKSub(str, False) then strPathDDK = str 1122 1152 end if 1123 1153 1124 if strPathDDK = ""then1154 if (strPathDDK = "") And (g_blnInternalFirst = True) then 1125 1155 str = g_strPathDev & "/win.x86/ddkwin2k3/2004" 1126 1156 if CheckForWin2k3DDKSub(str, False) then strPathDDK = str … … 1170 1200 Next 1171 1201 1202 ' The tools location (post). 1203 if (strPathDDK = "") And (g_blnInternalFirst = False) then 1204 str = g_strPathDev & "/win.x86/ddkwin2k3/200503" 1205 if CheckForWin2k3DDKSub(str, False) then strPathDDK = str 1206 end if 1207 1208 if (strPathDDK = "") And (g_blnInternalFirst = False) then 1209 str = g_strPathDev & "/win.x86/ddkwin2k3/2004" 1210 if CheckForWin2k3DDKSub(str, False) then strPathDDK = str 1211 end if 1212 1213 ' Give up. 1172 1214 if strPathDDK = "" then 1173 1215 MsgError "Cannot find a suitable Windows 2003 DDK. Check configure.log and the build requirements." … … 1249 1291 end if 1250 1292 1251 ' The tools location .1252 if strPathDXSDK = ""then1293 ' The tools location (first). 1294 if (strPathDXSDK = "") And (g_blnInternalFirst = True) then 1253 1295 str = g_strPathDev & "/win.x86/dxsdk/200610" 1254 1296 if CheckForDirectXSDKSub(str) then strPathDXSDK = str … … 1275 1317 Next 1276 1318 1319 ' The tools location (post). 1320 if (strPathDXSDK = "") And (g_blnInternalFirst = False) then 1321 str = g_strPathDev & "/win.x86/dxsdk/200610" 1322 if CheckForDirectXSDKSub(str) then strPathDXSDK = str 1323 end if 1324 1325 ' Give up. 1277 1326 if strPathDXSDK = "" then 1278 1327 MsgError "Cannot find a suitable Direct X SDK. Check configure.log and the build requirements." … … 1326 1375 end if 1327 1376 1328 ' The tools location .1329 if strPathMingW = ""then1377 ' The tools location (first). 1378 if (strPathMingW = "") And (g_blnInternalFirst = True) then 1330 1379 str = g_strPathDev & "/win.x86/mingw32/v3.3.3" 1331 1380 str2 = g_strPathDev & "/win.x86/w32api/v2.5" … … 1350 1399 str = PathParent(PathStripFilename(str)) 1351 1400 if CheckForMingWSub(str, str) then strPathMingW = str 1401 end if 1402 end if 1403 1404 ' The tools location (post). 1405 if (strPathMingW = "") And (g_blnInternalFirst = False) then 1406 str = g_strPathDev & "/win.x86/mingw32/v3.3.3" 1407 str2 = g_strPathDev & "/win.x86/w32api/v2.5" 1408 if CheckForMingWSub(str, str2) then 1409 strPathMingW = str 1410 strPathW32API = str2 1352 1411 end if 1353 1412 end if … … 1452 1511 end if 1453 1512 1454 ' The tools location .1455 if strPathlibSDL = ""Then1513 ' The tools location (first). 1514 if (strPathlibSDL = "") And (g_blnInternalFirst = True) Then 1456 1515 str = g_strPathDev & "/win.x86/libsdl/v1.2.11" 1457 1516 if CheckForlibSDLSub(str) then strPathlibSDL = str 1458 1517 end if 1459 1518 1460 if strPathlibSDL = ""Then1519 if (strPathlibSDL = "") And (g_blnInternalFirst = True) Then 1461 1520 str = g_strPathDev & "/win.x86/libsdl/v1.2.7-InnoTek" 1462 1521 if CheckForlibSDLSub(str) then strPathlibSDL = str … … 1473 1532 if (strPathlibSDL = "") And (str <> "") Then 1474 1533 str = PathParent(PathStripFilename(str)) 1534 if CheckForlibSDLSub(str) then strPathlibSDL = str 1535 end if 1536 1537 ' The tools location (post). 1538 if (strPathlibSDL = "") And (g_blnInternalFirst = False) Then 1539 str = g_strPathDev & "/win.x86/libsdl/v1.2.11" 1540 if CheckForlibSDLSub(str) then strPathlibSDL = str 1541 end if 1542 1543 if (strPathlibSDL = "") And (g_blnInternalFirst = False) Then 1544 str = g_strPathDev & "/win.x86/libsdl/v1.2.7-InnoTek" 1475 1545 if CheckForlibSDLSub(str) then strPathlibSDL = str 1476 1546 end if … … 1777 1847 Print " -h, --help" 1778 1848 Print " --internal" 1849 Print " --internal-last" 1779 1850 Print "" 1780 1851 Print "Components:" … … 1876 1947 case "--internal" 1877 1948 g_blnInternalMode = True 1949 case "--internal-last" 1950 g_blnInternalFirst = False 1878 1951 case "-h", "--help", "-?" 1879 1952 usage
Note:
See TracChangeset
for help on using the changeset viewer.