Changeset 4721 for pjproject/trunk
- Timestamp:
- Jan 29, 2014 10:08:28 AM (11 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r4701 r4721 2225 2225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2226 2226 as_fn_error $? "failed to load site script $ac_site_file 2227 See \`config.log' for more details" "$LINENO" 5 ; }2227 See \`config.log' for more details" "$LINENO" 5 ; } 2228 2228 fi 2229 2229 done … … 2368 2368 case $ac_cv_build in 2369 2369 *-*-*) ;; 2370 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;2370 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; 2371 2371 esac 2372 2372 build=$ac_cv_build … … 2401 2401 case $ac_cv_host in 2402 2402 *-*-*) ;; 2403 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;2403 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; 2404 2404 esac 2405 2405 host=$ac_cv_host … … 2434 2434 case $ac_cv_target in 2435 2435 *-*-*) ;; 2436 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;;2436 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;; 2437 2437 esac 2438 2438 target=$ac_cv_target … … 2771 2771 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2772 2772 as_fn_error $? "no acceptable C compiler found in \$PATH 2773 See \`config.log' for more details" "$LINENO" 5 ; }2773 See \`config.log' for more details" "$LINENO" 5 ; } 2774 2774 2775 2775 # Provide some information about the compiler. … … 2886 2886 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2887 2887 as_fn_error 77 "C compiler cannot create executables 2888 See \`config.log' for more details" "$LINENO" 5 ; }2888 See \`config.log' for more details" "$LINENO" 5 ; } 2889 2889 else 2890 2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 … … 2929 2929 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2930 2930 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2931 See \`config.log' for more details" "$LINENO" 5 ; }2931 See \`config.log' for more details" "$LINENO" 5 ; } 2932 2932 fi 2933 2933 rm -f conftest conftest$ac_cv_exeext … … 2988 2988 as_fn_error $? "cannot run C compiled programs. 2989 2989 If you meant to cross compile, use \`--host'. 2990 See \`config.log' for more details" "$LINENO" 5 ; }2990 See \`config.log' for more details" "$LINENO" 5 ; } 2991 2991 fi 2992 2992 fi … … 3040 3040 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3041 3041 as_fn_error $? "cannot compute suffix of object files: cannot compile 3042 See \`config.log' for more details" "$LINENO" 5 ; }3042 See \`config.log' for more details" "$LINENO" 5 ; } 3043 3043 fi 3044 3044 rm -f conftest.$ac_cv_objext conftest.$ac_ext … … 4095 4095 fi 4096 4096 4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&54098 $as_echo_n "checking for puts in -lnsl... " >&6; }4099 if ${ac_cv_lib_nsl_puts+:} false; then :4100 $as_echo_n "(cached) " >&64101 else4102 ac_check_lib_save_LIBS=$LIBS4103 LIBS="-lnsl $LIBS"4104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext4105 /* end confdefs.h. */4106 4107 /* Override any GCC internal prototype to avoid an error.4108 Use char because int might match the return type of a GCC4109 builtin and then its argument prototype would still apply. */4110 #ifdef __cplusplus4111 extern "C"4112 #endif4113 char puts ();4114 int4115 main ()4116 {4117 return puts ();4118 ;4119 return 0;4120 }4121 _ACEOF4122 if ac_fn_c_try_link "$LINENO"; then :4123 ac_cv_lib_nsl_puts=yes4124 else4125 ac_cv_lib_nsl_puts=no4126 fi4127 rm -f core conftest.err conftest.$ac_objext \4128 conftest$ac_exeext conftest.$ac_ext4129 LIBS=$ac_check_lib_save_LIBS4130 fi4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&54132 $as_echo "$ac_cv_lib_nsl_puts" >&6; }4133 if test "x$ac_cv_lib_nsl_puts" = xyes; then :4134 cat >>confdefs.h <<_ACEOF4135 #define HAVE_LIBNSL 14136 _ACEOF4137 4138 LIBS="-lnsl $LIBS"4139 4140 fi4141 4142 4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5 4143 4098 $as_echo_n "checking for sin in -lm... " >&6; } … … 4268 4223 if test "x$ac_cv_lib_uuid_uuid_generate" = xyes; then : 4269 4224 ac_has_uuid_lib=1 4225 fi 4226 4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 4228 $as_echo_n "checking for library containing gethostbyname... " >&6; } 4229 if ${ac_cv_search_gethostbyname+:} false; then : 4230 $as_echo_n "(cached) " >&6 4231 else 4232 ac_func_search_save_LIBS=$LIBS 4233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4234 /* end confdefs.h. */ 4235 4236 /* Override any GCC internal prototype to avoid an error. 4237 Use char because int might match the return type of a GCC 4238 builtin and then its argument prototype would still apply. */ 4239 #ifdef __cplusplus 4240 extern "C" 4241 #endif 4242 char gethostbyname (); 4243 int 4244 main () 4245 { 4246 return gethostbyname (); 4247 ; 4248 return 0; 4249 } 4250 _ACEOF 4251 for ac_lib in '' nsl; do 4252 if test -z "$ac_lib"; then 4253 ac_res="none required" 4254 else 4255 ac_res=-l$ac_lib 4256 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4257 fi 4258 if ac_fn_c_try_link "$LINENO"; then : 4259 ac_cv_search_gethostbyname=$ac_res 4260 fi 4261 rm -f core conftest.err conftest.$ac_objext \ 4262 conftest$ac_exeext 4263 if ${ac_cv_search_gethostbyname+:} false; then : 4264 break 4265 fi 4266 done 4267 if ${ac_cv_search_gethostbyname+:} false; then : 4268 4269 else 4270 ac_cv_search_gethostbyname=no 4271 fi 4272 rm conftest.$ac_ext 4273 LIBS=$ac_func_search_save_LIBS 4274 fi 4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5 4276 $as_echo "$ac_cv_search_gethostbyname" >&6; } 4277 ac_res=$ac_cv_search_gethostbyname 4278 if test "$ac_res" != no; then : 4279 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 4280 4270 4281 fi 4271 4282 … … 4424 4435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4425 4436 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4426 See \`config.log' for more details" "$LINENO" 5 ; }4437 See \`config.log' for more details" "$LINENO" 5 ; } 4427 4438 fi 4428 4439 … … 4914 4925 *) 4915 4926 as_fn_error $? "unknown endianness 4916 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;4927 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 4917 4928 esac 4918 4929 … … 7090 7101 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7091 7102 as_fn_error $? "Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly, run with --help for more info 7092 See \`config.log' for more details" "$LINENO" 5 ; }7103 See \`config.log' for more details" "$LINENO" 5 ; } 7093 7104 fi 7094 7105 rm -f core conftest.err conftest.$ac_objext \ … … 7146 7157 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7147 7158 as_fn_error $? "Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 7148 See \`config.log' for more details" "$LINENO" 5 ; }7159 See \`config.log' for more details" "$LINENO" 5 ; } 7149 7160 fi 7150 7161 else … … 7152 7163 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7153 7164 as_fn_error $? "unable to find $IPPSAMPLES/speech-codecs/bin/*gcc*/lib or $IPPSAMPLES/speech-codecs/_bin/*gcc*/lib directory. Have you built the samples? 7154 See \`config.log' for more details" "$LINENO" 5 ; }7165 See \`config.log' for more details" "$LINENO" 5 ; } 7155 7166 fi 7156 7167 … … 7160 7171 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7161 7172 as_fn_error $? "There's something wrong with this script, directory $IPPSAMP_DIR does not exist 7162 See \`config.log' for more details" "$LINENO" 5 ; }7173 See \`config.log' for more details" "$LINENO" 5 ; } 7163 7174 exit 1; 7164 7175 fi … … 7174 7185 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7175 7186 as_fn_error $? "bug in this script: unsupported IPP version 7176 See \`config.log' for more details" "$LINENO" 5 ; }7187 See \`config.log' for more details" "$LINENO" 5 ; } 7177 7188 fi 7178 7189 … … 7181 7192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7182 7193 as_fn_error $? "$IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 7183 See \`config.log' for more details" "$LINENO" 5 ; }7194 See \`config.log' for more details" "$LINENO" 5 ; } 7184 7195 fi 7185 7196 … … 7217 7228 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7218 7229 as_fn_error $? "failed 7219 See \`config.log' for more details" "$LINENO" 5 ; }7230 See \`config.log' for more details" "$LINENO" 5 ; } 7220 7231 fi 7221 7232 rm -f core conftest.err conftest.$ac_objext \ … … 7515 7526 7516 7527 ac_fn_c_check_header_mongrel "$LINENO" "vo-amrwbenc/enc_if.h" "ac_cv_header_vo_amrwbenc_enc_if_h" "$ac_includes_default" 7517 if test "x$ac_cv_header_vo_amrwbenc_enc_if_h" = x ""yes; then :7528 if test "x$ac_cv_header_vo_amrwbenc_enc_if_h" = xyes; then : 7518 7529 opencore_amrwb_enc_h_present=1 7519 7530 fi … … 7521 7532 7522 7533 ac_fn_c_check_header_mongrel "$LINENO" "opencore-amrwb/dec_if.h" "ac_cv_header_opencore_amrwb_dec_if_h" "$ac_includes_default" 7523 if test "x$ac_cv_header_opencore_amrwb_dec_if_h" = x ""yes; then :7534 if test "x$ac_cv_header_opencore_amrwb_dec_if_h" = xyes; then : 7524 7535 opencore_amrwb_dec_h_present=1 7525 7536 fi … … 7528 7539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for D_IF_init in -lopencore-amrwb" >&5 7529 7540 $as_echo_n "checking for D_IF_init in -lopencore-amrwb... " >&6; } 7530 if test "${ac_cv_lib_opencore_amrwb_D_IF_init+set}" = set; then :7541 if ${ac_cv_lib_opencore_amrwb_D_IF_init+:} false; then : 7531 7542 $as_echo_n "(cached) " >&6 7532 7543 else … … 7562 7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_opencore_amrwb_D_IF_init" >&5 7563 7574 $as_echo "$ac_cv_lib_opencore_amrwb_D_IF_init" >&6; } 7564 if test "x$ac_cv_lib_opencore_amrwb_D_IF_init" = x ""yes; then :7575 if test "x$ac_cv_lib_opencore_amrwb_D_IF_init" = xyes; then : 7565 7576 opencore_amrwb_dec_present=1 && LIBS="$LIBS -lopencore-amrwb" 7566 7577 fi … … 7568 7579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for E_IF_init in -lvo-amrwbenc" >&5 7569 7580 $as_echo_n "checking for E_IF_init in -lvo-amrwbenc... " >&6; } 7570 if test "${ac_cv_lib_vo_amrwbenc_E_IF_init+set}" = set; then :7581 if ${ac_cv_lib_vo_amrwbenc_E_IF_init+:} false; then : 7571 7582 $as_echo_n "(cached) " >&6 7572 7583 else … … 7602 7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vo_amrwbenc_E_IF_init" >&5 7603 7614 $as_echo "$ac_cv_lib_vo_amrwbenc_E_IF_init" >&6; } 7604 if test "x$ac_cv_lib_vo_amrwbenc_E_IF_init" = x ""yes; then :7615 if test "x$ac_cv_lib_vo_amrwbenc_E_IF_init" = xyes; then : 7605 7616 opencore_amrwb_enc_present=1 && LIBS="$LIBS -lvo-amrwbenc" 7606 7617 fi … … 7661 7672 7662 7673 ac_fn_c_check_header_mongrel "$LINENO" "SKP_Silk_SDK_API.h" "ac_cv_header_SKP_Silk_SDK_API_h" "$ac_includes_default" 7663 if test "x$ac_cv_header_SKP_Silk_SDK_API_h" = x ""yes; then :7674 if test "x$ac_cv_header_SKP_Silk_SDK_API_h" = xyes; then : 7664 7675 silk_h_present=1 7665 7676 fi … … 7668 7679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SKP_Silk_SDK_get_version in -lSKP_SILK_SDK" >&5 7669 7680 $as_echo_n "checking for SKP_Silk_SDK_get_version in -lSKP_SILK_SDK... " >&6; } 7670 if test "${ac_cv_lib_SKP_SILK_SDK_SKP_Silk_SDK_get_version+set}" = set; then :7681 if ${ac_cv_lib_SKP_SILK_SDK_SKP_Silk_SDK_get_version+:} false; then : 7671 7682 $as_echo_n "(cached) " >&6 7672 7683 else … … 7702 7713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SKP_SILK_SDK_SKP_Silk_SDK_get_version" >&5 7703 7714 $as_echo "$ac_cv_lib_SKP_SILK_SDK_SKP_Silk_SDK_get_version" >&6; } 7704 if test "x$ac_cv_lib_SKP_SILK_SDK_SKP_Silk_SDK_get_version" = x ""yes; then :7715 if test "x$ac_cv_lib_SKP_SILK_SDK_SKP_Silk_SDK_get_version" = xyes; then : 7705 7716 silk_present=1 && LIBS="$LIBS -lSKP_SILK_SDK" 7706 7717 fi … … 8529 8540 "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 8530 8541 8531 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;8542 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 8532 8543 esac 8533 8544 done … … 8846 8857 case $ac_mode$ac_tag in 8847 8858 :[FHL]*:*);; 8848 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;8859 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 8849 8860 :[FH]-) ac_tag=-:-;; 8850 8861 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 8874 8885 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 8875 8886 esac || 8876 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;8887 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 8877 8888 esac 8878 8889 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac … … 8901 8912 case $ac_tag in 8902 8913 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 8903 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;8914 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 8904 8915 esac 8905 8916 ;; -
pjproject/trunk/aconfigure.ac
r4701 r4721 114 114 AC_CHECK_LIB(socket,puts) 115 115 AC_CHECK_LIB(rt,puts) 116 AC_CHECK_LIB(nsl,puts)117 116 AC_CHECK_LIB(m,sin) 118 117 AC_CHECK_LIB(uuid,uuid_generate) 119 118 AC_CHECK_LIB(uuid,uuid_generate,[ac_has_uuid_lib=1]) 119 AC_SEARCH_LIBS(gethostbyname,nsl) 120 120 121 121 AC_MSG_RESULT([Setting PJ_M_NAME to $target_cpu])
Note: See TracChangeset
for help on using the changeset viewer.