[-,alsalib,1/1] autotools: fix ucm partial build
diff mbox

Message ID 1421246565-8065-1-git-send-email-Matthieu.Crapet@ingenico.com
State New, archived
Headers show

Commit Message

Matthieu Crapet Jan. 14, 2015, 2:42 p.m. UTC
When --disable-ucm configure option is specified,
don't install related include file.

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>

Comments

Takashi Iwai Jan. 14, 2015, 3:11 p.m. UTC | #1
At Wed, 14 Jan 2015 15:42:45 +0100,
Matthieu Crapet wrote:
> 
> When --disable-ucm configure option is specified,
> don't install related include file.
> 
> Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>

Applied, thanks.


Takashi

> 
> 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
> -- 
> 1.8.5.4
> 
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>

Patch
diff mbox

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