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