alsa.m4: Fix the detection of topology library availability

The header file alsa/topology.h is mandatory and needs to be checked,
too.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Takashi Iwai 2019-11-27 10:19:26 +01:00
parent 4c89f4eb90
commit 09b40fdcfe

View file

@ -130,6 +130,7 @@ AC_LANG_C
AC_MSG_CHECKING([for libatopology (sound headers version > 1.1.9)])
AC_TRY_COMPILE([
#include <alsa/asoundlib.h>
#include <alsa/topology.h>
], [
/* ensure backward compatibility */
#if !defined(SND_LIB_VERSION)