delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/17/10:22:16

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Kris Thielemans" <kris DOT thielemans AT csc DOT mrc DOT ac DOT uk>
To: "Gnuwin" <cygwin AT sourceware DOT cygnus DOT com>
Subject: testing if it's cygwin
Date: Fri, 17 Nov 2000 15:23:33 -0000
Message-ID: <005a01c050aa$591a4490$460a10ac@rpms.ac.uk>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

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 DOT thielemans AT ic DOT ac DOT 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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019