Browse Source

autotools: Add a --with-sada argument (default: no) to enable Solaris SADA audio support.

master
Reece H. Dunn 12 years ago
parent
commit
b4df398601
1 changed files with 13 additions and 0 deletions
  1. 13
    0
      configure.ac

+ 13
- 0
configure.ac View File

dnl Audio checks. dnl Audio checks.
dnl ================================================================ dnl ================================================================


AC_ARG_WITH([sada],
[AS_HELP_STRING([--with-sada], [use the Solaris SADA audio API @<:@default=no@:>@])],
[])

if test "$with_sada" = "yes" ; then
have_sada=yes
else
have_sada=no
fi

if test "$have_portaudio" = 18 -o "$have_portaudio" = 19 ; then if test "$have_portaudio" = 18 -o "$have_portaudio" = 19 ; then
if test "$have_pulseaudio" = yes ; then if test "$have_pulseaudio" = yes ; then
PKG_CHECK_MODULES(PULSEAUDIO_SIMPLE, [libpulse-simple >= 0.9], PKG_CHECK_MODULES(PULSEAUDIO_SIMPLE, [libpulse-simple >= 0.9],
fi fi
elif test "$have_pulseaudio" = yes ; then elif test "$have_pulseaudio" = yes ; then
AUDIO=pulseaudio AUDIO=pulseaudio
elif test "$have_sada" = yes ; then
AUDIO=sada
else else
AUDIO=disabled AUDIO=disabled
fi fi
wxWidgets: ${WX_VERSION} wxWidgets: ${WX_VERSION}
pulseaudio: ${have_pulseaudio} pulseaudio: ${have_pulseaudio}
portaudio: ${have_portaudio} portaudio: ${have_portaudio}
sada: ${have_sada}
audio configuration: ${AUDIO} audio configuration: ${AUDIO}
]) ])

Loading…
Cancel
Save