summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2019-12-03 20:51:56 +0100
committerJaroslav Kysela <perex@perex.cz>2019-12-03 20:52:42 +0100
commitf77a269370af917585df59d8c21c89bca07b5b73 (patch)
tree52db78d7434094cb9369d260de8117ef793b5f31 /configure.ac
parent34e373d0b12d96353c49c3dcd73ec52eee11484a (diff)
downloadalsa-utils-f77a269370af917585df59d8c21c89bca07b5b73.tar.gz
configure: Fix linking of alsatplg with the older libs
BugLink: https://github.com/alsa-project/alsa-utils/issues/33 Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a4a2dd4..4bee49b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -70,6 +70,11 @@ AM_CONDITIONAL(HAVE_TOPOLOGY, test "$have_topology" = "yes")
AM_CONDITIONAL(HAVE_SAMPLERATE, test "$have_samplerate" = "yes")
AM_CONDITIONAL(HAVE_FFADO, test "$have_ffado" = "yes")
+# old libasound with the topology routines in the main library
+if test "x$have_topology" = "xyes" -a "x$ALSA_TOPOLOGY_LIBS" = "x"; then
+ ALSA_TOPOLOGY_LIBS="$ALSA_LIBS"
+fi
+
dnl Use tinyalsa
alsabat_backend_tiny=
AC_ARG_ENABLE(alsabat_backend_tiny,