diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-10-13 17:57:42 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-10-13 17:57:42 +0000 |
commit | 58d42b6fbe3277ec2de962353ee0eed4afcca627 (patch) | |
tree | 9e64fa2d9b955f0a4a90d7c4e3c967e9db1582ba /aconfigure.ac | |
parent | 724b815aa990f9c5438841dfca5ea5d937f8231e (diff) |
Updated PortAudio to latest version for Mac
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@770 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'aconfigure.ac')
-rw-r--r-- | aconfigure.ac | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/aconfigure.ac b/aconfigure.ac index bb854ccb..8bc454e8 100644 --- a/aconfigure.ac +++ b/aconfigure.ac @@ -243,14 +243,22 @@ AC_ARG_ENABLE(sound, fi] ) +AC_SUBST(ac_pa_cflags) if test "$enable_sound" = "no"; then true; else case $target in *darwin*) - ac_pjmedia_snd=pa_darwinos - AC_MSG_RESULT([Checking sound device backend... coreaudio]) - LIBS="$LIBS -framework CoreAudio" + LIBS="$LIBS -framework CoreAudio -framework CoreServices -framework AudioUnit -framework AudioToolbox" + if test "`uname -r`" = "6.8"; then + #ac_pa_cflags="-DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS" + #AC_MSG_RESULT([Setting additional PortAudio CFLAGS.. -DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS]) + ac_pjmedia_snd=pa_old_darwinos + AC_MSG_RESULT([Checking sound device backend... old coreaudio]) + else + ac_pjmedia_snd=pa_darwinos + AC_MSG_RESULT([Checking sound device backend... coreaudio]) + fi ;; *cygwin* | *mingw*) ac_pjmedia_snd=pa_win32 |