Browse Source

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

master
Reece H. Dunn 11 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

@@ -86,6 +86,16 @@ dnl ================================================================
dnl Audio checks.
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_pulseaudio" = yes ; then
PKG_CHECK_MODULES(PULSEAUDIO_SIMPLE, [libpulse-simple >= 0.9],
@@ -101,6 +111,8 @@ if test "$have_portaudio" = 18 -o "$have_portaudio" = 19 ; then
fi
elif test "$have_pulseaudio" = yes ; then
AUDIO=pulseaudio
elif test "$have_sada" = yes ; then
AUDIO=sada
else
AUDIO=disabled
fi
@@ -147,5 +159,6 @@ AC_MSG_NOTICE([
wxWidgets: ${WX_VERSION}
pulseaudio: ${have_pulseaudio}
portaudio: ${have_portaudio}
sada: ${have_sada}
audio configuration: ${AUDIO}
])

Loading…
Cancel
Save