filename | configure |
changeset | 1002:8ad76ddbdc58 |
prev | 989:7baf5ecd8e98 |
next | 1015:ad448bedc48a |
author | nkeynes |
date | Sat Apr 11 03:28:01 2009 +0000 (15 years ago) |
permissions | -rw-r--r-- |
last change | Update sh4_translate_end_block_size() to have the correct backpatch sizes (with recent changes there) |
file | annotate | diff | log | raw |
1.1 --- a/configure Sat Feb 28 06:26:48 2009 +00001.2 +++ b/configure Sat Apr 11 03:28:01 2009 +00001.3 @@ -7990,6 +7990,179 @@1.7 +{ $as_echo "$as_me:$LINENO: checking for library containing listen" >&51.8 +$as_echo_n "checking for library containing listen... " >&6; }1.9 +if test "${ac_cv_search_listen+set}" = set; then1.10 + $as_echo_n "(cached) " >&61.11 +else1.12 + ac_func_search_save_LIBS=$LIBS1.13 +cat >conftest.$ac_ext <<_ACEOF1.14 +/* confdefs.h. */1.15 +_ACEOF1.16 +cat confdefs.h >>conftest.$ac_ext1.17 +cat >>conftest.$ac_ext <<_ACEOF1.18 +/* end confdefs.h. */1.19 +1.20 +/* Override any GCC internal prototype to avoid an error.1.21 + Use char because int might match the return type of a GCC1.22 + builtin and then its argument prototype would still apply. */1.23 +#ifdef __cplusplus1.24 +extern "C"1.25 +#endif1.26 +char listen ();1.27 +int1.28 +main ()1.29 +{1.30 +return listen ();1.31 + ;1.32 + return 0;1.33 +}1.34 +_ACEOF1.35 +for ac_lib in '' socket; do1.36 + if test -z "$ac_lib"; then1.37 + ac_res="none required"1.38 + else1.39 + ac_res=-l$ac_lib1.40 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"1.41 + fi1.42 + rm -f conftest.$ac_objext conftest$ac_exeext1.43 +if { (ac_try="$ac_link"1.44 +case "(($ac_try" in1.45 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1.46 + *) ac_try_echo=$ac_try;;1.47 +esac1.48 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""1.49 +$as_echo "$ac_try_echo") >&51.50 + (eval "$ac_link") 2>conftest.er11.51 + ac_status=$?1.52 + grep -v '^ *+' conftest.er1 >conftest.err1.53 + rm -f conftest.er11.54 + cat conftest.err >&51.55 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&51.56 + (exit $ac_status); } && {1.57 + test -z "$ac_c_werror_flag" ||1.58 + test ! -s conftest.err1.59 + } && test -s conftest$ac_exeext && {1.60 + test "$cross_compiling" = yes ||1.61 + $as_test_x conftest$ac_exeext1.62 + }; then1.63 + ac_cv_search_listen=$ac_res1.64 +else1.65 + $as_echo "$as_me: failed program was:" >&51.66 +sed 's/^/| /' conftest.$ac_ext >&51.67 +1.68 +1.69 +fi1.70 +1.71 +rm -rf conftest.dSYM1.72 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \1.73 + conftest$ac_exeext1.74 + if test "${ac_cv_search_listen+set}" = set; then1.75 + break1.76 +fi1.77 +done1.78 +if test "${ac_cv_search_listen+set}" = set; then1.79 + :1.80 +else1.81 + ac_cv_search_listen=no1.82 +fi1.83 +rm conftest.$ac_ext1.84 +LIBS=$ac_func_search_save_LIBS1.85 +fi1.86 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_listen" >&51.87 +$as_echo "$ac_cv_search_listen" >&6; }1.88 +ac_res=$ac_cv_search_listen1.89 +if test "$ac_res" != no; then1.90 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"1.91 +1.92 +fi1.93 +1.94 +{ $as_echo "$as_me:$LINENO: checking for library containing inet_ntoa" >&51.95 +$as_echo_n "checking for library containing inet_ntoa... " >&6; }1.96 +if test "${ac_cv_search_inet_ntoa+set}" = set; then1.97 + $as_echo_n "(cached) " >&61.98 +else1.99 + ac_func_search_save_LIBS=$LIBS1.100 +cat >conftest.$ac_ext <<_ACEOF1.101 +/* confdefs.h. */1.102 +_ACEOF1.103 +cat confdefs.h >>conftest.$ac_ext1.104 +cat >>conftest.$ac_ext <<_ACEOF1.105 +/* end confdefs.h. */1.106 +1.107 +/* Override any GCC internal prototype to avoid an error.1.108 + Use char because int might match the return type of a GCC1.109 + builtin and then its argument prototype would still apply. */1.110 +#ifdef __cplusplus1.111 +extern "C"1.112 +#endif1.113 +char inet_ntoa ();1.114 +int1.115 +main ()1.116 +{1.117 +return inet_ntoa ();1.118 + ;1.119 + return 0;1.120 +}1.121 +_ACEOF1.122 +for ac_lib in '' nsl; do1.123 + if test -z "$ac_lib"; then1.124 + ac_res="none required"1.125 + else1.126 + ac_res=-l$ac_lib1.127 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"1.128 + fi1.129 + rm -f conftest.$ac_objext conftest$ac_exeext1.130 +if { (ac_try="$ac_link"1.131 +case "(($ac_try" in1.132 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1.133 + *) ac_try_echo=$ac_try;;1.134 +esac1.135 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""1.136 +$as_echo "$ac_try_echo") >&51.137 + (eval "$ac_link") 2>conftest.er11.138 + ac_status=$?1.139 + grep -v '^ *+' conftest.er1 >conftest.err1.140 + rm -f conftest.er11.141 + cat conftest.err >&51.142 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&51.143 + (exit $ac_status); } && {1.144 + test -z "$ac_c_werror_flag" ||1.145 + test ! -s conftest.err1.146 + } && test -s conftest$ac_exeext && {1.147 + test "$cross_compiling" = yes ||1.148 + $as_test_x conftest$ac_exeext1.149 + }; then1.150 + ac_cv_search_inet_ntoa=$ac_res1.151 +else1.152 + $as_echo "$as_me: failed program was:" >&51.153 +sed 's/^/| /' conftest.$ac_ext >&51.154 +1.155 +1.156 +fi1.157 +1.158 +rm -rf conftest.dSYM1.159 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \1.160 + conftest$ac_exeext1.161 + if test "${ac_cv_search_inet_ntoa+set}" = set; then1.162 + break1.163 +fi1.164 +done1.165 +if test "${ac_cv_search_inet_ntoa+set}" = set; then1.166 + :1.167 +else1.168 + ac_cv_search_inet_ntoa=no1.169 +fi1.170 +rm conftest.$ac_ext1.171 +LIBS=$ac_func_search_save_LIBS1.172 +fi1.173 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_inet_ntoa" >&51.174 +$as_echo "$ac_cv_search_inet_ntoa" >&6; }1.175 +ac_res=$ac_cv_search_inet_ntoa1.176 +if test "$ac_res" != no; then1.177 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"1.178 +1.179 +fi
.