[Vm-dev] [patch] Make NAS optional

Aleksej Saushev asau at inbox.ru
Tue Jan 25 02:28:26 UTC 2011


  Hello!

This is resubmittion. Could anyone tell what was the problem with it?


Make NAS optional.

--- unix/vm-sound-NAS/config.cmake.orig	2009-08-26 22:42:18.000000000 +0400
+++ unix/vm-sound-NAS/config.cmake	2010-01-21 05:44:46.000000000 +0300
@@ -1,2 +1,7 @@
 PLUGIN_REQUIRE_INCLUDE (AUDIO_AUDIO_H audio/audio.h)
 PLUGIN_REQUIRE_LIBRARY (AUDIO audio)
+
+CHECK_LIBRARY_EXISTS (audio AuOpenServer "" HAVE_NAS)
+IF (NOT HAVE_NAS OR without-nas)
+  PLUGIN_DISABLE ()
+ENDIF ()


-- 
HE CE3OH...


More information about the Vm-dev mailing list