From: Pat Thoyts Date: Tue, 8 Apr 2008 20:06:40 +0000 (+0000) Subject: If building static then do not define USE_TCL_STUBS (needed to link tclkit with 8.6) X-Git-Tag: vfs-1-4~25 X-Git-Url: https://privyetmir.co.uk/gitweb.cgi?a=commitdiff_plain;h=163b6fd04e68f416b0230ab1f919c7b402545f38;p=tclvfs If building static then do not define USE_TCL_STUBS (needed to link tclkit with 8.6) --- diff --git a/ChangeLog b/ChangeLog index 5508e76..923857b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-04-08 Pat Thoyts + + * 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 * http2.6/http.tcl, http2.6/pkgIndex.tcl: merge with tcl cvs 2.7 diff --git a/configure b/configure index 19610fc..2b6f35d 100755 --- 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 diff --git a/configure.in b/configure.in index 2ec9d75..18cf185 100644 --- a/configure.in +++ b/configure.in @@ -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