From 3b8e444b9025860b62b0813481f567a159ee55ce Mon Sep 17 00:00:00 2001 From: Liong Sauw Ming Date: Tue, 1 Mar 2011 05:25:27 +0000 Subject: Implementation of re #1202 (PJLIB System Information API) on iPhone OS. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3428 74dad513-b988-da41-8d7b-12977e46ad98 --- aconfigure.ac | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'aconfigure.ac') diff --git a/aconfigure.ac b/aconfigure.ac index a8c74445..6cf9614b 100644 --- a/aconfigure.ac +++ b/aconfigure.ac @@ -410,6 +410,11 @@ case $target in ;; *) ac_os_objs="$ac_os_objs file_access_unistd.o file_io_ansi.o os_core_unix.o os_error_unix.o os_time_unix.o os_timestamp_posix.o" + case $target in + arm-apple-darwin*) + ac_os_objs="$ac_os_objs os_info_iphone.o" + ;; + esac # UUID if test "$ac_has_uuid_lib" = "1" -a "$ac_has_uuid_h" = "1"; then ac_os_objs="$ac_os_objs guid_uuid.o" @@ -535,7 +540,7 @@ if test "$enable_sound" = "no"; then else case $target in arm-apple-darwin*) - LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork" + LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork -framework UIKit" AC_MSG_RESULT([Checking sound device backend... AudioUnit]) ;; *darwin*) -- cgit v1.2.3