Skip to contentSkip to conversation

Patch: support OSS on solaris

Qemu-devel Ben Taylor 1 participant 1 message May 12, 2007

lore
Share & tools
lore

Ben Taylor

author
#0 lore raw

I've recrafted my patch for supporting OpenSound System on Solaris by checking for it automatically, instead of providing an option. Also added a status flag on whether OSS is enabled or not.

Ben

configure +4 -0
@@ -157,6 +157,9 @@
             kqemu="yes"
         fi
     fi
+    if test -f /usr/include/sys/soundcard.h ; then
+        oss=yes
+    fi
 ;;
 *)
 oss="yes"
@@ -667,6 +670,7 @@
     fmod_support=""
 fi
 echo "FMOD support      $fmod $fmod_support"
+echo "OSS support       $oss"
 if test -n "$sparc_cpu"; then
     echo "Target Sparc Arch $sparc_cpu"
 fi