uname(1) on UnixWare (Solaris)
Bang Jun-Young
bjy at mogua.org
Wed Jun 6 10:12:16 CDT 2001
On Wed, Jun 06, 2001 at 11:23:53AM +0200, Patrik Stridvall wrote:
> However regardless of this, uname shouldn't be used
> (at least not directly). Autoconf provides a standard
> way to do this (which BTW happends to use uname).
> It can be used as below.
>
> AC_CANONICAL_HOST
>
> case $host_os in
> *cygwin* ) CYGWIN=yes;;
> * ) CYGWIN=no;;
> esac
It looks much better than uname, and reliable. :)
Jun-Young
--
Bang Jun-Young <bjy at mogua.org>
More information about the wine-devel
mailing list