From 08500c846c8d9e59b4430bec950f8b7af920c000 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Thu, 24 Oct 2013 06:27:14 +0000 Subject: 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 --- aconfigure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'aconfigure.ac') 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]) -- cgit v1.2.3