diff -urp audacity-src-1.3.12-beta.org/lib-src/portmixer/configure.ac audacity-src-1.3.12-beta/lib-src/portmixer/configure.ac
--- audacity-src-1.3.12-beta.org/lib-src/portmixer/configure.ac 2010-09-30 16:19:28.000000000 +0200
+++ audacity-src-1.3.12-beta/lib-src/portmixer/configure.ac 2010-09-30 16:21:49.000000000 +0200
@@ -64,10 +64,6 @@ AC_EGREP_HEADER([PaWinMME_GetStreamInput
if [[ $have_support = "no" ]] ; then
AC_MSG_WARN("Missing support in pa_win_wmme.h");
fi
-AC_EGREP_HEADER([PaMacCore_GetStreamInputDevice], [pa_mac_core.h], , [have_support=no])
-if [[ $have_support = "no" ]] ; then
- AC_MSG_WARN("Missing support in pa_mac_core.h");
-fi
AC_EGREP_HEADER([PaOSS_GetStreamInputDevice], [pa_unix_oss.h], , [have_support=no])
if [[ $have_support = "no" ]] ; then
AC_MSG_WARN("Missing support in pa_unix_oss.h");
@@ -115,6 +111,14 @@ if [[ $have_alsa = "yes" -a "x$with_alsa
fi
if [[ $have_coreaudio = "yes" ]] ; then
+ have_support=yes
+ AC_EGREP_HEADER([PaMacCore_GetStreamInputDevice], [pa_mac_core.h], , [have_support=no])
+ if [[ $have_support = "no" ]] ; then
+ AC_MSG_WARN("Missing support in pa_mac_core.h");
+ fi
+ if [[ $have_support = "no" ]] ; then
+ AC_MSG_ERROR("Your version of portaudio does not include required functions");
+ fi
AC_MSG_NOTICE(Including support for Coreaudio);
AC_DEFINE(PX_USE_MAC_COREAUDIO)
objects="$objects px_mac_coreaudio.o"