Mail Archives: djgpp-workers/2000/12/29/09:41:42
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 -