Changeset 5186 for pjproject/trunk/aconfigure
- Timestamp:
- Oct 6, 2015 5:57:51 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r5150 r5186 639 639 openssl_h_present 640 640 ac_no_ssl 641 ac_webrtc_ldflags 642 ac_webrtc_cflags 641 643 ac_libyuv_ldflags 642 644 ac_libyuv_cflags … … 801 803 with_libyuv 802 804 enable_libyuv 805 with_webrtc 806 enable_webrtc 803 807 enable_ipp 804 808 with_ipp … … 1466 1470 --disable-openh264 Disable OpenH264 (default: not disabled) 1467 1471 --disable-libyuv Exclude libyuv in the build 1472 --disable-webrtc Exclude webrtc in the build 1468 1473 --enable-ipp Enable Intel IPP support. Specify the Intel IPP 1469 1474 package and samples location using IPPROOT and … … 1506 1511 --with-openh264=DIR Specify alternate OpenH264 prefix 1507 1512 --with-libyuv=DIR Specify alternate libyuv prefix 1513 --with-webrtc=DIR Specify alternate WebRtc prefix 1508 1514 --with-ipp=DIR Specify the Intel IPP location 1509 1515 --with-ipp-samples=DIR Specify the Intel IPP samples location … … 7323 7329 7324 7330 7331 7332 # Check whether --with-webrtc was given. 7333 if test "${with_webrtc+set}" = set; then : 7334 withval=$with_webrtc; 7335 else 7336 with_webrtc=no 7337 7338 fi 7339 7340 7341 if test "x$ac_cross_compile" != "x" -a "x$with_webrtc" = "xno"; then 7342 enable_webrtc=no 7343 fi 7344 7345 7346 7347 # Check whether --enable-webrtc was given. 7348 if test "${enable_webrtc+set}" = set; then : 7349 enableval=$enable_webrtc; if test "$enable_webrtc" = "no"; then 7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if webrtc is disabled...yes" >&5 7351 $as_echo "Checking if webrtc is disabled...yes" >&6; } 7352 fi 7353 else 7354 7355 if test "x$with_webrtc" != "xno" -a "x$with_webrtc" != "x"; then 7356 WEBRTC_PREFIX=$with_webrtc 7357 WEBRTC_CFLAGS="-I$WEBRTC_PREFIX/src" 7358 7359 case $target in 7360 *-apple-darwin_ios*) 7361 case $ARCH in 7362 *arm*) 7363 WEBRTC_CFLAGS="-DPJMEDIA_WEBRTC_AEC_USE_MOBILE=1 $WEBRTC_CFLAGS" 7364 WEBRTC_LDFLAGS="-L$WEBRTC_PREFIX/src/out_ios/Release-iphoneos" 7365 WEBRTC_LIBS="-laudio_processing_neon -lcommon_audio_neon" 7366 ;; 7367 *) 7368 ;; 7369 esac 7370 ;; 7371 *mingw* | *cygw* | *win32* | *w32* | *darwin* | *linux* | *android*) 7372 WEBRTC_LDFLAGS="-L$WEBRTC_PREFIX/src/out/Release" 7373 WEBRTC_LIBS="-laudio_processing_sse2" 7374 ;; 7375 *) 7376 ;; 7377 esac 7378 7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using webrtc prefix... $with_webrtc" >&5 7380 $as_echo "Using webrtc prefix... $with_webrtc" >&6; } 7381 else 7382 WEBRTC_CFLAGS="" 7383 WEBRTC_LDFLAGS="" 7384 fi 7385 7386 WEBRTC_LIBS="$WEBRTC_LIBS -laudio_processing -lcommon_audio -lsystem_wrappers" 7387 7388 SAVED_LIBS="$LIBS" 7389 SAVED_LDFLAGS="$LDFLAGS" 7390 SAVED_CFLAGS="$CFLAGS" 7391 7392 LIBS="$WEBRTC_LIBS $LIBS" 7393 LDFLAGS="$WEBRTC_LDFLAGS $LDFLAGS" 7394 CFLAGS="$WEBRTC_CFLAGS $CFLAGS" 7395 7396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WebRtcAec_Process in -laudio_processing" >&5 7397 $as_echo_n "checking for WebRtcAec_Process in -laudio_processing... " >&6; } 7398 if ${ac_cv_lib_audio_processing_WebRtcAec_Process+:} false; then : 7399 $as_echo_n "(cached) " >&6 7400 else 7401 ac_check_lib_save_LIBS=$LIBS 7402 LIBS="-laudio_processing 7403 $LIBS" 7404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7405 /* end confdefs.h. */ 7406 7407 /* Override any GCC internal prototype to avoid an error. 7408 Use char because int might match the return type of a GCC 7409 builtin and then its argument prototype would still apply. */ 7410 #ifdef __cplusplus 7411 extern "C" 7412 #endif 7413 char WebRtcAec_Process (); 7414 int 7415 main () 7416 { 7417 return WebRtcAec_Process (); 7418 ; 7419 return 0; 7420 } 7421 _ACEOF 7422 if ac_fn_c_try_link "$LINENO"; then : 7423 ac_cv_lib_audio_processing_WebRtcAec_Process=yes 7424 else 7425 ac_cv_lib_audio_processing_WebRtcAec_Process=no 7426 fi 7427 rm -f core conftest.err conftest.$ac_objext \ 7428 conftest$ac_exeext conftest.$ac_ext 7429 LIBS=$ac_check_lib_save_LIBS 7430 fi 7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audio_processing_WebRtcAec_Process" >&5 7432 $as_echo "$ac_cv_lib_audio_processing_WebRtcAec_Process" >&6; } 7433 if test "x$ac_cv_lib_audio_processing_WebRtcAec_Process" = xyes; then : 7434 ac_webrtc_cflags="-DPJMEDIA_HAS_WEBRTC_AEC=1 $WEBRTC_CFLAGS" 7435 ac_webrtc_ldflags="$WEBRTC_LDFLAGS $WEBRTC_LIBS" 7436 7437 else 7438 LIBS="$SAVED_LIBS" 7439 LDFLAGS="$SAVED_LDFLAGS" 7440 CFLAGS="$SAVED_CFLAGS" 7441 7442 fi 7443 7444 7445 fi 7446 7447 7325 7448 # Check whether --enable-ipp was given. 7326 7449 if test "${enable_ipp+set}" = set; then :
Note: See TracChangeset
for help on using the changeset viewer.