• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:test +full:- +full:dir

3 AC_INIT(alsa-utils, 1.2.11)
6 AM_INIT_AUTOMAKE([subdir-objects])
25 if test "x$enable_alsatest" = "xyes"; then
27 , [AC_ERROR([No user enum control support in alsa-lib])])
42 AC_CHECK_HEADERS([alsa/use-case.h], [have_ucm="yes"], [have_ucm="no"],
50 if 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])
54 if 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])
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…
71 AS_IF([test x"$have_ffado" = xyes],
74 # Test programs for axfer use shm by memfd_create(2). If not supported, open(2) is used alternative…
76 AS_IF([test x$have_memfd_create = xyes],
79 AM_CONDITIONAL(HAVE_PCM, test "$have_pcm" = "yes")
80 AM_CONDITIONAL(HAVE_MIXER, test "$have_mixer" = "yes")
81 AM_CONDITIONAL(HAVE_RAWMIDI, test "$have_rawmidi" = "yes")
82 AM_CONDITIONAL(HAVE_SEQ, test "$have_seq" = "yes")
83 AM_CONDITIONAL(HAVE_UCM, test "$have_ucm" = "yes")
84 AM_CONDITIONAL(HAVE_TOPOLOGY, test "$have_topology" = "yes" -a "$ac_cv_header_dlfcn_h" = "yes")
85 AM_CONDITIONAL(HAVE_SAMPLERATE, test "$have_samplerate" = "yes")
86 AM_CONDITIONAL(HAVE_FFADO, test "$have_ffado" = "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) ;;
100 if test "$have_pcm" = "yes"; then
102 AS_HELP_STRING([--disable-bat], [Disable bat compilation]),
106 *) AC_MSG_ERROR(bad value ${enableval} for --enable-bat) ;;
109 AM_CONDITIONAL(BAT, test x$bat = xtrue)
111 if test x$bat = xtrue; then
124 if test x$alsabat_backend_tiny = xtrue; then
140 AM_CONDITIONAL(HAVE_LIBFFTW3, test "$have_libfftw3" = "yes")
141 AM_CONDITIONAL(HAVE_LIBTINYALSA, test "$have_libtinyalsa" = "yes")
147 AS_HELP_STRING([--with-librt], [Use librt for monotonic clock (default = yes)]),
149 if test "$have_librt" = "yes"; then
151 if test "$HAVE_LIBRT" = "yes" ; then
152 LIBRT="-lrt"
165 if test "$have_mixer" = "yes"; then
167 AS_HELP_STRING([--disable-alsamixer], [Disable alsamixer compilation]),
171 *) AC_MSG_ERROR(bad value ${enableval} for --enable-alsamixer) ;;
174 AM_CONDITIONAL(ALSAMIXER, test x$alsamixer = xtrue)
178 AS_HELP_STRING([--disable-alsaconf], [Disable alsaconf packaging]),
182 *) AC_MSG_ERROR(bad value ${enableval} for --enable-alsaconf) ;;
184 AM_CONDITIONAL(ALSACONF, test x$alsaconf = xtrue)
188 AS_HELP_STRING([--disable-alsaloop], [Disable alsaloop packaging]),
192 *) AC_MSG_ERROR(bad value ${enableval} for --enable-alsaloop) ;;
194 AM_CONDITIONAL(ALSALOOP, test x$alsaloop = xtrue)
198 AS_HELP_STRING([--disable-nhlt], [Disable nhlt packaging]),
202 *) AC_MSG_ERROR(bad value ${enableval} for --enable-nhlt) ;;
204 AM_CONDITIONAL(NHLT, test x$nhlt = xtrue)
208 AS_HELP_STRING([--disable-xmlto], [Disable man page creation via xmlto]),
210 if test "$xmlto" = "yes"; then
213 AM_CONDITIONAL(USE_XMLTO, test x"$xmlto_available" = xyes)
217 AS_HELP_STRING([--disable-rst2man], [Disable man page creation via rst2man]),
219 if test "$rst2man" = "yes"; then
222 AM_CONDITIONAL(USE_RST2MAN, test x"$rst2man_available" = xyes)
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)
229 if test "x$udevdir" = "x"; then
238 if test x$alsamixer = xtrue; then
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])
256 if test "$ncursesw5_config" = "yes"; then
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])
282 if test "$ncurses5_config" = "yes"; then
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"
328 if test "$HAVE_CURSES_ESCDELAY" = "yes"; then
332 if test "$USE_NLS" = "yes"; then
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.
338 if test "$curseslib" = "curses"; then
350 if test "$CURSES_NLS" = "yes"; then
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"
384 test "x$prefix" = xNONE && prefix=$ac_default_prefix
385 test "x$exec_prefix" = xNONE && exec_prefix=$prefix
387 eval dir="$datadir"
388 case "$dir" in
390 *) dir="$prefix/share"
393 soundsdir="$dir/sounds/alsa"
396 mydatadir="$dir/alsa"
401 AS_HELP_STRING([--with-testsound=file], [give the path of test sound file for alsaconf]),
403 TESTSOUND="$dir/test.wav")
428 AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files]),
429 [], [with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)])
430 if test "x$with_systemdsystemunitdir" != xno; then
433 AM_CONDITIONAL(HAVE_SYSTEMD, [test "$have_min_systemd" = "yes" \
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]),
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
466 eval dir="$libdir"
469 echo $dir
470 case "$dir" in
472 *) dir="$dir"
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 \
492 axfer/Makefile axfer/test/Makefile \