From: Jaroslav Kysela Date: Tue, 3 Dec 2019 19:51:56 +0000 (+0100) Subject: configure: Fix linking of alsatplg with the older libs X-Git-Tag: v1.2.2~30 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=f77a269370af917585df59d8c21c89bca07b5b73;p=alsa-utils.git configure: Fix linking of alsatplg with the older libs BugLink: https://github.com/alsa-project/alsa-utils/issues/33 Signed-off-by: Jaroslav Kysela --- 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,