I just skimmed through this, but to me if I'm following, it would include
them all, now the order would only matter for redefs, but the question is,
does it need both, or only expect one? Are there #ifdef or #ifndef
statements? maybe the freetype stuff should be #ifdef HAVE_FREETYPE2 blah
#else include freetype. Bare in mind I haven't looked at the code, but
this would be my guess based on what i gathered from what you wrote
Jean-Francois. So in conclusion, the point being that freetype and
freetype2 are either not really able to co exist or is it mozilla that
should be choosing one or the other? I suppose I should have a look at
the code and maybe I'll do that if I have time today.
[EMAIL PROTECTED] writes:
>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 ?
�.��^`�.,][JFH][`�.,��.��][JFH][�.��^`�.,
Justin F. Hallett - Systems Analyst
Phone: (780)-408-3094
Fax: (780)-454-3200
E-Mail: [EMAIL PROTECTED]
.��^`�.,][JFH][`�.,��.��][JFH][�.��^`�.,
_______________________________________________________________
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