Changeset 5630 for pjproject/trunk/aconfigure
- Timestamp:
- Jul 19, 2017 10:29:10 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r5624 r5630 628 628 ac_no_webrtc 629 629 ac_no_yuv 630 ac_no_bcg729 630 631 opus_present 631 632 opus_h_present … … 827 828 with_opus 828 829 enable_opus 830 with_bcg729 831 enable_bcg729 829 832 enable_libyuv 830 833 enable_libwebrtc … … 1507 1510 autodetect) 1508 1511 1512 --disable-bcg729 Disable bcg729 (default: not disabled) 1509 1513 --disable-libyuv Exclude libyuv in the build 1510 1514 --disable-libwebrtc Exclude libwebrtc in the build … … 1559 1563 --with-silk=DIR Specify alternate SILK prefix 1560 1564 --with-opus=DIR Specify alternate OPUS prefix 1565 --with-bcg729=DIR Specify alternate bcg729 prefix 1561 1566 1562 1567 Some influential environment variables: … … 8473 8478 8474 8479 8480 # Check whether --with-bcg729 was given. 8481 if test "${with_bcg729+set}" = set; then : 8482 withval=$with_bcg729; 8483 else 8484 with_bcg729=no 8485 8486 fi 8487 8488 8489 if test "x$ac_cross_compile" != "x" -a "x$with_bcg729" = "xno"; then 8490 enable_bcg729=no 8491 fi 8492 8493 8494 # Check whether --enable-bcg729 was given. 8495 if test "${enable_bcg729+set}" = set; then : 8496 enableval=$enable_bcg729; 8497 if test "$enable_bcg729" = "no"; then 8498 ac_no_bcg729=1 8499 $as_echo "#define PJMEDIA_HAS_BCG729 0" >>confdefs.h 8500 8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if bcg729 is disabled... yes" >&5 8502 $as_echo "Checking if bcg729 is disabled... yes" >&6; } 8503 fi 8504 8505 else 8506 8507 if test "x$with_bcg729" != "xno" -a "x$with_bcg729" != "x"; then 8508 BCG729_PREFIX=$with_bcg729 8509 BCG729_CFLAGS="-I$BCG729_PREFIX/include" 8510 BCG729_LDFLAGS="-L$BCG729_PREFIX/lib" 8511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using bcg729 prefix... $with_bcg729" >&5 8512 $as_echo "Using bcg729 prefix... $with_bcg729" >&6; } 8513 else 8514 BCG729_CFLAGS="" 8515 BCG729_LDFLAGS="" 8516 fi 8517 8518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking bcg729 usability" >&5 8519 $as_echo_n "checking bcg729 usability... " >&6; } 8520 8521 BCG729_LIBS="-lbcg729" 8522 8523 SAVED_LIBS="$LIBS" 8524 SAVED_LDFLAGS="$LDFLAGS" 8525 SAVED_CFLAGS="$CFLAGS" 8526 8527 LIBS="$BCG729_LIBS $LIBS" 8528 LDFLAGS="$BCG729_LDFLAGS $LDFLAGS" 8529 CFLAGS="$BCG729_CFLAGS $CFLAGS" 8530 8531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8532 /* end confdefs.h. */ 8533 #include <bcg729/encoder.h> 8534 #include <bcg729/decoder.h> 8535 8536 int 8537 main () 8538 { 8539 initBcg729EncoderChannel(0); 8540 8541 ; 8542 return 0; 8543 } 8544 _ACEOF 8545 if ac_fn_c_try_link "$LINENO"; then : 8546 8547 $as_echo "#define PJMEDIA_HAS_BCG729 1" >>confdefs.h 8548 8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 8550 $as_echo "ok" >&6; } 8551 8552 else 8553 8554 ac_no_bcg729=1 8555 $as_echo "#define PJMEDIA_HAS_BCG729 0" >>confdefs.h 8556 8557 LIBS="$SAVED_LIBS" 8558 LDFLAGS="$SAVED_LDFLAGS" 8559 CFLAGS="$SAVED_CFLAGS" 8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8561 $as_echo "no" >&6; } 8562 8563 fi 8564 rm -f core conftest.err conftest.$ac_objext \ 8565 conftest$ac_exeext conftest.$ac_ext 8566 8567 8568 fi 8569 8570 8571 8572 8475 8573 # Check whether --enable-libyuv was given. 8476 8574 if test "${enable_libyuv+set}" = set; then :
Note: See TracChangeset
for help on using the changeset viewer.