Sorry for causing problems with lrint. It seemed sensible to use an existing
rounding/conversion routine rather than rolling our own. I didn't realize
we'd need to bring in a whole new library with it.

Paul

On Sat, May 10, 2008 at 7:16 PM, Doug Collinge <[EMAIL PROTECTED]>
wrote:

> I only used that for a quick fix to a problem connected with the 1821
> returning negative temperatures and causing a crash.  I agree that it's not
> worth creating a dependency for so I would be happy to code it into the 1821
> support if you give me a few days to code and test.
>
> On Sat, May 10, 2008 at 1:00 PM, Christian Magnusson <[EMAIL PROTECTED]> 
> wrote:
>
>>
>>
>> We have to make some more changes in configure.ac after lrint() is used
>> in ow_1821.c. This function is located in libm.so, and this is the first
>> dependency to this library.
>>
>> I think it's a waste of memory to add a new dynamic library if we only use
>> one single function in it from owlib…. Especially on the embedded systems.
>>
>>
>>
>> Anyway… the dependency could be added with this row in configure.ac.
>>
>> AC_SEARCH_LIBS(lrint, m, AC_DEFINE(HAVE_LRINT, 1, [Define if you have
>> lrint]))
>>
>>
>>
>> I have added some changes in the CVS to make this check.
>>
>>
>>
>> /Christian
>>
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>> Don't miss this year's exciting event. There's still time to save $100.
>> Use priority code J8TL2D2.
>>
>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>> _______________________________________________
>> Owfs-developers mailing list
>> Owfs-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>
>>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
>
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to