summaryrefslogtreecommitdiff
path: root/aconfigure.ac
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2015-07-29 02:31:12 +0000
committerNanang Izzuddin <nanang@teluu.com>2015-07-29 02:31:12 +0000
commit4bf98126d927c55fbfbfec3d76798cd5e14543cc (patch)
tree477ed4eb9e62a8083e6ca3de1971f5606414e6f8 /aconfigure.ac
parent0916db620571f0e2e4fcc8d89cd3417f5f52f629 (diff)
Re #1870: Fixed 64 bit arch issues on iOS: pool alignment, updated config.sub, updated lib/app file naming, lib dependencies on XCode.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5137 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'aconfigure.ac')
-rw-r--r--aconfigure.ac12
1 files changed, 6 insertions, 6 deletions
diff --git a/aconfigure.ac b/aconfigure.ac
index edc3ea95..975bfe41 100644
--- a/aconfigure.ac
+++ b/aconfigure.ac
@@ -126,7 +126,7 @@ dnl Memory alignment detection
dnl
AC_MSG_CHECKING([memory alignment])
case $target in
- sparc64-* | ia64-* | x86_64-* )
+ sparc64-* | ia64-* | x86_64-* | arm64-* )
AC_DEFINE(PJ_POOL_ALIGNMENT, 8)
AC_MSG_RESULT([8 bytes])
;;
@@ -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*)
+ arm*-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*)
+ 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])
@@ -695,7 +695,7 @@ case $target in
*android*)
LIBS="$LIBS -llog"
;;
- arm-apple-darwin*)
+ arm*-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*)
+ arm*-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*)
+ arm*-apple-darwin*)
LIBYUV_LDFLAGS="-L$LIBYUV_PREFIX/out_ios/Release-iphoneos"
case $ARCH in
*arm*)