2002-11-05  David Turner  <david@freetype.org>

        * include/freetype/config/ftoption.h, src/gzip/ftgzip.c: added
        support for the FT_CONFIG_OPTION_SYSTEM_ZLIB option, used to specify
        the use of system-wide zlib.

        Note that this macro, as well as FT_CONFIG_OPTION_BYTECODE_INTERPRETER,
        is not #undef-ed anymore. This allows the build system to define them
        depending on the configuration (typically by adding -D flags at
        compile time).

        * src/sfnt/ttcmap0.c (tt_face_build_cmaps): removed compiler warnings
        in optimized mode relative to the "volatile" local variables. This was
        not a compiler bug after all, but the fact that a pointer to a volatile
        variable is not the same than a volatile pointer to a variable :-)

        the fix was to change  "volatile FT_Byte*  p"
        into                   "FT_Byte* volatile  p"

        * src/pfr/pfrload.c, src/pfr/pfrdrivr.c, src/gzip/inftrees.c: removed
        compiler warnings in optimized modes

        * src/gzip/*.[hc]: modified our ZLib copy in order to prevent exporting
        any zlib function names outside of the component. This prevents linking
        problems on some platforms, when applications want to link FreeType
        _and_ ZLib together.


2002-11-05  Juliusz  <jch@pps.jussieu.fr>

        * src/psaux/psobjs.c (ps_table_add): modified increment loop in
        order to implement exponential behaviour
diff --git a/src/Jamfile b/src/Jamfile
index bbaa4b7..e4d3575 100644
--- a/src/Jamfile
+++ b/src/Jamfile
@@ -1,37 +1,17 @@
 # FreeType 2 src Jamfile (c) 2001, 2002 David Turner
 #
 
-SubDir  FT2_TOP src ;
-
-# We need to add "freetype/src" to the current include path in order to
-# compile any part of FreeType 2.
-#
-SubDirHdrs  [ FT2_SubDir  src ] ;
+SubDir  FT2_TOP $(FT2_SRC_DIR) ;
 
 # The file <freetype/internal/internal.h> is used to define macros that are
 # later used in #include statements.  It needs to be parsed in order to
 # record these definitions.
 #
-HDRMACRO  [ FT2_SubDir  include internal internal.h ] ;
+HDRMACRO  [ FT2_SubDir $(FT2_INCLUDE_DIR) internal internal.h ] ;
 
-SubInclude  FT2_TOP src gzip ;
-SubInclude  FT2_TOP src autohint ;
-SubInclude  FT2_TOP src base ;
-SubInclude  FT2_TOP src bdf ;
-SubInclude  FT2_TOP src cache ;
-SubInclude  FT2_TOP src cff ;
-SubInclude  FT2_TOP src cid ;
-SubInclude  FT2_TOP src pcf ;
-SubInclude  FT2_TOP src pfr ;
-SubInclude  FT2_TOP src psaux ;
-SubInclude  FT2_TOP src pshinter ;
-SubInclude  FT2_TOP src psnames ;
-SubInclude  FT2_TOP src raster ;
-SubInclude  FT2_TOP src sfnt ;
-SubInclude  FT2_TOP src smooth ;
-SubInclude  FT2_TOP src truetype ;
-SubInclude  FT2_TOP src type1 ;
-SubInclude  FT2_TOP src type42 ;
-SubInclude  FT2_TOP src winfonts ;
+for xx in $(FT2_COMPONENTS)
+{
+  SubInclude FT2_TOP $(FT2_SRC_DIR) $(xx) ;
+}
 
 # end of src Jamfile