summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredman <redman>1999-03-22 21:32:13 (GMT)
committerredman <redman>1999-03-22 21:32:13 (GMT)
commit4824ecc203b2fcce68a5f3f4694483adcc9d6b4f (patch)
tree0634fc10dd26d07b9dc0115dbcc2910fa1f65c99
parent54dcdd99268b3f03a19c6c60befa32148f64b24f (diff)
downloadtk-4824ecc203b2fcce68a5f3f4694483adcc9d6b4f.zip
tk-4824ecc203b2fcce68a5f3f4694483adcc9d6b4f.tar.gz
tk-4824ecc203b2fcce68a5f3f4694483adcc9d6b4f.tar.bz2
remove --enable-tcl-stub from configure scripts due to linking problems.
-rw-r--r--ChangeLog7
-rw-r--r--unix/configure.in31
2 files changed, 13 insertions, 25 deletions
diff --git a/ChangeLog b/ChangeLog
index 3f290bb..3331f08 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+1999-03-22 <redman@scriptics.com>
+
+ * unix/configure.in: Removed --enable-tcl-stub from configure
+ scripts. Due to linking problems with wish and potentially anyone
+ else linking directly to Tk, linking Tk to the Tcl stubs is being
+ disabled until Tk is a truly loadable extension.
+
1999-03-11 <stanton@GASPODE>
* generic/tkInt.decls: Added reserved slot for XSetDashes for use
diff --git a/unix/configure.in b/unix/configure.in
index f79b4db..99b37c1 100644
--- a/unix/configure.in
+++ b/unix/configure.in
@@ -3,7 +3,7 @@ dnl This file is an input file used by the GNU "autoconf" program to
dnl generate the file "configure", which is run during Tk installation
dnl to configure the system for the local environment.
AC_INIT(../generic/tk.h)
-# RCS: @(#) $Id: configure.in,v 1.28 1999/03/10 07:04:45 stanton Exp $
+# RCS: @(#) $Id: configure.in,v 1.29 1999/03/22 21:32:16 redman Exp $
TK_VERSION=8.0
TK_MAJOR_VERSION=8
@@ -449,31 +449,12 @@ fi
# using tcl stub support.
#--------------------------------------------------------------------
-AC_MSG_CHECKING(how to link to Tcl)
+# Linking to the Tcl stub library is not supported until Tk is a fully
+# loadable extension.
-AC_ARG_ENABLE(tcl-stub,
- [ --enable-tcl-stub use the Tcl stub interface],
- [tk_ok=$enableval], [tk_ok=no])
-
-if test "$tk_ok" = "yes" ; then
-
- AC_MSG_RESULT(using Tcl stub interface)
-
- TCL_STUB_FLAGS="-DUSE_TCL_STUBS"
-
- # Don't link Tk directly to Tcl.
-
- if test "$SHLIB_LD_LIBS" = '${LIBS}'; then
- SHLIB_LD_LIBS='${STUB_LIBS}'
- else
- SHLIB_LD_LIBS="${SHLIB_LD_LIBS} \${TCL_BUILD_STUB_LIB_SPEC}"
- fi
-else
- AC_MSG_RESULT(dynamic linking)
-
- TCL_BUILD_STUB_LIB_SPEC=""
- TCL_STUB_FLAGS=""
-fi
+AC_MSG_RESULT(dynamic linking)
+TCL_BUILD_STUB_LIB_SPEC=""
+TCL_STUB_FLAGS=""
#--------------------------------------------------------------------
# The statements below define various symbols relating to Tcl