|
|
@@ -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} |
|
|
|
]) |