configure: allow contitional compilation of alsaucm
PATCH 1/1 configure: allow contitional compilation of alsaucm
If alsa-lib have been compiled with --disable-ucm, alsaucm can't be built. Detection is dynamic, no configure command line option is available for now.
Signed-off-by Matthieu Crapet <[email protected]>
Makefile.am +4 -1
@@ -1,6 +1,6 @@ AM_CPPFLAGS=-I$(top_srcdir)/include -SUBDIRS = include alsactl alsaucm utils m4 po alsa-info +SUBDIRS = include alsactl utils m4 po alsa-info if ALSAMIXER SUBDIRS += alsamixer endif
@@ -22,6 +22,9 @@ endif if HAVE_SEQ SUBDIRS += seq endif +if HAVE_UCM +SUBDIRS += alsaucm +endif EXTRA_DIST= TODO gitcompile AUTOMAKE_OPTIONS=foreign
configure.ac +3 -0
@@ -48,6 +48,8 @@ AC_CHECK_HEADERS([alsa/rawmidi.h], [have_rawmidi="yes"], [have_rawmidi="no"], [#include <alsa/asoundlib.h>]) AC_CHECK_HEADERS([alsa/seq.h], [have_seq="yes"], [have_seq="no"], [#include <alsa/asoundlib.h>]) +AC_CHECK_HEADERS([alsa/use-case.h], [have_ucm="yes"], [have_ucm="no"], + [#include <alsa/asoundlib.h>]) AC_CHECK_HEADERS([samplerate.h], [have_samplerate="yes"], [have_samplerate="no"], [#include <samplerate.h>])
@@ -55,6 +57,7 @@ AM_CONDITIONAL(HAVE_PCM, test "$have_pcm" = "yes") AM_CONDITIONAL(HAVE_MIXER, test "$have_mixer" = "yes") AM_CONDITIONAL(HAVE_RAWMIDI, test "$have_rawmidi" = "yes") AM_CONDITIONAL(HAVE_SEQ, test "$have_seq" = "yes") +AM_CONDITIONAL(HAVE_UCM, test "$have_ucm" = "yes") AM_CONDITIONAL(HAVE_SAMPLERATE, test "$have_samplerate" = "yes") dnl Check for librt
Signature · 1 line
1.8.5.4
PATCH 1/1 configure: allow contitional compilation of alsaucm
If alsa-lib have been compiled with --disable-ucm, alsaucm can't be built. Detection is dynamic, no configure command line option is available for now.
Signed-off-by Matthieu Crapet <[email protected]>
Makefile.am +4 -1
@@ -1,6 +1,6 @@ AM_CPPFLAGS=-I$(top_srcdir)/include -SUBDIRS = include alsactl alsaucm utils m4 po alsa-info +SUBDIRS = include alsactl utils m4 po alsa-info if ALSAMIXER SUBDIRS += alsamixer endif
@@ -22,6 +22,9 @@ endif if HAVE_SEQ SUBDIRS += seq endif +if HAVE_UCM +SUBDIRS += alsaucm +endif EXTRA_DIST= TODO gitcompile AUTOMAKE_OPTIONS=foreign
configure.ac +3 -0
@@ -48,6 +48,8 @@ AC_CHECK_HEADERS([alsa/rawmidi.h], [have_rawmidi="yes"], [have_rawmidi="no"], [#include <alsa/asoundlib.h>]) AC_CHECK_HEADERS([alsa/seq.h], [have_seq="yes"], [have_seq="no"], [#include <alsa/asoundlib.h>]) +AC_CHECK_HEADERS([alsa/use-case.h], [have_ucm="yes"], [have_ucm="no"], + [#include <alsa/asoundlib.h>]) AC_CHECK_HEADERS([samplerate.h], [have_samplerate="yes"], [have_samplerate="no"], [#include <samplerate.h>])
@@ -55,6 +57,7 @@ AM_CONDITIONAL(HAVE_PCM, test "$have_pcm" = "yes") AM_CONDITIONAL(HAVE_MIXER, test "$have_mixer" = "yes") AM_CONDITIONAL(HAVE_RAWMIDI, test "$have_rawmidi" = "yes") AM_CONDITIONAL(HAVE_SEQ, test "$have_seq" = "yes") +AM_CONDITIONAL(HAVE_UCM, test "$have_ucm" = "yes") AM_CONDITIONAL(HAVE_SAMPLERATE, test "$have_samplerate" = "yes") dnl Check for librt
Signature · 1 line
1.8.5.4
Takashi Iwai
AppliedAt Wed, 14 Jan 2015 15:44:19 +0100,
Quoted 5 lines · Matthieu Crapet
If alsa-lib have been compiled with --disable-ucm, alsaucm can't be built. Detection is dynamic, no configure command line option is available for now.
Signed-off-by Matthieu Crapet <[email protected]>
Applied, thanks.
Takashi
Quoted 52 lines
Makefile.am +4
-1@@ -1,6 +1,6 @@ AM_CPPFLAGS=-I$(top_srcdir)/include -SUBDIRS = include alsactl alsaucm utils m4 po alsa-info +SUBDIRS = include alsactl utils m4 po alsa-info if ALSAMIXER SUBDIRS += alsamixer endif@@ -22,6 +22,9 @@ endif if HAVE_SEQ SUBDIRS += seq endif +if HAVE_UCM +SUBDIRS += alsaucm +endif EXTRA_DIST= TODO gitcompile AUTOMAKE_OPTIONS=foreignconfigure.ac +3
-0@@ -48,6 +48,8 @@ AC_CHECK_HEADERS([alsa/rawmidi.h], [have_rawmidi="yes"], [have_rawmidi="no"], [#include <alsa/asoundlib.h>]) AC_CHECK_HEADERS([alsa/seq.h], [have_seq="yes"], [have_seq="no"], [#include <alsa/asoundlib.h>]) +AC_CHECK_HEADERS([alsa/use-case.h], [have_ucm="yes"], [have_ucm="no"], + [#include <alsa/asoundlib.h>]) AC_CHECK_HEADERS([samplerate.h], [have_samplerate="yes"], [have_samplerate="no"], [#include <samplerate.h>])@@ -55,6 +57,7 @@ AM_CONDITIONAL(HAVE_PCM, test "$have_pcm" = "yes") AM_CONDITIONAL(HAVE_MIXER, test "$have_mixer" = "yes") AM_CONDITIONAL(HAVE_RAWMIDI, test "$have_rawmidi" = "yes") AM_CONDITIONAL(HAVE_SEQ, test "$have_seq" = "yes") +AM_CONDITIONAL(HAVE_UCM, test "$have_ucm" = "yes") AM_CONDITIONAL(HAVE_SAMPLERATE, test "$have_samplerate" = "yes") dnl Check for librtSignature · 6 lines
1.8.5.4 _______________________________________________ Alsa-devel mailing list [email protected] http://mailman.alsa-project.org/mailman/listinfo/alsa-devel