Re: [PATCH] Use pkg-config to find freetype/fontconfig flags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2008-03-08 at 19:12 +0100, Clemens Kirchgatterer wrote:
> Klaus Schmidinger <Klaus.Schmidinger@xxxxxxxxxx> 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@xxxxxxxxxxx
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
> 



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

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux