• Home
  • Raw
  • Download

Lines Matching +full:alsa +full:- +full:lib

3 AC_INIT(alsa-utils, 1.2.11)
6 AM_INIT_AUTOMAKE([subdir-objects])
27 , [AC_ERROR([No user enum control support in alsa-lib])])
34 AC_CHECK_HEADERS([alsa/pcm.h], [have_pcm="yes"], [have_pcm="no"],
35 [#include <alsa/asoundlib.h>])
36 AC_CHECK_HEADERS([alsa/mixer.h], [have_mixer="yes"], [have_mixer="no"],
37 [#include <alsa/asoundlib.h>])
38 AC_CHECK_HEADERS([alsa/rawmidi.h], [have_rawmidi="yes"], [have_rawmidi="no"],
39 [#include <alsa/asoundlib.h>])
40 AC_CHECK_HEADERS([alsa/seq.h], [have_seq="yes"], [have_seq="no"],
41 [#include <alsa/asoundlib.h>])
42 AC_CHECK_HEADERS([alsa/use-case.h], [have_ucm="yes"], [have_ucm="no"],
43 [#include <alsa/asoundlib.h>])
44 AC_CHECK_HEADERS([alsa/topology.h], [have_topology="yes"], [have_topology="no"],
45 [#include <alsa/asoundlib.h>])
51 AC_DEFINE([HAVE_SEQ_CLIENT_INFO_GET_CARD], 1, [alsa-lib supports snd_seq_client_info_get_card])
55 AC_DEFINE([HAVE_SEQ_CLIENT_INFO_GET_PID], 1, [alsa-lib supports snd_seq_client_info_get_pid])
58 if 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_m…
84 AM_CONDITIONAL(HAVE_TOPOLOGY, test "$have_topology" = "yes" -a "$ac_cv_header_dlfcn_h" = "yes")
91 AS_HELP_STRING([--enable-alsabat-backend-tiny], [Use tinyalsa for alsabat backend]),
95 *) AC_MSG_ERROR(bad value ${enableval} for --enable-alsabat-backend-tiny) ;;
102 AS_HELP_STRING([--disable-bat], [Disable bat compilation]),
106 *) AC_MSG_ERROR(bad value ${enableval} for --enable-bat) ;;
147 AS_HELP_STRING([--with-librt], [Use librt for monotonic clock (default = yes)]),
152 LIBRT="-lrt"
167 AS_HELP_STRING([--disable-alsamixer], [Disable alsamixer compilation]),
171 *) AC_MSG_ERROR(bad value ${enableval} for --enable-alsamixer) ;;
178 AS_HELP_STRING([--disable-alsaconf], [Disable alsaconf packaging]),
182 *) AC_MSG_ERROR(bad value ${enableval} for --enable-alsaconf) ;;
188 AS_HELP_STRING([--disable-alsaloop], [Disable alsaloop packaging]),
192 *) AC_MSG_ERROR(bad value ${enableval} for --enable-alsaloop) ;;
198 AS_HELP_STRING([--disable-nhlt], [Disable nhlt packaging]),
202 *) AC_MSG_ERROR(bad value ${enableval} for --enable-nhlt) ;;
208 AS_HELP_STRING([--disable-xmlto], [Disable man page creation via xmlto]),
217 AS_HELP_STRING([--disable-rst2man], [Disable man page creation via rst2man]),
225 [udev-rules-dir],
226 …AS_HELP_STRING([--with-udev-rules-dir=DIR],[Directory where to install udev rules to (default=auto…
228 [udevdir=$($PKG_CONFIG udev --variable=udevdir)
230 udevrulesdir="/lib/udev/rules.d"
240 AS_HELP_STRING([--with-curses=libname], [Specify the curses library to use (default=auto)]),
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.
255 AC_CHECK_PROG([ncursesw5_config], [ncursesw5-config], [yes])
258 CURSESLIB=`ncursesw5-config --libs`
259 CURSESLIBDIR=`ncursesw5-config --libdir`
260 CURSES_CFLAGS=`ncursesw5-config --cflags`
264 [ CURSESINC='<ncurses.h>'; CURSESLIB='-lncursesw'; curseslib="ncursesw"])
267 if test -n "$CURSESINC"; then
272 if test "$curseslib" = "ncurses" -o "$curseslib" = "auto"; then
273 dnl First try out pkg-config, then fall back to old config scripts.
281 AC_CHECK_PROG([ncurses5_config], [ncurses5-config], [yes])
284 CURSESLIB=`ncurses5-config --libs`
285 CURSESLIBDIR=`ncurses5-config --libdir`
286 CURSES_CFLAGS=`ncurses5-config --cflags`
290 [ CURSESINC='<ncurses.h>'; CURSESLIB='-lncurses'; curseslib="ncurses"])
294 if test "$curseslib" = "curses" -o "$curseslib" = "auto"; then
296 [ CURSESINC='<curses.h>'; CURSESLIB='-lcurses'; curseslib="curses"])
298 if test -z "$CURSESINC"; then
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))-)"
322 if test -n "$CURSESLIBDIR"; then
323 LDFLAGS="$LDFLAGS -L$CURSESLIBDIR"
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.
352 [Define if curses-based programs can show translated messages.])
359 [CURSESLIB="-lpanel$NCURSESLIBSUFFIX $CURSESLIB"],
362 [CURSESLIB="-lmenu$NCURSESLIBSUFFIX $CURSESLIB"],
365 [CURSESLIB="-lform$NCURSESLIBSUFFIX $CURSESLIB"],
372 if test -n "$CURSESLIBDIR"; then
373 CURSESLIB="-L$CURSESLIBDIR $CURSESLIB"
393 soundsdir="$dir/sounds/alsa"
396 mydatadir="$dir/alsa"
397 AC_DEFINE_UNQUOTED(DATADIR, "$mydatadir", [directory containing alsa configuration])
401 AS_HELP_STRING([--with-testsound=file], [give the path of test sound file for alsaconf]),
428 AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files]),
429 [], [with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)])
434 -a -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno ])
436 AC_ARG_WITH([asound-state-dir],
437 AS_HELP_STRING([--with-asound-state-dir=DIR], [Directory to place asound.state file in]),
439 [ASOUND_STATE_DIR="/var/lib/alsa"])
442 AC_ARG_WITH([alsactl-lock-dir],
443 AS_HELP_STRING([--with-alsactl-lock-dir=DIR], [Directory to place lock files in]),
448 AC_ARG_WITH([alsactl-pidfile-dir],
449 AS_HELP_STRING([--with-alsactl-pidfile-dir=DIR], [Directory to place alsactl.pid file in]),
454 AC_ARG_WITH([alsactl-daemonswitch],
455 AS_HELP_STRING([--with-alsactl-daemonswitch=FILE], [File to test for the daemon mode]),
457 [ALSACTL_DAEMONSWITCH="/etc/alsa/state-daemon.conf"])
460 dnl pre-process plugin directory
462 AS_HELP_STRING([--with-plugindir=dir],
463 [path where pre-process plugin files are stored]),
465 if test -z "$plugindir"; then
474 plugindir="$dir/alsa-topology"
476 AC_DEFINE_UNQUOTED(ALSA_TOPOLOGY_PLUGIN_DIR, "$plugindir", [directory containing ALSA topology pre-
488 utils/alsa-utils.spec seq/Makefile seq/aconnect/Makefile \
490 speaker-test/Makefile speaker-test/samples/Makefile \
491 alsaloop/Makefile alsa-info/Makefile \