libresolv and freebsd

From: Kinkie <gkinkie_at_gmail.com>
Date: Mon, 16 Nov 2009 12:07:26 +0100

In configure.in there is something like this:

 if test $ac_cv_lib_bind_gethostbyname = "no" ; then
     case "$host" in
        i386-*-freebsd*)
                AC_MSG_NOTICE([skipping libresolv checks for $host])
                ;;
        *)
               AC_CHECK_LIB(resolv, main)
                ;;
     esac
 fi

I fail to see what's the point in skipping this test.
I'd expect to get the same result with a simple(r)

AC_SEARCH_LIBS([gethostbyname],[bind resolv])

See my other request on moving form AC_CHECK_LIB to AC_SEARCH_LIBS.

Thanks for any input.

-- 
    /kinkie
Received on Mon Nov 16 2009 - 11:07:34 MST

This archive was generated by hypermail 2.2.0 : Mon Nov 16 2009 - 12:00:06 MST