If building static then do not define USE_TCL_STUBS (needed to link tclkit with 8.6)
authorPat Thoyts <patthoyts@users.sourceforge.net>
Tue, 8 Apr 2008 20:06:40 +0000 (20:06 +0000)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Tue, 8 Apr 2008 20:06:40 +0000 (20:06 +0000)
ChangeLog
configure
configure.in

index 5508e76b1cad8de0168b59bcbe4d7a2f61d0c0f8..923857bd8a1a1614d617546f2edecde2233884e2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-04-08  Pat Thoyts  <patthoyts@users.sourceforge.net>
+
+       * configure:    If building static then do not define USE_TCL_STUBS
+       * configure.in: (needed to link tclkit with 8.6)
+
 2008-03-21  Jeff Hobbs  <jeffh@ActiveState.com>
 
        * http2.6/http.tcl, http2.6/pkgIndex.tcl: merge with tcl cvs 2.7
index 19610fc65681ee00f151c980f5eea4f9d8915052..2b6f35d4154459bb7f3beaa6531afcd22764f52e 100755 (executable)
--- a/configure
+++ b/configure
@@ -9625,10 +9625,11 @@ echo "${ECHO_T}enabled $tcl_ok debugging" >&6
     fi
 
 
+if test "${SHARED_BUILD}" = "1"; then
 cat >>confdefs.h <<\_ACEOF
 #define USE_TCL_STUBS 1
 _ACEOF
-
+fi
 
 
     if test "${TEA_PLATFORM}" = "windows" -a "$GCC" != "yes"; then
index 2ec9d75a83e74c6c664db73a5832cdc35201c638..18cf1854c54fd9dd9b3fc98d5b87c34515aa143b 100644 (file)
@@ -72,7 +72,9 @@ TEA_ENABLE_SHARED
 TEA_CONFIG_CFLAGS
 TEA_ENABLE_SYMBOLS
 
+if test "${SHARED_BUILD}" = "1"; then
 AC_DEFINE(USE_TCL_STUBS)
+fi
 
 TEA_MAKE_LIB