[Lcdproc] No configure warning if no pkg-config
Peter Marschall
peter at adpm.de
Wed Oct 29 01:59:06 CST 2008
Hi Eric,
On Monday, 29. September 2008, epooch at cox.net wrote:
> I experienced a problem this weekend while trying to compile libusb
> dependent drivers in lcdproc. Previously, I did not have any problems
> compiling these drivers. The problem is that if pkg-config is not
> installed, the configuration proceeds with no warnings or errors, even if
> libusb is explicitly enabled. There is no indication of a problem or what
> it is until the complier gives warnings about certain drivers needing
> libusb. However, because I was only compiling the HD44780 USB drivers,
> there wasn't even a compiler warning! My USB HD44780 driver just would not
> get compiled. There is no documentation about requiring pkg-config for
> libusb in either INSTALL or CHANGES I may make a patch, but I wanted to
> make sure this was mentioned on the list in case anybody else has the same
> problem. The solution is simple- just install pkg-config and set the
> relevant environment variable to its path. This was a problem in Mac OS X
> 10.4.8 where pkg-config is not installed by the development tools. Thanks
I have committed a patch to LCDproc's CVS a few days ago tht should fx this
issue.
The fix works by checking whether the PKG_CHECK_MODULES macros is defined
and it throws a warning when it isn't.
Yould you mind to give it a test
Regards
Peter
--
Peter Marschall
peter at adpm.de
More information about the LCDproc
mailing list