Re #1870: Handle configuration for iPhone simulator

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5144 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
Sauw Ming 2015-08-05 02:52:15 +00:00
parent 8ab35b9eee
commit b734822b51
2 changed files with 10 additions and 10 deletions

View File

@ -5708,7 +5708,7 @@ 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*)
*-apple-darwin*)
ac_os_objs="$ac_os_objs os_info_iphone.o"
;;
esac
@ -6065,7 +6065,7 @@ else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... OpenSL ES" >&5
$as_echo "Checking sound device backend... OpenSL ES" >&6; }
;;
arm*-apple-darwin*)
*-apple-darwin*)
LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork -framework UIKit"
ac_pjmedia_audiodev_objs="coreaudio_dev.o"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... AudioUnit" >&5
@ -6151,7 +6151,7 @@ case $target in
*android*)
LIBS="$LIBS -llog"
;;
arm*-apple-darwin*)
*-apple-darwin*)
LIBS="$LIBS -framework UIKit"
;;
*darwin*)
@ -6199,7 +6199,7 @@ $as_echo "Checking if OpenGL ES 2 is available... no" >&6; }
fi
ac_android_cflags="$ac_android_cflags -DPJMEDIA_VIDEO_DEV_HAS_ANDROID=1"
;;
arm*-apple-darwin*)
*-apple-darwin*)
ac_pjmedia_video=iphone_os
@ -7233,7 +7233,7 @@ else
LIBYUV_CFLAGS="-I$LIBYUV_PREFIX/include"
case $target in
arm*-apple-darwin*)
*-apple-darwin*)
LIBYUV_LDFLAGS="-L$LIBYUV_PREFIX/out_ios/Release-iphoneos"
case $ARCH in
*arm*)

View File

@ -446,7 +446,7 @@ 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*)
*-apple-darwin*)
ac_os_objs="$ac_os_objs os_info_iphone.o"
;;
esac
@ -623,7 +623,7 @@ else
LIBS="$LIBS -lOpenSLES"
AC_MSG_RESULT([Checking sound device backend... OpenSL ES])
;;
arm*-apple-darwin*)
*-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])
@ -695,7 +695,7 @@ case $target in
*android*)
LIBS="$LIBS -llog"
;;
arm*-apple-darwin*)
*-apple-darwin*)
LIBS="$LIBS -framework UIKit"
;;
*darwin*)
@ -724,7 +724,7 @@ else
fi
ac_android_cflags="$ac_android_cflags -DPJMEDIA_VIDEO_DEV_HAS_ANDROID=1"
;;
arm*-apple-darwin*)
*-apple-darwin*)
ac_pjmedia_video=iphone_os
AC_SUBST(ac_pjmedia_video_has_ios)
AC_SUBST(ac_ios_cflags)
@ -1207,7 +1207,7 @@ AC_ARG_ENABLE(libyuv,
LIBYUV_CFLAGS="-I$LIBYUV_PREFIX/include"
case $target in
arm*-apple-darwin*)
*-apple-darwin*)
LIBYUV_LDFLAGS="-L$LIBYUV_PREFIX/out_ios/Release-iphoneos"
case $ARCH in
*arm*)