On Friday, May 17, 2002, at 03:25 , Alexander Hansen wrote:

> I've built and run mozilla 1.0rc2-1.  I _don't_ have freetype installed,
> but do have freetype2, as you can see by the following:
>
> [ldx3:/sw/src] hansen% fink list freetype
> Information about 1108 packages read in 1 seconds.
>     freetype        1.3.1-5     TrueType font rendering library, 
> version 1
>     freetype-bin    1.3.1-5     TrueType font rendering library, 
> version 1
>     freetype-hintin 1.3.1-5     TrueType font rendering library, version
> 1,...
>     freetype-hintin 1.3.1-5     TrueType font rendering library, version
> 1,...
>     freetype-hintin 1.3.1-5     TrueType font rendering library, version
> 1,...
>     freetype-shlibs 1.3.1-5     TrueType font rendering library, 
> version 1
>  i  freetype2       2.0.8-4     TrueType font rendering library, 
> version 2
>  i  freetype2-shlib 2.0.8-4     TrueType font rendering library, version
> 2,...
> [ldx3:/sw/src] hansen%
>
> Let's add this to the mix.
>
freetype(-hinting) installs /sw/include/freetype/freetype.h
while freetype2 installs /sw/include/freetype2/freetype/freetype.h

In the c++ statement in question , the flag  -I/sw/include comes first
(after those in the build-dir),  and only later -I/sw/include/freetype2.

ftglyph.h includes first ft2build.h (/sw/include/freetype2/ft2build.h),
which itself includes  /sw/include/freetype2/freetype/config/ftheader.h,
and there :
#define FT_FREETYPE_H  <freetype/freetype.h>
Next  in ftglyph.h one sees:
#include FT_FREETYPE_H
which, given the ordering of the flags, will include  
/sw/include/freetype/freetype.h,
i.e. the header file from freetype(-hinting) and not that from 
freetype2....


Correct ?

Jean-Francois


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to