diff options
author | Benny Prijono <bennylp@teluu.com> | 2013-10-24 06:27:14 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2013-10-24 06:27:14 +0000 |
commit | 08500c846c8d9e59b4430bec950f8b7af920c000 (patch) | |
tree | 0c52c6e71e07f8a1d0c2d0eaab8f94e4f61fd63c /aconfigure.ac | |
parent | 7bda2e7ce880d8b6429df8d0fdabb0771f99b1f4 (diff) |
Re #1697: fixed build error with the new coreaudio_dev.m introduced by r4617, because build process looks for an ObjC compiler
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4635 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'aconfigure.ac')
-rw-r--r-- | aconfigure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/aconfigure.ac b/aconfigure.ac index 0e3a29bd..7445916f 100644 --- a/aconfigure.ac +++ b/aconfigure.ac @@ -565,6 +565,7 @@ fi if test "$enable_sound" = "no"; then true; else + AC_SUBST(ac_pjmedia_audiodev_objs) case $target in *android*) LIBS="$LIBS -lOpenSLES" @@ -572,10 +573,12 @@ else ;; arm-apple-darwin*) LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork -framework UIKit" + ac_pjmedia_audiodev_objs = "coreaudio_dev.o" AC_MSG_RESULT([Checking sound device backend... AudioUnit]) ;; *darwin*) LIBS="$LIBS -framework CoreAudio -framework CoreServices -framework AudioUnit -framework AudioToolbox" + ac_pjmedia_audiodev_objs = "coreaudio_dev.o" if test "`uname -r`" = "6.8"; then #ac_pa_cflags="$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]) |