Changeset 3701
- Timestamp:
- Aug 16, 2011 5:44:46 AM (13 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r3691 r3701 697 697 ac_pa_use_oss 698 698 ac_pjmedia_video 699 ac_pjmedia_video_has_ios 699 700 ac_ios_cflags 700 701 ac_pjmedia_video_has_qt … … 11682 11683 ac_pjmedia_video=iphone_os 11683 11684 11684 ac_ios_cflags="-DPJMEDIA_VIDEO_DEV_HAS_IOS=1" 11685 LIBS="$LIBS -framework AVFoundation -framework UIKit -framework CoreGraphics -framework QuartzCore -framework CoreVideo -framework CoreMedia" 11686 { echo "$as_me:$LINENO: result: Checking video device backend... AVFoundation" >&5 11687 echo "${ECHO_T}Checking video device backend... AVFoundation" >&6; } 11685 11686 SAVED_LIBS="$LIBS" 11687 LIBS="-framework AVFoundation -framework UIKit -framework CoreGraphics -framework QuartzCore -framework CoreVideo -framework CoreMedia" 11688 cat >conftest.$ac_ext <<_ACEOF 11689 /* confdefs.h. */ 11690 _ACEOF 11691 cat confdefs.h >>conftest.$ac_ext 11692 cat >>conftest.$ac_ext <<_ACEOF 11693 /* end confdefs.h. */ 11694 11695 int 11696 main () 11697 { 11698 11699 ; 11700 return 0; 11701 } 11702 _ACEOF 11703 rm -f conftest.$ac_objext conftest$ac_exeext 11704 if { (ac_try="$ac_link" 11705 case "(($ac_try" in 11706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11707 *) ac_try_echo=$ac_try;; 11708 esac 11709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11710 (eval "$ac_link") 2>conftest.er1 11711 ac_status=$? 11712 grep -v '^ *+' conftest.er1 >conftest.err 11713 rm -f conftest.er1 11714 cat conftest.err >&5 11715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11716 (exit $ac_status); } && { 11717 test -z "$ac_c_werror_flag" || 11718 test ! -s conftest.err 11719 } && test -s conftest$ac_exeext && 11720 $as_test_x conftest$ac_exeext; then 11721 ac_pjmedia_video_has_ios=yes 11722 else 11723 echo "$as_me: failed program was:" >&5 11724 sed 's/^/| /' conftest.$ac_ext >&5 11725 11726 ac_pjmedia_video_has_ios=no 11727 fi 11728 11729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11730 conftest$ac_exeext conftest.$ac_ext 11731 LIBS="$SAVED_LIBS" 11732 if test "$ac_pjmedia_video_has_ios" = "yes"; then 11733 ac_ios_cflags="-DPJMEDIA_VIDEO_DEV_HAS_IOS=1" 11734 LIBS="$LIBS -framework AVFoundation -framework UIKit -framework CoreGraphics -framework QuartzCore -framework CoreVideo -framework CoreMedia" 11735 { echo "$as_me:$LINENO: result: Checking if AVFoundation framework is available... yes" >&5 11736 echo "${ECHO_T}Checking if AVFoundation framework is available... yes" >&6; } 11737 else 11738 { echo "$as_me:$LINENO: result: Checking if AVFoundation framework is available... no" >&5 11739 echo "${ECHO_T}Checking if AVFoundation framework is available... no" >&6; } 11740 fi 11688 11741 ;; 11689 11742 *darwin*) … … 14087 14140 ac_pa_use_oss!$ac_pa_use_oss$ac_delim 14088 14141 ac_pjmedia_video!$ac_pjmedia_video$ac_delim 14142 ac_pjmedia_video_has_ios!$ac_pjmedia_video_has_ios$ac_delim 14089 14143 ac_ios_cflags!$ac_ios_cflags$ac_delim 14090 14144 ac_pjmedia_video_has_qt!$ac_pjmedia_video_has_qt$ac_delim … … 14099 14153 ac_no_g7221_codec!$ac_no_g7221_codec$ac_delim 14100 14154 ac_no_speex_codec!$ac_no_speex_codec$ac_delim 14101 ac_no_ilbc_codec!$ac_no_ilbc_codec$ac_delim14102 14155 _ACEOF 14103 14156 … … 14141 14194 for ac_last_try in false false false false false :; do 14142 14195 cat >conf$$subs.sed <<_ACEOF 14196 ac_no_ilbc_codec!$ac_no_ilbc_codec$ac_delim 14143 14197 ac_sdl_cflags!$ac_sdl_cflags$ac_delim 14144 14198 ac_sdl_ldflags!$ac_sdl_ldflags$ac_delim … … 14160 14214 _ACEOF 14161 14215 14162 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 1 7; then14216 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 18; then 14163 14217 break 14164 14218 elif $ac_last_try; then -
pjproject/trunk/aconfigure.ac
r3691 r3701 600 600 arm-apple-darwin*) 601 601 ac_pjmedia_video=iphone_os 602 AC_SUBST(ac_pjmedia_video_has_ios) 602 603 AC_SUBST(ac_ios_cflags) 603 ac_ios_cflags="-DPJMEDIA_VIDEO_DEV_HAS_IOS=1" 604 LIBS="$LIBS -framework AVFoundation -framework UIKit -framework CoreGraphics -framework QuartzCore -framework CoreVideo -framework CoreMedia" 605 AC_MSG_RESULT([Checking video device backend... AVFoundation]) 604 SAVED_LIBS="$LIBS" 605 LIBS="-framework AVFoundation -framework UIKit -framework CoreGraphics -framework QuartzCore -framework CoreVideo -framework CoreMedia" 606 AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [])],[ac_pjmedia_video_has_ios=yes],[ac_pjmedia_video_has_ios=no]) 607 LIBS="$SAVED_LIBS" 608 if test "$ac_pjmedia_video_has_ios" = "yes"; then 609 ac_ios_cflags="-DPJMEDIA_VIDEO_DEV_HAS_IOS=1" 610 LIBS="$LIBS -framework AVFoundation -framework UIKit -framework CoreGraphics -framework QuartzCore -framework CoreVideo -framework CoreMedia" 611 AC_MSG_RESULT([Checking if AVFoundation framework is available... yes]) 612 else 613 AC_MSG_RESULT([Checking if AVFoundation framework is available... no]) 614 fi 606 615 ;; 607 616 *darwin*)
Note: See TracChangeset
for help on using the changeset viewer.