changeset 2216:352d35ff1c82

[xemacs-hg @ 2004-08-13 20:55:31 by adrian] A small patch to config.guess to detect the PlayStation2 <16667.42748.6448.605562@jin.myrkraverk.com>
author adrian
date Fri, 13 Aug 2004 20:55:31 +0000
parents 5b25cf17bd61
children 701dcae521bd
files ChangeLog config.guess
diffstat 2 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Aug 13 09:47:57 2004 +0000
+++ b/ChangeLog	Fri Aug 13 20:55:31 2004 +0000
@@ -1,3 +1,7 @@
+2004-08-12  "Johann 'Myrkraverk' Oskarsson" <myrkraverk@users.sourceforge.net>
+
+	* config.guess: Identify PlayStation2.
+
 2004-06-16  Stephen J. Turnbull  <stephen@xemacs.org>
 
 	* configure.in: Character classes in globs don't work, die when
--- a/config.guess	Fri Aug 13 09:47:57 2004 +0000
+++ b/config.guess	Fri Aug 13 20:55:31 2004 +0000
@@ -3,7 +3,7 @@
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
 #   Free Software Foundation, Inc.
 
-timestamp='2001-01-17'
+timestamp='2004-08-12'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -918,8 +918,14 @@
   printf ("%s-unknown-linux-gnu\n", argv[1]);
 #endif
 #ifdef __MIPSEL__
+#ifdef __R5900
+/* Little Endian R5900 running Linux,
+   this *must* be Sony PlayStation 2 */
+  printf ("%sel-PlayStation2-linux-gnu\n", argv[1]);
+#else
   printf ("%sel-unknown-linux-gnu\n", argv[1]);
 #endif
+#endif
   return 0;
 }
 EOF