Ignore:
Timestamp:
Mar 29, 2017 5:07:47 AM (8 years ago)
Author:
riza
Message:

Fix #2006: Fix android build failed using NDK r14 caused by by the removal of android_alarm.h.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure

    r5549 r5574  
    756756oldincludedir 
    757757includedir 
     758runstatedir 
    758759localstatedir 
    759760sharedstatedir 
     
    878879sharedstatedir='${prefix}/com' 
    879880localstatedir='${prefix}/var' 
     881runstatedir='${localstatedir}/run' 
    880882includedir='${prefix}/include' 
    881883oldincludedir='/usr/include' 
     
    11301132    silent=yes ;; 
    11311133 
     1134  -runstatedir | --runstatedir | --runstatedi | --runstated \ 
     1135  | --runstate | --runstat | --runsta | --runst | --runs \ 
     1136  | --run | --ru | --r) 
     1137    ac_prev=runstatedir ;; 
     1138  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 
     1139  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 
     1140  | --run=* | --ru=* | --r=*) 
     1141    runstatedir=$ac_optarg ;; 
     1142 
    11321143  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 
    11331144    ac_prev=sbindir ;; 
     
    12671278                datadir sysconfdir sharedstatedir localstatedir includedir \ 
    12681279                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 
    1269                 libdir localedir mandir 
     1280                libdir localedir mandir runstatedir 
    12701281do 
    12711282  eval ac_val=\$$ac_var 
     
    14201431  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com] 
    14211432  --localstatedir=DIR     modifiable single-machine data [PREFIX/var] 
     1433  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run] 
    14221434  --libdir=DIR            object code libraries [EPREFIX/lib] 
    14231435  --includedir=DIR        C header files [PREFIX/include] 
     
    54165428 
    54175429 
     5430case $target in 
     5431  *android*) 
     5432        ac_fn_c_check_header_mongrel "$LINENO" "linux/android_alarm.h" "ac_cv_header_linux_android_alarm_h" "$ac_includes_default" 
     5433if test "x$ac_cv_header_linux_android_alarm_h" = xyes; then : 
     5434  $as_echo "#define PJ_HAS_ANDROID_ALARM_H 1" >>confdefs.h 
     5435 
     5436fi 
     5437 
     5438 
     5439        ;; 
     5440esac 
     5441 
    54185442ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r" 
    54195443if test "x$ac_cv_func_localtime_r" = xyes; then : 
Note: See TracChangeset for help on using the changeset viewer.