[Vm-dev] [patch] Make NAS optional.

Aleksej Saushev asau at inbox.ru
Thu Jul 22 20:58:29 UTC 2010


  Hello!

NAS causes maintainance headache on some systems, and it isn't strictly needed.

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...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 486 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20100723/bb875e24/attachment.pgp


More information about the Vm-dev mailing list