Changeset 6110 for pjproject/trunk/aconfigure
- Timestamp:
- Nov 22, 2019 6:18:55 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r6066 r6110 651 651 ac_ssl_has_aes_gcm 652 652 ac_no_ssl 653 ac_vpx_ldflags 654 ac_vpx_cflags 653 655 ac_openh264_ldflags 654 656 ac_openh264_cflags … … 815 817 with_openh264 816 818 enable_openh264 819 with_vpx 820 enable_vpx 817 821 enable_ipp 818 822 with_ipp … … 1486 1490 --disable-v4l2 Disable Video4Linux2 (default: not disabled) 1487 1491 --disable-openh264 Disable OpenH264 (default: not disabled) 1492 --disable-vpx Disable VPX (default: not disabled) 1488 1493 --enable-ipp Enable Intel IPP support. Specify the Intel IPP 1489 1494 package and samples location using IPPROOT and … … 1541 1546 --with-ffmpeg=DIR Specify alternate FFMPEG prefix 1542 1547 --with-openh264=DIR Specify alternate OpenH264 prefix 1548 --with-vpx=DIR Specify alternate VPX prefix 1543 1549 --with-ipp=DIR Specify the Intel IPP location 1544 1550 --with-ipp-samples=DIR Specify the Intel IPP samples location … … 7610 7616 7611 7617 7618 # Check whether --with-vpx was given. 7619 if test "${with_vpx+set}" = set; then : 7620 withval=$with_vpx; 7621 else 7622 with_vpx=no 7623 7624 fi 7625 7626 7627 if test "x$ac_cross_compile" != "x" -a "x$with_vpx" = "xno"; then 7628 enable_vpx=no 7629 fi 7630 7631 7632 7633 # Check whether --enable-vpx was given. 7634 if test "${enable_vpx+set}" = set; then : 7635 enableval=$enable_vpx; 7636 if test "$enable_vpx" = "no"; then 7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if VPX is disabled... yes" >&5 7638 $as_echo "Checking if VPX is disabled... yes" >&6; } 7639 fi 7640 7641 else 7642 7643 if test "x$with_vpx" != "xno" -a "x$with_vpx" != "x"; then 7644 VPX_PREFIX=$with_vpx 7645 VPX_CFLAGS="-I$VPX_PREFIX/include" 7646 VPX_LDFLAGS="-L$VPX_PREFIX/lib" 7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using VPX prefix... $with_vpx" >&5 7648 $as_echo "Using VPX prefix... $with_vpx" >&6; } 7649 else 7650 VPX_CFLAGS="" 7651 VPX_LDFLAGS="" 7652 fi 7653 7654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking VPX usability" >&5 7655 $as_echo_n "checking VPX usability... " >&6; } 7656 7657 VPX_LIBS="-lvpx" 7658 7659 SAVED_LIBS="$LIBS" 7660 SAVED_LDFLAGS="$LDFLAGS" 7661 SAVED_CFLAGS="$CFLAGS" 7662 7663 LIBS="$VPX_LIBS $LIBS" 7664 LDFLAGS="$VPX_LDFLAGS $LDFLAGS" 7665 CFLAGS="$VPX_CFLAGS $CFLAGS" 7666 7667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7668 /* end confdefs.h. */ 7669 #include <vpx/vpx_encoder.h> 7670 #include <vpx/vp8cx.h> 7671 7672 int 7673 main () 7674 { 7675 vpx_codec_iface_t *(*enc_if)() = &vpx_codec_vp8_cx; 7676 7677 ; 7678 return 0; 7679 } 7680 _ACEOF 7681 if ac_fn_c_try_link "$LINENO"; then : 7682 ac_vpx_cflags="-DPJMEDIA_HAS_VPX_CODEC=1 $VPX_CFLAGS" 7683 ac_vpx_ldflags="$VPX_LDFLAGS $VPX_LIBS" 7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 7685 $as_echo "ok" >&6; } 7686 7687 else 7688 7689 LIBS="$SAVED_LIBS" 7690 LDFLAGS="$SAVED_LDFLAGS" 7691 CFLAGS="$SAVED_CFLAGS" 7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7693 $as_echo "no" >&6; } 7694 7695 fi 7696 rm -f core conftest.err conftest.$ac_objext \ 7697 conftest$ac_exeext conftest.$ac_ext 7698 7699 7700 fi 7701 7702 7703 7612 7704 # Check whether --enable-ipp was given. 7613 7705 if test "${enable_ipp+set}" = set; then : … … 7962 8054 main () 7963 8055 { 7964 if (__builtin_available(macOS 10. 3, iOS 11.3, *)) {8056 if (__builtin_available(macOS 10.12, iOS 10.0, *)) { 7965 8057 SSLContextRef ssl_ctx; 7966 8058 SSLReHandshake(ssl_ctx); … … 7981 8073 7982 8074 LIBS="$LIBS -framework Security" 7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Security framework forDarwin SSL is available... yes" >&57984 $as_echo "Checking if Security framework forDarwin SSL is available... yes" >&6; }8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Darwin SSL is available... yes" >&5 8076 $as_echo "Checking if Darwin SSL is available... yes" >&6; } 7985 8077 else 7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Security framework forDarwin SSL is available... no" >&57987 $as_echo "Checking if Security framework forDarwin SSL is available... no" >&6; }8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Darwin SSL is available... no" >&5 8079 $as_echo "Checking if Darwin SSL is available... no" >&6; } 7988 8080 fi 7989 8081 ;;
Note: See TracChangeset
for help on using the changeset viewer.