diff -ura esound-0.2.40.orig/configure esound-0.2.40/configure
--- esound-0.2.40.orig/configure	2008-09-03 20:31:47.000000000 +0000
+++ esound-0.2.40/configure	2008-09-07 19:35:54.408170164 +0000
@@ -24313,7 +24313,7 @@
       test "${ac_cv_header_sys_audio_io_h}" = "yes" || \
       test "${ac_cv_header_sun_audioio_h}" = "yes"; then
       case ${host_os} in
-      solaris*)
+      solaris* | kopensolaris*-gnu)
          found_sound=yes
 
 cat >>confdefs.h <<\_ACEOF
diff -ura esound-0.2.40.orig/configure.ac esound-0.2.40/configure.ac
--- esound-0.2.40.orig/configure.ac	2008-09-03 20:29:14.000000000 +0000
+++ esound-0.2.40/configure.ac	2008-09-07 19:35:57.862434660 +0000
@@ -242,7 +242,7 @@
       test "${ac_cv_header_sys_audio_io_h}" = "yes" || \
       test "${ac_cv_header_sun_audioio_h}" = "yes"; then
       case ${host_os} in
-      solaris*)
+      solaris* | kopensolaris*-gnu)
          found_sound=yes
          AC_DEFINE(DRIVER_SOLARIS, 1, [Defined if Solaris backend is enabled])
          ;;
