Subject: Re: Reliably check if we're running under cygwin inside Makefile
From: "Dave Korn" <[email-masked]>
To: [email-masked]
Cc: Fergus <[email-masked]>
Date: Mon, 12 Jan 2009 19:06:39 +0000
List-Id: <cygwin.cygwin.com>

Fergus wrote:
>  > osname := $(shell uname -s)
>  > osver := $(shell uname -r)
>  > cpuarch := $(shell uname -m)
>
> Probably the fault is mine but I can't get this to do anything useful in
> Cygwin. You could try (something like):
>
>   case `uname` in

  Hmm, did you try those first examples in bash before deciding they didn't
work?  Because your alternative proposal looks a lot like shell script...

  Perhaps you need to read the subject line again!

    cheers,
      DaveK

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/