Message-ID: <386BA128.3AEBDAD@softhome.net> Date: Thu, 30 Dec 1999 20:15:04 +0200 From: Laurynas Biveinis X-Mailer: Mozilla 4.6 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: autoconf-patches AT gnu DOT org CC: djgpp-workers AT delorie DOT com Subject: Config.guess patch for DJGPP Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Hello, There is a patch for DJGPP library, which makes uname -m return exact CPU type (i386-i686) instead of 'pc'. This change breaks config.guess under DJGPP, so it needs to be updated to print CPU type as well. New config.guess still works with uname -m returning 'pc'. The diff is against CVS version of config.guess got using cvsweb. Laurynas Biveinis ----------------- --- config.guess.old Thu Dec 30 19:58:04 1999 +++ config.guess Thu Dec 30 20:06:36 1999 @@ -860,7 +860,11 @@ echo ${UNAME_MACHINE}-pc-sysv32 fi exit 0 ;; + i?86:*DOS:*:*) + echo ${UNAME_MACHINE}-pc-msdosdjgpp + exit 0 ;; pc:*:*:*) + # Left for compatibility: # 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