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