Changeset 4331 for pjproject/trunk/aconfigure
- Timestamp:
- Jan 23, 2013 6:18:18 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r4271 r4331 627 627 silk_h_present 628 628 ac_no_silk 629 opencore_amrwb_dec_present 630 opencore_amrwb_dec_h_present 631 opencore_amrwb_enc_present 632 opencore_amrwb_enc_h_present 629 633 opencore_amrnb_present 630 634 opencore_amrnb_h_present 635 ac_no_opencore_amrwb 631 636 ac_no_opencore_amrnb 632 637 libcrypto_present … … 782 787 enable_ssl 783 788 with_opencore_amrnb 784 enable_opencore_amrnb 789 with_opencore_amr 790 with_opencore_amrwbenc 791 enable_opencore_amr 785 792 with_silk 786 793 enable_silk … … 1441 1448 --disable-ssl Exclude SSL support the build (default: autodetect) 1442 1449 1443 --disable-opencore-amrnb 1444 Exclude OpenCORE AMR-NB support from the build 1450 --disable-opencore-amr Exclude OpenCORE AMR support from the build 1445 1451 (default: autodetect) 1446 1452 … … 1475 1481 --with-ssl=DIR Specify alternate libssl prefix 1476 1482 --with-opencore-amrnb=DIR 1477 Specify alternate libopencore-amrnb prefix 1483 This option is obsolete and replaced by 1484 --with-opencore-amr=DIR 1485 --with-opencore-amr=DIR Specify alternate libopencore-amr prefix 1486 --with-opencore-amrwbenc=DIR 1487 Specify alternate libvo-amrwbenc prefix 1478 1488 --with-silk=DIR Specify alternate SILK prefix 1479 1489 … … 7110 7120 # Check whether --with-opencore-amrnb was given. 7111 7121 if test "${with_opencore_amrnb+set}" = set; then : 7112 withval=$with_opencore_amrnb; 7113 else 7114 with_opencore_amrnb=no 7115 7116 fi 7117 7118 7119 if test "x$ac_cross_compile" != "x" -a "x$with_opencore_amrnb" = "xno"; then 7120 enable_opencore_amrnb=no 7121 fi 7122 7123 7124 # Check whether --enable-opencore_amrnb was given. 7125 if test "${enable_opencore_amrnb+set}" = set; then : 7126 enableval=$enable_opencore_amrnb; 7127 if test "$enable_opencore_amrnb" = "no"; then 7122 withval=$with_opencore_amrnb; as_fn_error $? "This option is obsolete and replaced by --with-opencore-amr=DIR" "$LINENO" 5 7123 fi 7124 7125 7126 7127 # Check whether --with-opencore-amr was given. 7128 if test "${with_opencore_amr+set}" = set; then : 7129 withval=$with_opencore_amr; 7130 else 7131 with_opencore_amr=no 7132 7133 fi 7134 7135 7136 if test "x$ac_cross_compile" != "x" -a "x$with_opencore_amr" = "xno"; then 7137 enable_opencore_amr=no 7138 fi 7139 7140 7141 # Check whether --with-opencore-amrwbenc was given. 7142 if test "${with_opencore_amrwbenc+set}" = set; then : 7143 withval=$with_opencore_amrwbenc; 7144 else 7145 with_opencore_amrwbenc=no 7146 7147 fi 7148 7149 7150 if test "x$ac_cross_compile" != "x" -a "x$with_opencore_amrwbenc" = "xno"; then 7151 enable_opencore_amrwbenc=no 7152 fi 7153 7154 7155 7156 7157 # Check whether --enable-opencore_amr was given. 7158 if test "${enable_opencore_amr+set}" = set; then : 7159 enableval=$enable_opencore_amr; 7160 if test "$enable_opencore_amr" = "no"; then 7128 7161 ac_no_opencore_amrnb=1 7162 ac_no_opencore_amrwb=1 7129 7163 $as_echo "#define PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 0" >>confdefs.h 7130 7164 7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if OpenCORE AMR-NB support is disabled... yes" >&5 7132 $as_echo "Checking if OpenCORE AMR-NB support is disabled... yes" >&6; } 7165 $as_echo "#define PJMEDIA_HAS_OPENCORE_AMRWB_CODEC 0" >>confdefs.h 7166 7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if OpenCORE AMR support is disabled... yes" >&5 7168 $as_echo "Checking if OpenCORE AMR support is disabled... yes" >&6; } 7133 7169 fi 7134 7170 7135 7171 else 7136 7172 7137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for OpenCORE AMR-NB installations.." >&5 7138 $as_echo "checking for OpenCORE AMR-NB installations.." >&6; } 7139 if test "x$with_opencore_amrnb" != "xno" -a "x$with_opencore_amrnb" != "x"; then 7140 CFLAGS="$CFLAGS -I$with_opencore_amrnb/include" 7141 LDFLAGS="$LDFLAGS -L$with_opencore_amrnb/lib" 7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using OpenCORE AMR-NB prefix... $with_opencore_amrnb" >&5 7143 $as_echo "Using OpenCORE AMR-NB prefix... $with_opencore_amrnb" >&6; } 7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for OpenCORE AMR installations.." >&5 7174 $as_echo "checking for OpenCORE AMR installations.." >&6; } 7175 if test "x$with_opencore_amr" != "xno" -a "x$with_opencore_amr" != "x"; then 7176 CFLAGS="$CFLAGS -I$with_opencore_amr/include" 7177 LDFLAGS="$LDFLAGS -L$with_opencore_amr/lib" 7178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using OpenCORE AMR prefix... $with_opencore_amr" >&5 7179 $as_echo "Using OpenCORE AMR prefix... $with_opencore_amr" >&6; } 7180 fi 7181 if test "x$with_opencore_amrwbenc" != "xno" -a "x$with_opencore_amrwbenc" != "x"; then 7182 CFLAGS="$CFLAGS -I$with_opencore_amrwbenc/include" 7183 LDFLAGS="$LDFLAGS -L$with_opencore_amrwbenc/lib" 7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using OpenCORE AMRWB-enc prefix... $with_opencore_amrwbenc" >&5 7185 $as_echo "Using OpenCORE AMRWB-enc prefix... $with_opencore_amrwbenc" >&6; } 7144 7186 fi 7145 7187 … … 7201 7243 7202 7244 fi 7245 7246 7247 7248 7249 ac_fn_c_check_header_mongrel "$LINENO" "vo-amrwbenc/enc_if.h" "ac_cv_header_vo_amrwbenc_enc_if_h" "$ac_includes_default" 7250 if test "x$ac_cv_header_vo_amrwbenc_enc_if_h" = xyes; then : 7251 opencore_amrwb_enc_h_present=1 7252 fi 7253 7254 7255 ac_fn_c_check_header_mongrel "$LINENO" "opencore-amrwb/dec_if.h" "ac_cv_header_opencore_amrwb_dec_if_h" "$ac_includes_default" 7256 if test "x$ac_cv_header_opencore_amrwb_dec_if_h" = xyes; then : 7257 opencore_amrwb_dec_h_present=1 7258 fi 7259 7260 7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for D_IF_init in -lopencore-amrwb" >&5 7262 $as_echo_n "checking for D_IF_init in -lopencore-amrwb... " >&6; } 7263 if ${ac_cv_lib_opencore_amrwb_D_IF_init+:} false; then : 7264 $as_echo_n "(cached) " >&6 7265 else 7266 ac_check_lib_save_LIBS=$LIBS 7267 LIBS="-lopencore-amrwb $LIBS" 7268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7269 /* end confdefs.h. */ 7270 7271 /* Override any GCC internal prototype to avoid an error. 7272 Use char because int might match the return type of a GCC 7273 builtin and then its argument prototype would still apply. */ 7274 #ifdef __cplusplus 7275 extern "C" 7276 #endif 7277 char D_IF_init (); 7278 int 7279 main () 7280 { 7281 return D_IF_init (); 7282 ; 7283 return 0; 7284 } 7285 _ACEOF 7286 if ac_fn_c_try_link "$LINENO"; then : 7287 ac_cv_lib_opencore_amrwb_D_IF_init=yes 7288 else 7289 ac_cv_lib_opencore_amrwb_D_IF_init=no 7290 fi 7291 rm -f core conftest.err conftest.$ac_objext \ 7292 conftest$ac_exeext conftest.$ac_ext 7293 LIBS=$ac_check_lib_save_LIBS 7294 fi 7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_opencore_amrwb_D_IF_init" >&5 7296 $as_echo "$ac_cv_lib_opencore_amrwb_D_IF_init" >&6; } 7297 if test "x$ac_cv_lib_opencore_amrwb_D_IF_init" = xyes; then : 7298 opencore_amrwb_dec_present=1 && LIBS="$LIBS -lopencore-amrwb" 7299 fi 7300 7301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for E_IF_init in -lvo-amrwbenc" >&5 7302 $as_echo_n "checking for E_IF_init in -lvo-amrwbenc... " >&6; } 7303 if ${ac_cv_lib_vo_amrwbenc_E_IF_init+:} false; then : 7304 $as_echo_n "(cached) " >&6 7305 else 7306 ac_check_lib_save_LIBS=$LIBS 7307 LIBS="-lvo-amrwbenc $LIBS" 7308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7309 /* end confdefs.h. */ 7310 7311 /* Override any GCC internal prototype to avoid an error. 7312 Use char because int might match the return type of a GCC 7313 builtin and then its argument prototype would still apply. */ 7314 #ifdef __cplusplus 7315 extern "C" 7316 #endif 7317 char E_IF_init (); 7318 int 7319 main () 7320 { 7321 return E_IF_init (); 7322 ; 7323 return 0; 7324 } 7325 _ACEOF 7326 if ac_fn_c_try_link "$LINENO"; then : 7327 ac_cv_lib_vo_amrwbenc_E_IF_init=yes 7328 else 7329 ac_cv_lib_vo_amrwbenc_E_IF_init=no 7330 fi 7331 rm -f core conftest.err conftest.$ac_objext \ 7332 conftest$ac_exeext conftest.$ac_ext 7333 LIBS=$ac_check_lib_save_LIBS 7334 fi 7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vo_amrwbenc_E_IF_init" >&5 7336 $as_echo "$ac_cv_lib_vo_amrwbenc_E_IF_init" >&6; } 7337 if test "x$ac_cv_lib_vo_amrwbenc_E_IF_init" = xyes; then : 7338 opencore_amrwb_enc_present=1 && LIBS="$LIBS -lvo-amrwbenc" 7339 fi 7340 7341 if test "x$opencore_amrwb_enc_h_present" = "x1" -a "x$opencore_amrwb_dec_h_present" = "x1" -a "x$opencore_amrwb_enc_present" = "x1" -a "x$opencore_amrwb_dec_present" = "x1"; then 7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenCORE AMR-WB library found, AMR-WB support enabled" >&5 7343 $as_echo "OpenCORE AMR-WB library found, AMR-WB support enabled" >&6; } 7344 $as_echo "#define PJMEDIA_HAS_OPENCORE_AMRWB_CODEC 1" >>confdefs.h 7345 7346 else 7347 ac_no_opencore_amrwb=1 7348 $as_echo "#define PJMEDIA_HAS_OPENCORE_AMRWB_CODEC 0" >>confdefs.h 7349 7350 fi 7351 7203 7352 7204 7353 fi
Note: See TracChangeset
for help on using the changeset viewer.