Changeset 3816 for pjproject/branches/1.x/aconfigure
- Timestamp:
- Oct 14, 2011 4:15:15 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/1.x/aconfigure
r3599 r3816 597 597 ac_linux_poll 598 598 ac_cross_compile 599 opencore_amrnb_present 600 opencore_amrnb_h_present 601 ac_no_opencore_amrnb 599 602 libcrypto_present 600 603 libssl_present … … 722 725 with_ipp_arch 723 726 enable_ssl 727 enable_opencore_amrnb 724 728 ' 725 729 ac_precious_vars='build_alias … … 1374 1378 --with-ipp-samples options 1375 1379 --disable-ssl Exclude SSL support the build (default: autodetect) 1380 1381 --disable-opencore-amrnb 1382 Exclude OpenCORE AMR-NB support from the build 1383 (default: autodetect) 1376 1384 1377 1385 … … 6260 6268 6261 6269 6270 # Check whether --enable-opencore_amrnb was given. 6271 if test "${enable_opencore_amrnb+set}" = set; then : 6272 enableval=$enable_opencore_amrnb; 6273 if test "$enable_opencore_amrnb" = "no"; then 6274 ac_no_opencore_amrnb=1 6275 $as_echo "#define PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 0" >>confdefs.h 6276 6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if OpenCORE AMR-NB support is disabled... yes" >&5 6278 $as_echo "Checking if OpenCORE AMR-NB support is disabled... yes" >&6; } 6279 fi 6280 6281 else 6282 6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for OpenCORE AMR-NB installations.." >&5 6284 $as_echo "checking for OpenCORE AMR-NB installations.." >&6; } 6285 6286 6287 ac_fn_c_check_header_mongrel "$LINENO" "opencore-amrnb/interf_enc.h" "ac_cv_header_opencore_amrnb_interf_enc_h" "$ac_includes_default" 6288 if test "x$ac_cv_header_opencore_amrnb_interf_enc_h" = x""yes; then : 6289 opencore_amrnb_h_present=1 6290 fi 6291 6292 6293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Encoder_Interface_init in -lopencore-amrnb" >&5 6294 $as_echo_n "checking for Encoder_Interface_init in -lopencore-amrnb... " >&6; } 6295 if test "${ac_cv_lib_opencore_amrnb_Encoder_Interface_init+set}" = set; then : 6296 $as_echo_n "(cached) " >&6 6297 else 6298 ac_check_lib_save_LIBS=$LIBS 6299 LIBS="-lopencore-amrnb $LIBS" 6300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6301 /* end confdefs.h. */ 6302 6303 /* Override any GCC internal prototype to avoid an error. 6304 Use char because int might match the return type of a GCC 6305 builtin and then its argument prototype would still apply. */ 6306 #ifdef __cplusplus 6307 extern "C" 6308 #endif 6309 char Encoder_Interface_init (); 6310 int 6311 main () 6312 { 6313 return Encoder_Interface_init (); 6314 ; 6315 return 0; 6316 } 6317 _ACEOF 6318 if ac_fn_c_try_link "$LINENO"; then : 6319 ac_cv_lib_opencore_amrnb_Encoder_Interface_init=yes 6320 else 6321 ac_cv_lib_opencore_amrnb_Encoder_Interface_init=no 6322 fi 6323 rm -f core conftest.err conftest.$ac_objext \ 6324 conftest$ac_exeext conftest.$ac_ext 6325 LIBS=$ac_check_lib_save_LIBS 6326 fi 6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_opencore_amrnb_Encoder_Interface_init" >&5 6328 $as_echo "$ac_cv_lib_opencore_amrnb_Encoder_Interface_init" >&6; } 6329 if test "x$ac_cv_lib_opencore_amrnb_Encoder_Interface_init" = x""yes; then : 6330 opencore_amrnb_present=1 && LIBS="$LIBS -lopencore-amrnb" 6331 fi 6332 6333 if test "x$opencore_amrnb_h_present" = "x1" -a "x$opencore_amrnb_present" = "x1"; then 6334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenCORE AMR-NB library found, AMR-NB support enabled" >&5 6335 $as_echo "OpenCORE AMR-NB library found, AMR-NB support enabled" >&6; } 6336 $as_echo "#define PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 1" >>confdefs.h 6337 6338 else 6339 ac_no_opencore_amrnb=1 6340 $as_echo "#define PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 0" >>confdefs.h 6341 6342 fi 6343 6344 fi 6345 6346 6347 6262 6348 6263 6349
Note: See TracChangeset
for help on using the changeset viewer.