[alsa-devel] [PATCH] Makefile.am: Add missing code for enhanced configure option of alsa plugins

Lars Wendler polynomial-c at gentoo.org
Sun Feb 18 16:08:24 CET 2018


Commit 1201e158fb00bf15c353d088c94c1cb3eff9653c added the pieces for
configure but did not do the same for Makefile.
As result all plugins were still built regardless of corresponding
--disable-* option being called with configure.
---
 Makefile.am | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 69cfe0d..76cefef 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = oss mix usb_stream arcam-av doc
+SUBDIRS = doc
 if HAVE_JACK
 SUBDIRS += jack
 endif
@@ -20,6 +20,18 @@ endif
 if HAVE_SPEEXDSP
 SUBDIRS += speex
 endif
+if HAVE_OSS
+SUBDIRS += oss
+endif
+if HAVE_MIX
+SUBDIRS += mix
+endif
+if HAVE_USBSTREAM
+SUBDIRS += usb_stream
+endif
+if HAVE_ARCAMAV
+SUBDIRS += arcam-av
+endif
 
 EXTRA_DIST = gitcompile version COPYING.GPL m4/attributes.m4
 AUTOMAKE_OPTIONS = foreign
-- 
2.16.2



More information about the Alsa-devel mailing list