From c93bf034698d017a05a894c9f354af076d6bb4c6 Mon Sep 17 00:00:00 2001 From: Liong Sauw Ming Date: Thu, 17 Mar 2016 02:56:27 +0000 Subject: 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 --- aconfigure | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'aconfigure') diff --git a/aconfigure b/aconfigure index 33a08f51..82592e76 100755 --- a/aconfigure +++ b/aconfigure @@ -5733,11 +5733,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 -- cgit v1.2.3