[Xotcl] xotcl-1.3.3 Makefile / configure fixes

Jeff Hobbs jeffh at ActiveState.com
Tue Nov 30 04:28:07 CET 2004


Attached is a patch to xotcl to make it build better.  The
changes are to correct the build and install both on unix
and Windows.

The fixes correct:

* installation when built outside source directory
* build and installation on Windows using TEA
* more clarity during install-libraries

The addition of VISUAL_CC to the defines on Windows
highlights a generally incorrect usage of Windows-checking
constructs.  You can add things like

#ifdef _MSC_VER

in your C code, or better yet it should simply switch on:

#if defined(WIN32)

which tcl.h defines, and for the USE_MALLOC case, something
like this should suffice:

#if defined(WIN32) && !(defined(__GNUC__)

but the changes I made work, just in a less favorable way.

  Jeff Hobbs, The Tcl Guy
  http://www.ActiveState.com/, a division of Sophos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xotcl-1.3.3.patch.gz
Type: application/x-gzip
Size: 17765 bytes
Desc: not available
Url : http://alice.wu-wien.ac.at/pipermail/xotcl/attachments/20041129/e3b1b8bd/xotcl-1.3.3.patch.gz


More information about the Xotcl mailing list