1.1 --- a/configure Sat Feb 28 06:26:48 2009 +0000
1.2 +++ b/configure Wed Mar 25 12:00:29 2009 +0000
1.3 @@ -7990,6 +7990,179 @@
1.7 +{ $as_echo "$as_me:$LINENO: checking for library containing listen" >&5
1.8 +$as_echo_n "checking for library containing listen... " >&6; }
1.9 +if test "${ac_cv_search_listen+set}" = set; then
1.10 + $as_echo_n "(cached) " >&6
1.12 + ac_func_search_save_LIBS=$LIBS
1.13 +cat >conftest.$ac_ext <<_ACEOF
1.16 +cat confdefs.h >>conftest.$ac_ext
1.17 +cat >>conftest.$ac_ext <<_ACEOF
1.18 +/* end confdefs.h. */
1.20 +/* Override any GCC internal prototype to avoid an error.
1.21 + Use char because int might match the return type of a GCC
1.22 + builtin and then its argument prototype would still apply. */
1.35 +for ac_lib in '' socket; do
1.36 + if test -z "$ac_lib"; then
1.37 + ac_res="none required"
1.40 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
1.42 + rm -f conftest.$ac_objext conftest$ac_exeext
1.43 +if { (ac_try="$ac_link"
1.44 +case "(($ac_try" in
1.45 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.46 + *) ac_try_echo=$ac_try;;
1.48 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
1.49 +$as_echo "$ac_try_echo") >&5
1.50 + (eval "$ac_link") 2>conftest.er1
1.52 + grep -v '^ *+' conftest.er1 >conftest.err
1.53 + rm -f conftest.er1
1.54 + cat conftest.err >&5
1.55 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.56 + (exit $ac_status); } && {
1.57 + test -z "$ac_c_werror_flag" ||
1.58 + test ! -s conftest.err
1.59 + } && test -s conftest$ac_exeext && {
1.60 + test "$cross_compiling" = yes ||
1.61 + $as_test_x conftest$ac_exeext
1.63 + ac_cv_search_listen=$ac_res
1.65 + $as_echo "$as_me: failed program was:" >&5
1.66 +sed 's/^/| /' conftest.$ac_ext >&5
1.71 +rm -rf conftest.dSYM
1.72 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.73 + conftest$ac_exeext
1.74 + if test "${ac_cv_search_listen+set}" = set; then
1.78 +if test "${ac_cv_search_listen+set}" = set; then
1.81 + ac_cv_search_listen=no
1.83 +rm conftest.$ac_ext
1.84 +LIBS=$ac_func_search_save_LIBS
1.86 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_listen" >&5
1.87 +$as_echo "$ac_cv_search_listen" >&6; }
1.88 +ac_res=$ac_cv_search_listen
1.89 +if test "$ac_res" != no; then
1.90 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.94 +{ $as_echo "$as_me:$LINENO: checking for library containing inet_ntoa" >&5
1.95 +$as_echo_n "checking for library containing inet_ntoa... " >&6; }
1.96 +if test "${ac_cv_search_inet_ntoa+set}" = set; then
1.97 + $as_echo_n "(cached) " >&6
1.99 + ac_func_search_save_LIBS=$LIBS
1.100 +cat >conftest.$ac_ext <<_ACEOF
1.103 +cat confdefs.h >>conftest.$ac_ext
1.104 +cat >>conftest.$ac_ext <<_ACEOF
1.105 +/* end confdefs.h. */
1.107 +/* Override any GCC internal prototype to avoid an error.
1.108 + Use char because int might match the return type of a GCC
1.109 + builtin and then its argument prototype would still apply. */
1.110 +#ifdef __cplusplus
1.113 +char inet_ntoa ();
1.117 +return inet_ntoa ();
1.122 +for ac_lib in '' nsl; do
1.123 + if test -z "$ac_lib"; then
1.124 + ac_res="none required"
1.127 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
1.129 + rm -f conftest.$ac_objext conftest$ac_exeext
1.130 +if { (ac_try="$ac_link"
1.131 +case "(($ac_try" in
1.132 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.133 + *) ac_try_echo=$ac_try;;
1.135 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
1.136 +$as_echo "$ac_try_echo") >&5
1.137 + (eval "$ac_link") 2>conftest.er1
1.139 + grep -v '^ *+' conftest.er1 >conftest.err
1.140 + rm -f conftest.er1
1.141 + cat conftest.err >&5
1.142 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.143 + (exit $ac_status); } && {
1.144 + test -z "$ac_c_werror_flag" ||
1.145 + test ! -s conftest.err
1.146 + } && test -s conftest$ac_exeext && {
1.147 + test "$cross_compiling" = yes ||
1.148 + $as_test_x conftest$ac_exeext
1.150 + ac_cv_search_inet_ntoa=$ac_res
1.152 + $as_echo "$as_me: failed program was:" >&5
1.153 +sed 's/^/| /' conftest.$ac_ext >&5
1.158 +rm -rf conftest.dSYM
1.159 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.160 + conftest$ac_exeext
1.161 + if test "${ac_cv_search_inet_ntoa+set}" = set; then
1.165 +if test "${ac_cv_search_inet_ntoa+set}" = set; then
1.168 + ac_cv_search_inet_ntoa=no
1.170 +rm conftest.$ac_ext
1.171 +LIBS=$ac_func_search_save_LIBS
1.173 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_inet_ntoa" >&5
1.174 +$as_echo "$ac_cv_search_inet_ntoa" >&6; }
1.175 +ac_res=$ac_cv_search_inet_ntoa
1.176 +if test "$ac_res" != no; then
1.177 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"