For Programmers: Free Programming Magazines  


Home > Archive > Tcl > March 2008 > TEA platforms?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author TEA platforms?
Mats

2008-03-31, 6:18 am

I'm adding TEA support for the iaxclient voip package and don't know
how to differentiate MacOSX (Darwin) from unix. TEA_PLATFORM doesn't
do that:

# This will define a ${TEA_PLATFORM} variable == "unix" or "windows".

and TEA_WINDOWINGSYSTEM isn't what I want since it is independent of
windowing system, X11 or aqua. Anyone?

In tcl.m4 I see in AC_DEFUN([TEA_INIT], [ ... that TEA_PLATFORM is
defined and that uses `uname -s`. Is this the expression to use since
it returns Darwin on my Mac?

Mats
Daniel A. Steffen

2008-03-31, 6:19 am

Hi Mats,

On Mar 31, 10:00=A0am, Mats <mats...@gmail.com> wrote:
> In tcl.m4 I see in AC_DEFUN([TEA_INIT], [ ... that TEA_PLATFORM is
> defined and that uses `uname -s`. Is this the expression to use since
> it returns Darwin on my Mac?


yes, indeed you'll find a number of places in tcl.m4 with the
following test done exactly for this purpose:
if test "`uname -s`" =3D "Darwin"; then

Cheers,

Daniel
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com