summaryrefslogtreecommitdiffstats
path: root/unix/configure
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-01-15 14:27:22 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-01-15 14:27:22 (GMT)
commitc427b29c868d4c75f40f10b00131ebe579565fd6 (patch)
treeaa73d9512f8d5af30c2bde84d2f64510aec13110 /unix/configure
parentfb50e9fdbb4ede7e9f9b872b5e923ded8a6be3d7 (diff)
downloadtk-c427b29c868d4c75f40f10b00131ebe579565fd6.zip
tk-c427b29c868d4c75f40f10b00131ebe579565fd6.tar.gz
tk-c427b29c868d4c75f40f10b00131ebe579565fd6.tar.bz2
Change shared Tk filename
Diffstat (limited to 'unix/configure')
-rwxr-xr-xunix/configure4
1 files changed, 4 insertions, 0 deletions
diff --git a/unix/configure b/unix/configure
index adb3504..e9ba99a 100755
--- a/unix/configure
+++ b/unix/configure
@@ -8476,7 +8476,11 @@ fi
eval eval "TK_UNSHARED_LIB_SUFFIX=${UNSHARED_LIB_SUFFIX}"
eval eval "TK_SHARED_LIB_SUFFIX=${SHARED_LIB_SUFFIX}"
+if test ${TCL_MAJOR_VERSION} = 8 ; then
eval "TK_LIB_FILE=libtk${LIB_SUFFIX}"
+else
+eval "TK_LIB_FILE=libtcl9tk${LIB_SUFFIX}"
+fi
# tkConfig.sh needs a version of the _LIB_SUFFIX that has been eval'ed
# since on some platforms TK_LIB_FILE contains shell escapes.