BTW, use the attached patch - very small, unimportant diff between the two (but less verbose at one point).
Jeff
-----Original Message----- From: xotcl-bounces@alice.wu-wien.ac.at [mailto:xotcl-bounces@alice.wu-wien.ac.at] On Behalf Of Jeff Hobbs Sent: November 29, 2004 7:28 PM To: xotcl@alice.wu-wien.ac.at Cc: 'Andreas Kupries' Subject: [Xotcl] xotcl-1.3.3 Makefile / configure fixes
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