changeset 74490:7bb7864abd11

Add support for Solaris 10 on x86-64.
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 08 Dec 2006 15:45:59 +0000
parents f022932f2a05
children 87e400c0699c
files configure.in src/ChangeLog src/m/amdx86-64.h
diffstat 3 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Fri Dec 08 15:45:06 2006 +0000
+++ b/configure.in	Fri Dec 08 15:45:59 2006 +0000
@@ -951,6 +951,7 @@
       m68* )		machine=sun3 ;;
       i[3456]86-sun-sunos[34]* )	machine=sun386 ;;
       i[3456]86-*-* )     machine=intel386 ;;
+      amd64-*-*|x86_64-*-*)	machine=amdx86-64 ;;
       powerpcle* )      machine=powerpcle ;;
       powerpc* | rs6000* )  machine=ibmrs6000 ;;
       sparc* )		machine=sparc ;;
--- a/src/ChangeLog	Fri Dec 08 15:45:06 2006 +0000
+++ b/src/ChangeLog	Fri Dec 08 15:45:59 2006 +0000
@@ -1,3 +1,7 @@
+2006-12-08  NAKAJI Hiroyuki  <nakaji@jp.freebsd.org> (tiny change)
+
+	* m/amdx86-64.h: Add support for Solaris 10 on x86-64.
+
 2006-12-08  Kenichi Handa  <handa@m17n.org>
 
 	* xterm.c (x_query_font): Use xstricmp instead off strcasecmp.
--- a/src/m/amdx86-64.h	Fri Dec 08 15:45:06 2006 +0000
+++ b/src/m/amdx86-64.h	Fri Dec 08 15:45:59 2006 +0000
@@ -125,7 +125,12 @@
 #undef LIB_STANDARD
 #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o
 
-#else /* !__OpenBSD__ && !__FreeBSD__ */
+#elif defined(sun)
+
+#undef START_FILES
+#undef LIB_STANDARD
+
+#else /* !__OpenBSD__ && !__FreeBSD__ && !sun */
 
 #undef START_FILES
 #ifdef HAVE_X86_64_LIB64_DIR