summaryrefslogtreecommitdiffstats
path: root/generic/tclEvent.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-05-21 20:00:17 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-05-21 20:00:17 (GMT)
commit97323bf79bbb53e3df40798e63fb51aeb9b4f177 (patch)
treef9fd4fd8f04f715df29cbd3cf30fd054fe8b8269 /generic/tclEvent.c
parent7b11e86ea84333b45d79d6e1d1d730279b1f4118 (diff)
parent0bd8358dd35a5f6622307115e77879cc0684a188 (diff)
downloadtcl-97323bf79bbb53e3df40798e63fb51aeb9b4f177.zip
tcl-97323bf79bbb53e3df40798e63fb51aeb9b4f177.tar.gz
tcl-97323bf79bbb53e3df40798e63fb51aeb9b4f177.tar.bz2
Add tommath-????/zlib-???? to build-info if libtommath/zlib is statically linked
Diffstat (limited to 'generic/tclEvent.c')
-rw-r--r--generic/tclEvent.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/generic/tclEvent.c b/generic/tclEvent.c
index 29d8a0c..60a8924 100644
--- a/generic/tclEvent.c
+++ b/generic/tclEvent.c
@@ -1115,6 +1115,20 @@ static const struct {
#ifdef STATIC_BUILD
".static"
#endif
+#ifndef TCL_WITH_EXTERNAL_TOMMATH
+ ".tommath-0103"
+#endif
+#ifdef TCL_WITH_INTERNAL_ZLIB
+ ".zlib-"
+#if ZLIB_VER_MAJOR < 10
+ "0"
+#endif
+ STRINGIFY(ZLIB_VER_MAJOR)
+#if ZLIB_VER_MINOR < 10
+ "0"
+#endif
+ STRINGIFY(ZLIB_VER_MINOR)
+#endif
}};
const char *