diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2013-03-11 06:32:58 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2013-03-11 06:32:58 +0000 |
commit | 92de554adbf95a303f1051d85bef05abac9f1e8a (patch) | |
tree | 17019c03731e797280398e58b99044862341834a /aconfigure.ac | |
parent | 2c2752f536e55bff7055eed2ed8e558163e1f9b6 (diff) |
Re #1639: merged android branch into trunk (except sample apps, i.e: apjsua & apjloader)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4435 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'aconfigure.ac')
-rw-r--r-- | aconfigure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/aconfigure.ac b/aconfigure.ac index 9afce8d4..a6d62500 100644 --- a/aconfigure.ac +++ b/aconfigure.ac @@ -157,6 +157,9 @@ dnl dnl Legacy macros dnl case $target in + *android*) + AC_DEFINE(PJ_ANDROID,1) + ;; *mingw* | *cygw* | *win32* | *w32* ) AC_DEFINE(PJ_WIN32,1) AC_DEFINE(PJ_WIN32_WINNT,0x0400) @@ -569,6 +572,10 @@ if test "$enable_sound" = "no"; then true; else case $target in + *android*) + LIBS="$LIBS -lOpenSLES" + AC_MSG_RESULT([Checking sound device backend... OpenSL ES]) + ;; arm-apple-darwin*) LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork -framework UIKit" AC_MSG_RESULT([Checking sound device backend... AudioUnit]) @@ -634,6 +641,9 @@ AC_ARG_ENABLE(video, []) case $target in + *android*) + LIBS="$LIBS -llog -lgcc" + ;; arm-apple-darwin*) LIBS="$LIBS -framework UIKit" ;; |