delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/12/29/13:14:40

Message-ID: <3A4CE287.E4B0DAED@softhome.net>
Date: Fri, 29 Dec 2000 20:14:15 +0100
From: Laurynas Biveinis <lauras AT softhome DOT net>
X-Mailer: Mozilla 4.76 [en] (Win98; U)
X-Accept-Language: lt,en
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: Ribust shell-based test for DJGPP?
References: <NEBBIOJNGMKPNOBKHCGHIECECAAA DOT tim DOT van DOT holder AT pandora DOT be>
Reply-To: djgpp-workers AT delorie DOT com

Tim Van Holder wrote:
[explanation snipped...]

OK, now I see.

> As for Martin's suggestion to use $DJGPP, that would probably be more robust
> indeed, as users are free to rename djgpp.env provided $DJGPP points to the
> right file.

Hmm. I think even following could be used:
if test -d /dev/c; then
  # Here we are...
fi

But it won't work on systems without C: drive, of course.

> Since config.guess uses it, I suppose I could indeed also use 'uname', testing for
> 'pc' as machine and 'MS-DOS' as OS. 

But it introduces sometimes redudant dependency on shellutils. Simple configures
can do without it - now they will not be able.

Laurynas

- Raw text -


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