delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/08/04/12:55:35

Message-ID: <37A86F27.79ACAB47@softhome.net>
Date: Wed, 04 Aug 1999 18:49:43 +0200
From: Laurynas Biveinis <lauras AT softhome DOT net>
X-Mailer: Mozilla 4.61 [en] (Win98; I)
X-Accept-Language: lt,en
MIME-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
CC: DJGPP Workers <djgpp-workers AT delorie DOT com>
Subject: config.guess patch for new uname()
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

- Raw text -


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