When --disable-ucm configure option is specified, don't install related include file.
Signed-off-by: Matthieu Crapet Matthieu.Crapet@ingenico.com
diff --git a/include/Makefile.am b/include/Makefile.am index 0127d5c..4baa03a 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -5,7 +5,7 @@ alsaincludedir = ${includedir}/alsa
alsainclude_HEADERS = asoundlib.h asoundef.h \ version.h global.h input.h output.h error.h \ - conf.h control.h iatomic.h use-case.h + conf.h control.h iatomic.h
if BUILD_CTL_PLUGIN_EXT alsainclude_HEADERS += control_external.h @@ -17,7 +17,7 @@ if BUILD_PCM_PLUGIN alsainclude_HEADERS += pcm_plugin.h endif if BUILD_PCM_PLUGIN_RATE -alsainclude_HEADERS += pcm_rate.h +alsainclude_HEADERS += pcm_rate.h endif if BUILD_PCM_PLUGIN_EXTPLUG alsainclude_HEADERS += pcm_external.h pcm_extplug.h @@ -46,6 +46,10 @@ if BUILD_SEQ alsainclude_HEADERS += seq_event.h seq.h seqmid.h seq_midi_event.h endif
+if BUILD_UCM +alsainclude_HEADERS += use-case.h +endif + if BUILD_ALISP alsainclude_HEADERS += alisp.h endif