Message-ID: <37A86F27.79ACAB47@softhome.net> Date: Wed, 04 Aug 1999 18:49:43 +0200 From: Laurynas Biveinis X-Mailer: Mozilla 4.61 [en] (Win98; I) X-Accept-Language: lt,en MIME-Version: 1.0 To: Eli Zaretskii CC: DJGPP Workers Subject: config.guess patch for new uname() Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Hello, I still don't know if my patch for uname() is accepted but anyway I'm sending patch for config.guess to make it behave correctly. It works OK for me. I think it should be sent for maintainers of Autoconf, right? Laurynas Biveinis ----------------- --- config.guess.old Tue Jan 5 08:28:46 1999 +++ config.guess Wed Aug 4 18:40:54 1999 @@ -711,7 +711,12 @@ fi echo ${UNAME_MACHINE}-unixware-${UNAME_RELEASE}-${UNAME_VERSION} exit 0 ;; + i?86:*DOS:*:*) + # Now DJGPP uname -m prints correct CPU type instead of "pc" u + echo ${UNAME_MACHINE}-pc-msdosdjgpp + exit 0 ;; pc:*:*:*) + # Left for compatibility (for old uname version): # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i386. echo i386-pc-msdosdjgpp