summaryrefslogtreecommitdiff
path: root/aconfigure
diff options
context:
space:
mode:
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"
;;