summaryrefslogtreecommitdiff
path: root/aconfigure.ac
diff options
context:
space:
mode:
authorLiong Sauw Ming <ming@teluu.com>2016-03-17 02:56:27 +0000
committerLiong Sauw Ming <ming@teluu.com>2016-03-17 02:56:27 +0000
commitc93bf034698d017a05a894c9f354af076d6bb4c6 (patch)
tree39bf5650d33849eb8a2a3a84bda2b11438c4a9c2 /aconfigure.ac
parentb34d991ffe7f1af76d9b20a52b780ce6d782429d (diff)
Fixed #1909: GUID implementation for Android.
Thanks to Johan Lantz for the contribution. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5264 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'aconfigure.ac')
-rw-r--r--aconfigure.ac17
1 files changed, 12 insertions, 5 deletions
diff --git a/aconfigure.ac b/aconfigure.ac
index 3e88124b..27855ff1 100644
--- a/aconfigure.ac
+++ b/aconfigure.ac
@@ -455,11 +455,18 @@ case $target in
;;
esac
# UUID
- if test "$ac_has_uuid_lib" = "1" -a "$ac_has_uuid_h" = "1"; then
- ac_os_objs="$ac_os_objs guid_uuid.o"
- else
- ac_os_objs="$ac_os_objs guid_simple.o"
- fi
+ case $target in
+ *android*)
+ ac_os_objs="$ac_os_objs guid_android.o"
+ ;;
+ *)
+ if test "$ac_has_uuid_lib" = "1" -a "$ac_has_uuid_h" = "1"; then
+ ac_os_objs="$ac_os_objs guid_uuid.o"
+ else
+ ac_os_objs="$ac_os_objs guid_simple.o"
+ fi
+ ;;
+ esac
;;
esac