diff -ur automake-1.10.1.orig/lib/config.guess automake-1.10.1/lib/config.guess
--- automake-1.10.1.orig/lib/config.guess	2008-01-19 09:54:57.000000000 +0000
+++ automake-1.10.1/lib/config.guess	2008-06-20 07:55:06.637550623 +0000
@@ -828,6 +828,10 @@
 	# the GNU system
 	echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
 	exit ;;
+    *:GNU/kOpenSolaris:*:*)
+	# like linux, we don't need to record the version number
+	echo ${UNAME_MACHINE}-unknown-kopensolaris-gnu
+	exit ;;
     *:GNU/*:*:*)
 	# other systems with GNU libc and userland
 	echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
diff -ur automake-1.10.1.orig/lib/config.sub automake-1.10.1/lib/config.sub
--- automake-1.10.1.orig/lib/config.sub	2008-01-19 09:54:57.000000000 +0000
+++ automake-1.10.1/lib/config.sub	2008-06-20 07:51:53.845880251 +0000
@@ -122,7 +122,7 @@
 case $maybe_os in
   nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
   uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
-  storm-chaos* | os2-emx* | rtmk-nova*)
+  storm-chaos* | os2-emx* | rtmk-nova* | kopensolaris*-gnu* )
     os=-$maybe_os
     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
     ;;
@@ -1258,7 +1258,7 @@
 	      | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
 	      | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
 	      | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
-	      | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
+	      | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -kopensolaris*-gnu* )
 	# Remember, each alternative MUST END IN *, to match a version number.
 		;;
 	-qnx*)

