summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-12-26 22:47:02 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-12-26 22:47:02 (GMT)
commitb91eaa4a758229d9a7b3a08c859c3f3368782b4f (patch)
tree44c9db3f91f4ba4e16f5d1148d204f0e08295d3f
parent63426886f59eb4e4cc53551a575da6229bd25b43 (diff)
parent52cf0e0a28737d7f04d2485d39fd089a5d5b5643 (diff)
downloadtcl-b91eaa4a758229d9a7b3a08c859c3f3368782b4f.zip
tcl-b91eaa4a758229d9a7b3a08c859c3f3368782b4f.tar.gz
tcl-b91eaa4a758229d9a7b3a08c859c3f3368782b4f.tar.bz2
Merge 8.7
-rw-r--r--.github/workflows/linux-build.yml3
-rw-r--r--.travis.yml34
-rw-r--r--library/tzdata/Africa/Accra108
-rw-r--r--library/tzdata/Africa/Lagos7
-rw-r--r--library/tzdata/Africa/Nairobi9
-rw-r--r--library/tzdata/America/Belize47
-rw-r--r--library/tzdata/America/Grand_Turk3
-rw-r--r--library/tzdata/America/Nassau5
-rw-r--r--library/tzdata/Antarctica/Macquarie2
-rw-r--r--library/tzdata/Asia/Gaza28
-rw-r--r--library/tzdata/Asia/Hebron28
-rw-r--r--library/tzdata/Asia/Jerusalem56
-rw-r--r--library/tzdata/Atlantic/Bermuda29
-rw-r--r--library/tzdata/Australia/Adelaide10
-rw-r--r--library/tzdata/Australia/Brisbane10
-rw-r--r--library/tzdata/Australia/Broken_Hill10
-rw-r--r--library/tzdata/Australia/Currie274
-rw-r--r--library/tzdata/Australia/Darwin10
-rw-r--r--library/tzdata/Australia/Eucla8
-rw-r--r--library/tzdata/Australia/Hobart14
-rw-r--r--library/tzdata/Australia/Lindeman10
-rw-r--r--library/tzdata/Australia/Melbourne10
-rw-r--r--library/tzdata/Australia/Perth8
-rw-r--r--library/tzdata/Australia/Sydney10
-rw-r--r--library/tzdata/Europe/Volgograd1
-rw-r--r--library/tzdata/Indian/Mahe2
-rw-r--r--library/tzdata/Pacific/Efate4
-rw-r--r--tests/chanio.test4
-rw-r--r--tests/fCmd.test13
-rw-r--r--tests/safe.test3
-rw-r--r--tests/socket.test8
-rw-r--r--unix/Makefile.in2
-rwxr-xr-xunix/configure96
-rw-r--r--unix/configure.ac48
-rwxr-xr-xunix/installManPage2
-rw-r--r--unix/tcl.m4268
-rwxr-xr-xwin/configure97
-rw-r--r--win/configure.ac41
-rw-r--r--win/rules.vc2
-rw-r--r--win/tcl.m417
-rw-r--r--win/tclWinFile.c4
41 files changed, 472 insertions, 873 deletions
diff --git a/.github/workflows/linux-build.yml b/.github/workflows/linux-build.yml
index 6607fdc..a5f3ae8 100644
--- a/.github/workflows/linux-build.yml
+++ b/.github/workflows/linux-build.yml
@@ -9,10 +9,11 @@ jobs:
- ""
- "CFLAGS=-DTCL_UTF_MAX=4"
- "CFLAGS=-DTCL_NO_DEPRECATED=1"
+ - "EXTRA_CC_SWITCHES=-x\\ c++"
+ - "EXTRA_CC_SWITCHES=-x\\\ c++"
- "--disable-shared"
- "--enable-symbols"
- "--enable-symbols=mem"
- - "CC=g++"
defaults:
run:
shell: bash
diff --git a/.travis.yml b/.travis.yml
index c94b6ce..ed6097c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -55,14 +55,6 @@ jobs:
env:
- BUILD_DIR=unix
- CFGOPT="--enable-symbols=mem"
-# C++ build.
- - name: "Linux/G++/Shared"
- os: linux
- dist: focal
- compiler: g++
- env:
- - BUILD_DIR=unix
- - CFGOPT="CC=g++ CFLAGS=-Dregister=dont+use+register"
# Newer/Older versions of GCC
- name: "Linux/GCC 10/Shared"
os: linux
@@ -147,14 +139,6 @@ jobs:
homebrew:
packages:
- libtommath
- - name: "macOS/Clang++/Xcode 12/Shared"
- os: osx
- osx_image: xcode12.2
- env:
- - BUILD_DIR=unix
- - CFGOPT="CC=clang++ --enable-framework --enable-dtrace CFLAGS=-Dregister=dont+use+register CPPFLAGS=-D__private_extern__=extern"
- script:
- - make all tcltest
# Newer MacOS versions
- name: "macOS/Clang/Xcode 12/Universal Apps/Shared"
os: osx
@@ -356,15 +340,6 @@ jobs:
- BUILD_DIR=win
- CFGOPT="--enable-64bit CFLAGS=-DTCL_NO_DEPRECATED=1"
before_install: *makepreinst
- - name: "Windows/G++/Shared"
- os: windows
- compiler: g++
- env:
- - BUILD_DIR=win
- - CFGOPT="CC=g++ --enable-64bit"
- before_install: *makepreinst
- script:
- - make all tcltest
- name: "Windows/GCC/Static"
os: windows
compiler: gcc
@@ -407,15 +382,6 @@ jobs:
- BUILD_DIR=win
- CFGOPT="CFLAGS=-DTCL_NO_DEPRECATED=1"
before_install: *makepreinst
- - name: "Windows/G++-x86/Shared"
- os: windows
- compiler: g++
- env:
- - BUILD_DIR=win
- - CFGOPT="CC=g++"
- before_install: *makepreinst
- script:
- - make all tcltest
- name: "Windows/GCC-x86/Static"
os: windows
compiler: gcc
diff --git a/library/tzdata/Africa/Accra b/library/tzdata/Africa/Accra
index f43f751..3f755f6 100644
--- a/library/tzdata/Africa/Accra
+++ b/library/tzdata/Africa/Accra
@@ -2,51 +2,65 @@
set TZData(:Africa/Accra) {
{-9223372036854775808 -52 0 LMT}
- {-1640995148 0 0 GMT}
- {-1556841600 1200 1 GMT}
- {-1546388400 0 0 GMT}
- {-1525305600 1200 1 GMT}
- {-1514852400 0 0 GMT}
- {-1493769600 1200 1 GMT}
- {-1483316400 0 0 GMT}
- {-1462233600 1200 1 GMT}
- {-1451780400 0 0 GMT}
- {-1430611200 1200 1 GMT}
- {-1420158000 0 0 GMT}
- {-1399075200 1200 1 GMT}
- {-1388622000 0 0 GMT}
- {-1367539200 1200 1 GMT}
- {-1357086000 0 0 GMT}
- {-1336003200 1200 1 GMT}
- {-1325550000 0 0 GMT}
- {-1304380800 1200 1 GMT}
- {-1293927600 0 0 GMT}
- {-1272844800 1200 1 GMT}
- {-1262391600 0 0 GMT}
- {-1241308800 1200 1 GMT}
- {-1230855600 0 0 GMT}
- {-1209772800 1200 1 GMT}
- {-1199319600 0 0 GMT}
- {-1178150400 1200 1 GMT}
- {-1167697200 0 0 GMT}
- {-1146614400 1200 1 GMT}
- {-1136161200 0 0 GMT}
- {-1115078400 1200 1 GMT}
- {-1104625200 0 0 GMT}
- {-1083542400 1200 1 GMT}
- {-1073089200 0 0 GMT}
- {-1051920000 1200 1 GMT}
- {-1041466800 0 0 GMT}
- {-1020384000 1200 1 GMT}
- {-1009930800 0 0 GMT}
- {-988848000 1200 1 GMT}
- {-978394800 0 0 GMT}
- {-957312000 1200 1 GMT}
- {-946858800 0 0 GMT}
- {-925689600 1200 1 GMT}
- {-915236400 0 0 GMT}
- {-894153600 1200 1 GMT}
- {-883700400 0 0 GMT}
- {-862617600 1200 1 GMT}
- {-852164400 0 0 GMT}
+ {-1709337548 0 0 GMT}
+ {-1581206400 1200 1 +0020}
+ {-1577917200 0 0 GMT}
+ {-1556834400 1200 1 +0020}
+ {-1546294800 0 0 GMT}
+ {-1525298400 1200 1 +0020}
+ {-1514758800 0 0 GMT}
+ {-1493762400 1200 1 +0020}
+ {-1483222800 0 0 GMT}
+ {-1462226400 1200 1 +0020}
+ {-1451686800 0 0 GMT}
+ {-1430604000 1200 1 +0020}
+ {-1420064400 0 0 GMT}
+ {-1399068000 1200 1 +0020}
+ {-1388528400 0 0 GMT}
+ {-1367532000 1200 1 +0020}
+ {-1356992400 0 0 GMT}
+ {-1335996000 1200 1 +0020}
+ {-1325456400 0 0 GMT}
+ {-1304373600 1200 1 +0020}
+ {-1293834000 0 0 GMT}
+ {-1272837600 1200 1 +0020}
+ {-1262298000 0 0 GMT}
+ {-1241301600 1200 1 +0020}
+ {-1230762000 0 0 GMT}
+ {-1209765600 1200 1 +0020}
+ {-1199226000 0 0 GMT}
+ {-1178143200 1200 1 +0020}
+ {-1167603600 0 0 GMT}
+ {-1146607200 1200 1 +0020}
+ {-1136067600 0 0 GMT}
+ {-1115071200 1200 1 +0020}
+ {-1104531600 0 0 GMT}
+ {-1083535200 1200 1 +0020}
+ {-1072995600 0 0 GMT}
+ {-1051912800 1200 1 +0020}
+ {-1041373200 0 0 GMT}
+ {-1020376800 1200 1 +0020}
+ {-1009837200 0 0 GMT}
+ {-988840800 1200 1 +0020}
+ {-978301200 0 0 GMT}
+ {-957304800 1200 1 +0020}
+ {-946765200 0 0 GMT}
+ {-936309600 1200 1 +0020}
+ {-915142800 0 0 GMT}
+ {-904773600 1200 1 +0020}
+ {-883606800 0 0 GMT}
+ {-880329600 1800 0 +0030}
+ {-756952200 0 0 GMT}
+ {-610149600 1800 1 +0030}
+ {-599610600 0 0 GMT}
+ {-578613600 1800 1 +0030}
+ {-568074600 0 0 GMT}
+ {-546991200 1800 1 +0030}
+ {-536452200 0 0 GMT}
+ {-515455200 1800 1 +0030}
+ {-504916200 0 0 GMT}
+ {-483919200 1800 1 +0030}
+ {-473380200 0 0 GMT}
+ {-452383200 1800 1 +0030}
+ {-441844200 0 0 GMT}
}
diff --git a/library/tzdata/Africa/Lagos b/library/tzdata/Africa/Lagos
index 079572f..8750661 100644
--- a/library/tzdata/Africa/Lagos
+++ b/library/tzdata/Africa/Lagos
@@ -1,6 +1,9 @@
# created by tools/tclZIC.tcl - do not edit
set TZData(:Africa/Lagos) {
- {-9223372036854775808 816 0 LMT}
- {-1588464816 3600 0 WAT}
+ {-9223372036854775808 815 0 LMT}
+ {-2035584815 0 0 GMT}
+ {-1940889600 815 0 LMT}
+ {-1767226415 1800 0 +0030}
+ {-1588465800 3600 0 WAT}
}
diff --git a/library/tzdata/Africa/Nairobi b/library/tzdata/Africa/Nairobi
index 715dc45..b4c3b97 100644
--- a/library/tzdata/Africa/Nairobi
+++ b/library/tzdata/Africa/Nairobi
@@ -2,8 +2,9 @@
set TZData(:Africa/Nairobi) {
{-9223372036854775808 8836 0 LMT}
- {-1309746436 10800 0 EAT}
- {-1262314800 9000 0 +0230}
- {-946780200 9900 0 +0245}
- {-315629100 10800 0 EAT}
+ {-1946168836 9000 0 +0230}
+ {-1309746600 10800 0 EAT}
+ {-1261969200 9000 0 +0230}
+ {-1041388200 9900 0 +0245}
+ {-865305900 10800 0 EAT}
}
diff --git a/library/tzdata/America/Belize b/library/tzdata/America/Belize
index 5b46388..3b3f9e4 100644
--- a/library/tzdata/America/Belize
+++ b/library/tzdata/America/Belize
@@ -51,8 +51,51 @@ set TZData(:America/Belize) {
{-911759400 -21600 0 CST}
{-891194400 -19800 1 -0530}
{-879705000 -21600 0 CST}
- {-859744800 -19800 1 -0530}
- {-848255400 -21600 0 CST}
+ {-868212000 -18000 1 CWT}
+ {-769395600 -18000 1 CPT}
+ {-758746800 -21600 0 CST}
+ {-701892000 -19800 1 -0530}
+ {-690402600 -21600 0 CST}
+ {-670442400 -19800 1 -0530}
+ {-658953000 -21600 0 CST}
+ {-638992800 -19800 1 -0530}
+ {-627503400 -21600 0 CST}
+ {-606938400 -19800 1 -0530}
+ {-596053800 -21600 0 CST}
+ {-575488800 -19800 1 -0530}
+ {-564604200 -21600 0 CST}
+ {-544039200 -19800 1 -0530}
+ {-532549800 -21600 0 CST}
+ {-512589600 -19800 1 -0530}
+ {-501100200 -21600 0 CST}
+ {-481140000 -19800 1 -0530}
+ {-469650600 -21600 0 CST}
+ {-449690400 -19800 1 -0530}
+ {-438201000 -21600 0 CST}
+ {-417636000 -19800 1 -0530}
+ {-406751400 -21600 0 CST}
+ {-386186400 -19800 1 -0530}
+ {-375301800 -21600 0 CST}
+ {-354736800 -19800 1 -0530}
+ {-343247400 -21600 0 CST}
+ {-323287200 -19800 1 -0530}
+ {-311797800 -21600 0 CST}
+ {-291837600 -19800 1 -0530}
+ {-280348200 -21600 0 CST}
+ {-259783200 -19800 1 -0530}
+ {-248898600 -21600 0 CST}
+ {-228333600 -19800 1 -0530}
+ {-217449000 -21600 0 CST}
+ {-196884000 -19800 1 -0530}
+ {-185999400 -21600 0 CST}
+ {-165434400 -19800 1 -0530}
+ {-153945000 -21600 0 CST}
+ {-133984800 -19800 1 -0530}
+ {-122495400 -21600 0 CST}
+ {-102535200 -19800 1 -0530}
+ {-91045800 -21600 0 CST}
+ {-70480800 -19800 1 -0530}
+ {-59596200 -21600 0 CST}
{123919200 -18000 1 CDT}
{129618000 -21600 0 CST}
{409039200 -18000 1 CDT}
diff --git a/library/tzdata/America/Grand_Turk b/library/tzdata/America/Grand_Turk
index da5f09b..414b0f9 100644
--- a/library/tzdata/America/Grand_Turk
+++ b/library/tzdata/America/Grand_Turk
@@ -77,8 +77,7 @@ set TZData(:America/Grand_Turk) {
{1383458400 -18000 0 EST}
{1394348400 -14400 1 EDT}
{1414908000 -18000 0 EST}
- {1425798000 -14400 1 EDT}
- {1446361200 -14400 0 AST}
+ {1425798000 -14400 0 AST}
{1520751600 -14400 0 EDT}
{1541311200 -18000 0 EST}
{1552201200 -14400 1 EDT}
diff --git a/library/tzdata/America/Nassau b/library/tzdata/America/Nassau
index 1c35e93..292c56d 100644
--- a/library/tzdata/America/Nassau
+++ b/library/tzdata/America/Nassau
@@ -3,6 +3,11 @@
set TZData(:America/Nassau) {
{-9223372036854775808 -18570 0 LMT}
{-1825095030 -18000 0 EST}
+ {-873140400 -14400 1 EWT}
+ {-788904000 -18000 0 EST}
+ {-786222000 -14400 1 EWT}
+ {-769395600 -14400 1 EPT}
+ {-763848000 -18000 0 EST}
{-179341200 -14400 1 EDT}
{-163620000 -18000 0 EST}
{-147891600 -14400 1 EDT}
diff --git a/library/tzdata/Antarctica/Macquarie b/library/tzdata/Antarctica/Macquarie
index e8ed043..82b2b9f 100644
--- a/library/tzdata/Antarctica/Macquarie
+++ b/library/tzdata/Antarctica/Macquarie
@@ -5,7 +5,7 @@ set TZData(:Antarctica/Macquarie) {
{-2214259200 36000 0 AEST}
{-1680508800 39600 1 AEDT}
{-1669892400 39600 0 AEDT}
- {-1665392400 36000 0 AEST}
+ {-1665388800 36000 0 AEST}
{-1601719200 0 0 -00}
{-94730400 36000 0 AEST}
{-71136000 39600 1 AEDT}
diff --git a/library/tzdata/Asia/Gaza b/library/tzdata/Asia/Gaza
index ae86505..95523c9 100644
--- a/library/tzdata/Asia/Gaza
+++ b/library/tzdata/Asia/Gaza
@@ -3,16 +3,18 @@
set TZData(:Asia/Gaza) {
{-9223372036854775808 8272 0 LMT}
{-2185409872 7200 0 EEST}
- {-933645600 10800 1 EEST}
- {-857358000 7200 0 EEST}
+ {-933638400 10800 1 EEST}
+ {-923097600 7200 0 EEST}
+ {-919036800 10800 1 EEST}
+ {-857347200 7200 0 EEST}
{-844300800 10800 1 EEST}
- {-825822000 7200 0 EEST}
- {-812685600 10800 1 EEST}
- {-794199600 7200 0 EEST}
- {-779853600 10800 1 EEST}
- {-762656400 7200 0 EEST}
+ {-825811200 7200 0 EEST}
+ {-812678400 10800 1 EEST}
+ {-794188800 7200 0 EEST}
+ {-779846400 10800 1 EEST}
+ {-762652800 7200 0 EEST}
{-748310400 10800 1 EEST}
- {-731127600 7200 0 EEST}
+ {-731116800 7200 0 EEST}
{-682653600 7200 0 EET}
{-399088800 10800 1 EEST}
{-386650800 7200 0 EET}
@@ -40,12 +42,12 @@ set TZData(:Asia/Gaza) {
{150843600 7200 0 IST}
{167176800 10800 1 IDT}
{178664400 7200 0 IST}
- {334015200 10800 1 IDT}
- {337644000 7200 0 IST}
- {452556000 10800 1 IDT}
- {462232800 7200 0 IST}
+ {334101600 10800 1 IDT}
+ {337730400 7200 0 IST}
+ {452642400 10800 1 IDT}
+ {462319200 7200 0 IST}
{482277600 10800 1 IDT}
- {495579600 7200 0 IST}
+ {494370000 7200 0 IST}
{516751200 10800 1 IDT}
{526424400 7200 0 IST}
{545436000 10800 1 IDT}
diff --git a/library/tzdata/Asia/Hebron b/library/tzdata/Asia/Hebron
index aa028d8..3fdcd65 100644
--- a/library/tzdata/Asia/Hebron
+++ b/library/tzdata/Asia/Hebron
@@ -3,16 +3,18 @@
set TZData(:Asia/Hebron) {
{-9223372036854775808 8423 0 LMT}
{-2185410023 7200 0 EEST}
- {-933645600 10800 1 EEST}
- {-857358000 7200 0 EEST}
+ {-933638400 10800 1 EEST}
+ {-923097600 7200 0 EEST}
+ {-919036800 10800 1 EEST}
+ {-857347200 7200 0 EEST}
{-844300800 10800 1 EEST}
- {-825822000 7200 0 EEST}
- {-812685600 10800 1 EEST}
- {-794199600 7200 0 EEST}
- {-779853600 10800 1 EEST}
- {-762656400 7200 0 EEST}
+ {-825811200 7200 0 EEST}
+ {-812678400 10800 1 EEST}
+ {-794188800 7200 0 EEST}
+ {-779846400 10800 1 EEST}
+ {-762652800 7200 0 EEST}
{-748310400 10800 1 EEST}
- {-731127600 7200 0 EEST}
+ {-731116800 7200 0 EEST}
{-682653600 7200 0 EET}
{-399088800 10800 1 EEST}
{-386650800 7200 0 EET}
@@ -40,12 +42,12 @@ set TZData(:Asia/Hebron) {
{150843600 7200 0 IST}
{167176800 10800 1 IDT}
{178664400 7200 0 IST}
- {334015200 10800 1 IDT}
- {337644000 7200 0 IST}
- {452556000 10800 1 IDT}
- {462232800 7200 0 IST}
+ {334101600 10800 1 IDT}
+ {337730400 7200 0 IST}
+ {452642400 10800 1 IDT}
+ {462319200 7200 0 IST}
{482277600 10800 1 IDT}
- {495579600 7200 0 IST}
+ {494370000 7200 0 IST}
{516751200 10800 1 IDT}
{526424400 7200 0 IST}
{545436000 10800 1 IDT}
diff --git a/library/tzdata/Asia/Jerusalem b/library/tzdata/Asia/Jerusalem
index e1e84f4..596deb3 100644
--- a/library/tzdata/Asia/Jerusalem
+++ b/library/tzdata/Asia/Jerusalem
@@ -4,47 +4,49 @@ set TZData(:Asia/Jerusalem) {
{-9223372036854775808 8454 0 LMT}
{-2840149254 8440 0 JMT}
{-1641003640 7200 0 IST}
- {-933645600 10800 1 IDT}
- {-857358000 7200 0 IST}
+ {-933638400 10800 1 IDT}
+ {-923097600 7200 0 IST}
+ {-919036800 10800 1 IDT}
+ {-857347200 7200 0 IST}
{-844300800 10800 1 IDT}
- {-825822000 7200 0 IST}
- {-812685600 10800 1 IDT}
- {-794199600 7200 0 IST}
- {-779853600 10800 1 IDT}
- {-762656400 7200 0 IST}
+ {-825811200 7200 0 IST}
+ {-812678400 10800 1 IDT}
+ {-794188800 7200 0 IST}
+ {-779846400 10800 1 IDT}
+ {-762652800 7200 0 IST}
{-748310400 10800 1 IDT}
- {-731127600 7200 0 IST}
- {-681962400 14400 1 IDDT}
- {-673243200 10800 1 IDT}
- {-667962000 7200 0 IST}
- {-652327200 10800 1 IDT}
- {-636426000 7200 0 IST}
- {-622087200 10800 1 IDT}
+ {-731116800 7200 0 IST}
+ {-681955200 14400 1 IDDT}
+ {-673228800 10800 1 IDT}
+ {-667958400 7200 0 IST}
+ {-652320000 10800 1 IDT}
+ {-636422400 7200 0 IST}
+ {-622080000 10800 1 IDT}
{-608947200 7200 0 IST}
- {-591847200 10800 1 IDT}
+ {-591840000 10800 1 IDT}
{-572486400 7200 0 IST}
{-558576000 10800 1 IDT}
{-542851200 7200 0 IST}
{-527731200 10800 1 IDT}
{-514425600 7200 0 IST}
- {-490845600 10800 1 IDT}
- {-482986800 7200 0 IST}
- {-459475200 10800 1 IDT}
- {-451537200 7200 0 IST}
- {-428551200 10800 1 IDT}
+ {-490838400 10800 1 IDT}
+ {-482976000 7200 0 IST}
+ {-459388800 10800 1 IDT}
+ {-451526400 7200 0 IST}
+ {-428544000 10800 1 IDT}
{-418262400 7200 0 IST}
- {-400032000 10800 1 IDT}
- {-387428400 7200 0 IST}
+ {-400118400 10800 1 IDT}
+ {-387417600 7200 0 IST}
{142380000 10800 1 IDT}
{150843600 7200 0 IST}
{167176800 10800 1 IDT}
{178664400 7200 0 IST}
- {334015200 10800 1 IDT}
- {337644000 7200 0 IST}
- {452556000 10800 1 IDT}
- {462232800 7200 0 IST}
+ {334101600 10800 1 IDT}
+ {337730400 7200 0 IST}
+ {452642400 10800 1 IDT}
+ {462319200 7200 0 IST}
{482277600 10800 1 IDT}
- {495579600 7200 0 IST}
+ {494370000 7200 0 IST}
{516751200 10800 1 IDT}
{526424400 7200 0 IST}
{545436000 10800 1 IDT}
diff --git a/library/tzdata/Atlantic/Bermuda b/library/tzdata/Atlantic/Bermuda
index 2d4d983..40ab5d7 100644
--- a/library/tzdata/Atlantic/Bermuda
+++ b/library/tzdata/Atlantic/Bermuda
@@ -2,7 +2,34 @@
set TZData(:Atlantic/Bermuda) {
{-9223372036854775808 -15558 0 LMT}
- {-1262281242 -14400 0 AST}
+ {-2524506042 -15558 0 BMT}
+ {-1664307642 -11958 1 BMT}
+ {-1648932042 -15558 0 BMT}
+ {-1632080442 -11958 1 BMT}
+ {-1618692042 -15558 0 BST}
+ {-1262281242 -14400 0 AT}
+ {-882727200 -10800 1 ADT}
+ {-858538800 -14400 0 AST}
+ {-845229600 -10800 1 ADT}
+ {-825879600 -14400 0 AST}
+ {-814384800 -10800 1 ADT}
+ {-793825200 -14400 0 AST}
+ {-782935200 -10800 1 ADT}
+ {-762375600 -14400 0 AST}
+ {-713988000 -10800 1 ADT}
+ {-703710000 -14400 0 AST}
+ {-681933600 -10800 1 ADT}
+ {-672865200 -14400 0 AST}
+ {-650484000 -10800 1 ADT}
+ {-641415600 -14400 0 AST}
+ {-618429600 -10800 1 ADT}
+ {-609966000 -14400 0 AST}
+ {-586980000 -10800 1 ADT}
+ {-578516400 -14400 0 AST}
+ {-555530400 -10800 1 ADT}
+ {-546462000 -14400 0 AST}
+ {-429127200 -10800 1 ADT}
+ {-415825200 -14400 0 AST}
{136360800 -10800 0 ADT}
{152082000 -14400 0 AST}
{167810400 -10800 1 ADT}
diff --git a/library/tzdata/Australia/Adelaide b/library/tzdata/Australia/Adelaide
index 7e1b04e..5f7c1a4 100644
--- a/library/tzdata/Australia/Adelaide
+++ b/library/tzdata/Australia/Adelaide
@@ -4,14 +4,14 @@ set TZData(:Australia/Adelaide) {
{-9223372036854775808 33260 0 LMT}
{-2364110060 32400 0 ACST}
{-2230189200 34200 0 ACST}
- {-1672565340 37800 1 ACDT}
- {-1665390600 34200 0 ACST}
+ {-1672558200 37800 1 ACDT}
+ {-1665387000 34200 0 ACST}
{-883639800 37800 1 ACDT}
- {-876126600 34200 0 ACST}
+ {-876123000 34200 0 ACST}
{-860398200 37800 1 ACDT}
- {-844677000 34200 0 ACST}
+ {-844673400 34200 0 ACST}
{-828343800 37800 1 ACDT}
- {-813227400 34200 0 ACST}
+ {-813223800 34200 0 ACST}
{31501800 34200 0 ACST}
{57688200 37800 1 ACDT}
{67969800 34200 0 ACST}
diff --git a/library/tzdata/Australia/Brisbane b/library/tzdata/Australia/Brisbane
index 8422ae6..325313a 100644
--- a/library/tzdata/Australia/Brisbane
+++ b/library/tzdata/Australia/Brisbane
@@ -3,14 +3,14 @@
set TZData(:Australia/Brisbane) {
{-9223372036854775808 36728 0 LMT}
{-2366791928 36000 0 AEST}
- {-1672567140 39600 1 AEDT}
- {-1665392400 36000 0 AEST}
+ {-1672560000 39600 1 AEDT}
+ {-1665388800 36000 0 AEST}
{-883641600 39600 1 AEDT}
- {-876128400 36000 0 AEST}
+ {-876124800 36000 0 AEST}
{-860400000 39600 1 AEDT}
- {-844678800 36000 0 AEST}
+ {-844675200 36000 0 AEST}
{-828345600 39600 1 AEDT}
- {-813229200 36000 0 AEST}
+ {-813225600 36000 0 AEST}
{31500000 36000 0 AEST}
{57686400 39600 1 AEDT}
{67968000 36000 0 AEST}
diff --git a/library/tzdata/Australia/Broken_Hill b/library/tzdata/Australia/Broken_Hill
index c428061..2534b70 100644
--- a/library/tzdata/Australia/Broken_Hill
+++ b/library/tzdata/Australia/Broken_Hill
@@ -5,14 +5,14 @@ set TZData(:Australia/Broken_Hill) {
{-2364110748 36000 0 AEST}
{-2314951200 32400 0 ACST}
{-2230189200 34200 0 ACST}
- {-1672565340 37800 1 ACDT}
- {-1665390600 34200 0 ACST}
+ {-1672558200 37800 1 ACDT}
+ {-1665387000 34200 0 ACST}
{-883639800 37800 1 ACDT}
- {-876126600 34200 0 ACST}
+ {-876123000 34200 0 ACST}
{-860398200 37800 1 ACDT}
- {-844677000 34200 0 ACST}
+ {-844673400 34200 0 ACST}
{-828343800 37800 1 ACDT}
- {-813227400 34200 0 ACST}
+ {-813223800 34200 0 ACST}
{31501800 34200 0 ACST}
{57688200 37800 1 ACDT}
{67969800 34200 0 ACST}
diff --git a/library/tzdata/Australia/Currie b/library/tzdata/Australia/Currie
index 936327b..3315aa3 100644
--- a/library/tzdata/Australia/Currie
+++ b/library/tzdata/Australia/Currie
@@ -1,273 +1,5 @@
# created by tools/tclZIC.tcl - do not edit
-
-set TZData(:Australia/Currie) {
- {-9223372036854775808 34528 0 LMT}
- {-2345794528 36000 0 AEST}
- {-1680508800 39600 1 AEDT}
- {-1669892400 39600 0 AEDT}
- {-1665392400 36000 0 AEST}
- {-883641600 39600 1 AEDT}
- {-876128400 36000 0 AEST}
- {-860400000 39600 1 AEDT}
- {-844678800 36000 0 AEST}
- {-828345600 39600 1 AEDT}
- {-813229200 36000 0 AEST}
- {47138400 36000 0 AEST}
- {57686400 39600 1 AEDT}
- {67968000 36000 0 AEST}
- {89136000 39600 1 AEDT}
- {100022400 36000 0 AEST}
- {120585600 39600 1 AEDT}
- {131472000 36000 0 AEST}
- {152035200 39600 1 AEDT}
- {162921600 36000 0 AEST}
- {183484800 39600 1 AEDT}
- {194976000 36000 0 AEST}
- {215539200 39600 1 AEDT}
- {226425600 36000 0 AEST}
- {246988800 39600 1 AEDT}
- {257875200 36000 0 AEST}
- {278438400 39600 1 AEDT}
- {289324800 36000 0 AEST}
- {309888000 39600 1 AEDT}
- {320774400 36000 0 AEST}
- {341337600 39600 1 AEDT}
- {352224000 36000 0 AEST}
- {372787200 39600 1 AEDT}
- {386092800 36000 0 AEST}
- {404841600 39600 1 AEDT}
- {417542400 36000 0 AEST}
- {436291200 39600 1 AEDT}
- {447177600 36000 0 AEST}
- {467740800 39600 1 AEDT}
- {478627200 36000 0 AEST}
- {499190400 39600 1 AEDT}
- {510076800 36000 0 AEST}
- {530035200 39600 1 AEDT}
- {542736000 36000 0 AEST}
- {562089600 39600 1 AEDT}
- {574790400 36000 0 AEST}
- {594144000 39600 1 AEDT}
- {606240000 36000 0 AEST}
- {625593600 39600 1 AEDT}
- {637689600 36000 0 AEST}
- {657043200 39600 1 AEDT}
- {670348800 36000 0 AEST}
- {686678400 39600 1 AEDT}
- {701798400 36000 0 AEST}
- {718128000 39600 1 AEDT}
- {733248000 36000 0 AEST}
- {749577600 39600 1 AEDT}
- {764697600 36000 0 AEST}
- {781027200 39600 1 AEDT}
- {796147200 36000 0 AEST}
- {812476800 39600 1 AEDT}
- {828201600 36000 0 AEST}
- {844531200 39600 1 AEDT}
- {859651200 36000 0 AEST}
- {875980800 39600 1 AEDT}
- {891100800 36000 0 AEST}
- {907430400 39600 1 AEDT}
- {922550400 36000 0 AEST}
- {938880000 39600 1 AEDT}
- {954000000 36000 0 AEST}
- {967305600 39600 1 AEDT}
- {985449600 36000 0 AEST}
- {1002384000 39600 1 AEDT}
- {1017504000 36000 0 AEST}
- {1033833600 39600 1 AEDT}
- {1048953600 36000 0 AEST}
- {1065283200 39600 1 AEDT}
- {1080403200 36000 0 AEST}
- {1096732800 39600 1 AEDT}
- {1111852800 36000 0 AEST}
- {1128182400 39600 1 AEDT}
- {1143907200 36000 0 AEST}
- {1159632000 39600 1 AEDT}
- {1174752000 36000 0 AEST}
- {1191686400 39600 1 AEDT}
- {1207411200 36000 0 AEST}
- {1223136000 39600 1 AEDT}
- {1238860800 36000 0 AEST}
- {1254585600 39600 1 AEDT}
- {1270310400 36000 0 AEST}
- {1286035200 39600 1 AEDT}
- {1301760000 36000 0 AEST}
- {1317484800 39600 1 AEDT}
- {1333209600 36000 0 AEST}
- {1349539200 39600 1 AEDT}
- {1365264000 36000 0 AEST}
- {1380988800 39600 1 AEDT}
- {1396713600 36000 0 AEST}
- {1412438400 39600 1 AEDT}
- {1428163200 36000 0 AEST}
- {1443888000 39600 1 AEDT}
- {1459612800 36000 0 AEST}
- {1475337600 39600 1 AEDT}
- {1491062400 36000 0 AEST}
- {1506787200 39600 1 AEDT}
- {1522512000 36000 0 AEST}
- {1538841600 39600 1 AEDT}
- {1554566400 36000 0 AEST}
- {1570291200 39600 1 AEDT}
- {1586016000 36000 0 AEST}
- {1601740800 39600 1 AEDT}
- {1617465600 36000 0 AEST}
- {1633190400 39600 1 AEDT}
- {1648915200 36000 0 AEST}
- {1664640000 39600 1 AEDT}
- {1680364800 36000 0 AEST}
- {1696089600 39600 1 AEDT}
- {1712419200 36000 0 AEST}
- {1728144000 39600 1 AEDT}
- {1743868800 36000 0 AEST}
- {1759593600 39600 1 AEDT}
- {1775318400 36000 0 AEST}
- {1791043200 39600 1 AEDT}
- {1806768000 36000 0 AEST}
- {1822492800 39600 1 AEDT}
- {1838217600 36000 0 AEST}
- {1853942400 39600 1 AEDT}
- {1869667200 36000 0 AEST}
- {1885996800 39600 1 AEDT}
- {1901721600 36000 0 AEST}
- {1917446400 39600 1 AEDT}
- {1933171200 36000 0 AEST}
- {1948896000 39600 1 AEDT}
- {1964620800 36000 0 AEST}
- {1980345600 39600 1 AEDT}
- {1996070400 36000 0 AEST}
- {2011795200 39600 1 AEDT}
- {2027520000 36000 0 AEST}
- {2043244800 39600 1 AEDT}
- {2058969600 36000 0 AEST}
- {2075299200 39600 1 AEDT}
- {2091024000 36000 0 AEST}
- {2106748800 39600 1 AEDT}
- {2122473600 36000 0 AEST}
- {2138198400 39600 1 AEDT}
- {2153923200 36000 0 AEST}
- {2169648000 39600 1 AEDT}
- {2185372800 36000 0 AEST}
- {2201097600 39600 1 AEDT}
- {2216822400 36000 0 AEST}
- {2233152000 39600 1 AEDT}
- {2248876800 36000 0 AEST}
- {2264601600 39600 1 AEDT}
- {2280326400 36000 0 AEST}
- {2296051200 39600 1 AEDT}
- {2311776000 36000 0 AEST}
- {2327500800 39600 1 AEDT}
- {2343225600 36000 0 AEST}
- {2358950400 39600 1 AEDT}
- {2374675200 36000 0 AEST}
- {2390400000 39600 1 AEDT}
- {2406124800 36000 0 AEST}
- {2422454400 39600 1 AEDT}
- {2438179200 36000 0 AEST}
- {2453904000 39600 1 AEDT}
- {2469628800 36000 0 AEST}
- {2485353600 39600 1 AEDT}
- {2501078400 36000 0 AEST}
- {2516803200 39600 1 AEDT}
- {2532528000 36000 0 AEST}
- {2548252800 39600 1 AEDT}
- {2563977600 36000 0 AEST}
- {2579702400 39600 1 AEDT}
- {2596032000 36000 0 AEST}
- {2611756800 39600 1 AEDT}
- {2627481600 36000 0 AEST}
- {2643206400 39600 1 AEDT}
- {2658931200 36000 0 AEST}
- {2674656000 39600 1 AEDT}
- {2690380800 36000 0 AEST}
- {2706105600 39600 1 AEDT}
- {2721830400 36000 0 AEST}
- {2737555200 39600 1 AEDT}
- {2753280000 36000 0 AEST}
- {2769609600 39600 1 AEDT}
- {2785334400 36000 0 AEST}
- {2801059200 39600 1 AEDT}
- {2816784000 36000 0 AEST}
- {2832508800 39600 1 AEDT}
- {2848233600 36000 0 AEST}
- {2863958400 39600 1 AEDT}
- {2879683200 36000 0 AEST}
- {2895408000 39600 1 AEDT}
- {2911132800 36000 0 AEST}
- {2926857600 39600 1 AEDT}
- {2942582400 36000 0 AEST}
- {2958912000 39600 1 AEDT}
- {2974636800 36000 0 AEST}
- {2990361600 39600 1 AEDT}
- {3006086400 36000 0 AEST}
- {3021811200 39600 1 AEDT}
- {3037536000 36000 0 AEST}
- {3053260800 39600 1 AEDT}
- {3068985600 36000 0 AEST}
- {3084710400 39600 1 AEDT}
- {3100435200 36000 0 AEST}
- {3116764800 39600 1 AEDT}
- {3132489600 36000 0 AEST}
- {3148214400 39600 1 AEDT}
- {3163939200 36000 0 AEST}
- {3179664000 39600 1 AEDT}
- {3195388800 36000 0 AEST}
- {3211113600 39600 1 AEDT}
- {3226838400 36000 0 AEST}
- {3242563200 39600 1 AEDT}
- {3258288000 36000 0 AEST}
- {3274012800 39600 1 AEDT}
- {3289737600 36000 0 AEST}
- {3306067200 39600 1 AEDT}
- {3321792000 36000 0 AEST}
- {3337516800 39600 1 AEDT}
- {3353241600 36000 0 AEST}
- {3368966400 39600 1 AEDT}
- {3384691200 36000 0 AEST}
- {3400416000 39600 1 AEDT}
- {3416140800 36000 0 AEST}
- {3431865600 39600 1 AEDT}
- {3447590400 36000 0 AEST}
- {3463315200 39600 1 AEDT}
- {3479644800 36000 0 AEST}
- {3495369600 39600 1 AEDT}
- {3511094400 36000 0 AEST}
- {3526819200 39600 1 AEDT}
- {3542544000 36000 0 AEST}
- {3558268800 39600 1 AEDT}
- {3573993600 36000 0 AEST}
- {3589718400 39600 1 AEDT}
- {3605443200 36000 0 AEST}
- {3621168000 39600 1 AEDT}
- {3636892800 36000 0 AEST}
- {3653222400 39600 1 AEDT}
- {3668947200 36000 0 AEST}
- {3684672000 39600 1 AEDT}
- {3700396800 36000 0 AEST}
- {3716121600 39600 1 AEDT}
- {3731846400 36000 0 AEST}
- {3747571200 39600 1 AEDT}
- {3763296000 36000 0 AEST}
- {3779020800 39600 1 AEDT}
- {3794745600 36000 0 AEST}
- {3810470400 39600 1 AEDT}
- {3826195200 36000 0 AEST}
- {3842524800 39600 1 AEDT}
- {3858249600 36000 0 AEST}
- {3873974400 39600 1 AEDT}
- {3889699200 36000 0 AEST}
- {3905424000 39600 1 AEDT}
- {3921148800 36000 0 AEST}
- {3936873600 39600 1 AEDT}
- {3952598400 36000 0 AEST}
- {3968323200 39600 1 AEDT}
- {3984048000 36000 0 AEST}
- {4000377600 39600 1 AEDT}
- {4016102400 36000 0 AEST}
- {4031827200 39600 1 AEDT}
- {4047552000 36000 0 AEST}
- {4063276800 39600 1 AEDT}
- {4079001600 36000 0 AEST}
- {4094726400 39600 1 AEDT}
+if {![info exists TZData(Australia/Hobart)]} {
+ LoadTimeZoneFile Australia/Hobart
}
+set TZData(:Australia/Currie) $TZData(:Australia/Hobart)
diff --git a/library/tzdata/Australia/Darwin b/library/tzdata/Australia/Darwin
index e77605d..13f13ee 100644
--- a/library/tzdata/Australia/Darwin
+++ b/library/tzdata/Australia/Darwin
@@ -4,12 +4,12 @@ set TZData(:Australia/Darwin) {
{-9223372036854775808 31400 0 LMT}
{-2364108200 32400 0 ACST}
{-2230189200 34200 0 ACST}
- {-1672565340 37800 1 ACDT}
- {-1665390600 34200 0 ACST}
+ {-1672558200 37800 1 ACDT}
+ {-1665387000 34200 0 ACST}
{-883639800 37800 1 ACDT}
- {-876126600 34200 0 ACST}
+ {-876123000 34200 0 ACST}
{-860398200 37800 1 ACDT}
- {-844677000 34200 0 ACST}
+ {-844673400 34200 0 ACST}
{-828343800 37800 1 ACDT}
- {-813227400 34200 0 ACST}
+ {-813223800 34200 0 ACST}
}
diff --git a/library/tzdata/Australia/Eucla b/library/tzdata/Australia/Eucla
index 8008980..1d81a3d 100644
--- a/library/tzdata/Australia/Eucla
+++ b/library/tzdata/Australia/Eucla
@@ -3,12 +3,12 @@
set TZData(:Australia/Eucla) {
{-9223372036854775808 30928 0 LMT}
{-2337928528 31500 0 +0945}
- {-1672562640 35100 1 +0945}
- {-1665387900 31500 0 +0945}
+ {-1672555500 35100 1 +0945}
+ {-1665384300 31500 0 +0945}
{-883637100 35100 1 +0945}
- {-876123900 31500 0 +0945}
+ {-876120300 31500 0 +0945}
{-860395500 35100 1 +0945}
- {-844674300 31500 0 +0945}
+ {-844670700 31500 0 +0945}
{-836473500 35100 0 +0945}
{152039700 35100 1 +0945}
{162926100 31500 0 +0945}
diff --git a/library/tzdata/Australia/Hobart b/library/tzdata/Australia/Hobart
index bf5adf0..5ff675e 100644
--- a/library/tzdata/Australia/Hobart
+++ b/library/tzdata/Australia/Hobart
@@ -4,14 +4,18 @@ set TZData(:Australia/Hobart) {
{-9223372036854775808 35356 0 LMT}
{-2345795356 36000 0 AEST}
{-1680508800 39600 1 AEDT}
- {-1669892400 39600 0 AEDT}
- {-1665392400 36000 0 AEST}
+ {-1665388800 36000 0 AEST}
+ {-1646640000 39600 1 AEDT}
+ {-1635753600 36000 0 AEST}
+ {-1615190400 39600 1 AEDT}
+ {-1604304000 36000 0 AEST}
+ {-1583920800 36000 0 AEST}
{-883641600 39600 1 AEDT}
- {-876128400 36000 0 AEST}
+ {-876124800 36000 0 AEST}
{-860400000 39600 1 AEDT}
- {-844678800 36000 0 AEST}
+ {-844675200 36000 0 AEST}
{-828345600 39600 1 AEDT}
- {-813229200 36000 0 AEST}
+ {-813225600 36000 0 AEST}
{-94730400 36000 0 AEST}
{-71136000 39600 1 AEDT}
{-55411200 36000 0 AEST}
diff --git a/library/tzdata/Australia/Lindeman b/library/tzdata/Australia/Lindeman
index 91ad0a6..1be6962 100644
--- a/library/tzdata/Australia/Lindeman
+++ b/library/tzdata/Australia/Lindeman
@@ -3,14 +3,14 @@
set TZData(:Australia/Lindeman) {
{-9223372036854775808 35756 0 LMT}
{-2366790956 36000 0 AEST}
- {-1672567140 39600 1 AEDT}
- {-1665392400 36000 0 AEST}
+ {-1672560000 39600 1 AEDT}
+ {-1665388800 36000 0 AEST}
{-883641600 39600 1 AEDT}
- {-876128400 36000 0 AEST}
+ {-876124800 36000 0 AEST}
{-860400000 39600 1 AEDT}
- {-844678800 36000 0 AEST}
+ {-844675200 36000 0 AEST}
{-828345600 39600 1 AEDT}
- {-813229200 36000 0 AEST}
+ {-813225600 36000 0 AEST}
{31500000 36000 0 AEST}
{57686400 39600 1 AEDT}
{67968000 36000 0 AEST}
diff --git a/library/tzdata/Australia/Melbourne b/library/tzdata/Australia/Melbourne
index 81777df..77e9067 100644
--- a/library/tzdata/Australia/Melbourne
+++ b/library/tzdata/Australia/Melbourne
@@ -3,14 +3,14 @@
set TZData(:Australia/Melbourne) {
{-9223372036854775808 34792 0 LMT}
{-2364111592 36000 0 AEST}
- {-1672567140 39600 1 AEDT}
- {-1665392400 36000 0 AEST}
+ {-1672560000 39600 1 AEDT}
+ {-1665388800 36000 0 AEST}
{-883641600 39600 1 AEDT}
- {-876128400 36000 0 AEST}
+ {-876124800 36000 0 AEST}
{-860400000 39600 1 AEDT}
- {-844678800 36000 0 AEST}
+ {-844675200 36000 0 AEST}
{-828345600 39600 1 AEDT}
- {-813229200 36000 0 AEST}
+ {-813225600 36000 0 AEST}
{31500000 36000 0 AEST}
{57686400 39600 1 AEDT}
{67968000 36000 0 AEST}
diff --git a/library/tzdata/Australia/Perth b/library/tzdata/Australia/Perth
index 6ccbca8..4ed3cba 100644
--- a/library/tzdata/Australia/Perth
+++ b/library/tzdata/Australia/Perth
@@ -3,12 +3,12 @@
set TZData(:Australia/Perth) {
{-9223372036854775808 27804 0 LMT}
{-2337925404 28800 0 AWST}
- {-1672559940 32400 1 AWDT}
- {-1665385200 28800 0 AWST}
+ {-1672552800 32400 1 AWDT}
+ {-1665381600 28800 0 AWST}
{-883634400 32400 1 AWDT}
- {-876121200 28800 0 AWST}
+ {-876117600 28800 0 AWST}
{-860392800 32400 1 AWDT}
- {-844671600 28800 0 AWST}
+ {-844668000 28800 0 AWST}
{-836470800 32400 0 AWST}
{152042400 32400 1 AWDT}
{162928800 28800 0 AWST}
diff --git a/library/tzdata/Australia/Sydney b/library/tzdata/Australia/Sydney
index b1c4411..fd01af6 100644
--- a/library/tzdata/Australia/Sydney
+++ b/library/tzdata/Australia/Sydney
@@ -3,14 +3,14 @@
set TZData(:Australia/Sydney) {
{-9223372036854775808 36292 0 LMT}
{-2364113092 36000 0 AEST}
- {-1672567140 39600 1 AEDT}
- {-1665392400 36000 0 AEST}
+ {-1672560000 39600 1 AEDT}
+ {-1665388800 36000 0 AEST}
{-883641600 39600 1 AEDT}
- {-876128400 36000 0 AEST}
+ {-876124800 36000 0 AEST}
{-860400000 39600 1 AEDT}
- {-844678800 36000 0 AEST}
+ {-844675200 36000 0 AEST}
{-828345600 39600 1 AEDT}
- {-813229200 36000 0 AEST}
+ {-813225600 36000 0 AEST}
{31500000 36000 0 AEST}
{57686400 39600 1 AEDT}
{67968000 36000 0 AEST}
diff --git a/library/tzdata/Europe/Volgograd b/library/tzdata/Europe/Volgograd
index 3938683..2ce2dfe 100644
--- a/library/tzdata/Europe/Volgograd
+++ b/library/tzdata/Europe/Volgograd
@@ -69,4 +69,5 @@ set TZData(:Europe/Volgograd) {
{1301180400 14400 0 +04}
{1414274400 10800 0 +03}
{1540681200 14400 0 +04}
+ {1609020000 10800 0 +03}
}
diff --git a/library/tzdata/Indian/Mahe b/library/tzdata/Indian/Mahe
index 3dd5b40..dcafc36 100644
--- a/library/tzdata/Indian/Mahe
+++ b/library/tzdata/Indian/Mahe
@@ -2,5 +2,5 @@
set TZData(:Indian/Mahe) {
{-9223372036854775808 13308 0 LMT}
- {-2006653308 14400 0 +04}
+ {-1988163708 14400 0 +04}
}
diff --git a/library/tzdata/Pacific/Efate b/library/tzdata/Pacific/Efate
index a026ee1..5a22546 100644
--- a/library/tzdata/Pacific/Efate
+++ b/library/tzdata/Pacific/Efate
@@ -3,9 +3,11 @@
set TZData(:Pacific/Efate) {
{-9223372036854775808 40396 0 LMT}
{-1829387596 39600 0 +11}
+ {125409600 43200 1 +11}
+ {133876800 39600 0 +11}
{433256400 43200 1 +11}
{448977600 39600 0 +11}
- {467298000 43200 1 +11}
+ {464706000 43200 1 +11}
{480427200 39600 0 +11}
{496760400 43200 1 +11}
{511876800 39600 0 +11}
diff --git a/tests/chanio.test b/tests/chanio.test
index 687dda6..04f0e3f 100644
--- a/tests/chanio.test
+++ b/tests/chanio.test
@@ -6502,10 +6502,10 @@ test chan-io-50.5 {testing handler deletion vs reentrant calls} -setup {
set u recursive
lappend z "del calling recursive"
set timer [after 50 lappend z timeout]
- set mode [test servicemode 1]
+ set mode [testservicemode 1]
vwait z
after cancel $timer
- test servicemode $mode
+ testservicemode $mode
lappend z "del after update"
}
}
diff --git a/tests/fCmd.test b/tests/fCmd.test
index 5b70c81..6a909f8 100644
--- a/tests/fCmd.test
+++ b/tests/fCmd.test
@@ -22,7 +22,7 @@ cd [temporaryDirectory]
testConstraint testsetplatform [llength [info commands testsetplatform]]
testConstraint testchmod [llength [info commands testchmod]]
-testConstraint win10 0
+testConstraint winLessThan10 0
# Don't know how to determine this constraint correctly
testConstraint notNetworkFilesystem 0
testConstraint reg 0
@@ -63,8 +63,9 @@ if {[testConstraint unix]} {
}
}
-if {[testConstraint win] && $::tcl_platform(osVersion) >= 10.0} {
- testConstraint win10 1
+# Also used in winFCmd...
+if {[testConstraint win] && $::tcl_platform(osVersion) < 10.0} {
+ testConstraint winLessThan10 1
}
testConstraint darwin9 [expr {
@@ -2313,13 +2314,15 @@ test fCmd-28.7 {file link: source already exists} -setup {
} -returnCodes error -cleanup {
cd [workingDirectory]
} -result {could not create new link "abc.file": that path already exists}
-test fCmd-28.8 {file link} -constraints {linkFile win10} -setup {
+# In Windows 10 developer mode, we _can_ create symbolic links to files!
+test fCmd-28.8 {file link} -constraints {linkFile winLessThan10} -setup {
cd [temporaryDirectory]
} -body {
file link -symbolic abc.link abc.file
} -cleanup {
+ file delete -force abc.link
cd [workingDirectory]
-} -result abc.file
+} -returnCodes error -result {could not create new link "abc.link" pointing to "abc.file": invalid argument}
test fCmd-28.9 {file link: success with file} -constraints {linkFile} -setup {
cd [temporaryDirectory]
file delete -force abc.link
diff --git a/tests/safe.test b/tests/safe.test
index 3718028..db881c2 100644
--- a/tests/safe.test
+++ b/tests/safe.test
@@ -173,6 +173,8 @@ test safe-4.6 {safe::interpDelete, indirectly} -setup {
# A replacement test using example files is "safe-9.8".
# Tests 5.* test the example files before using them to test safe interpreters.
+unset -nocomplain path
+
test safe-5.1 {example tclIndex commands, test in parent interpreter} -setup {
set tmpAutoPath $::auto_path
lappend ::auto_path [file join $TestsDir auto0 auto1] [file join $TestsDir auto0 auto2]
@@ -1654,6 +1656,7 @@ test safe-16.8 {Bug 3529949: defang ~user in paths used by AliasGlob (2)} -setup
# cleanup
set ::auto_path $SaveAutoPath
unset SaveAutoPath TestsDir PathMapp
+unset -nocomplain path
rename mapList {}
rename mapAndSortList {}
::tcltest::cleanupTests
diff --git a/tests/socket.test b/tests/socket.test
index 51014aa..a1a66b5 100644
--- a/tests/socket.test
+++ b/tests/socket.test
@@ -1873,7 +1873,7 @@ proc transf_test {{testmode transfer} {maxIter 1000} {maxTime 10000}} {
set ::count [expr {$maxIter / 4 * 3 - 1}]; # bypass 3/4 iterations
}
}
- tcltest::DebugPuts 1 "== test \[$::localhost\]:$port $testmode =="
+ tcltest::DebugPuts 2 "== test \[$::localhost\]:$port $testmode =="
set ::parent [thread::id]
# helper thread creating async connection and initiating transfer (detach) to parent:
set ::helper [thread::create]
@@ -1901,7 +1901,7 @@ proc transf_test {{testmode transfer} {maxIter 1000} {maxTime 10000}} {
}
# parent proc commiting transfer attempt (attach) and checking acquire was successful:
proc transf_parent {fd args} {
- tcltest::DebugPuts 1 "** trma / $::count ** $args **"
+ tcltest::DebugPuts 2 "** trma / $::count ** $args **"
thread::attach $fd
if {"parent-close" in $::testmode} {;# to test close during connect
set ::count $::count
@@ -1928,7 +1928,7 @@ proc transf_test {{testmode transfer} {maxIter 1000} {maxTime 10000}} {
break
}
if {[incr ::count] >= $maxIter} break
- tcltest::DebugPuts 1 "** iter / $::count **"
+ tcltest::DebugPuts 2 "** iter / $::count **"
thread::send -async $::helper [list iteration nr $::count]
}
update
@@ -1937,7 +1937,7 @@ proc transf_test {{testmode transfer} {maxIter 1000} {maxTime 10000}} {
catch {after cancel $tout}
if {$srvsock ne {}} {close $srvsock}
if {[info exists ::helper]} {thread::release -wait $::helper}
- tcltest::DebugPuts 1 "== stop / $::count =="
+ tcltest::DebugPuts 2 "== stop / $::count =="
unset -nocomplain ::count ::testmode ::parent ::helper
}
}
diff --git a/unix/Makefile.in b/unix/Makefile.in
index eaf7d81..6ed1aa3 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -2247,7 +2247,7 @@ dist: $(UNIX_DIR)/configure $(UNIX_DIR)/tclConfig.h.in $(UNIX_DIR)/tcl.pc.in gen
$(UNIX_DIR)/README $(UNIX_DIR)/ldAix $(UNIX_DIR)/tcl.spec \
$(UNIX_DIR)/installManPage $(UNIX_DIR)/tclConfig.h.in \
$(UNIX_DIR)/tcl.pc.in $(DISTDIR)/unix
- chmod 775 $(DISTDIR)/unix/configure $(DISTDIR)/unix/configure.ac
+ chmod 775 $(DISTDIR)/unix/configure
chmod 775 $(DISTDIR)/unix/ldAix
@mkdir $(DISTDIR)/generic
cp -p $(GENERIC_DIR)/*.[cdh] $(DISTDIR)/generic
diff --git a/unix/configure b/unix/configure
index 9d178bb..c1e2fac 100755
--- a/unix/configure
+++ b/unix/configure
@@ -9797,108 +9797,26 @@ printf "%s\n" "#define socklen_t int" >>confdefs.h
fi
-ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
+ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "
+#include <stdint.h>
+
+"
if test "x$ac_cv_type_intptr_t" = xyes
then :
-
printf "%s\n" "#define HAVE_INTPTR_T 1" >>confdefs.h
-else $as_nop
-
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pointer-size signed integer type" >&5
-printf %s "checking for pointer-size signed integer type... " >&6; }
-if test ${tcl_cv_intptr_t+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
-
- for tcl_cv_intptr_t in "int" "long" "long long" none; do
- if test "$tcl_cv_intptr_t" != none; then
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-$ac_includes_default
-int
-main (void)
-{
-static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($tcl_cv_intptr_t))];
-test_array [0] = 0;
-return test_array [0];
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
- tcl_ok=yes
-else $as_nop
- tcl_ok=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
- test "$tcl_ok" = yes && break; fi
- done
-fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_intptr_t" >&5
-printf "%s\n" "$tcl_cv_intptr_t" >&6; }
- if test "$tcl_cv_intptr_t" != none; then
-
-printf "%s\n" "#define intptr_t $tcl_cv_intptr_t" >>confdefs.h
-
- fi
fi
+ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "
+#include <stdint.h>
-ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
+"
if test "x$ac_cv_type_uintptr_t" = xyes
then :
-
printf "%s\n" "#define HAVE_UINTPTR_T 1" >>confdefs.h
-else $as_nop
-
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pointer-size unsigned integer type" >&5
-printf %s "checking for pointer-size unsigned integer type... " >&6; }
-if test ${tcl_cv_uintptr_t+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
-
- for tcl_cv_uintptr_t in "unsigned int" "unsigned long" "unsigned long long" \
- none; do
- if test "$tcl_cv_uintptr_t" != none; then
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-$ac_includes_default
-int
-main (void)
-{
-static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($tcl_cv_uintptr_t))];
-test_array [0] = 0;
-return test_array [0];
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
- tcl_ok=yes
-else $as_nop
- tcl_ok=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
- test "$tcl_ok" = yes && break; fi
- done
-fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_uintptr_t" >&5
-printf "%s\n" "$tcl_cv_uintptr_t" >&6; }
- if test "$tcl_cv_uintptr_t" != none; then
-
-printf "%s\n" "#define uintptr_t $tcl_cv_uintptr_t" >>confdefs.h
-
- fi
fi
diff --git a/unix/configure.ac b/unix/configure.ac
index d480fb7..97fe6b0 100644
--- a/unix/configure.ac
+++ b/unix/configure.ac
@@ -4,7 +4,7 @@ dnl generate the file "configure", which is run during Tcl installation
dnl to configure the system for the local environment.
AC_INIT([tcl],[8.7])
-AC_PREREQ(2.69)
+AC_PREREQ([2.69])
dnl This is only used when included from macosx/configure.ac
m4_ifdef([SC_USE_CONFIG_HEADERS], [
@@ -172,9 +172,9 @@ AC_DEFINE(HAVE_ZLIB, 1, [Is there an installed zlib?])
libtommath_ok=yes
AC_ARG_WITH(system-libtommath,
-AC_HELP_STRING([--with-system-libtommath],
+AS_HELP_STRING([--with-system-libtommath],
[use external libtommath (default: true if available, false otherwise)]),
- libtommath_ok=${withval})
+ [libtommath_ok=${withval}])
if test x"${libtommath_ok}" = x -o x"${libtommath_ok}" != xno; then
AC_CHECK_HEADER([tommath.h],[
AC_CHECK_TYPE([mp_int],[],[libtommath_ok=no],[#include <tommath.h>])],[
@@ -423,37 +423,9 @@ if test $tcl_cv_type_socklen_t = no; then
AC_DEFINE(socklen_t, int, [Define as int if socklen_t is not available])
fi
-AC_CHECK_TYPE([intptr_t], [
- AC_DEFINE([HAVE_INTPTR_T], 1, [Do we have the intptr_t type?])], [
- AC_CACHE_CHECK([for pointer-size signed integer type], tcl_cv_intptr_t, [
- for tcl_cv_intptr_t in "int" "long" "long long" none; do
- if test "$tcl_cv_intptr_t" != none; then
- AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([AC_INCLUDES_DEFAULT],
- [[sizeof (void *) <= sizeof ($tcl_cv_intptr_t)]])],
- [tcl_ok=yes], [tcl_ok=no])
- test "$tcl_ok" = yes && break; fi
- done])
- if test "$tcl_cv_intptr_t" != none; then
- AC_DEFINE_UNQUOTED([intptr_t], [$tcl_cv_intptr_t], [Signed integer
- type wide enough to hold a pointer.])
- fi
-])
-AC_CHECK_TYPE([uintptr_t], [
- AC_DEFINE([HAVE_UINTPTR_T], 1, [Do we have the uintptr_t type?])], [
- AC_CACHE_CHECK([for pointer-size unsigned integer type], tcl_cv_uintptr_t, [
- for tcl_cv_uintptr_t in "unsigned int" "unsigned long" "unsigned long long" \
- none; do
- if test "$tcl_cv_uintptr_t" != none; then
- AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([AC_INCLUDES_DEFAULT],
- [[sizeof (void *) <= sizeof ($tcl_cv_uintptr_t)]])],
- [tcl_ok=yes], [tcl_ok=no])
- test "$tcl_ok" = yes && break; fi
- done])
- if test "$tcl_cv_uintptr_t" != none; then
- AC_DEFINE_UNQUOTED([uintptr_t], [$tcl_cv_uintptr_t], [Unsigned integer
- type wide enough to hold a pointer.])
- fi
-])
+AC_CHECK_TYPES([intptr_t, uintptr_t],,,[[
+#include <stdint.h>
+]])
#--------------------------------------------------------------------
# If a system doesn't have an opendir function (man, that's old!)
@@ -689,7 +661,7 @@ SC_BLOCKING_STYLE
AC_MSG_CHECKING([whether to use dll unloading])
AC_ARG_ENABLE(dll-unloading,
- AC_HELP_STRING([--enable-dll-unloading],
+ AS_HELP_STRING([--enable-dll-unloading],
[enable the 'unload' command (default: on)]),
[tcl_ok=$enableval], [tcl_ok=yes])
if test $tcl_ok = yes; then
@@ -705,7 +677,7 @@ AC_MSG_RESULT([$tcl_ok])
AC_MSG_CHECKING([for timezone data])
AC_ARG_WITH(tzdata,
- AC_HELP_STRING([--with-tzdata],
+ AS_HELP_STRING([--with-tzdata],
[install timezone data (default: autodetect)]),
[tcl_ok=$withval], [tcl_ok=auto])
#
@@ -753,7 +725,7 @@ fi
#--------------------------------------------------------------------
AC_ARG_ENABLE(dtrace,
- AC_HELP_STRING([--enable-dtrace],
+ AS_HELP_STRING([--enable-dtrace],
[build with DTrace support (default: off)]),
[tcl_ok=$enableval], [tcl_ok=no])
if test $tcl_ok = yes; then
@@ -789,7 +761,7 @@ AC_MSG_RESULT([$tcl_ok])
# Zipfs support - Tip 430
#--------------------------------------------------------------------
AC_ARG_ENABLE(zipfs,
- AC_HELP_STRING([--enable-zipfs],
+ AS_HELP_STRING([--enable-zipfs],
[build with Zipfs support (default: on)]),
[tcl_ok=$enableval], [tcl_ok=yes])
if test "$tcl_ok" = "yes" ; then
diff --git a/unix/installManPage b/unix/installManPage
index baae3aa..86f9860 100755
--- a/unix/installManPage
+++ b/unix/installManPage
@@ -132,7 +132,7 @@ for Target in $Names; do
chmod 644 "$Dir/$First"
$Gzip "$Dir/$First"
else
- ln "$SymOrLoc$First$Gz" "$Dir/$Target$Gz"
+ ln $SymOrLoc"$First$Gz" "$Dir/$Target$Gz"
fi
done
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 9917c6b..8736ce4 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -28,9 +28,9 @@ AC_DEFUN([SC_PATH_TCLCONFIG], [
# we reset no_tcl in case something fails here
no_tcl=true
AC_ARG_WITH(tcl,
- AC_HELP_STRING([--with-tcl],
+ AS_HELP_STRING([--with-tcl],
[directory containing tcl configuration (tclConfig.sh)]),
- with_tclconfig="${withval}")
+ [with_tclconfig="${withval}"])
AC_MSG_CHECKING([for Tcl configuration])
AC_CACHE_VAL(ac_cv_c_tclconfig,[
@@ -161,9 +161,9 @@ AC_DEFUN([SC_PATH_TKCONFIG], [
# we reset no_tk in case something fails here
no_tk=true
AC_ARG_WITH(tk,
- AC_HELP_STRING([--with-tk],
+ AS_HELP_STRING([--with-tk],
[directory containing tk configuration (tkConfig.sh)]),
- with_tkconfig="${withval}")
+ [with_tkconfig="${withval}"])
AC_MSG_CHECKING([for Tk configuration])
AC_CACHE_VAL(ac_cv_c_tkconfig,[
@@ -508,7 +508,7 @@ AC_DEFUN([SC_BUILD_TCLSH], [
AC_DEFUN([SC_ENABLE_SHARED], [
AC_MSG_CHECKING([how to build libraries])
AC_ARG_ENABLE(shared,
- AC_HELP_STRING([--enable-shared],
+ AS_HELP_STRING([--enable-shared],
[build and link with shared libraries (default: on)]),
[tcl_ok=$enableval], [tcl_ok=yes])
if test "$tcl_ok" = "yes" ; then
@@ -543,7 +543,7 @@ AC_DEFUN([SC_ENABLE_FRAMEWORK], [
if test "`uname -s`" = "Darwin" ; then
AC_MSG_CHECKING([how to package libraries])
AC_ARG_ENABLE(framework,
- AC_HELP_STRING([--enable-framework],
+ AS_HELP_STRING([--enable-framework],
[package shared libraries in MacOSX frameworks (default: off)]),
[enable_framework=$enableval], [enable_framework=no])
if test $enable_framework = yes; then
@@ -601,7 +601,7 @@ AC_DEFUN([SC_ENABLE_FRAMEWORK], [
AC_DEFUN([SC_ENABLE_SYMBOLS], [
AC_MSG_CHECKING([for build with symbols])
AC_ARG_ENABLE(symbols,
- AC_HELP_STRING([--enable-symbols],
+ AS_HELP_STRING([--enable-symbols],
[build with debugging symbols (default: off)]),
[tcl_ok=$enableval], [tcl_ok=no])
# FIXME: Currently, LDFLAGS_DEFAULT is not used, it should work like CFLAGS_DEFAULT.
@@ -660,7 +660,7 @@ AC_DEFUN([SC_ENABLE_SYMBOLS], [
AC_DEFUN([SC_ENABLE_LANGINFO], [
AC_ARG_ENABLE(langinfo,
- AC_HELP_STRING([--enable-langinfo],
+ AS_HELP_STRING([--enable-langinfo],
[use nl_langinfo if possible to determine encoding at startup, otherwise use old heuristic (default: on)]),
[langinfo_ok=$enableval], [langinfo_ok=yes])
@@ -671,7 +671,7 @@ AC_DEFUN([SC_ENABLE_LANGINFO], [
AC_MSG_CHECKING([whether to use nl_langinfo])
if test "$langinfo_ok" = "yes"; then
AC_CACHE_VAL(tcl_cv_langinfo_h, [
- AC_TRY_COMPILE([#include <langinfo.h>], [nl_langinfo(CODESET);],
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <langinfo.h>]], [[nl_langinfo(CODESET);]])],
[tcl_cv_langinfo_h=yes],[tcl_cv_langinfo_h=no])])
AC_MSG_RESULT([$tcl_cv_langinfo_h])
if test $tcl_cv_langinfo_h = yes; then
@@ -712,22 +712,22 @@ AC_DEFUN([SC_ENABLE_LANGINFO], [
AC_DEFUN([SC_CONFIG_MANPAGES], [
AC_MSG_CHECKING([whether to use symlinks for manpages])
AC_ARG_ENABLE(man-symlinks,
- AC_HELP_STRING([--enable-man-symlinks],
+ AS_HELP_STRING([--enable-man-symlinks],
[use symlinks for the manpages (default: off)]),
- test "$enableval" != "no" && MAN_FLAGS="$MAN_FLAGS --symlinks",
- enableval="no")
+ [test "$enableval" != "no" && MAN_FLAGS="$MAN_FLAGS --symlinks"],
+ [enableval="no"])
AC_MSG_RESULT([$enableval])
AC_MSG_CHECKING([whether to compress the manpages])
AC_ARG_ENABLE(man-compression,
- AC_HELP_STRING([--enable-man-compression=PROG],
+ AS_HELP_STRING([--enable-man-compression=PROG],
[compress the manpages with PROG (default: off)]),
[case $enableval in
yes) AC_MSG_ERROR([missing argument to --enable-man-compression]);;
no) ;;
*) MAN_FLAGS="$MAN_FLAGS --compress $enableval";;
esac],
- enableval="no")
+ [enableval="no"])
AC_MSG_RESULT([$enableval])
if test "$enableval" != "no"; then
AC_MSG_CHECKING([for compressed file suffix])
@@ -741,14 +741,14 @@ AC_DEFUN([SC_CONFIG_MANPAGES], [
AC_MSG_CHECKING([whether to add a package name suffix for the manpages])
AC_ARG_ENABLE(man-suffix,
- AC_HELP_STRING([--enable-man-suffix=STRING],
+ AS_HELP_STRING([--enable-man-suffix=STRING],
[use STRING as a suffix to manpage file names (default: no, AC_PACKAGE_NAME if enabled without specifying STRING)]),
[case $enableval in
yes) enableval="AC_PACKAGE_NAME" MAN_FLAGS="$MAN_FLAGS --suffix $enableval";;
no) ;;
*) MAN_FLAGS="$MAN_FLAGS --suffix $enableval";;
esac],
- enableval="no")
+ [enableval="no"])
AC_MSG_RESULT([$enableval])
AC_SUBST(MAN_FLAGS)
@@ -884,7 +884,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
AC_MSG_CHECKING([if 64bit support is requested])
AC_ARG_ENABLE(64bit,
- AC_HELP_STRING([--enable-64bit],
+ AS_HELP_STRING([--enable-64bit],
[enable 64bit support (default: off)]),
[do64bit=$enableval], [do64bit=no])
AC_MSG_RESULT([$do64bit])
@@ -893,7 +893,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
AC_MSG_CHECKING([if 64bit Sparc VIS support is requested])
AC_ARG_ENABLE(64bit-vis,
- AC_HELP_STRING([--enable-64bit-vis],
+ AS_HELP_STRING([--enable-64bit-vis],
[enable 64bit Sparc VIS support (default: off)]),
[do64bitVIS=$enableval], [do64bitVIS=no])
AC_MSG_RESULT([$do64bitVIS])
@@ -906,10 +906,10 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
AC_CACHE_CHECK([if compiler supports visibility "hidden"],
tcl_cv_cc_visibility_hidden, [
hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -Werror"
- AC_TRY_LINK([
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[
extern __attribute__((__visibility__("hidden"))) void f(void);
- void f(void) {}], [f();], tcl_cv_cc_visibility_hidden=yes,
- tcl_cv_cc_visibility_hidden=no)
+ void f(void) {}]], [[f();]])],[tcl_cv_cc_visibility_hidden=yes],
+ [tcl_cv_cc_visibility_hidden=no])
CFLAGS=$hold_cflags])
AS_IF([test $tcl_cv_cc_visibility_hidden = yes], [
AC_DEFINE(MODULE_SCOPE,
@@ -922,7 +922,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
AC_MSG_CHECKING([if rpath support is requested])
AC_ARG_ENABLE(rpath,
- AC_HELP_STRING([--disable-rpath],
+ AS_HELP_STRING([--disable-rpath],
[disable rpath support (default: on)]),
[doRpath=$enableval], [doRpath=yes])
AC_MSG_RESULT([$doRpath])
@@ -1090,13 +1090,13 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
SHLIB_LD_LIBS="${SHLIB_LD_LIBS} -Wl,--out-implib,\$[@].a"
AC_CACHE_CHECK(for Cygwin version of gcc,
ac_cv_cygwin,
- AC_TRY_COMPILE([
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#ifdef __CYGWIN__
#error cygwin
#endif
- ], [],
- ac_cv_cygwin=no,
- ac_cv_cygwin=yes)
+ ]], [[]])],
+ [ac_cv_cygwin=no],
+ [ac_cv_cygwin=yes])
)
if test "$ac_cv_cygwin" = "no"; then
AC_MSG_ERROR([${CC} is not a cygwin compiler.])
@@ -1282,7 +1282,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
AC_CACHE_CHECK([if compiler accepts -m64 flag], tcl_cv_cc_m64, [
hold_cflags=$CFLAGS
CFLAGS="$CFLAGS -m64"
- AC_TRY_LINK(,, tcl_cv_cc_m64=yes, tcl_cv_cc_m64=no)
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[tcl_cv_cc_m64=yes],[tcl_cv_cc_m64=no])
CFLAGS=$hold_cflags])
AS_IF([test $tcl_cv_cc_m64 = yes], [
CFLAGS="$CFLAGS -m64"
@@ -1397,8 +1397,8 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
tcl_cv_cc_arch_ppc64, [
hold_cflags=$CFLAGS
CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
- AC_TRY_LINK(,, tcl_cv_cc_arch_ppc64=yes,
- tcl_cv_cc_arch_ppc64=no)
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[tcl_cv_cc_arch_ppc64=yes],
+ [tcl_cv_cc_arch_ppc64=no])
CFLAGS=$hold_cflags])
AS_IF([test $tcl_cv_cc_arch_ppc64 = yes], [
CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
@@ -1409,8 +1409,8 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
tcl_cv_cc_arch_x86_64, [
hold_cflags=$CFLAGS
CFLAGS="$CFLAGS -arch x86_64"
- AC_TRY_LINK(,, tcl_cv_cc_arch_x86_64=yes,
- tcl_cv_cc_arch_x86_64=no)
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[tcl_cv_cc_arch_x86_64=yes],
+ [tcl_cv_cc_arch_x86_64=no])
CFLAGS=$hold_cflags])
AS_IF([test $tcl_cv_cc_arch_x86_64 = yes], [
CFLAGS="$CFLAGS -arch x86_64"
@@ -1429,7 +1429,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
AC_CACHE_CHECK([if ld accepts -single_module flag], tcl_cv_ld_single_module, [
hold_ldflags=$LDFLAGS
LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module"
- AC_TRY_LINK(, [int i;], tcl_cv_ld_single_module=yes, tcl_cv_ld_single_module=no)
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[int i;]])],[tcl_cv_ld_single_module=yes],[tcl_cv_ld_single_module=no])
LDFLAGS=$hold_ldflags])
AS_IF([test $tcl_cv_ld_single_module = yes], [
SHLIB_LD="${SHLIB_LD} -Wl,-single_module"
@@ -1442,8 +1442,8 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
tcl_cv_ld_search_paths_first, [
hold_ldflags=$LDFLAGS
LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
- AC_TRY_LINK(, [int i;], tcl_cv_ld_search_paths_first=yes,
- tcl_cv_ld_search_paths_first=no)
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[int i;]])],[tcl_cv_ld_search_paths_first=yes],
+ [tcl_cv_ld_search_paths_first=no])
LDFLAGS=$hold_ldflags])
AS_IF([test $tcl_cv_ld_search_paths_first = yes], [
LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
@@ -1461,7 +1461,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
PLAT_SRCS='${MAC_OSX_SRCS}'
AC_MSG_CHECKING([whether to use CoreFoundation])
AC_ARG_ENABLE(corefoundation,
- AC_HELP_STRING([--enable-corefoundation],
+ AS_HELP_STRING([--enable-corefoundation],
[use CoreFoundation API on MacOSX (default: on)]),
[tcl_corefoundation=$enableval], [tcl_corefoundation=yes])
AC_MSG_RESULT([$tcl_corefoundation])
@@ -1478,10 +1478,10 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc64 / /g" -e "s/-arch x86_64 / /g"`"'
done])
LIBS="$LIBS -framework CoreFoundation"
- AC_TRY_LINK([#include <CoreFoundation/CoreFoundation.h>],
- [CFBundleRef b = CFBundleGetMainBundle();],
- tcl_cv_lib_corefoundation=yes,
- tcl_cv_lib_corefoundation=no)
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <CoreFoundation/CoreFoundation.h>]],
+ [[CFBundleRef b = CFBundleGetMainBundle();]])],
+ [tcl_cv_lib_corefoundation=yes],
+ [tcl_cv_lib_corefoundation=no])
AS_IF([test "$fat_32_64" = yes], [
for v in CFLAGS CPPFLAGS LDFLAGS; do
eval $v'="$hold_'$v'"'
@@ -1498,10 +1498,10 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
for v in CFLAGS CPPFLAGS LDFLAGS; do
eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"'
done
- AC_TRY_LINK([#include <CoreFoundation/CoreFoundation.h>],
- [CFBundleRef b = CFBundleGetMainBundle();],
- tcl_cv_lib_corefoundation_64=yes,
- tcl_cv_lib_corefoundation_64=no)
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <CoreFoundation/CoreFoundation.h>]],
+ [[CFBundleRef b = CFBundleGetMainBundle();]])],
+ [tcl_cv_lib_corefoundation_64=yes],
+ [tcl_cv_lib_corefoundation_64=no])
for v in CFLAGS CPPFLAGS LDFLAGS; do
eval $v'="$hold_'$v'"'
done])
@@ -1721,7 +1721,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
AC_CACHE_CHECK([for ld accepts -Bexport flag], tcl_cv_ld_Bexport, [
hold_ldflags=$LDFLAGS
LDFLAGS="$LDFLAGS -Wl,-Bexport"
- AC_TRY_LINK(, [int i;], tcl_cv_ld_Bexport=yes, tcl_cv_ld_Bexport=no)
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[int i;]])],[tcl_cv_ld_Bexport=yes],[tcl_cv_ld_Bexport=no])
LDFLAGS=$hold_ldflags])
AS_IF([test $tcl_cv_ld_Bexport = yes], [
LDFLAGS="$LDFLAGS -Wl,-Bexport"
@@ -1748,7 +1748,7 @@ dnl # preprocessing tests use only CPPFLAGS.
# Step 4: disable dynamic loading if requested via a command-line switch.
AC_ARG_ENABLE(load,
- AC_HELP_STRING([--enable-load],
+ AS_HELP_STRING([--enable-load],
[allow dynamic loading and "load" command (default: on)]),
[tcl_ok=$enableval], [tcl_ok=yes])
AS_IF([test "$tcl_ok" = no], [DL_OBJS=""])
@@ -1838,13 +1838,12 @@ dnl # preprocessing tests use only CPPFLAGS.
AC_CACHE_CHECK(for cast to union support,
tcl_cv_cast_to_union,
- AC_TRY_COMPILE([],
- [
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[
union foo { int i; double d; };
union foo f = (union foo) (int) 0;
- ],
- tcl_cv_cast_to_union=yes,
- tcl_cv_cast_to_union=no)
+ ]])],
+ [tcl_cv_cast_to_union=yes],
+ [tcl_cv_cast_to_union=no])
)
if test "$tcl_cv_cast_to_union" = "yes"; then
AC_DEFINE(HAVE_CAST_TO_UNION, 1,
@@ -1919,8 +1918,8 @@ dnl # preprocessing tests use only CPPFLAGS.
AC_DEFUN([SC_MISSING_POSIX_HEADERS], [
AC_CACHE_CHECK([dirent.h], tcl_cv_dirent_h, [
- AC_TRY_LINK([#include <sys/types.h>
-#include <dirent.h>], [
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h>
+#include <dirent.h>]], [[
#ifndef _POSIX_SOURCE
# ifdef __Lynx__
/*
@@ -1938,7 +1937,7 @@ d = opendir("foobar");
entryPtr = readdir(d);
p = entryPtr->d_name;
closedir(d);
-], tcl_cv_dirent_h=yes, tcl_cv_dirent_h=no)])
+]])],[tcl_cv_dirent_h=yes],[tcl_cv_dirent_h=no])])
if test $tcl_cv_dirent_h = no; then
AC_DEFINE(NO_DIRENT_H, 1, [Do we have <dirent.h>?])
@@ -1965,7 +1964,7 @@ closedir(d);
AC_CHECK_HEADER(dlfcn.h, , [AC_DEFINE(NO_DLFCN_H, 1, [Do we have <dlfcn.h>?])])
# OS/390 lacks sys/param.h (and doesn't need it, by chance).
- AC_HAVE_HEADERS(sys/param.h)
+ AC_CHECK_HEADERS([sys/param.h])
])
#--------------------------------------------------------------------
@@ -1994,7 +1993,7 @@ AC_DEFUN([SC_PATH_X], [
not_really_there=""
if test "$no_x" = ""; then
if test "$x_includes" = ""; then
- AC_TRY_CPP([#include <X11/Xlib.h>], , not_really_there="yes")
+ AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include <X11/Xlib.h>]])],[],[not_really_there="yes"])
else
if test ! -r $x_includes/X11/Xlib.h; then
not_really_there="yes"
@@ -2004,7 +2003,7 @@ AC_DEFUN([SC_PATH_X], [
if test "$no_x" = "yes" -o "$not_really_there" = "yes"; then
AC_MSG_CHECKING([for X11 header files])
found_xincludes="no"
- AC_TRY_CPP([#include <X11/Xlib.h>], found_xincludes="yes", found_xincludes="no")
+ AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include <X11/Xlib.h>]])],[found_xincludes="yes"],[found_xincludes="no"])
if test "$found_xincludes" = "no"; then
dirs="/usr/unsupported/include /usr/local/include /usr/X386/include /usr/X11R6/include /usr/X11R5/include /usr/include/X11R5 /usr/include/X11R4 /usr/openwin/include /usr/X11/include /usr/sww/include"
for i in $dirs ; do
@@ -2112,20 +2111,33 @@ AC_DEFUN([SC_BLOCKING_STYLE], [
AC_DEFUN([SC_TIME_HANDLER], [
AC_CHECK_HEADERS(sys/time.h)
- AC_HEADER_TIME
+ m4_warn([obsolete],
+[Update your code to rely only on HAVE_SYS_TIME_H,
+then remove this warning and the obsolete code below it.
+All current systems provide time.h; it need not be checked for.
+Not all systems provide sys/time.h, but those that do, all allow
+you to include it and time.h simultaneously.])dnl
+AC_CHECK_HEADERS_ONCE([sys/time.h])
+# Obsolete code to be removed.
+if test $ac_cv_header_sys_time_h = yes; then
+ AC_DEFINE([TIME_WITH_SYS_TIME],[1],[Define to 1 if you can safely include both <sys/time.h>
+ and <time.h>. This macro is obsolete.])
+fi
+# End of obsolete code.
+
AC_CHECK_FUNCS(gmtime_r localtime_r mktime)
AC_CACHE_CHECK([tm_tzadj in struct tm], tcl_cv_member_tm_tzadj, [
- AC_TRY_COMPILE([#include <time.h>], [struct tm tm; tm.tm_tzadj;],
- tcl_cv_member_tm_tzadj=yes, tcl_cv_member_tm_tzadj=no)])
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <time.h>]], [[struct tm tm; tm.tm_tzadj;]])],
+ [tcl_cv_member_tm_tzadj=yes],[tcl_cv_member_tm_tzadj=no])])
if test $tcl_cv_member_tm_tzadj = yes ; then
AC_DEFINE(HAVE_TM_TZADJ, 1, [Should we use the tm_tzadj field of struct tm?])
fi
AC_CACHE_CHECK([tm_gmtoff in struct tm], tcl_cv_member_tm_gmtoff, [
- AC_TRY_COMPILE([#include <time.h>], [struct tm tm; (void)tm.tm_gmtoff;],
- tcl_cv_member_tm_gmtoff=yes, tcl_cv_member_tm_gmtoff=no)])
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <time.h>]], [[struct tm tm; (void)tm.tm_gmtoff;]])],
+ [tcl_cv_member_tm_gmtoff=yes],[tcl_cv_member_tm_gmtoff=no])])
if test $tcl_cv_member_tm_gmtoff = yes ; then
AC_DEFINE(HAVE_TM_GMTOFF, 1, [Should we use the tm_gmtoff field of struct tm?])
fi
@@ -2135,11 +2147,11 @@ AC_DEFUN([SC_TIME_HANDLER], [
# (like convex) have timezone functions, etc.
#
AC_CACHE_CHECK([long timezone variable], tcl_cv_timezone_long, [
- AC_TRY_COMPILE([#include <time.h>],
- [extern long timezone;
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <time.h>]],
+ [[extern long timezone;
timezone += 1;
- exit (0);],
- tcl_cv_timezone_long=yes, tcl_cv_timezone_long=no)])
+ exit (0);]])],
+ [tcl_cv_timezone_long=yes],[tcl_cv_timezone_long=no])])
if test $tcl_cv_timezone_long = yes ; then
AC_DEFINE(HAVE_TIMEZONE_VAR, 1, [Should we use the global timezone variable?])
else
@@ -2147,11 +2159,11 @@ AC_DEFUN([SC_TIME_HANDLER], [
# On some systems (eg IRIX 6.2), timezone is a time_t and not a long.
#
AC_CACHE_CHECK([time_t timezone variable], tcl_cv_timezone_time, [
- AC_TRY_COMPILE([#include <time.h>],
- [extern time_t timezone;
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <time.h>]],
+ [[extern time_t timezone;
timezone += 1;
- exit (0);],
- tcl_cv_timezone_time=yes, tcl_cv_timezone_time=no)])
+ exit (0);]])],
+ [tcl_cv_timezone_time=yes],[tcl_cv_timezone_time=no])])
if test $tcl_cv_timezone_time = yes ; then
AC_DEFINE(HAVE_TIMEZONE_VAR, 1, [Should we use the global timezone variable?])
fi
@@ -2358,35 +2370,35 @@ AC_DEFUN([SC_TCL_64BIT_FLAGS], [
# See if we could use long anyway Note that we substitute in the
# type that is our current guess for a 64-bit type inside this check
# program, so it should be modified only carefully...
- AC_TRY_COMPILE(,[switch (0) {
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[switch (0) {
case 1: case (sizeof(long long)==sizeof(long)): ;
- }],tcl_cv_type_64bit="long long")])
+ }]])],[tcl_cv_type_64bit="long long"],[])])
if test "${tcl_cv_type_64bit}" = none ; then
AC_DEFINE(TCL_WIDE_INT_IS_LONG, 1, [Do 'long' and 'long long' have the same size (64-bit)?])
AC_MSG_RESULT([yes])
else
# Now check for auxiliary declarations
AC_CACHE_CHECK([for struct dirent64], tcl_cv_struct_dirent64,[
- AC_TRY_COMPILE([#include <sys/types.h>
-#include <dirent.h>],[struct dirent64 p;],
- tcl_cv_struct_dirent64=yes,tcl_cv_struct_dirent64=no)])
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h>
+#include <dirent.h>]], [[struct dirent64 p;]])],
+ [tcl_cv_struct_dirent64=yes],[tcl_cv_struct_dirent64=no])])
if test "x${tcl_cv_struct_dirent64}" = "xyes" ; then
AC_DEFINE(HAVE_STRUCT_DIRENT64, 1, [Is 'struct dirent64' in <sys/types.h>?])
fi
AC_CACHE_CHECK([for DIR64], tcl_cv_DIR64,[
- AC_TRY_COMPILE([#include <sys/types.h>
-#include <dirent.h>],[struct dirent64 *p; DIR64 d = opendir64(".");
- p = readdir64(d); rewinddir64(d); closedir64(d);],
- tcl_cv_DIR64=yes,tcl_cv_DIR64=no)])
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h>
+#include <dirent.h>]], [[struct dirent64 *p; DIR64 d = opendir64(".");
+ p = readdir64(d); rewinddir64(d); closedir64(d);]])],
+ [tcl_cv_DIR64=yes],[tcl_cv_DIR64=no])])
if test "x${tcl_cv_DIR64}" = "xyes" ; then
AC_DEFINE(HAVE_DIR64, 1, [Is 'DIR64' in <sys/types.h>?])
fi
AC_CACHE_CHECK([for struct stat64], tcl_cv_struct_stat64,[
- AC_TRY_COMPILE([#include <sys/stat.h>],[struct stat64 p;
-],
- tcl_cv_struct_stat64=yes,tcl_cv_struct_stat64=no)])
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/stat.h>]], [[struct stat64 p;
+]])],
+ [tcl_cv_struct_stat64=yes],[tcl_cv_struct_stat64=no])])
if test "x${tcl_cv_struct_stat64}" = "xyes" ; then
AC_DEFINE(HAVE_STRUCT_STAT64, 1, [Is 'struct stat64' in <sys/stat.h>?])
fi
@@ -2394,9 +2406,9 @@ AC_DEFUN([SC_TCL_64BIT_FLAGS], [
AC_CHECK_FUNCS(open64 lseek64)
AC_MSG_CHECKING([for off64_t])
AC_CACHE_VAL(tcl_cv_type_off64_t,[
- AC_TRY_COMPILE([#include <sys/types.h>],[off64_t offset;
-],
- tcl_cv_type_off64_t=yes,tcl_cv_type_off64_t=no)])
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h>]], [[off64_t offset;
+]])],
+ [tcl_cv_type_off64_t=yes],[tcl_cv_type_off64_t=no])])
dnl Define HAVE_TYPE_OFF64_T only when the off64_t type and the
dnl functions lseek64 and open64 are defined.
if test "x${tcl_cv_type_off64_t}" = "xyes" && \
@@ -2429,9 +2441,9 @@ AC_DEFUN([SC_TCL_64BIT_FLAGS], [
AC_DEFUN([SC_TCL_CFG_ENCODING], [
AC_ARG_WITH(encoding,
- AC_HELP_STRING([--with-encoding],
+ AS_HELP_STRING([--with-encoding],
[encoding for configuration values (default: utf-8)]),
- with_tcencoding=${withval})
+ [with_tcencoding=${withval}])
if test x"${with_tcencoding}" != x ; then
AC_DEFINE_UNQUOTED(TCL_CFGVAL_ENCODING,"${with_tcencoding}",
@@ -2462,11 +2474,11 @@ AC_DEFUN([SC_TCL_CHECK_BROKEN_FUNC],[
AC_CHECK_FUNC($1, tcl_ok=1, tcl_ok=0)
if test ["$tcl_ok"] = 1; then
AC_CACHE_CHECK([proper ]$1[ implementation], [tcl_cv_]$1[_unbroken],
- AC_TRY_RUN([[
+ AC_RUN_IFELSE([AC_LANG_SOURCE([[[
#include <stdlib.h>
#include <string.h>
-int main() {]$2[}]],[tcl_cv_]$1[_unbroken]=ok,
- [tcl_cv_]$1[_unbroken]=broken,[tcl_cv_]$1[_unbroken]=unknown))
+int main() {]$2[}]]])],[tcl_cv_$1_unbroken=ok],
+ [tcl_cv_$1_unbroken=broken],[tcl_cv_$1_unbroken=unknown]))
if test ["$tcl_cv_]$1[_unbroken"] = "ok"; then
tcl_ok=1
else
@@ -2511,9 +2523,9 @@ AC_DEFUN([SC_TCL_GETHOSTBYADDR_R_DECL], [AC_CHECK_DECLS(gethostbyaddr_r, [
AC_DEFUN([SC_TCL_GETHOSTBYADDR_R_TYPE], [AC_CHECK_FUNC(gethostbyaddr_r, [
AC_CACHE_CHECK([for gethostbyaddr_r with 7 args], tcl_cv_api_gethostbyaddr_r_7, [
- AC_TRY_COMPILE([
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <netdb.h>
- ], [
+ ]], [[
char *addr;
int length;
int type;
@@ -2524,16 +2536,16 @@ AC_DEFUN([SC_TCL_GETHOSTBYADDR_R_TYPE], [AC_CHECK_FUNC(gethostbyaddr_r, [
(void) gethostbyaddr_r(addr, length, type, result, buffer, buflen,
&h_errnop);
- ], tcl_cv_api_gethostbyaddr_r_7=yes, tcl_cv_api_gethostbyaddr_r_7=no)])
+ ]])],[tcl_cv_api_gethostbyaddr_r_7=yes],[tcl_cv_api_gethostbyaddr_r_7=no])])
tcl_ok=$tcl_cv_api_gethostbyaddr_r_7
if test "$tcl_ok" = yes; then
AC_DEFINE(HAVE_GETHOSTBYADDR_R_7, 1,
[Define to 1 if gethostbyaddr_r takes 7 args.])
else
AC_CACHE_CHECK([for gethostbyaddr_r with 8 args], tcl_cv_api_gethostbyaddr_r_8, [
- AC_TRY_COMPILE([
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <netdb.h>
- ], [
+ ]], [[
char *addr;
int length;
int type;
@@ -2544,7 +2556,7 @@ AC_DEFUN([SC_TCL_GETHOSTBYADDR_R_TYPE], [AC_CHECK_FUNC(gethostbyaddr_r, [
(void) gethostbyaddr_r(addr, length, type, result, buffer, buflen,
&resultp, &h_errnop);
- ], tcl_cv_api_gethostbyaddr_r_8=yes, tcl_cv_api_gethostbyaddr_r_8=no)])
+ ]])],[tcl_cv_api_gethostbyaddr_r_8=yes],[tcl_cv_api_gethostbyaddr_r_8=no])])
tcl_ok=$tcl_cv_api_gethostbyaddr_r_8
if test "$tcl_ok" = yes; then
AC_DEFINE(HAVE_GETHOSTBYADDR_R_8, 1,
@@ -2592,9 +2604,9 @@ AC_DEFUN([SC_TCL_GETHOSTBYNAME_R_DECL], [AC_CHECK_DECLS(gethostbyname_r, [
AC_DEFUN([SC_TCL_GETHOSTBYNAME_R_TYPE], [AC_CHECK_FUNC(gethostbyname_r, [
AC_CACHE_CHECK([for gethostbyname_r with 6 args], tcl_cv_api_gethostbyname_r_6, [
- AC_TRY_COMPILE([
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <netdb.h>
- ], [
+ ]], [[
char *name;
struct hostent *he, *res;
char buffer[2048];
@@ -2602,16 +2614,16 @@ AC_DEFUN([SC_TCL_GETHOSTBYNAME_R_TYPE], [AC_CHECK_FUNC(gethostbyname_r, [
int h_errnop;
(void) gethostbyname_r(name, he, buffer, buflen, &res, &h_errnop);
- ], tcl_cv_api_gethostbyname_r_6=yes, tcl_cv_api_gethostbyname_r_6=no)])
+ ]])],[tcl_cv_api_gethostbyname_r_6=yes],[tcl_cv_api_gethostbyname_r_6=no])])
tcl_ok=$tcl_cv_api_gethostbyname_r_6
if test "$tcl_ok" = yes; then
AC_DEFINE(HAVE_GETHOSTBYNAME_R_6, 1,
[Define to 1 if gethostbyname_r takes 6 args.])
else
AC_CACHE_CHECK([for gethostbyname_r with 5 args], tcl_cv_api_gethostbyname_r_5, [
- AC_TRY_COMPILE([
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <netdb.h>
- ], [
+ ]], [[
char *name;
struct hostent *he;
char buffer[2048];
@@ -2619,22 +2631,22 @@ AC_DEFUN([SC_TCL_GETHOSTBYNAME_R_TYPE], [AC_CHECK_FUNC(gethostbyname_r, [
int h_errnop;
(void) gethostbyname_r(name, he, buffer, buflen, &h_errnop);
- ], tcl_cv_api_gethostbyname_r_5=yes, tcl_cv_api_gethostbyname_r_5=no)])
+ ]])],[tcl_cv_api_gethostbyname_r_5=yes],[tcl_cv_api_gethostbyname_r_5=no])])
tcl_ok=$tcl_cv_api_gethostbyname_r_5
if test "$tcl_ok" = yes; then
AC_DEFINE(HAVE_GETHOSTBYNAME_R_5, 1,
[Define to 1 if gethostbyname_r takes 5 args.])
else
AC_CACHE_CHECK([for gethostbyname_r with 3 args], tcl_cv_api_gethostbyname_r_3, [
- AC_TRY_COMPILE([
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <netdb.h>
- ], [
+ ]], [[
char *name;
struct hostent *he;
struct hostent_data data;
(void) gethostbyname_r(name, he, &data);
- ], tcl_cv_api_gethostbyname_r_3=yes, tcl_cv_api_gethostbyname_r_3=no)])
+ ]])],[tcl_cv_api_gethostbyname_r_3=yes],[tcl_cv_api_gethostbyname_r_3=no])])
tcl_ok=$tcl_cv_api_gethostbyname_r_3
if test "$tcl_ok" = yes; then
AC_DEFINE(HAVE_GETHOSTBYNAME_R_3, 1,
@@ -2668,34 +2680,34 @@ AC_DEFUN([SC_TCL_GETHOSTBYNAME_R_TYPE], [AC_CHECK_FUNC(gethostbyname_r, [
AC_DEFUN([SC_TCL_GETPWUID_R], [AC_CHECK_FUNC(getpwuid_r, [
AC_CACHE_CHECK([for getpwuid_r with 5 args], tcl_cv_api_getpwuid_r_5, [
- AC_TRY_COMPILE([
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <sys/types.h>
#include <pwd.h>
- ], [
+ ]], [[
uid_t uid;
struct passwd pw, *pwp;
char buf[512];
int buflen = 512;
(void) getpwuid_r(uid, &pw, buf, buflen, &pwp);
- ], tcl_cv_api_getpwuid_r_5=yes, tcl_cv_api_getpwuid_r_5=no)])
+ ]])],[tcl_cv_api_getpwuid_r_5=yes],[tcl_cv_api_getpwuid_r_5=no])])
tcl_ok=$tcl_cv_api_getpwuid_r_5
if test "$tcl_ok" = yes; then
AC_DEFINE(HAVE_GETPWUID_R_5, 1,
[Define to 1 if getpwuid_r takes 5 args.])
else
AC_CACHE_CHECK([for getpwuid_r with 4 args], tcl_cv_api_getpwuid_r_4, [
- AC_TRY_COMPILE([
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <sys/types.h>
#include <pwd.h>
- ], [
+ ]], [[
uid_t uid;
struct passwd pw;
char buf[512];
int buflen = 512;
(void)getpwnam_r(uid, &pw, buf, buflen);
- ], tcl_cv_api_getpwuid_r_4=yes, tcl_cv_api_getpwuid_r_4=no)])
+ ]])],[tcl_cv_api_getpwuid_r_4=yes],[tcl_cv_api_getpwuid_r_4=no])])
tcl_ok=$tcl_cv_api_getpwuid_r_4
if test "$tcl_ok" = yes; then
AC_DEFINE(HAVE_GETPWUID_R_4, 1,
@@ -2728,34 +2740,34 @@ AC_DEFUN([SC_TCL_GETPWUID_R], [AC_CHECK_FUNC(getpwuid_r, [
AC_DEFUN([SC_TCL_GETPWNAM_R], [AC_CHECK_FUNC(getpwnam_r, [
AC_CACHE_CHECK([for getpwnam_r with 5 args], tcl_cv_api_getpwnam_r_5, [
- AC_TRY_COMPILE([
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <sys/types.h>
#include <pwd.h>
- ], [
+ ]], [[
char *name;
struct passwd pw, *pwp;
char buf[512];
int buflen = 512;
(void) getpwnam_r(name, &pw, buf, buflen, &pwp);
- ], tcl_cv_api_getpwnam_r_5=yes, tcl_cv_api_getpwnam_r_5=no)])
+ ]])],[tcl_cv_api_getpwnam_r_5=yes],[tcl_cv_api_getpwnam_r_5=no])])
tcl_ok=$tcl_cv_api_getpwnam_r_5
if test "$tcl_ok" = yes; then
AC_DEFINE(HAVE_GETPWNAM_R_5, 1,
[Define to 1 if getpwnam_r takes 5 args.])
else
AC_CACHE_CHECK([for getpwnam_r with 4 args], tcl_cv_api_getpwnam_r_4, [
- AC_TRY_COMPILE([
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <sys/types.h>
#include <pwd.h>
- ], [
+ ]], [[
char *name;
struct passwd pw;
char buf[512];
int buflen = 512;
(void)getpwnam_r(name, &pw, buf, buflen);
- ], tcl_cv_api_getpwnam_r_4=yes, tcl_cv_api_getpwnam_r_4=no)])
+ ]])],[tcl_cv_api_getpwnam_r_4=yes],[tcl_cv_api_getpwnam_r_4=no])])
tcl_ok=$tcl_cv_api_getpwnam_r_4
if test "$tcl_ok" = yes; then
AC_DEFINE(HAVE_GETPWNAM_R_4, 1,
@@ -2788,34 +2800,34 @@ AC_DEFUN([SC_TCL_GETPWNAM_R], [AC_CHECK_FUNC(getpwnam_r, [
AC_DEFUN([SC_TCL_GETGRGID_R], [AC_CHECK_FUNC(getgrgid_r, [
AC_CACHE_CHECK([for getgrgid_r with 5 args], tcl_cv_api_getgrgid_r_5, [
- AC_TRY_COMPILE([
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <sys/types.h>
#include <grp.h>
- ], [
+ ]], [[
gid_t gid;
struct group gr, *grp;
char buf[512];
int buflen = 512;
(void) getgrgid_r(gid, &gr, buf, buflen, &grp);
- ], tcl_cv_api_getgrgid_r_5=yes, tcl_cv_api_getgrgid_r_5=no)])
+ ]])],[tcl_cv_api_getgrgid_r_5=yes],[tcl_cv_api_getgrgid_r_5=no])])
tcl_ok=$tcl_cv_api_getgrgid_r_5
if test "$tcl_ok" = yes; then
AC_DEFINE(HAVE_GETGRGID_R_5, 1,
[Define to 1 if getgrgid_r takes 5 args.])
else
AC_CACHE_CHECK([for getgrgid_r with 4 args], tcl_cv_api_getgrgid_r_4, [
- AC_TRY_COMPILE([
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <sys/types.h>
#include <grp.h>
- ], [
+ ]], [[
gid_t gid;
struct group gr;
char buf[512];
int buflen = 512;
(void)getgrgid_r(gid, &gr, buf, buflen);
- ], tcl_cv_api_getgrgid_r_4=yes, tcl_cv_api_getgrgid_r_4=no)])
+ ]])],[tcl_cv_api_getgrgid_r_4=yes],[tcl_cv_api_getgrgid_r_4=no])])
tcl_ok=$tcl_cv_api_getgrgid_r_4
if test "$tcl_ok" = yes; then
AC_DEFINE(HAVE_GETGRGID_R_4, 1,
@@ -2848,34 +2860,34 @@ AC_DEFUN([SC_TCL_GETGRGID_R], [AC_CHECK_FUNC(getgrgid_r, [
AC_DEFUN([SC_TCL_GETGRNAM_R], [AC_CHECK_FUNC(getgrnam_r, [
AC_CACHE_CHECK([for getgrnam_r with 5 args], tcl_cv_api_getgrnam_r_5, [
- AC_TRY_COMPILE([
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <sys/types.h>
#include <grp.h>
- ], [
+ ]], [[
char *name;
struct group gr, *grp;
char buf[512];
int buflen = 512;
(void) getgrnam_r(name, &gr, buf, buflen, &grp);
- ], tcl_cv_api_getgrnam_r_5=yes, tcl_cv_api_getgrnam_r_5=no)])
+ ]])],[tcl_cv_api_getgrnam_r_5=yes],[tcl_cv_api_getgrnam_r_5=no])])
tcl_ok=$tcl_cv_api_getgrnam_r_5
if test "$tcl_ok" = yes; then
AC_DEFINE(HAVE_GETGRNAM_R_5, 1,
[Define to 1 if getgrnam_r takes 5 args.])
else
AC_CACHE_CHECK([for getgrnam_r with 4 args], tcl_cv_api_getgrnam_r_4, [
- AC_TRY_COMPILE([
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <sys/types.h>
#include <grp.h>
- ], [
+ ]], [[
char *name;
struct group gr;
char buf[512];
int buflen = 512;
(void)getgrnam_r(name, &gr, buf, buflen);
- ], tcl_cv_api_getgrnam_r_4=yes, tcl_cv_api_getgrnam_r_4=no)])
+ ]])],[tcl_cv_api_getgrnam_r_4=yes],[tcl_cv_api_getgrnam_r_4=no])])
tcl_ok=$tcl_cv_api_getgrnam_r_4
if test "$tcl_ok" = yes; then
AC_DEFINE(HAVE_GETGRNAM_R_4, 1,
diff --git a/win/configure b/win/configure
index 0e89594..eafe1fd 100755
--- a/win/configure
+++ b/win/configure
@@ -5016,113 +5016,30 @@ fi
printf "%s\n" "#define HAVE_ZLIB 1" >>confdefs.h
-ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
+ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "
+#include <stdint.h>
+
+"
if test "x$ac_cv_type_intptr_t" = xyes
then :
-
printf "%s\n" "#define HAVE_INTPTR_T 1" >>confdefs.h
-else $as_nop
-
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pointer-size signed integer type" >&5
-printf %s "checking for pointer-size signed integer type... " >&6; }
-if test ${tcl_cv_intptr_t+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
-
- for tcl_cv_intptr_t in "int" "long" "long long" none; do
- if test "$tcl_cv_intptr_t" != none; then
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-$ac_includes_default
-int
-main (void)
-{
-static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($tcl_cv_intptr_t))];
-test_array [0] = 0;
-return test_array [0];
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
- tcl_ok=yes
-else $as_nop
- tcl_ok=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
- test "$tcl_ok" = yes && break; fi
- done
-fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_intptr_t" >&5
-printf "%s\n" "$tcl_cv_intptr_t" >&6; }
- if test "$tcl_cv_intptr_t" != none; then
-
-printf "%s\n" "#define intptr_t $tcl_cv_intptr_t" >>confdefs.h
-
- fi
fi
+ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "
+#include <stdint.h>
-ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
+"
if test "x$ac_cv_type_uintptr_t" = xyes
then :
-
printf "%s\n" "#define HAVE_UINTPTR_T 1" >>confdefs.h
-else $as_nop
-
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pointer-size unsigned integer type" >&5
-printf %s "checking for pointer-size unsigned integer type... " >&6; }
-if test ${tcl_cv_uintptr_t+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
-
- for tcl_cv_uintptr_t in "unsigned int" "unsigned long" "unsigned long long" \
- none; do
- if test "$tcl_cv_uintptr_t" != none; then
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-$ac_includes_default
-int
-main (void)
-{
-static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($tcl_cv_uintptr_t))];
-test_array [0] = 0;
-return test_array [0];
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
- tcl_ok=yes
-else $as_nop
- tcl_ok=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
- test "$tcl_ok" = yes && break; fi
- done
-fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_uintptr_t" >&5
-printf "%s\n" "$tcl_cv_uintptr_t" >&6; }
- if test "$tcl_cv_uintptr_t" != none; then
-
-printf "%s\n" "#define uintptr_t $tcl_cv_uintptr_t" >>confdefs.h
-
- fi
fi
-
#--------------------------------------------------------------------
# Zipfs support - Tip 430
#--------------------------------------------------------------------
diff --git a/win/configure.ac b/win/configure.ac
index b2071f6..a662846 100644
--- a/win/configure.ac
+++ b/win/configure.ac
@@ -4,7 +4,7 @@
# to configure the system for the local environment.
AC_INIT(../generic/tcl.h)
-AC_PREREQ(2.69)
+AC_PREREQ([2.69])
# The following define is needed when building with Cygwin since newer
# versions of autoconf incorrectly set SHELL to /bin/bash instead of
@@ -97,7 +97,7 @@ SC_ENABLE_SHARED
AC_MSG_CHECKING([force of 64-bit time_t])
AC_ARG_ENABLE(time64bit,
- AC_HELP_STRING([--enable-time64bit],
+ AS_HELP_STRING([--enable-time64bit],
[force 64-bit time_t for 32-bit build (default: off)]),
[tcl_ok=$enableval], [tcl_ok=no])
AC_MSG_RESULT("$tcl_ok")
@@ -158,44 +158,15 @@ AS_IF([test "$tcl_ok" = "yes"], [
])
AC_DEFINE(HAVE_ZLIB, 1, [Is there an installed zlib?])
-AC_CHECK_TYPE([intptr_t], [
- AC_DEFINE([HAVE_INTPTR_T], 1, [Do we have the intptr_t type?])], [
- AC_CACHE_CHECK([for pointer-size signed integer type], tcl_cv_intptr_t, [
- for tcl_cv_intptr_t in "int" "long" "long long" none; do
- if test "$tcl_cv_intptr_t" != none; then
- AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([AC_INCLUDES_DEFAULT],
- [[sizeof (void *) <= sizeof ($tcl_cv_intptr_t)]])],
- [tcl_ok=yes], [tcl_ok=no])
- test "$tcl_ok" = yes && break; fi
- done])
- if test "$tcl_cv_intptr_t" != none; then
- AC_DEFINE_UNQUOTED([intptr_t], [$tcl_cv_intptr_t], [Signed integer
- type wide enough to hold a pointer.])
- fi
-])
-AC_CHECK_TYPE([uintptr_t], [
- AC_DEFINE([HAVE_UINTPTR_T], 1, [Do we have the uintptr_t type?])], [
- AC_CACHE_CHECK([for pointer-size unsigned integer type], tcl_cv_uintptr_t, [
- for tcl_cv_uintptr_t in "unsigned int" "unsigned long" "unsigned long long" \
- none; do
- if test "$tcl_cv_uintptr_t" != none; then
- AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([AC_INCLUDES_DEFAULT],
- [[sizeof (void *) <= sizeof ($tcl_cv_uintptr_t)]])],
- [tcl_ok=yes], [tcl_ok=no])
- test "$tcl_ok" = yes && break; fi
- done])
- if test "$tcl_cv_uintptr_t" != none; then
- AC_DEFINE_UNQUOTED([uintptr_t], [$tcl_cv_uintptr_t], [Unsigned integer
- type wide enough to hold a pointer.])
- fi
-])
-
+AC_CHECK_TYPES([intptr_t, uintptr_t],,,[[
+#include <stdint.h>
+]])
#--------------------------------------------------------------------
# Zipfs support - Tip 430
#--------------------------------------------------------------------
AC_ARG_ENABLE(zipfs,
- AC_HELP_STRING([--enable-zipfs],
+ AS_HELP_STRING([--enable-zipfs],
[build with Zipfs support (default: on)]),
[tcl_ok=$enableval], [tcl_ok=yes])
if test "$tcl_ok" = "yes" ; then
diff --git a/win/rules.vc b/win/rules.vc
index d966066..13e3879 100644
--- a/win/rules.vc
+++ b/win/rules.vc
@@ -1340,7 +1340,7 @@ INCLUDE_INSTALL_DIR = $(_INSTALLDIR)\..\include
# define PRJ_LIBS before including rules.rc if additional libs are needed
OPTDEFINES = /DSTDC_HEADERS
-!if $(VCVERSION) >= 1600
+!if $(VCVERSION) > 1600
OPTDEFINES = $(OPTDEFINES) /DHAVE_STDINT_H=1
!else
OPTDEFINES = $(OPTDEFINES) /DMP_NO_STDINT=1
diff --git a/win/tcl.m4 b/win/tcl.m4
index ec1442b..55e00cb 100644
--- a/win/tcl.m4
+++ b/win/tcl.m4
@@ -28,9 +28,9 @@ AC_DEFUN([SC_PATH_TCLCONFIG], [
# we reset no_tcl in case something fails here
no_tcl=true
AC_ARG_WITH(tcl,
- AC_HELP_STRING([--with-tcl],
+ AS_HELP_STRING([--with-tcl],
[directory containing tcl configuration (tclConfig.sh)]),
- with_tclconfig="${withval}")
+ [with_tclconfig="${withval}"])
AC_MSG_CHECKING([for Tcl configuration])
AC_CACHE_VAL(ac_cv_c_tclconfig,[
@@ -146,9 +146,9 @@ AC_DEFUN([SC_PATH_TKCONFIG], [
# we reset no_tk in case something fails here
no_tk=true
AC_ARG_WITH(tk,
- AC_HELP_STRING([--with-tk],
+ AS_HELP_STRING([--with-tk],
[directory containing tk configuration (tkConfig.sh)]),
- with_tkconfig="${withval}")
+ [with_tkconfig="${withval}"])
AC_MSG_CHECKING([for Tk configuration])
AC_CACHE_VAL(ac_cv_c_tkconfig,[
@@ -594,8 +594,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
AC_TRY_LINK([
#include <windows.h>
int APIENTRY wWinMain(HINSTANCE a, HINSTANCE b, LPWSTR c, int d) {return 0;}
- ],
- [],
+ ], [],
ac_cv_municode=yes,
ac_cv_municode=no)
)
@@ -907,8 +906,8 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
SHORT s;
LONG l;
],
- tcl_cv_winnt_ignore_void=yes,
- tcl_cv_winnt_ignore_void=no)
+ tcl_cv_winnt_ignore_void=yes,
+ tcl_cv_winnt_ignore_void=no)
)
if test "$tcl_cv_winnt_ignore_void" = "yes" ; then
AC_DEFINE(HAVE_WINNT_IGNORE_VOID, 1,
@@ -1099,7 +1098,7 @@ AC_DEFUN([SC_TCL_CFG_ENCODING], [
AC_DEFUN([SC_EMBED_MANIFEST], [
AC_MSG_CHECKING(whether to embed manifest)
AC_ARG_ENABLE(embedded-manifest,
- AC_HELP_STRING([--enable-embedded-manifest],
+ AS_HELP_STRING([--enable-embedded-manifest],
[embed manifest if possible (default: yes)]),
[embed_ok=$enableval], [embed_ok=yes])
diff --git a/win/tclWinFile.c b/win/tclWinFile.c
index 728f675..953259d 100644
--- a/win/tclWinFile.c
+++ b/win/tclWinFile.c
@@ -271,9 +271,9 @@ WinLink(
*/
return 0;
+ } else {
+ TclWinConvertError(GetLastError());
}
-
- TclWinConvertError(GetLastError());
} else {
Tcl_SetErrno(ENODEV);
}