1dnl Process this file with autoconf to produce a configure script. 2AC_PREREQ(2.59) 3AC_INIT(alsa-utils, 1.2.11) 4AC_CONFIG_SRCDIR([aplay/aplay.c]) 5AC_PREFIX_DEFAULT(/usr) 6AM_INIT_AUTOMAKE([subdir-objects]) 7 8AM_MAINTAINER_MODE([enable]) 9 10AM_GNU_GETTEXT([external]) 11AM_GNU_GETTEXT_VERSION([0.19.8]) 12 13dnl Checks for programs. 14 15AC_PROG_CC 16dnl AC_PROG_CXX 17AC_PROG_INSTALL 18AC_PROG_MKDIR_P 19AC_PROG_LN_S 20AC_PROG_SED 21AC_DISABLE_STATIC 22AM_PROG_LIBTOOL 23PKG_PROG_PKG_CONFIG 24AM_PATH_ALSA(1.2.5) 25if test "x$enable_alsatest" = "xyes"; then 26AC_CHECK_FUNC([snd_ctl_elem_add_enumerated], 27 , [AC_ERROR([No user enum control support in alsa-lib])]) 28fi 29 30 31AC_CHECK_HEADERS([dlfcn.h malloc.h]) 32 33dnl Check components 34AC_CHECK_HEADERS([alsa/pcm.h], [have_pcm="yes"], [have_pcm="no"], 35 [#include <alsa/asoundlib.h>]) 36AC_CHECK_HEADERS([alsa/mixer.h], [have_mixer="yes"], [have_mixer="no"], 37 [#include <alsa/asoundlib.h>]) 38AC_CHECK_HEADERS([alsa/rawmidi.h], [have_rawmidi="yes"], [have_rawmidi="no"], 39 [#include <alsa/asoundlib.h>]) 40AC_CHECK_HEADERS([alsa/seq.h], [have_seq="yes"], [have_seq="no"], 41 [#include <alsa/asoundlib.h>]) 42AC_CHECK_HEADERS([alsa/use-case.h], [have_ucm="yes"], [have_ucm="no"], 43 [#include <alsa/asoundlib.h>]) 44AC_CHECK_HEADERS([alsa/topology.h], [have_topology="yes"], [have_topology="no"], 45 [#include <alsa/asoundlib.h>]) 46AC_CHECK_HEADERS([samplerate.h], [have_samplerate="yes"], [have_samplerate="no"], 47 [#include <samplerate.h>]) 48 49AC_CHECK_LIB([asound], [snd_seq_client_info_get_card], [HAVE_SEQ_CLIENT_INFO_GET_CARD="yes"]) 50if test "$HAVE_SEQ_CLIENT_INFO_GET_CARD" = "yes" ; then 51 AC_DEFINE([HAVE_SEQ_CLIENT_INFO_GET_CARD], 1, [alsa-lib supports snd_seq_client_info_get_card]) 52fi 53AC_CHECK_LIB([asound], [snd_seq_client_info_get_pid], [HAVE_SEQ_CLIENT_INFO_GET_PID="yes"]) 54if test "$HAVE_SEQ_CLIENT_INFO_GET_PID" = "yes" ; then 55 AC_DEFINE([HAVE_SEQ_CLIENT_INFO_GET_PID], 1, [alsa-lib supports snd_seq_client_info_get_pid]) 56fi 57AC_CHECK_LIB([asound], [snd_seq_client_info_get_midi_version], [HAVE_SEQ_CLIENT_INFO_GET_MIDI_VERSION="yes"]) 58if test "$HAVE_SEQ_CLIENT_INFO_GET_MIDI_VERSION" = "yes" -a "$have_rawmidi" = "yes"; then 59 AC_DEFINE([HAVE_SEQ_CLIENT_INFO_GET_MIDI_VERSION], 1, [alsa-lib supports snd_seq_client_info_get_midi_version]) 60fi 61AC_CHECK_LIB([atopology], [snd_tplg_save], [have_topology="yes"], [have_topology="no"]) 62 63# 64# NOTE: The library 'libffado' (at least v2.4.1) executes ctor/dtor of instances 65# for some objects in startup/finish routines of C runtime. As a result, it 66# outputs some superfluos messages. Furthermore, it brings much memory leak 67# internally. Totally, libffado support is not recommended at all in usual 68# purposes except for technical preview. 69# 70AC_CHECK_LIB([ffado], [ffado_streaming_init], [have_ffado="yes"], [have_ffado="no"]) 71AS_IF([test x"$have_ffado" = xyes], 72 [AC_DEFINE([WITH_FFADO], [1], [Define if FFADO library is available])]) 73 74# Test programs for axfer use shm by memfd_create(2). If not supported, open(2) is used alternatively. 75AC_CHECK_FUNC([memfd_create], [have_memfd_create="yes"], [have_memfd_create="no"]) 76AS_IF([test x$have_memfd_create = xyes], 77 [AC_DEFINE([HAVE_MEMFD_CREATE], [1], [Define if Linux kernel supports memfd_create system call])]) 78 79AM_CONDITIONAL(HAVE_PCM, test "$have_pcm" = "yes") 80AM_CONDITIONAL(HAVE_MIXER, test "$have_mixer" = "yes") 81AM_CONDITIONAL(HAVE_RAWMIDI, test "$have_rawmidi" = "yes") 82AM_CONDITIONAL(HAVE_SEQ, test "$have_seq" = "yes") 83AM_CONDITIONAL(HAVE_UCM, test "$have_ucm" = "yes") 84AM_CONDITIONAL(HAVE_TOPOLOGY, test "$have_topology" = "yes" -a "$ac_cv_header_dlfcn_h" = "yes") 85AM_CONDITIONAL(HAVE_SAMPLERATE, test "$have_samplerate" = "yes") 86AM_CONDITIONAL(HAVE_FFADO, test "$have_ffado" = "yes") 87 88dnl Use tinyalsa 89alsabat_backend_tiny= 90AC_ARG_ENABLE(alsabat_backend_tiny, 91 AS_HELP_STRING([--enable-alsabat-backend-tiny], [Use tinyalsa for alsabat backend]), 92 [case "${enableval}" in 93 yes) alsabat_backend_tiny=true ;; 94 no) alsabat_backend_tiny=false ;; 95 *) AC_MSG_ERROR(bad value ${enableval} for --enable-alsabat-backend-tiny) ;; 96 esac],[alsabat_backend_tiny=false]) 97 98dnl Disable bat 99bat= 100if test "$have_pcm" = "yes"; then 101AC_ARG_ENABLE(bat, 102 AS_HELP_STRING([--disable-bat], [Disable bat compilation]), 103 [case "${enableval}" in 104 yes) bat=true ;; 105 no) bat=false ;; 106 *) AC_MSG_ERROR(bad value ${enableval} for --enable-bat) ;; 107 esac],[bat=true]) 108fi 109AM_CONDITIONAL(BAT, test x$bat = xtrue) 110 111if test x$bat = xtrue; then 112 113 saved_CFLAGS="$CFLAGS" 114 saved_LDFLAGS="$LDFLAGS" 115 saved_LIBS="$LIBS" 116 FFTW_INC="" 117 FFTW_LIB="" 118 FFTW_CFLAGS="" 119 dnl Check for libfftw3 120 have_libfftw3="yes" 121 AC_CHECK_LIB([fftw3f], [fftwf_malloc], , [have_libfftw3="no"]) 122 dnl Check for libtinyalsa 123 have_libtinyalsa= 124 if test x$alsabat_backend_tiny = xtrue; then 125 have_libtinyalsa="yes" 126 AC_CHECK_LIB([tinyalsa], [pcm_open], , [have_libtinyalsa="no"]) 127 fi 128 AC_CHECK_LIB([m], [sqrtf], , [AC_MSG_ERROR([Error: Need sqrtf])]) 129 AC_CHECK_LIB([pthread], [pthread_create], , [AC_MSG_ERROR([Error: need PTHREAD library])]) 130 FFTW_CFLAGS="$CFLAGS" 131 FFTW_LIB="$LIBS" 132 CFLAGS="$saved_CFLAGS" 133 LDFLAGS="$saved_LDFLAGS" 134 LIBS="$saved_LIBS" 135 AC_SUBST(FFTW_INC) 136 AC_SUBST(FFTW_LIB) 137 AC_SUBST(FFTW_CFLAGS) 138 139fi 140AM_CONDITIONAL(HAVE_LIBFFTW3, test "$have_libfftw3" = "yes") 141AM_CONDITIONAL(HAVE_LIBTINYALSA, test "$have_libtinyalsa" = "yes") 142 143dnl Check for librt 144LIBRT="" 145AC_MSG_CHECKING(for librt) 146AC_ARG_WITH(librt, 147 AS_HELP_STRING([--with-librt], [Use librt for monotonic clock (default = yes)]), 148 [ have_librt="$withval" ], [ have_librt="yes" ]) 149if test "$have_librt" = "yes"; then 150 AC_CHECK_LIB([rt], [clock_gettime], [HAVE_LIBRT="yes"]) 151 if test "$HAVE_LIBRT" = "yes" ; then 152 LIBRT="-lrt" 153 AC_DEFINE([HAVE_LIBRT], 1, [Have librt]) 154 AC_DEFINE([HAVE_CLOCK_GETTIME], 1, [Have clock gettime]) 155 fi 156else 157 AC_MSG_RESULT(no) 158fi 159 160dnl Disable alsamixer 161CURSESINC="" 162CURSESLIB="" 163CURSES_CFLAGS="" 164alsamixer= 165if test "$have_mixer" = "yes"; then 166AC_ARG_ENABLE(alsamixer, 167 AS_HELP_STRING([--disable-alsamixer], [Disable alsamixer compilation]), 168 [case "${enableval}" in 169 yes) alsamixer=true ;; 170 no) alsamixer=false ;; 171 *) AC_MSG_ERROR(bad value ${enableval} for --enable-alsamixer) ;; 172 esac],[alsamixer=true]) 173fi 174AM_CONDITIONAL(ALSAMIXER, test x$alsamixer = xtrue) 175 176dnl Disable alsaconf 177AC_ARG_ENABLE(alsaconf, 178 AS_HELP_STRING([--disable-alsaconf], [Disable alsaconf packaging]), 179 [case "${enableval}" in 180 yes) alsaconf=true ;; 181 no) alsaconf=false ;; 182 *) AC_MSG_ERROR(bad value ${enableval} for --enable-alsaconf) ;; 183 esac],[alsaconf=true]) 184AM_CONDITIONAL(ALSACONF, test x$alsaconf = xtrue) 185 186dnl Disable alsaloop 187AC_ARG_ENABLE(alsaloop, 188 AS_HELP_STRING([--disable-alsaloop], [Disable alsaloop packaging]), 189 [case "${enableval}" in 190 yes) alsaloop=true ;; 191 no) alsaloop=false ;; 192 *) AC_MSG_ERROR(bad value ${enableval} for --enable-alsaloop) ;; 193 esac],[alsaloop=true]) 194AM_CONDITIONAL(ALSALOOP, test x$alsaloop = xtrue) 195 196dnl Disable nhlt 197AC_ARG_ENABLE(nhlt, 198 AS_HELP_STRING([--disable-nhlt], [Disable nhlt packaging]), 199 [case "${enableval}" in 200 yes) nhlt=true ;; 201 no) nhlt=false ;; 202 *) AC_MSG_ERROR(bad value ${enableval} for --enable-nhlt) ;; 203 esac],[nhlt=true]) 204AM_CONDITIONAL(NHLT, test x$nhlt = xtrue) 205 206xmlto_available="" 207AC_ARG_ENABLE(xmlto, 208 AS_HELP_STRING([--disable-xmlto], [Disable man page creation via xmlto]), 209 xmlto="$enableval", xmlto="yes") 210if test "$xmlto" = "yes"; then 211 AC_CHECK_PROG([xmlto_available], [xmlto], [yes]) 212fi 213AM_CONDITIONAL(USE_XMLTO, test x"$xmlto_available" = xyes) 214 215rst2man_available="" 216AC_ARG_ENABLE(rst2man, 217 AS_HELP_STRING([--disable-rst2man], [Disable man page creation via rst2man]), 218 rst2man="$enableval", rst2man="yes") 219if test "$rst2man" = "yes"; then 220 AC_CHECK_PROG([rst2man_available], [rst2man], [yes]) 221fi 222AM_CONDITIONAL(USE_RST2MAN, test x"$rst2man_available" = xyes) 223 224AC_ARG_WITH( 225 [udev-rules-dir], 226 AS_HELP_STRING([--with-udev-rules-dir=DIR],[Directory where to install udev rules to (default=auto)]), 227 [udevrulesdir="$withval"], 228 [udevdir=$($PKG_CONFIG udev --variable=udevdir) 229 if test "x$udevdir" = "x"; then 230 udevrulesdir="/lib/udev/rules.d" 231 else 232 udevrulesdir="$udevdir/rules.d" 233 fi]) 234AC_SUBST(udevrulesdir) 235 236dnl Checks for header files. 237AC_HEADER_STDC 238if test x$alsamixer = xtrue; then 239 AC_ARG_WITH(curses, 240 AS_HELP_STRING([--with-curses=libname], [Specify the curses library to use (default=auto)]), 241 curseslib="$withval", 242 curseslib="auto") 243 CURSESLIBDIR="" 244 NCURSESLIBSUFFIX="" 245 CURSES_NLS="no" 246 if test "$curseslib" = "ncursesw" -o \( "$curseslib" = "auto" -a "$USE_NLS" = "yes" \); then 247 dnl First try out pkg-config, then fall back to old config scripts. 248 PKG_CHECK_MODULES([NCURSESW], [ncursesw], [ 249 CURSESINC="<ncurses.h>" 250 CURSESLIB="${NCURSESW_LIBS}" 251 CURSESLIBDIR= 252 CURSES_CFLAGS="${NCURSESW_CFLAGS}" 253 curseslib="ncursesw" 254 ], [ 255 AC_CHECK_PROG([ncursesw5_config], [ncursesw5-config], [yes]) 256 if test "$ncursesw5_config" = "yes"; then 257 CURSESINC="<ncurses.h>" 258 CURSESLIB=`ncursesw5-config --libs` 259 CURSESLIBDIR=`ncursesw5-config --libdir` 260 CURSES_CFLAGS=`ncursesw5-config --cflags` 261 curseslib="ncursesw" 262 else 263 AC_CHECK_LIB(ncursesw, initscr, 264 [ CURSESINC='<ncurses.h>'; CURSESLIB='-lncursesw'; curseslib="ncursesw"]) 265 fi 266 ]) 267 if test -n "$CURSESINC"; then 268 NCURSESLIBSUFFIX="w" 269 CURSES_NLS="yes" 270 fi 271 fi 272 if test "$curseslib" = "ncurses" -o "$curseslib" = "auto"; then 273 dnl First try out pkg-config, then fall back to old config scripts. 274 PKG_CHECK_MODULES([NCURSES], [ncurses], [ 275 CURSESINC="<ncurses.h>" 276 CURSESLIB="${NCURSES_LIBS}" 277 CURSESLIBDIR= 278 CURSES_CFLAGS="${NCURSES_CFLAGS}" 279 curseslib="ncurses" 280 ], [ 281 AC_CHECK_PROG([ncurses5_config], [ncurses5-config], [yes]) 282 if test "$ncurses5_config" = "yes"; then 283 CURSESINC="<ncurses.h>" 284 CURSESLIB=`ncurses5-config --libs` 285 CURSESLIBDIR=`ncurses5-config --libdir` 286 CURSES_CFLAGS=`ncurses5-config --cflags` 287 curseslib="ncurses" 288 else 289 AC_CHECK_LIB(ncurses, initscr, 290 [ CURSESINC='<ncurses.h>'; CURSESLIB='-lncurses'; curseslib="ncurses"]) 291 fi 292 ]) 293 fi 294 if test "$curseslib" = "curses" -o "$curseslib" = "auto"; then 295 AC_CHECK_LIB(curses, initscr, 296 [ CURSESINC='<curses.h>'; CURSESLIB='-lcurses'; curseslib="curses"]) 297 fi 298 if test -z "$CURSESINC"; then 299 AC_MSG_ERROR(this packages requires a curses library) 300 fi 301 302 AC_MSG_CHECKING([for curses library]) 303 AC_MSG_RESULT([$curseslib]) 304 AC_MSG_CHECKING([for curses header name]) 305 AC_MSG_RESULT([$CURSESINC]) 306 AC_MSG_CHECKING([for curses compiler flags]) 307 AC_MSG_RESULT([$CURSES_CFLAGS]) 308 309 dnl CURSESLIBS might have the library path at the beginning. If so, we cut it 310 dnl off so that we can insert the other curses libraries before the ncurses 311 dnl library but after the library path (which is later again prepended below). 312 if test -n "$CURSESLIBDIR"; then 313 if test "-L$CURSESLIBDIR " = "$(echo $CURSESLIB | cut -c-$((${#CURSESLIBDIR}+3)) )"; then 314 CURSESLIB="$(echo $CURSESLIB | cut -c$((${#CURSESLIBDIR}+4))-)" 315 fi 316 fi 317 318 saved_CFLAGS="$CFLAGS" 319 saved_LDFLAGS="$LDFLAGS" 320 saved_LIBS="$LIBS" 321 CFLAGS="$CFLAGS $CURSES_CFLAGS" 322 if test -n "$CURSESLIBDIR"; then 323 LDFLAGS="$LDFLAGS -L$CURSESLIBDIR" 324 fi 325 LIBS="$CURSESLIB $LIBS" 326 327 AC_TRY_LINK([#include <panel.h>], [set_escdelay(100);],[HAVE_CURSES_ESCDELAY="yes"]) 328 if test "$HAVE_CURSES_ESCDELAY" = "yes"; then 329 AC_DEFINE([HAVE_CURSES_ESCDELAY], 1, [Have curses set_escdelay]) 330 fi 331 332 if test "$USE_NLS" = "yes"; then 333 AC_MSG_CHECKING([for curses NLS support]) 334 dnl In theory, a single-byte curses works just fine in ISO 8859-* locales. 335 dnl In practice, however, everybody uses UTF-8 nowadays, so we'd better 336 dnl check for wide-character support. 337 dnl For ncurses/ncursesw, CURSES_NLS was already set above. 338 if test "$curseslib" = "curses"; then 339 AC_TRY_LINK([ 340 #define _XOPEN_SOURCE 1 341 #define _XOPEN_SOURCE_EXTENDED 1 342 #include <curses.h> 343 ], [ 344 cchar_t wc; 345 setcchar(&wc, L"x", A_NORMAL, 0, 0); 346 ], 347 [CURSES_NLS="yes"]) 348 fi 349 AC_MSG_RESULT([$CURSES_NLS]) 350 if test "$CURSES_NLS" = "yes"; then 351 AC_DEFINE([ENABLE_NLS_IN_CURSES], [1], 352 [Define if curses-based programs can show translated messages.]) 353 fi 354 fi 355 356 AC_CHECK_HEADERS([panel.h menu.h form.h], [], 357 [AC_MSG_ERROR([required curses helper header not found])]) 358 AC_CHECK_LIB([panel$NCURSESLIBSUFFIX], [new_panel], 359 [CURSESLIB="-lpanel$NCURSESLIBSUFFIX $CURSESLIB"], 360 [AC_MSG_ERROR([panel$NCURSESLIBSUFFIX library not found])]) 361 AC_CHECK_LIB([menu$NCURSESLIBSUFFIX], [new_menu], 362 [CURSESLIB="-lmenu$NCURSESLIBSUFFIX $CURSESLIB"], 363 [AC_MSG_ERROR([menu$NCURSESLIBSUFFIX library not found])]) 364 AC_CHECK_LIB([form$NCURSESLIBSUFFIX], [new_form], 365 [CURSESLIB="-lform$NCURSESLIBSUFFIX $CURSESLIB"], 366 [AC_MSG_ERROR([form$NCURSESLIBSUFFIX library not found])]) 367 368 CFLAGS="$saved_CFLAGS" 369 LDFLAGS="$saved_LDFLAGS" 370 LIBS="$saved_LIBS" 371 372 if test -n "$CURSESLIBDIR"; then 373 CURSESLIB="-L$CURSESLIBDIR $CURSESLIB" 374 fi 375 376 AC_MSG_CHECKING([for curses linker flags]) 377 AC_MSG_RESULT([$CURSESLIB]) 378fi 379 380AC_SUBST(CURSESINC) 381AC_SUBST(CURSESLIB) 382AC_SUBST(CURSES_CFLAGS) 383 384test "x$prefix" = xNONE && prefix=$ac_default_prefix 385test "x$exec_prefix" = xNONE && exec_prefix=$prefix 386 387eval dir="$datadir" 388case "$dir" in 389/*) ;; 390*) dir="$prefix/share" 391esac 392 393soundsdir="$dir/sounds/alsa" 394AC_DEFINE_UNQUOTED(SOUNDSDIR, "$soundsdir", [directory containing sample data]) 395 396mydatadir="$dir/alsa" 397AC_DEFINE_UNQUOTED(DATADIR, "$mydatadir", [directory containing alsa configuration]) 398AC_SUBST(mydatadir) 399 400AC_ARG_WITH(testsound, 401 AS_HELP_STRING([--with-testsound=file], [give the path of test sound file for alsaconf]), 402 TESTSOUND="$withval", 403 TESTSOUND="$dir/test.wav") 404AC_SUBST(TESTSOUND) 405 406AC_CONFIG_HEADERS(include/aconfig.h) 407 408dnl Checks for typedefs, structures, and compiler characteristics. 409AC_C_CONST 410AC_C_INLINE 411AC_HEADER_TIME 412 413dnl Checks for library functions. 414AC_PROG_GCC_TRADITIONAL 415 416dnl Enable largefile support 417AC_SYS_LARGEFILE 418 419SAVE_UTIL_VERSION 420 421AC_SUBST(LIBRT) 422 423dnl Check for systemd 424PKG_CHECK_MODULES(SYSTEMD, [systemd >= 18], 425 [have_min_systemd="yes"], 426 [have_min_systemd="no"]) 427AC_ARG_WITH([systemdsystemunitdir], 428 AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files]), 429 [], [with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)]) 430if test "x$with_systemdsystemunitdir" != xno; then 431 AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir]) 432fi 433AM_CONDITIONAL(HAVE_SYSTEMD, [test "$have_min_systemd" = "yes" \ 434 -a -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno ]) 435 436AC_ARG_WITH([asound-state-dir], 437 AS_HELP_STRING([--with-asound-state-dir=DIR], [Directory to place asound.state file in]), 438 [ASOUND_STATE_DIR="$withval"], 439 [ASOUND_STATE_DIR="/var/lib/alsa"]) 440AC_SUBST(ASOUND_STATE_DIR) 441 442AC_ARG_WITH([alsactl-lock-dir], 443 AS_HELP_STRING([--with-alsactl-lock-dir=DIR], [Directory to place lock files in]), 444 [ASOUND_LOCK_DIR="$withval"], 445 [ASOUND_LOCK_DIR="/var/lock"]) 446AC_SUBST(ASOUND_LOCK_DIR) 447 448AC_ARG_WITH([alsactl-pidfile-dir], 449 AS_HELP_STRING([--with-alsactl-pidfile-dir=DIR], [Directory to place alsactl.pid file in]), 450 [ALSACTL_PIDFILE_DIR="$withval"], 451 [ALSACTL_PIDFILE_DIR="/var/run"]) 452AC_SUBST(ALSACTL_PIDFILE_DIR) 453 454AC_ARG_WITH([alsactl-daemonswitch], 455 AS_HELP_STRING([--with-alsactl-daemonswitch=FILE], [File to test for the daemon mode]), 456 [ALSACTL_DAEMONSWITCH="$withval"], 457 [ALSACTL_DAEMONSWITCH="/etc/alsa/state-daemon.conf"]) 458AC_SUBST(ALSACTL_DAEMONSWITCH) 459 460dnl pre-process plugin directory 461AC_ARG_WITH(plugindir, 462 AS_HELP_STRING([--with-plugindir=dir], 463 [path where pre-process plugin files are stored]), 464 plugindir="$withval", plugindir="") 465if test -z "$plugindir"; then 466 eval dir="$libdir" 467 echo ${exec_prefix} 468 echo $libdir 469 echo $dir 470 case "$dir" in 471 /*) ;; 472 *) dir="$dir" 473 esac 474 plugindir="$dir/alsa-topology" 475fi 476AC_DEFINE_UNQUOTED(ALSA_TOPOLOGY_PLUGIN_DIR, "$plugindir", [directory containing ALSA topology pre-process plugins]) 477ALSA_TOPOLOGY_PLUGIN_DIR="$plugindir" 478AC_SUBST(ALSA_TOPOLOGY_PLUGIN_DIR) 479 480AC_OUTPUT(Makefile alsactl/Makefile alsactl/init/Makefile \ 481 alsamixer/Makefile amidi/Makefile amixer/Makefile \ 482 m4/Makefile po/Makefile.in \ 483 alsaconf/alsaconf alsaconf/Makefile \ 484 alsaconf/po/Makefile \ 485 alsaucm/Makefile topology/Makefile topology/nhlt/Makefile \ 486 bat/Makefile bat/tests/Makefile bat/tests/asound_state/Makefile \ 487 aplay/Makefile include/Makefile iecset/Makefile utils/Makefile \ 488 utils/alsa-utils.spec seq/Makefile seq/aconnect/Makefile \ 489 seq/aplaymidi/Makefile seq/aseqdump/Makefile seq/aseqnet/Makefile \ 490 speaker-test/Makefile speaker-test/samples/Makefile \ 491 alsaloop/Makefile alsa-info/Makefile \ 492 axfer/Makefile axfer/test/Makefile \ 493 nhlt/Makefile) 494