Message-ID: <3A4CE287.E4B0DAED@softhome.net> Date: Fri, 29 Dec 2000 20:14:15 +0100 From: Laurynas Biveinis 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: Content-Type: text/plain; charset=iso-8859-4 Content-Transfer-Encoding: 7bit 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