From 4824ecc203b2fcce68a5f3f4694483adcc9d6b4f Mon Sep 17 00:00:00 2001 From: redman Date: Mon, 22 Mar 1999 21:32:13 +0000 Subject: remove --enable-tcl-stub from configure scripts due to linking problems. --- ChangeLog | 7 +++++++ unix/configure.in | 31 ++++++------------------------- 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 + + * 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 * 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 -- cgit v0.12