]> git.alsa-project.org Git - alsa-lib.git/commitdiff
alsa.m4: Fix the detection of topology library availability
authorTakashi Iwai <tiwai@suse.de>
Wed, 27 Nov 2019 09:19:26 +0000 (10:19 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 27 Nov 2019 09:26:42 +0000 (10:26 +0100)
The header file alsa/topology.h is mandatory and needs to be checked,
too.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
utils/alsa.m4

index 90e3ee56a9818ec076a7a76ef666efc0e3079022..4c457f0d4e1d592288c3369cf96f45c1f6144cc5 100644 (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)