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 | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'aconfigure') diff --git a/aconfigure b/aconfigure index 33ed0be2..a4c86b0a 100755 --- a/aconfigure +++ b/aconfigure @@ -4694,6 +4694,10 @@ else fi case $target in + *android*) + $as_echo "#define PJ_ANDROID 1" >>confdefs.h + + ;; *mingw* | *cygw* | *win32* | *w32* ) $as_echo "#define PJ_WIN32 1" >>confdefs.h @@ -5672,6 +5676,11 @@ if test "$enable_sound" = "no"; then true; else case $target in + *android*) + LIBS="$LIBS -lOpenSLES" + { $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*) LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork -framework UIKit" { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... AudioUnit" >&5 @@ -5751,6 +5760,9 @@ fi case $target in + *android*) + LIBS="$LIBS -llog -lgcc" + ;; arm-apple-darwin*) LIBS="$LIBS -framework UIKit" ;; -- cgit v1.2.3