]> git.alsa-project.org Git - alsa-utils.git/commitdiff
configure: fix the inverted libatopology check
authorJaroslav Kysela <perex@perex.cz>
Wed, 19 Feb 2020 12:02:03 +0000 (13:02 +0100)
committerJaroslav Kysela <perex@perex.cz>
Wed, 19 Feb 2020 12:02:03 +0000 (13:02 +0100)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
configure.ac

index b7ed81a0d32cc3bd4fc5c60da1fe47767b26481c..a0b136b6e0af0a0315fe41f6b10d75cf9af1ba92 100644 (file)
@@ -49,7 +49,7 @@ AC_CHECK_LIB([asound], [snd_seq_client_info_get_pid], [HAVE_SEQ_CLIENT_INFO_GET_
 if test "$HAVE_SEQ_CLIENT_INFO_GET_PID" = "yes" ; then
     AC_DEFINE([HAVE_SEQ_CLIENT_INFO_GET_PID], 1, [alsa-lib supports snd_seq_client_info_get_pid])
 fi
-AC_CHECK_LIB([atopology], [snd_tplg_save], [have_topology="no"])
+AC_CHECK_LIB([atopology], [snd_tplg_save], [have_topology="yes"], [have_topology="no"])
 
 #
 # NOTE: The library 'libffado' (at least v2.4.1) executes ctor/dtor of instances