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

Message-ID: <3A4CB0B0.C36EA08F@softhome.net>
Date: Fri, 29 Dec 2000 16:41:36 +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: <NEBBIOJNGMKPNOBKHCGHEEBNCAAA DOT tim DOT van DOT holder AT pandora DOT be>
Reply-To: djgpp-workers AT delorie DOT com

Tim Van Holder wrote:
> I'd like the test to incur as little overhead as possible. uname is an
> external program, while 'test' is a builtin in most shells.

IMHO a performance decrease for using 'uname' will be lost in noise anyway.
Most configure scripts do a lot of things anyway.

> Also, many of the patches are DJGPP-specific, and uname simply claims
> 'MS-DOS', which doesn't necessarily mean it's a DJGPP system.

Well, I don't know in what cases you're going to use your DJGPP tests,
but sometimes it might be a good idea to check for specific features instead,
for example, you don't have to explicitly check for DJGPP if you test fork()
or drive letters availability. But again, I didn't see your code.

Laurynas

- Raw text -


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