diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2016-10-10 22:11:12 -0500 |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2016-10-10 22:11:12 -0500 |
commit | 4b10328b795b16bbae40805c5a3204d5eb929283 (patch) | |
tree | 4dfab15c36c7d6e5e703b560234bef2f37b178ac /PCbuild/get_externals.bat | |
parent | 7962a5913ce9f81bb5148e414910db197392dbc7 (diff) | |
parent | 1d4c15f01ce3cb65a89af04537dbf29b8a23decd (diff) | |
download | cpython-4b10328b795b16bbae40805c5a3204d5eb929283.tar.gz |
Issue #28248: Merge with 3.4
Diffstat (limited to 'PCbuild/get_externals.bat')
-rw-r--r-- | PCbuild/get_externals.bat | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/PCbuild/get_externals.bat b/PCbuild/get_externals.bat index 808d623dd4..1c3cdee2c4 100644 --- a/PCbuild/get_externals.bat +++ b/PCbuild/get_externals.bat @@ -51,16 +51,17 @@ if ERRORLEVEL 9009 ( echo.Fetching external libraries...
-for %%e in (
- bzip2-1.0.6
- nasm-2.11.06
- openssl-1.0.2j
- tcl-8.6.1.0
- tk-8.6.1.0
- tix-8.4.3.4
- sqlite-3.8.11.0
- xz-5.0.5
- ) do (
+set libraries=
+set libraries=%libraries% bzip2-1.0.6
+if NOT "%IncludeSSL%"=="false" set libraries=%libraries% nasm-2.11.06
+if NOT "%IncludeSSL%"=="false" set libraries=%libraries% openssl-1.0.2j
+set libraries=%libraries% sqlite-3.8.11.0
+if NOT "%IncludeTkinter%"=="false" set libraries=%libraries% tcl-core-8.6.4.2
+if NOT "%IncludeTkinter%"=="false" set libraries=%libraries% tk-8.6.4.2
+if NOT "%IncludeTkinter%"=="false" set libraries=%libraries% tix-8.4.3.6
+set libraries=%libraries% xz-5.0.5
+
+for %%e in (%libraries%) do (
if exist %%e (
echo.%%e already exists, skipping.
) else (
|