[Nut-upsdev] Re: [nut-commits] svn commit r849 - trunk

Charles Lepple clepple at gmail.com
Thu Mar 8 20:46:59 CET 2007


On 3/8/07, Arjen de Korte <adkorte-guest at alioth.debian.org> wrote:
> --- trunk/configure.in  (original)
> +++ trunk/configure.in  Thu Mar  8 18:56:52 2007
> @@ -128,13 +128,8 @@
>  AC_CHECK_FUNCS(connect)
>
>  if ( test "${ac_cv_func_connect}" = "no" ); then
> -       AC_CHECK_LIB(nsl, printf, [
> -               NETLIBS="-lnsl"
> -       ], [], [])
> -
> -       AC_CHECK_LIB(socket, printf, [
> -               NETLIBS="${NETLIBS} -lsocket"
> -       ], [], [])
> +       AC_CHECK_LIB(nsl, gethostbyname)
> +       AC_CHECK_LIB(socket, connect)
>  fi

Arjen,

have you had a chance to test this on Solaris? My gut reaction is that
this will either add all the networking libraries to drivers, or it
will not do anything other than check for the library and print a
message.

-- 
- Charles Lepple



More information about the Nut-upsdev mailing list