[Lcdproc] lis pthreads patch [was lis driver fails to compile]
Markus Dolze
bsdfan@nurfuerspam.de
Mon Nov 5 22:27:01 2007
Markus Dolze wrote:
> Daryl F wrote:
>
>> Peter,
>>
>> Here's the patch for the lis driver. It now uses pthread_create() and
>> is hopefully portable to non-Linux kernels.
>>
>> In adding another library test for autoconf I found the logic for
>> checking for libftdi and libusb wasn't quite right either. Now it
>> checks for all three and ensures that the version of libftdi with
>> ftdi_setdtr() is available. This also fixes the minor annoyance of
>> configure saying it will build the lis driver twice.
>>
>> Thanks to Rene Wagner for your help with this.
>>
>> Regards,
>> Daryl
>>
> Hello,
>
> I updated the patch to match current CVS. It compiles fine on FreeBSD.
Hi again,
unfortunately I was a little bit too fast. The patch applies cleanly,
but the changes to acinclude.m4 don't detect libusb and libftdi properly
and therefore the lis driver is not built at all. I think converting it
to the pkg-config thing will probably work.
Regards
Markus Dolze