[Lcdproc] [patch] hd44780 FTDI USB support

Peter Marschall peter@adpm.de
Sat Nov 10 19:12:01 2007


Hi,

On Monday, 5. November 2007, Thomas Jarosch wrote:
> On Sunday, 4. November 2007, Markus Dolze wrote:
> > The hd44780-ftdi driver fails to compile. I think it is because it is
> > missing the local includes. However, the config.log shows that
> > LIBFTDI_CFLAGS and _LIBS are set correctly.
> >
> > I really don't understand what autotools are doing here, because e.g.
> > for hd44780-lcd2usb (just one line above) the LIBUSB_CFLAGS are set
> > correctly. Shouln't the _CFLAGS be the same for all hd44780 drivers?
>
> I'm able to reproduce this if I move ftdi.h somewhere else
> and adjust the /usr/lib/pkgconfig/libftdi.pc file accordingly.
>
> For some unknown reason hd44780_CFLAGS is ignored for hd44780-ftdi.c,
> only AM_CFLAGS is used. I tried to debug it for a while now and found
> the cause of this. The same "problem" is also true for the i2c driver.

Committed to CVS

Thanks for supporting LCDproc
Peter

-- 
Peter Marschall
peter@adpm.de