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

Arjen de Korte nut+devel at de-korte.org
Fri Mar 9 09:35:44 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.

This change adds what Peter suggested to you on ups-users:

http://lists.alioth.debian.org/pipermail/nut-upsuser/2007-March/002423.html

>From the remainder of the thread, I concluded (maybe in error) that this
change solved the problem of missing libraries.

Best regards,
Arjen
-- 
Eindhoven - The Netherlands
Key fingerprint - 66 4E 03 2C 9D B5 CB 9B  7A FE 7E C1 EE 88 BC 57




More information about the Nut-upsdev mailing list