[commit] r2102 - vm-sound-Sun requires stropts.h and OS matching solaris.*

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[commit] r2102 - vm-sound-Sun requires stropts.h and OS matching solaris.*

commits-3
 
Author: piumarta
Date: 2009-08-26 18:46:31 -0700 (Wed, 26 Aug 2009)
New Revision: 2102

Modified:
   trunk/platforms/unix/ChangeLog
   trunk/platforms/unix/vm-sound-Sun/config.cmake
Log:
vm-sound-Sun requires stropts.h and OS matching solaris.*

Modified: trunk/platforms/unix/ChangeLog
===================================================================
--- trunk/platforms/unix/ChangeLog 2009-08-27 01:45:18 UTC (rev 2101)
+++ trunk/platforms/unix/ChangeLog 2009-08-27 01:46:31 UTC (rev 2102)
@@ -1,5 +1,7 @@
 2009-08-26    <[hidden email]>
 
+ * vm-sound-Sun/config.cmake: Require stropts.h and Solaris OS.
+
  * plugins/UUIDPlugin/config.cmake: Find libuuid but don't require it.
 
 2009-08-26    <[hidden email]>

Modified: trunk/platforms/unix/vm-sound-Sun/config.cmake
===================================================================
--- trunk/platforms/unix/vm-sound-Sun/config.cmake 2009-08-27 01:45:18 UTC (rev 2101)
+++ trunk/platforms/unix/vm-sound-Sun/config.cmake 2009-08-27 01:46:31 UTC (rev 2102)
@@ -1,8 +1,13 @@
 PLUGIN_FIND_INCLUDE (SYS_AUDIOIO sys/audioio.h)
 PLUGIN_FIND_INCLUDE (SUN_AUDIOIO sun/audioio.h)
+PLUGIN_REQUIRE_INCLUDE (STROPTS stropts.h)
 
-IF (NOT HAVE_SYS_AUDIOIO_H AND NOT HAVE_SUN_AUDIOIO_H)
+IF (NOT VM_HOST_OS MATCHES "solaris.*")
   PLUGIN_DISABLE ()
+ELSE ()
+  IF (NOT HAVE_SYS_AUDIOIO_H AND NOT HAVE_SUN_AUDIOIO_H)
+    PLUGIN_DISABLE ()
+  ENDIF ()
 ENDIF ()
 
 CONFIG_DEFINE (HAVE_SYS_AUDIOIO_H)