Changeset 5264


Ignore:
Timestamp:
Mar 17, 2016 2:56:27 AM (8 years ago)
Author:
ming
Message:

Fixed #1909: GUID implementation for Android.

Thanks to Johan Lantz for the contribution.

Location:
pjproject/trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure

    r5247 r5264  
    57345734        esac 
    57355735        # UUID 
    5736         if test "$ac_has_uuid_lib" = "1" -a "$ac_has_uuid_h" = "1"; then 
    5737                 ac_os_objs="$ac_os_objs guid_uuid.o" 
    5738         else 
    5739                 ac_os_objs="$ac_os_objs guid_simple.o" 
    5740         fi 
     5736        case $target in 
     5737          *android*) 
     5738                ac_os_objs="$ac_os_objs guid_android.o" 
     5739                ;; 
     5740          *) 
     5741                if test "$ac_has_uuid_lib" = "1" -a "$ac_has_uuid_h" = "1"; then 
     5742                        ac_os_objs="$ac_os_objs guid_uuid.o" 
     5743                else 
     5744                        ac_os_objs="$ac_os_objs guid_simple.o" 
     5745                fi 
     5746                ;; 
     5747        esac 
    57415748        ;; 
    57425749esac 
  • pjproject/trunk/aconfigure.ac

    r5247 r5264  
    456456        esac 
    457457        # UUID 
    458         if test "$ac_has_uuid_lib" = "1" -a "$ac_has_uuid_h" = "1"; then 
    459                 ac_os_objs="$ac_os_objs guid_uuid.o" 
    460         else 
    461                 ac_os_objs="$ac_os_objs guid_simple.o" 
    462         fi 
     458        case $target in 
     459          *android*) 
     460                ac_os_objs="$ac_os_objs guid_android.o" 
     461                ;; 
     462          *) 
     463                if test "$ac_has_uuid_lib" = "1" -a "$ac_has_uuid_h" = "1"; then 
     464                        ac_os_objs="$ac_os_objs guid_uuid.o" 
     465                else 
     466                        ac_os_objs="$ac_os_objs guid_simple.o" 
     467                fi 
     468                ;; 
     469        esac 
    463470        ;; 
    464471esac 
Note: See TracChangeset for help on using the changeset viewer.