summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Elliston <bje@gnu.org>2004-01-05 06:57:17 +0000
committerBen Elliston <bje@gnu.org>2004-01-05 06:57:17 +0000
commit741a9b4e193c6e2fe7761cbb5b3d42a6f8b135f4 (patch)
treef70a4db2a83789c567843dd608b56e5b9c072ef8
parentb8c03ef13c870945f03f4238c691d42abf9bebbb (diff)
downloadconfig-741a9b4e193c.tar.gz
* config.sub: Handle amd64-*.
-rw-r--r--ChangeLog4
-rwxr-xr-xconfig.sub5
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c892f81..0cc935b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-01-05 Ben Elliston <bje@wasabisystems.com>
+
+ * config.sub: Handle amd64-*.
+
2003-11-20 Kristian Van Der Vliet <vanders@liqwyd.com>
* config.guess (i*86:syllable:*:*): New.
diff --git a/config.sub b/config.sub
index fac5195..463186d 100755
--- a/config.sub
+++ b/config.sub
@@ -3,7 +3,7 @@
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
-timestamp='2003-11-20'
+timestamp='2004-01-05'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
@@ -380,6 +380,9 @@ case $basic_machine in
amd64)
basic_machine=x86_64-pc
;;
+ amd64-*)
+ basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
amdahl)
basic_machine=580-amdahl
os=-sysv