Changeset 4928 for pjproject/trunk/aconfigure.ac
- Timestamp:
- Sep 24, 2014 4:01:34 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure.ac
r4892 r4928 706 706 else 707 707 case $target in 708 *android*) 709 ac_pjmedia_video=android_os 710 AC_SUBST(ac_pjmedia_video_has_android) 711 AC_SUBST(ac_android_cflags) 712 SAVED_LIBS="$LIBS" 713 LIBS="-lGLESv2 -lEGL -landroid" 714 AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [])],[ac_pjmedia_video_has_android=yes],[ac_pjmedia_video_has_android=no]) 715 LIBS="$SAVED_LIBS" 716 if test "$ac_pjmedia_video_has_android" = "yes"; then 717 ac_android_cflags="-DPJMEDIA_VIDEO_DEV_HAS_ANDROID_OPENGL=1" 718 LIBS="$LIBS -lGLESv2 -lEGL -landroid" 719 AC_MSG_RESULT([Checking if OpenGL ES 2 is available... yes]) 720 else 721 AC_MSG_RESULT([Checking if OpenGL ES 2 is available... no]) 722 fi 723 ;; 708 724 arm-apple-darwin*) 709 725 ac_pjmedia_video=iphone_os
Note: See TracChangeset
for help on using the changeset viewer.