From 92de554adbf95a303f1051d85bef05abac9f1e8a Mon Sep 17 00:00:00 2001 From: Nanang Izzuddin Date: Mon, 11 Mar 2013 06:32:58 +0000 Subject: 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 --- aconfigure.ac | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'aconfigure.ac') 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" ;; -- cgit v1.2.3