From: "Dave Korn" <dave.korn.cygwin@googlemail.com>
To: cygwin@cygwin.com
Cc: Fergus <fergus@bonhard.uklinux.net>
Subject: Re: Reliably check if we're running under cygwin inside Makefile
Date: Mon, 12 Jan 2009 20:10:00 -0000 [thread overview]
Message-ID: <2ca21dcc0901121106g28f0f585u68fd59388b0120ad@mail.gmail.com> (raw)
In-Reply-To: <496B828A.3010006@bonhard.uklinux.net>
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/
next prev parent reply other threads:[~2009-01-12 19:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-12 19:06 Fergus
2009-01-12 20:10 ` Dave Korn [this message]
2009-01-12 21:52 ` Grant Edwards
-- strict thread matches above, loose matches on Subject: below --
2009-01-12 12:48 Eric Lilja
2009-01-12 16:19 ` Greg Chicares
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2ca21dcc0901121106g28f0f585u68fd59388b0120ad@mail.gmail.com \
--to=dave.korn.cygwin@googlemail.com \
--cc=cygwin@cygwin.com \
--cc=fergus@bonhard.uklinux.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).