summaryrefslogtreecommitdiff
path: root/aconfigure
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2013-03-11 06:32:58 +0000
committerNanang Izzuddin <nanang@teluu.com>2013-03-11 06:32:58 +0000
commit92de554adbf95a303f1051d85bef05abac9f1e8a (patch)
tree17019c03731e797280398e58b99044862341834a /aconfigure
parent2c2752f536e55bff7055eed2ed8e558163e1f9b6 (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')
-rwxr-xr-xaconfigure12
1 files changed, 12 insertions, 0 deletions
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"
;;