diff config.guess @ 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 c33ae14dd6d0
children 3580ae2ce979
line wrap: on
line diff
--- 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