2003-06-02  Roland McGrath  <roland@redhat.com>

	* configure.ac, defs.h, mem.c, process.c, sock.c, syscall.c, util.c:
	Merged in SHmedia port from Stephen Thomas <stephen.thomas@superh.com>.
diff --git a/configure.ac b/configure.ac
index 28fbeed..4aa93c3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -91,6 +91,10 @@
 	arch=sh
 	AC_DEFINE([SH], 1, [Define for the SH architecture.])
 	;;
+shmedia)
+	arch=shmedia
+	AC_DEFINE([SHMEDIA], 1, [Define for the SHmedia architecture.])
+	;;
 x86?64*)
 	arch=x86_64
 	AC_DEFINE([X86_64], 1, [Define for the AMD x86-64 architecture.])