This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
testing if it's cygwin
- To: "Gnuwin" <cygwin at sourceware dot cygnus dot com>
- Subject: testing if it's cygwin
- From: "Kris Thielemans" <kris dot thielemans at csc dot mrc dot ac dot uk>
- Date: Fri, 17 Nov 2000 15:23:33 -0000
Hi,
what would be the recommended way of testing (in a shell script file, or a
Makefile) if it's being run on CYGWIN?
At the moment, I do
uname
and test on CYGWIN-NT4.0, but that seems like a bad idea, as I want to
support W9? or W2000 as well. Also, it relies on the existence of uname of
course...
Thanks
Kris Thielemans
(kris.thielemans@ic.ac.uk)
MRC Cyclotron Unit,
Hammersmith Hospital,
DuCane Rd,London W12 0NN, United Kingdom
Phone on : +44 (020)8383 3731
FAX on : +44 (020)8383 2029
NEW web site address:
http://www.cu.mrc.ac.uk/~kris
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com