mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
alsa: Fix inclusion of use-case.h
The recent change in ALSA upstream stripped -I$include/alsa path from pkgconfig. We already fixed for this change in some places but still the code for UCM was overlooked, and this resulted in the unresolved symbols in alsa card module. Fix them as well. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
b943caa17f
commit
b89d33bb18
2 changed files with 2 additions and 2 deletions
|
|
@ -826,7 +826,7 @@ AS_IF([test "x$enable_alsa" = "xyes" && test "x$HAVE_ALSA" = "x0"],
|
||||||
AS_IF([test "x$HAVE_ALSA" = "x1"],
|
AS_IF([test "x$HAVE_ALSA" = "x1"],
|
||||||
[
|
[
|
||||||
save_CPPFLAGS="$CPPFLAGS"; CPPFLAGS="$CPPFLAGS $ASOUNDLIB_CFLAGS"
|
save_CPPFLAGS="$CPPFLAGS"; CPPFLAGS="$CPPFLAGS $ASOUNDLIB_CFLAGS"
|
||||||
AC_CHECK_HEADERS([use-case.h], HAVE_ALSA_UCM=1, HAVE_ALSA_UCM=0)
|
AC_CHECK_HEADERS([alsa/use-case.h], HAVE_ALSA_UCM=1, HAVE_ALSA_UCM=0)
|
||||||
CPPFLAGS="$save_CPPFLAGS"
|
CPPFLAGS="$save_CPPFLAGS"
|
||||||
],
|
],
|
||||||
HAVE_ALSA_UCM=0)
|
HAVE_ALSA_UCM=0)
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
***/
|
***/
|
||||||
|
|
||||||
#ifdef HAVE_ALSA_UCM
|
#ifdef HAVE_ALSA_UCM
|
||||||
#include <use-case.h>
|
#include <alsa/use-case.h>
|
||||||
#else
|
#else
|
||||||
typedef void snd_use_case_mgr_t;
|
typedef void snd_use_case_mgr_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue