aboutsummaryrefslogtreecommitdiff
path: root/auto.def
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2023-02-06 09:43:29 +1000
committerSteve Bennett <steveb@workware.net.au>2023-02-13 10:44:10 +1000
commitb8f4c28ae643f1661c93b8fa19b7df6ac67fa8f6 (patch)
treeff01b476a1261eb93bc0b4c2059eaa87c6642365 /auto.def
parent6bdec684893b766f247e365fbb8fad7e37b2864b (diff)
downloadjimtcl-b8f4c28ae643f1661c93b8fa19b7df6ac67fa8f6.zip
jimtcl-b8f4c28ae643f1661c93b8fa19b7df6ac67fa8f6.tar.gz
jimtcl-b8f4c28ae643f1661c93b8fa19b7df6ac67fa8f6.tar.bz2
windows: compatibility changes
_fullpath isn't necessarily available, so check for it symlink() isn't useful enough on Windows to use Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'auto.def')
-rw-r--r--auto.def5
1 files changed, 4 insertions, 1 deletions
diff --git a/auto.def b/auto.def
index 8a21550..5d751f1 100644
--- a/auto.def
+++ b/auto.def
@@ -247,11 +247,14 @@ if {[cc-check-function-in-lib socket socket]} {
}
cc-check-functions ualarm lstat fork system select execvpe
-cc-check-functions geteuid mkstemp realpath isatty
+cc-check-functions geteuid mkstemp isatty
cc-check-functions regcomp waitpid sigaction sys_signame sys_siglist isascii
cc-check-functions syslog opendir readlink sleep usleep pipe getaddrinfo utimes
cc-check-functions shutdown socketpair link symlink fsync dup umask
cc-check-functions localtime gmtime strptime clock_gettime
+if {![cc-check-functions realpath]} {
+ cc-check-functions _fullpath
+}
cc-with {-includes math.h} {
cc-check-decls isinf isnan