I'm eager to give this a try. Let me know when it's stable. If I build
with x11 8.4 and there is an option to include wish and I do it--and
then give it to someone, do they also need my /usr/local/tcltk folder?
Michael
On Jul 27, 2008, at 4:12 PM, William Kyngesburye wrote:
On Jul 27, 2008, at 5:37 PM, Glynn Clements wrote:
The way it's done for OpenGL is:
#if defined(OPENGL_X11) || defined(OPENGL_WINDOWS)
#include <GL/gl.h>
#endif
#ifdef OPENGL_AQUA
#include <OpenGL/gl.h>
#endif
I have changed configure and associated files to treat Tcl/Tk
similarly to OpenGL.
--with-tcltk now accepts x11/win/osx (and aliases) as an argument.
TCLTK_{X11,AQUA,WINDOWS} are now defined in Platform.make and
config.h.
Cool, that works. I also tested configuring with aqua *and* setting
the framework path, looks right.
I haven't run a compile yet - I didn't see any of the sources that
include the tcltk headers get updated yet.
I have also cleaned up the --with-opengl=aqua case, and added a
--with-opengl-framework= switch (the paths are no longer hard-coded).
Oops, now all the platform.make vars for opengl are empty, except
OPENGL_AQUA and USE_OPENGL.
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
"Oh, look, I seem to have fallen down a deep, dark hole. Now what
does that remind me of? Ah, yes - life."
- Marvin
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev