You are viewing a plain text version of this content. The canonical link for it is here.
Posted to websh-dev@tcl.apache.org by "David N. Welton" <da...@dedasys.com> on 2002/02/05 01:37:16 UTC

configure.in -> BSD vs SysV

Found this in configure.in:

#--------------------------------------------------------------------
# set SYSV or WIN32 or AIX
#--------------------------------------------------------------------
case "`uname -s`" in
    *win32* | *WIN32* | *CYGWIN_NT*)
        AC_DEFINE(WIN32)
    ;;
    *aix* | *AIX* )
        AC_DEFINE(AIX)
    ;;
    *freebsd* | *FreeBSD* )
        AC_DEFINE(FREEBSD)
    ;;
    *bsd/os* | *BSD/OS* )
        AC_DEFINE(BSDI)
    ;;
    *)
        AC_DEFINE(SYSV)
    ;;
esac

it only seems to be used in filelock.c/h

I don't see the distinction between the different BSD's, and I think
it might make sense to generalise to 'BSD'.  I think this would make
things compile on MacOS X, as well (apache.org has a box available
that I'm playing with).

-- 
David N. Welton
   Consulting: http://www.dedasys.com/
Free Software: http://people.debian.org/~davidw/
   Apache Tcl: http://tcl.apache.org/
     Personal: http://www.efn.org/~davidw/

---------------------------------------------------------------------
To unsubscribe, e-mail: websh-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-dev-help@tcl.apache.org