libftdi Archives

Subject: Re: [patch] fix compile with boost

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Mon, 03 Jun 2013 09:22:31 +0200
Hi John,

On Tuesday, 28. May 2013 07:48:17 John Hein wrote:
> Do you mean the build should use its own in-tree copy of libftdipp.pc
> to set -I flags when building libftdi itself?
> 
> libftdipp.pc.in would have to be modified to include -I flags for
> boost, but I can't think of a great way to have autoconf use
> pkg-config to look for the in-tree .pc file at the moment.  Is there a
> simple autoconf-ish way to do that? Seems much easier to just include
> BOOST_CPPFLAGS in Makefile.am.
> 
> Modifying libftdipp.pc.in to include -I /path/to/boost/include
> certainly seems reasonable for consumers of libftdi that might include
> ftdi.hpp (which currently requires boost).

ah sorry, scrap my idea, you are right about the _in-tree_ check.
Also your patch is for Makefile.am which is no longer part
of libftdi 1.x. We completely switched to cmake.

Since your patch does not hurt, I've applied it to libftdi 0.x.

Thanks,
Thomas


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread