delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/12/29/09:12:27

From: Martin Stromberg <eplmst AT lu DOT erisoft DOT se>
Message-Id: <200012291412.PAA08381@lws256.lu.erisoft.se>
Subject: Re: Ribust shell-based test for DJGPP?
To: djgpp-workers AT delorie DOT com
Date: Fri, 29 Dec 2000 15:12:20 +0100 (MET)
In-Reply-To: <NEBBIOJNGMKPNOBKHCGHCEBMCAAA.tim.van.holder@pandora.be> from "Tim Van Holder" at Dec 28, 2000 04:31:46 PM
X-Mailer: ELM [version 2.5 PL3]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> 
> Hi,
> 
> I'm updating my patched autoconf to match version 2.49b.
> Currently, I'm using the following test to check for DJGPP
> in the few places where behaviour needs to differ:
> 
> if test -d /dev/env/DJDIR -a -f /dev/env/DJDIR/djgpp.env
> then
>   # DJ Stuff
> else
>   # Regular Unix stuff
> fi

Isn't the DJGPP variable more suitable (and only that)?


Right,

						MartinS

- Raw text -


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