On Sat, 2008-03-08 at 19:12 +0100, Clemens Kirchgatterer wrote:
> Klaus Schmidinger <[EMAIL PROTECTED]> wrote:
> 
> > I still believe, though, that freetype2's include files are broken.
> > A simple '#include <freetype2.h>' should be enough. If their header
> > file(s) would behave like the rest, we wouldn't have this discussion.
> 
> no. pkg-config and freetype-config have absolutly nothing to do with
> that. i think nearly every "obtional" library has one of these to
> provide a way to find them at compile and link time. please see the
> output of: ls /usr/bin/*-config

I don't know make's syntax, but why not do something like:

in shell:
$(freetype-config 2>/dev/null --cflags || echo /usr/include/freetype3)


As I said I don't know make's config but it might be:
$(shell freetype-config 2>/dev/null --cflags || echo /usr/include/freetype3)

> clemens
> 
> _______________________________________________
> vdr mailing list
> vdr@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
> 



_______________________________________________
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

Reply via email to