Changeset 4928 for pjproject/trunk/aconfigure
- Timestamp:
- Sep 24, 2014 4:01:34 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r4892 r4928 668 668 ac_ios_cflags 669 669 ac_pjmedia_video_has_ios 670 ac_android_cflags 671 ac_pjmedia_video_has_android 670 672 ac_pjmedia_video 671 673 ac_pa_use_oss … … 6160 6162 else 6161 6163 case $target in 6164 *android*) 6165 ac_pjmedia_video=android_os 6166 6167 6168 SAVED_LIBS="$LIBS" 6169 LIBS="-lGLESv2 -lEGL -landroid" 6170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6171 /* end confdefs.h. */ 6172 6173 int 6174 main () 6175 { 6176 6177 ; 6178 return 0; 6179 } 6180 _ACEOF 6181 if ac_fn_c_try_link "$LINENO"; then : 6182 ac_pjmedia_video_has_android=yes 6183 else 6184 ac_pjmedia_video_has_android=no 6185 fi 6186 rm -f core conftest.err conftest.$ac_objext \ 6187 conftest$ac_exeext conftest.$ac_ext 6188 LIBS="$SAVED_LIBS" 6189 if test "$ac_pjmedia_video_has_android" = "yes"; then 6190 ac_android_cflags="-DPJMEDIA_VIDEO_DEV_HAS_ANDROID_OPENGL=1" 6191 LIBS="$LIBS -lGLESv2 -lEGL -landroid" 6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if OpenGL ES 2 is available... yes" >&5 6193 $as_echo "Checking if OpenGL ES 2 is available... yes" >&6; } 6194 else 6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if OpenGL ES 2 is available... no" >&5 6196 $as_echo "Checking if OpenGL ES 2 is available... no" >&6; } 6197 fi 6198 ;; 6162 6199 arm-apple-darwin*) 6163 6200 ac_pjmedia_video=iphone_os
Note: See TracChangeset
for help on using the changeset viewer.