[haiku-commits] r40531 - in haiku/vendor/freetype2/current: . builds/amiga/src/base builds/unix builds/vms builds/win32/vc2005 ...

  • From: korli@xxxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 16 Feb 2011 18:30:32 +0100 (CET)

Author: korli
Date: 2011-02-16 18:30:31 +0100 (Wed, 16 Feb 2011)
New Revision: 40531
Changeset: http://dev.haiku-os.org/changeset/40531

Modified:
   haiku/vendor/freetype2/current/ChangeLog
   haiku/vendor/freetype2/current/Jamfile
   haiku/vendor/freetype2/current/README
   haiku/vendor/freetype2/current/builds/amiga/src/base/ftsystem.c
   haiku/vendor/freetype2/current/builds/unix/configure
   haiku/vendor/freetype2/current/builds/unix/configure.ac
   haiku/vendor/freetype2/current/builds/unix/configure.raw
   haiku/vendor/freetype2/current/builds/vms/ftsystem.c
   haiku/vendor/freetype2/current/builds/win32/vc2005/freetype.vcproj
   haiku/vendor/freetype2/current/builds/win32/vc2005/index.html
   haiku/vendor/freetype2/current/builds/win32/vc2008/freetype.vcproj
   haiku/vendor/freetype2/current/builds/win32/vc2008/index.html
   haiku/vendor/freetype2/current/builds/win32/visualc/freetype.dsp
   haiku/vendor/freetype2/current/builds/win32/visualc/freetype.vcproj
   haiku/vendor/freetype2/current/builds/win32/visualc/index.html
   haiku/vendor/freetype2/current/builds/win32/visualce/freetype.dsp
   haiku/vendor/freetype2/current/builds/win32/visualce/freetype.vcproj
   haiku/vendor/freetype2/current/builds/win32/visualce/index.html
   haiku/vendor/freetype2/current/builds/wince/vc2005-ce/freetype.vcproj
   haiku/vendor/freetype2/current/builds/wince/vc2005-ce/index.html
   haiku/vendor/freetype2/current/builds/wince/vc2008-ce/freetype.vcproj
   haiku/vendor/freetype2/current/builds/wince/vc2008-ce/index.html
   haiku/vendor/freetype2/current/configure
   haiku/vendor/freetype2/current/docs/CHANGES
   haiku/vendor/freetype2/current/docs/INSTALL.UNIX
   haiku/vendor/freetype2/current/docs/VERSION.DLL
   haiku/vendor/freetype2/current/docs/reference/ft2-base_interface.html
   haiku/vendor/freetype2/current/docs/reference/ft2-basic_types.html
   haiku/vendor/freetype2/current/docs/reference/ft2-bdf_fonts.html
   haiku/vendor/freetype2/current/docs/reference/ft2-bitmap_handling.html
   haiku/vendor/freetype2/current/docs/reference/ft2-cache_subsystem.html
   haiku/vendor/freetype2/current/docs/reference/ft2-cid_fonts.html
   haiku/vendor/freetype2/current/docs/reference/ft2-computations.html
   haiku/vendor/freetype2/current/docs/reference/ft2-font_formats.html
   haiku/vendor/freetype2/current/docs/reference/ft2-gasp_table.html
   haiku/vendor/freetype2/current/docs/reference/ft2-glyph_management.html
   haiku/vendor/freetype2/current/docs/reference/ft2-glyph_stroker.html
   haiku/vendor/freetype2/current/docs/reference/ft2-glyph_variants.html
   haiku/vendor/freetype2/current/docs/reference/ft2-gx_validation.html
   haiku/vendor/freetype2/current/docs/reference/ft2-gzip.html
   haiku/vendor/freetype2/current/docs/reference/ft2-header_file_macros.html
   haiku/vendor/freetype2/current/docs/reference/ft2-incremental.html
   haiku/vendor/freetype2/current/docs/reference/ft2-index.html
   haiku/vendor/freetype2/current/docs/reference/ft2-lcd_filtering.html
   haiku/vendor/freetype2/current/docs/reference/ft2-list_processing.html
   haiku/vendor/freetype2/current/docs/reference/ft2-lzw.html
   haiku/vendor/freetype2/current/docs/reference/ft2-mac_specific.html
   haiku/vendor/freetype2/current/docs/reference/ft2-module_management.html
   haiku/vendor/freetype2/current/docs/reference/ft2-multiple_masters.html
   haiku/vendor/freetype2/current/docs/reference/ft2-ot_validation.html
   haiku/vendor/freetype2/current/docs/reference/ft2-outline_processing.html
   haiku/vendor/freetype2/current/docs/reference/ft2-pfr_fonts.html
   haiku/vendor/freetype2/current/docs/reference/ft2-quick_advance.html
   haiku/vendor/freetype2/current/docs/reference/ft2-raster.html
   haiku/vendor/freetype2/current/docs/reference/ft2-sfnt_names.html
   haiku/vendor/freetype2/current/docs/reference/ft2-sizes_management.html
   haiku/vendor/freetype2/current/docs/reference/ft2-system_interface.html
   haiku/vendor/freetype2/current/docs/reference/ft2-toc.html
   haiku/vendor/freetype2/current/docs/reference/ft2-truetype_engine.html
   haiku/vendor/freetype2/current/docs/reference/ft2-truetype_tables.html
   haiku/vendor/freetype2/current/docs/reference/ft2-type1_tables.html
   haiku/vendor/freetype2/current/docs/reference/ft2-user_allocation.html
   haiku/vendor/freetype2/current/docs/reference/ft2-version.html
   haiku/vendor/freetype2/current/docs/reference/ft2-winfnt_fonts.html
   haiku/vendor/freetype2/current/include/freetype/freetype.h
   haiku/vendor/freetype2/current/include/freetype/ftcache.h
   haiku/vendor/freetype2/current/src/base/ftbase.h
   haiku/vendor/freetype2/current/src/base/ftdbgmem.c
   haiku/vendor/freetype2/current/src/base/ftobjs.c
   haiku/vendor/freetype2/current/src/base/ftrfork.c
   haiku/vendor/freetype2/current/src/base/ftsystem.c
   haiku/vendor/freetype2/current/src/cache/ftcbasic.c
   haiku/vendor/freetype2/current/src/cache/ftccache.c
   haiku/vendor/freetype2/current/src/cache/ftccache.h
   haiku/vendor/freetype2/current/src/cache/ftccmap.c
   haiku/vendor/freetype2/current/src/cache/ftcglyph.c
   haiku/vendor/freetype2/current/src/cache/ftcglyph.h
   haiku/vendor/freetype2/current/src/cache/ftcmanag.h
   haiku/vendor/freetype2/current/src/psaux/t1decode.c
   haiku/vendor/freetype2/current/src/raster/ftraster.c
   haiku/vendor/freetype2/current/src/sfnt/sfobjs.c
   haiku/vendor/freetype2/current/src/sfnt/ttload.c
   haiku/vendor/freetype2/current/src/sfnt/ttpost.c
   haiku/vendor/freetype2/current/src/smooth/ftgrays.c
   haiku/vendor/freetype2/current/src/truetype/ttgxvar.c
   haiku/vendor/freetype2/current/src/truetype/ttinterp.c
   haiku/vendor/freetype2/current/src/truetype/ttobjs.c
   haiku/vendor/freetype2/current/src/truetype/ttpload.c
   haiku/vendor/freetype2/current/src/type1/t1load.c
Log:
update to 2.4.4


Modified: haiku/vendor/freetype2/current/ChangeLog
===================================================================
--- haiku/vendor/freetype2/current/ChangeLog    2011-02-16 15:36:05 UTC (rev 
40530)
+++ haiku/vendor/freetype2/current/ChangeLog    2011-02-16 17:30:31 UTC (rev 
40531)
@@ -1,3 +1,337 @@
+2010-11-28  Werner Lemberg  <wl@xxxxxxx>
+
+       * Version 2.4.4 released.
+       =========================
+
+
+       Tag sources with `VER-2-4-4'.
+
+       * docs/CHANGES: Updated.
+
+       * docs/VERSION.DLL: Update documentation and bump version number to
+       2.4.4
+
+       * README, Jamfile (RefDoc),
+       builds/win32/vc2005/freetype.vcproj, builds/win32/vc2005/index.html,
+       builds/win32/vc2008/freetype.vcproj, builds/win32/vc2008/index.html,
+       builds/win32/visualc/freetype.dsp,
+       builds/win32/visualc/freetype.vcproj,
+       builds/win32/visualc/index.html, builds/win32/visualce/freetype.dsp,
+       builds/win32/visualce/freetype.vcproj,
+       builds/win32/visualce/index.html,
+       builds/wince/vc2005-ce/freetype.vcproj,
+       builds/wince/vc2005-ce/index.html,
+       builds/wince/vc2008-ce/freetype.vcproj,
+       builds/wince/vc2008-ce/index.html: s/2.4.3/2.4.4/, s/243/244/.
+
+       * include/freetype/freetype.h (FREETYPE_PATCH): Set to 4.
+
+       * builds/unix/configure.raw (version_info): Set to 12:2:6.
+
+2010-11-28  Alexei Podtelezhnikov  <apodtele@xxxxxxxxx>
+
+       [ftsmooth]: Minor code simplification.
+
+       * src/smooth/ftgrays (gray_render_cubic): Do only one comparison
+       instead of two.
+
+2010-11-26  Johnson Y. Yan  <yinsen_yan@xxxxxxxxxxxxxxxxx>
+
+       [truetype] Better multi-threading support.
+
+       * src/truetype/ttinterp.c (TT_Load_Context): Reset glyph zone
+       references.
+
+2010-11-23  John Tytgat  <John.Tytgat@xxxxxxxx>
+
+       * src/psaux/t1decode.c (t1_decoder_parse_charstring): Expand
+       start_point, check_points, add_point, add_point1, close_contour
+       macros.
+       Remove add_contour macro.
+       Return error code from t1_builder_start_point and
+       t1_builder_check_points when there was one (instead of returning 0).
+
+2010-11-22  suzuki toshiya  <mpsuzuki@xxxxxxxxxxxxxxxxx>
+
+       [truetype] Identify the tricky fonts by cvt/fpgm/prep checksums.
+       Some Latin TrueType fonts are still expected to be unhinted.
+       Fix Savannah bug #31645.
+
+       * src/truetype/ttobjs.c (tt_check_trickyness): Divided to...
+       (tt_check_trickyness_family): this checking family name, and
+       (tt_check_trickyness_sfnt_ids): this checking cvt/fpgm/prep.
+       (tt_get_sfnt_checksum): Function to retrieve the sfnt checksum
+       for specified subtable even if cleared by lazy PDF generators.
+       (tt_synth_sfnt_checksum): Function to calculate the checksum.
+
+2010-11-18  Werner Lemberg  <wl@xxxxxxx>
+
+       [truetype] Fix `loca' handling for inconsistent number of glyphs.
+       Reported by Johnson Y. Yan <yinsen_yan@xxxxxxxxxxxxxxxxx>.
+
+       * src/truetype/ttpload.c (tt_face_load_loca): While sanitizing,
+       handle case where `loca' is the last table in the font.
+
+2010-11-18  Werner Lemberg  <wl@xxxxxxx>
+
+       [sfnt] Ignore all errors while loading `OS/2' table.
+       Suggested by Johnson Y. Yan <yinsen_yan@xxxxxxxxxxxxxxxxx>.
+
+       * src/sfnt/sfobjs.c (sfnt_load_face): Do it.
+
+2010-11-18  Johnson Y. Yan  <yinsen_yan@xxxxxxxxxxxxxxxxx>
+
+       [type1] Fix matrix normalization.
+
+       * src/type1/t1load.c (parse_font_matrix): Handle sign of scaling
+       factor.
+
+2010-11-18  Werner Lemberg  <wl@xxxxxxx>
+
+       [type1] Improve guard against malformed data.
+       Based on a patch submitted by Johnson Y. Yan
+       <yinsen_yan@xxxxxxxxxxxxxxxxx>
+
+       * src/type1/t1load.c (read_binary_data): Check `size'.
+
+2010-11-17  Werner Lemberg  <wl@xxxxxxx>
+
+       [sfnt] While tracing, output table checksums also.
+
+       * src/sfnt/ttload.c (tt_face_load_font_dir): Do it.
+
+2010-11-04  suzuki toshiya  <mpsuzuki@xxxxxxxxxxxxxxxxx>
+
+       [UVS] Fix find_variant_selector_charmap(), Savannah bug #31545.
+
+       Since 2010-07-04, find_variant_selector_charmap() returns
+       the first cmap subtable always under rogue-compatible
+       configuration, it causes NULL pointer dereference and
+       make UVS-related functions crashed.
+
+       * src/base/ftobjs.c (Fix find_variant_selector_charmap):
+       Returns UVS cmap correctly.
+
+2010-11-01  Alexei Podtelezhnikov  <apodtele@xxxxxxxxx>
+
+       [ftsmooth] Improve rendering.
+
+       * src/smooth/ftsmooth.c (gray_render_conic): Since version 2.4.3,
+       cubic deviations have been estimated _after_ UPSCALE, whereas
+       conic ones have been evaluated _before_ UPSCALE, which produces
+       inferior rendering results.  Fix this.
+       Partially undo change from 2010-10-15 by using ONE_PIXEL/4; this has
+       been tested with demo images sent to the mailing list.  See
+
+         http://lists.gnu.org/archive/html/freetype-devel/2010-10/msg00055.html
+
+       and later mails in this thread.
+
+2010-10-28  Werner Lemberg  <wl@xxxxxxx>
+
+       [ftraster] Minor fixes.
+
+       Reported by Tom Bishop <wenlin@xxxxxxxxxx>.
+
+       * src/raster/ftraster.c (ULong): Remove unused typedef.
+       (TWorker): Remove unused variable `precision_mask'.
+
+2010-10-28  Werner Lemberg  <wl@xxxxxxx>
+
+       [ftraster] Fix rendering.
+
+       Problem reported by Tom Bishop <wenlin@xxxxxxxxxx>; see
+       thread starting with
+
+         http://lists.gnu.org/archive/html/freetype/2010-10/msg00049.html
+
+       * src/raster/ftraster.c (Line_Up): Replace FMulDiv with SMulDiv
+       since the involved multiplication exceeds 32 bits.
+
+2010-10-25  suzuki toshiya  <mpsuzuki@xxxxxxxxxxxxxxxxx>
+
+       Revert a change of `_idx' type in FTC_CACHE_LOOKUP_CMP().
+
+       * src/cache/ftccache.h (FTC_CACHE_LOOKUP_CMP): Revert
+       the type of `_idx' from FT_PtrDist (by previous change)
+       to original FT_UFast, to match with FT_CacheRec.
+
+2010-10-24  suzuki toshiya  <mpsuzuki@xxxxxxxxxxxxxxxxx>
+
+       [cache] Change the hash types to FT_PtrDist.
+
+       On LLP64 platforms (e.g. Win64), FT_ULong (32-bit)
+       variables are inappropriate to calculate hash values
+       from the memory address (64-bit).  The hash variables  
+       are extended from FT_ULong to FT_PtrDist and new
+       hashing macro functions are introduced.  The hash
+       values on 16-bit memory platforms are changed, but
+       ILP32 and LP64 are not changed.  The hash value in
+       the cache subsystem is not reverted to the memory
+       address, so using signed type FT_PtrDist is safe.
+
+       * src/cache/ftccache.h (_FTC_FACE_ID_HASH): New hash
+       function to replace FTC_FACE_ID_HASH() for portability.
+       * src/cache/ftcmanag.h (FTC_SCALER_HASH): Replace 
+       FTC_FACE_ID_HASH() by _FTC_FACE_ID_HASH().
+       * src/cache/ftccmap.c (FTC_CMAP_HASH): Ditto.
+
+       * src/cache/ftccache.h (FTC_NodeRec): The type of the
+       member `hash' is changed from FT_UInt32 to FT_PtrDist.
+
+       * src/cache/ftccache.h (FTC_Cache_Lookup): The type of the
+       argument `hash' is changed from FT_UInt32 to FT_PtrDist.
+       (FTC_Cache_NewNode): Ditto.
+       * src/cache/ftccache.c (ftc_cache_add): Ditto.
+       (FTC_Cache_Lookup): Ditto.  (FTC_Cache_NewNode): Ditto.
+       * src/cache/ftcglyph.h (FTC_GCache_Lookup): Ditto.
+       * src/cache/ftcglyph.c (FTC_GCache_Lookup): Ditto.
+
+       * src/cache/ftcbasic.c (FTC_ImageCache_Lookup): The type
+       of the internal variable `hash' is changed to FT_PtrDist
+       from FT_UInt32.  (FTC_ImageCache_LookupScaler): Ditto.
+       (FTC_SBitCache_Lookup): Ditto.
+       (FTC_SBitCache_LookupScaler): Ditto.
+       * src/cache/ftccmap.c (FTC_CMapCache_Lookup): Ditto.
+       * src/cache/ftccache.h (FTC_CACHE_LOOKUP_CMP): Ditto.
+       Also the type of the internal variable `_idx' is changed to
+       FT_PtrDist from FT_UFast for better pointer calculation.
+       
+2010-10-24  suzuki toshiya  <mpsuzuki@xxxxxxxxxxxxxxxxx>
+
+       [cache] Hide internal macros incompatible with LLP64.
+
+       FT_POINTER_TO_ULONG(), FTC_FACE_ID_HASH() and
+       FTC_IMAGE_TYPE_HASH() are enclosed by
+       FT_CONFIG_OPTION_OLD_INTERNALS and hidden from
+       normal clients.
+
+       For the history of these macros, see the investigation:
+       http://lists.gnu.org/archive/html/freetype/2010-10/msg00022.html
+
+2010-10-24  suzuki toshiya  <mpsuzuki@xxxxxxxxxxxxxxxxx>
+
+       Change the type of FT_MEM_VAL() from FT_ULong to FT_PtrDist.
+
+       On LLP64 platforms (e.g. Win64), unsigned long (32-bit)
+       cannot cover the memory address (64-bit).  FT_MEM_VAL() is
+       used for hashing only and not dereferred, so using signed
+       type FT_PtrDist is safe.
+
+       * src/base/ftdbgmem.c (FT_MEM_VAL): Change the type of the
+       return value from FT_ULong to FT_PtrDist.
+       (ft_mem_table_resize): The type of hash is changed to
+       FT_PtrDist.  (ft_mem_table_get_nodep): Ditto.
+
+2010-10-24  suzuki toshiya  <mpsuzuki@xxxxxxxxxxxxxxxxx>
+
+       Replace "%lx" for memory address by "%p", LLP64 platforms.
+
+       On LLP64 platforms (e.g. Win64), long (32-bit) cannot cover
+       the memory address (64-bit).  Also the casts from the pointer
+       type to long int should be removed to preserve the address
+       correctly.
+
+       * src/raster/ftraster.c (New_Profile): Replace "%lx" by "%p".
+       (End_Profile) Ditto.
+       * src/truetype/ttinterp.c (Init_Context): Ditto.
+
+2010-10-15  Alexei Podtelezhnikov  <apodtele@xxxxxxxxx>
+
+       Fix thinko in spline flattening.
+
+       FT_MAX_CURVE_DEVIATION is dependent on the value of ONE_PIXEL.
+
+       * src/smooth/ftgrays.c (FT_MAX_CURVE_DEVIATION): Remove it and
+       replace it everywhere with ONE_PIXEL/8.
+
+2010-10-13  suzuki toshiya  <mpsuzuki@xxxxxxxxxxxxxxxxx>
+
+       [raccess] Skip unrequired resource access rules by Darwin VFS.
+
+       When a resource fork access rule by Darwin VFS could open the
+       resource fork but no font is found in it, the rest of rules
+       by Darwin VFS are skipped.  It reduces the warnings of the
+       deprecated resource fork access method by recent Darwin kernel.
+       Fix MacPorts ticket #18859:
+               http://trac.macports.org/ticket/18859
+
+       * src/base/ftobjs.c (load_face_in_embedded_rfork):
+       When FT_Stream_New() returns FT_Err_Cannot_Open_Stream, it
+       means that the file is possible to be fopen()-ed but zero-sized.
+       Also there is a case that the resource fork is not zero-sized, 
+       but no supported font exists in it.  If a rule by Darwin VFS
+       falls into such cases, there is no need to try other Darwin VFS
+       rules anymore.  Such cases are marked by vfs_rfork_has_no_font.
+       If it is TRUE, the Darwin VFS rules are skipped.
+
+2010-10-13  suzuki toshiya  <mpsuzuki@xxxxxxxxxxxxxxxxx>
+
+       [raccess] Grouping resource access rules based on Darwin VFS.
+
+       MacOS X/Darwin kernel supports a few tricky methods to access
+       a resource fork via ANSI C or POSIX interface.  Current resource
+       fork accessor tries all possible methods to support all kernels.
+       But if a method could open a resource fork but no font is found,
+       there is no need to try other methods older than tested method. 
+       To determine whether the rule index is for Darwin VFS, a local
+       function ftrfork.c::raccess_rule_by_darwin_vfs() is introduced.
+       To use this function in ftobjs.c etc but it should be inlined,
+       it is exposed by ftbase.h.
+
+       * src/base/ftrfork.c (FT_RFork_Rule): New enum type to identify
+       the rules to access the resource fork.
+       (raccess_guess_rec): New structure to bind the rule function and
+       rule enum type.
+       (FT_Raccess_Guess): The list of the rule functions is replaced by
+       (raccess_guess_table): This.  This is exposed to be used by other
+       intra module functions.
+       (raccess_rule_by_darwin_vfs): A function to return a boolean
+       if the rule specified by the rule index is based on Darwin VFS.
+
+2010-10-13  suzuki toshiya  <mpsuzuki@xxxxxxxxxxxxxxxxx>
+
+       Prevent to open a FT_Stream for zero-sized file on non-Unix.
+
+       builds/unix/ftsystem.c prevents to open an useless stream from
+       zero-sized file and returns FT_Err_Cannot_Open_Stream, but the
+       stream drivers for ANSI C, Amiga and VMS return useless streams.
+       For cross-platform consistency, all stream drivers should act
+       same.
+
+       * src/base/ftsystem.c (FT_Stream_Open): If the size of the opened
+       file is zero, FT_Err_Cannot_Open_Stream is returned.
+       * builds/amiga/src/base/ftsystem.c (FT_Stream_Open): Ditto.
+       * src/vms/ftsystem.c (FT_Stream_Open): Ditto.
+
+2010-10-12  Werner Lemberg  <wl@xxxxxxx>
+
+       Fix Savannah bug #31310.
+
+       * src/truetype/ttgxvar.c (ft_var_readpackedpoints): Protect against
+       invalid `runcnt' values.
+
+2010-10-08  Chris Liddell  <chris.liddell@xxxxxxxxxxx>
+
+       Fix Savannah bug #31275.
+
+       * src/sfnt/ttpost.c: Include FT_INTERNAL_DEBUG_H.
+
+2010-10-06  Werner Lemberg  <wl@xxxxxxx>
+
+       [truetype] Improve error handling of `SHZ' bytecode instruction.
+       Problem reported by Chris Evans <scarybeasts@xxxxxxxxx>.
+
+       * src/truetype/ttinterp.c (Ins_SHZ): Check `last_point'.
+
+2010-10-05  Werner Lemberg  <wl@xxxxxxx>
+
+       Fix Savannah bug #31253.
+       Patch submitted by an anonymous reporter.
+
+       * configure: Use `awk' instead of `sed' to manipulate output of `ls
+       -id'.
+
 2010-10-03  Werner Lemberg  <wl@xxxxxxx>
 
        * Version 2.4.3 released.

Modified: haiku/vendor/freetype2/current/Jamfile
===================================================================
--- haiku/vendor/freetype2/current/Jamfile      2011-02-16 15:36:05 UTC (rev 
40530)
+++ haiku/vendor/freetype2/current/Jamfile      2011-02-16 17:30:31 UTC (rev 
40531)
@@ -194,7 +194,7 @@
 
 actions RefDoc
 {
-  python $(FT2_SRC)/tools/docmaker/docmaker.py --prefix=ft2 
--title=FreeType-2.4.3 --output=$(DOC_DIR) $(FT2_INCLUDE)/freetype/*.h 
$(FT2_INCLUDE)/freetype/config/*.h
+  python $(FT2_SRC)/tools/docmaker/docmaker.py --prefix=ft2 
--title=FreeType-2.4.4 --output=$(DOC_DIR) $(FT2_INCLUDE)/freetype/*.h 
$(FT2_INCLUDE)/freetype/config/*.h
 }
 
 RefDoc  refdoc ;

Modified: haiku/vendor/freetype2/current/README
===================================================================
--- haiku/vendor/freetype2/current/README       2011-02-16 15:36:05 UTC (rev 
40530)
+++ haiku/vendor/freetype2/current/README       2011-02-16 17:30:31 UTC (rev 
40531)
@@ -9,7 +9,7 @@
   is called `libttf'.  They are *not* compatible!
 
 
-  FreeType 2.4.3
+  FreeType 2.4.4
   ==============
 
   Please   read   the  docs/CHANGES   file,   it  contains   IMPORTANT
@@ -26,9 +26,9 @@
 
   and download one of the following files.
 
-    freetype-doc-2.4.3.tar.bz2
-    freetype-doc-2.4.3.tar.gz
-    ftdoc243.zip
+    freetype-doc-2.4.4.tar.bz2
+    freetype-doc-2.4.4.tar.gz
+    ftdoc244.zip
 
 
   Bugs

Modified: haiku/vendor/freetype2/current/builds/amiga/src/base/ftsystem.c
===================================================================
--- haiku/vendor/freetype2/current/builds/amiga/src/base/ftsystem.c     
2011-02-16 15:36:05 UTC (rev 40530)
+++ haiku/vendor/freetype2/current/builds/amiga/src/base/ftsystem.c     
2011-02-16 17:30:31 UTC (rev 40531)
@@ -4,7 +4,7 @@
 /*                                                                         */
 /*    Amiga-specific FreeType low-level system interface (body).           */
 /*                                                                         */
-/*  Copyright 1996-2001, 2002, 2005, 2006, 2007 by                         */
+/*  Copyright 1996-2001, 2002, 2005, 2006, 2007, 2010 by                   */
 /*  David Turner, Robert Wilhelm, Werner Lemberg and Detlef W�rkner.       */
 /*                                                                         */
 /*  This file is part of the FreeType project, and may only be used,       */
@@ -442,6 +442,14 @@
     stream->read  = ft_amiga_stream_io;
     stream->close = ft_amiga_stream_close;
 
+    if ( !stream->size )
+    {
+      ft_amiga_stream_close( stream );
+      FT_ERROR(( "FT_Stream_Open:" ));
+      FT_ERROR(( " opened `%s' but zero-sized\n", filepathname ));
+      return FT_Err_Cannot_Open_Stream;;
+    }
+
     FT_TRACE1(( "FT_Stream_Open:" ));
     FT_TRACE1(( " opened `%s' (%ld bytes) successfully\n",
                 filepathname, stream->size ));

Modified: haiku/vendor/freetype2/current/builds/unix/configure
===================================================================
--- haiku/vendor/freetype2/current/builds/unix/configure        2011-02-16 
15:36:05 UTC (rev 40530)
+++ haiku/vendor/freetype2/current/builds/unix/configure        2011-02-16 
17:30:31 UTC (rev 40531)
@@ -1,13 +1,13 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.65 for FreeType 2.4.3.
+# Generated by GNU Autoconf 2.67 for FreeType 2.4.4.
 #
 # Report bugs to <freetype@xxxxxxxxxx>.
 #
 #
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
-# Inc.
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
+# Foundation, Inc.
 #
 #
 # This configure script is free software; the Free Software Foundation
@@ -319,7 +319,7 @@
       test -d "$as_dir" && break
     done
     test -z "$as_dirs" || eval "mkdir $as_dirs"
-  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
+  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
 
 } # as_fn_mkdir_p
@@ -359,19 +359,19 @@
 fi # as_fn_arith
 
 
-# as_fn_error ERROR [LINENO LOG_FD]
-# ---------------------------------
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
+# ----------------------------------------
 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with status $?, using 1 if that was 0.
+# script with STATUS, using 1 if that was 0.
 as_fn_error ()
 {
-  as_status=$?; test $as_status -eq 0 && as_status=1
-  if test "$3"; then
-    as_lineno=${as_lineno-"$2"} 
as_lineno_stack=as_lineno_stack=$as_lineno_stack
-    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
+  as_status=$1; test $as_status -eq 0 && as_status=1
+  if test "$4"; then
+    as_lineno=${as_lineno-"$3"} 
as_lineno_stack=as_lineno_stack=$as_lineno_stack
+    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   fi
-  $as_echo "$as_me: error: $1" >&2
+  $as_echo "$as_me: error: $2" >&2
   as_fn_exit $as_status
 } # as_fn_error
 
@@ -682,7 +682,7 @@
 exec 6>&1
 
 # Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
 # so uname gets run too.
 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
@@ -701,8 +701,8 @@
 # Identity of this package.
 PACKAGE_NAME='FreeType'
 PACKAGE_TARNAME='freetype'
-PACKAGE_VERSION='2.4.3'
-PACKAGE_STRING='FreeType 2.4.3'
+PACKAGE_VERSION='2.4.4'
+PACKAGE_STRING='FreeType 2.4.4'
 PACKAGE_BUGREPORT='freetype@xxxxxxxxxx'
 PACKAGE_URL=''
 
@@ -930,8 +930,9 @@
   fi
 
   case $ac_option in
-  *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
-  *)   ac_optarg=yes ;;
+  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
+  *=)   ac_optarg= ;;
+  *)    ac_optarg=yes ;;
   esac
 
   # Accept the important Cygnus configure options, so we can diagnose typos.
@@ -976,7 +977,7 @@
     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     # Reject names that are not valid shell variable names.
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
-      as_fn_error "invalid feature name: $ac_useropt"
+      as_fn_error $? "invalid feature name: $ac_useropt"
     ac_useropt_orig=$ac_useropt
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     case $ac_user_opts in
@@ -1002,7 +1003,7 @@
     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     # Reject names that are not valid shell variable names.
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
-      as_fn_error "invalid feature name: $ac_useropt"
+      as_fn_error $? "invalid feature name: $ac_useropt"
     ac_useropt_orig=$ac_useropt
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     case $ac_user_opts in
@@ -1206,7 +1207,7 @@
     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     # Reject names that are not valid shell variable names.
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
-      as_fn_error "invalid package name: $ac_useropt"
+      as_fn_error $? "invalid package name: $ac_useropt"
     ac_useropt_orig=$ac_useropt
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     case $ac_user_opts in
@@ -1222,7 +1223,7 @@
     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     # Reject names that are not valid shell variable names.
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
-      as_fn_error "invalid package name: $ac_useropt"
+      as_fn_error $? "invalid package name: $ac_useropt"
     ac_useropt_orig=$ac_useropt
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     case $ac_user_opts in
@@ -1252,8 +1253,8 @@
   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
     x_libraries=$ac_optarg ;;
 
-  -*) as_fn_error "unrecognized option: \`$ac_option'
-Try \`$0 --help' for more information."
+  -*) as_fn_error $? "unrecognized option: \`$ac_option'
+Try \`$0 --help' for more information"
     ;;
 
   *=*)
@@ -1261,7 +1262,7 @@
     # Reject names that are not valid shell variable names.
     case $ac_envvar in #(
       '' | [0-9]* | *[!_$as_cr_alnum]* )
-      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
+      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
     esac
     eval $ac_envvar=\$ac_optarg
     export $ac_envvar ;;
@@ -1279,13 +1280,13 @@
 
 if test -n "$ac_prev"; then
   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
-  as_fn_error "missing argument to $ac_option"
+  as_fn_error $? "missing argument to $ac_option"
 fi
 
 if test -n "$ac_unrecognized_opts"; then
   case $enable_option_checking in
     no) ;;
-    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
+    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
     *)     $as_echo "$as_me: WARNING: unrecognized options: 
$ac_unrecognized_opts" >&2 ;;
   esac
 fi
@@ -1308,7 +1309,7 @@
     [\\/$]* | ?:[\\/]* )  continue;;
     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   esac
-  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
+  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 done
 
 # There might be people who depend on the old broken behavior: `$host'
@@ -1322,8 +1323,8 @@
 if test "x$host_alias" != x; then
   if test "x$build_alias" = x; then
     cross_compiling=maybe
-    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't 
use --host.
-    If a cross compiler is detected then cross compile mode will be used." >&2
+    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't 
use --host.
+    If a cross compiler is detected then cross compile mode will be used" >&2
   elif test "x$build_alias" != "x$host_alias"; then
     cross_compiling=yes
   fi
@@ -1338,9 +1339,9 @@
 ac_pwd=`pwd` && test -n "$ac_pwd" &&
 ac_ls_di=`ls -di .` &&
 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
-  as_fn_error "working directory cannot be determined"
+  as_fn_error $? "working directory cannot be determined"
 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
-  as_fn_error "pwd does not report name of working directory"
+  as_fn_error $? "pwd does not report name of working directory"
 
 
 # Find the source files, if location was not specified.
@@ -1379,11 +1380,11 @@
 fi
 if test ! -r "$srcdir/$ac_unique_file"; then
   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
-  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
+  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 fi
 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 ac_abs_confdir=`(
-       cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
+       cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
        pwd)`
 # When building in place, set srcdir=.
 if test "$ac_abs_confdir" = "$ac_pwd"; then
@@ -1409,7 +1410,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures FreeType 2.4.3 to adapt to many kinds of systems.
+\`configure' configures FreeType 2.4.4 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1423,7 +1424,7 @@
       --help=short        display options specific to this package
       --help=recursive    display the short help of all the included packages
   -V, --version           display version information and exit
-  -q, --quiet, --silent   do not print \`checking...' messages
+  -q, --quiet, --silent   do not print \`checking ...' messages
       --cache-file=FILE   cache test results in FILE [disabled]
   -C, --config-cache      alias for \`--cache-file=config.cache'
   -n, --no-create         do not create output files
@@ -1474,7 +1475,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of FreeType 2.4.3:";;
+     short | recursive ) echo "Configuration of FreeType 2.4.4:";;
    esac
   cat <<\_ACEOF
 
@@ -1585,10 +1586,10 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-FreeType configure 2.4.3
-generated by GNU Autoconf 2.65
+FreeType configure 2.4.4
+generated by GNU Autoconf 2.67
 
-Copyright (C) 2009 Free Software Foundation, Inc.
+Copyright (C) 2010 Free Software Foundation, Inc.
 This configure script is free software; the Free Software Foundation
 gives unlimited permission to copy, distribute and modify it.
 _ACEOF
@@ -1658,7 +1659,7 @@
     mv -f conftest.er1 conftest.err
   fi
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } >/dev/null && {
+  test $ac_status = 0; } > conftest.i && {
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
         test ! -s conftest.err
        }; then :
@@ -1724,10 +1725,10 @@
 ac_fn_c_check_header_mongrel ()
 {
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
+  if eval "test \"\${$3+set}\"" = set; then :
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
+if eval "test \"\${$3+set}\"" = set; then :
   $as_echo_n "(cached) " >&6
 fi
 eval ac_res=\$$3
@@ -1763,7 +1764,7 @@
 else
   ac_header_preproc=no
 fi
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 $as_echo "$ac_header_preproc" >&6; }
 
@@ -1786,17 +1787,15 @@
 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" 
>&2;}
     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the 
compiler's result" >&5
 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
-( cat <<\_ASBOX
-## ---------------------------------- ##
+( $as_echo "## ---------------------------------- ##
 ## Report this to freetype@xxxxxxxxxx ##
-## ---------------------------------- ##
-_ASBOX
+## ---------------------------------- ##"[]
      ) | sed "s/^/$as_me: WARNING:     /" >&2
     ;;
 esac
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
+if eval "test \"\${$3+set}\"" = set; then :
   $as_echo_n "(cached) " >&6
 else
   eval "$3=\$ac_header_compiler"
@@ -1818,7 +1817,7 @@
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
+if eval "test \"\${$3+set}\"" = set; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2072,7 +2071,7 @@
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
+if eval "test \"\${$3+set}\"" = set; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2131,15 +2130,18 @@
 
 } # ac_fn_c_check_func
 
-# ac_fn_c_check_decl LINENO SYMBOL VAR
-# ------------------------------------
-# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
+# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
+# ---------------------------------------------
+# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
+# accordingly.
 ac_fn_c_check_decl ()
 {
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
-$as_echo_n "checking whether $2 is declared... " >&6; }
-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
+  as_decl_name=`echo $2|sed 's/ *(.*//'`
+  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is 
declared" >&5
+$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
+if eval "test \"\${$3+set}\"" = set; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2148,9 +2150,13 @@
 int
 main ()
 {
-#ifndef $2
-  (void) $2;
+#ifndef $as_decl_name
+#ifdef __cplusplus
+  (void) $as_decl_use;
+#else
+  (void) $as_decl_name;
 #endif
+#endif
 
   ;
   return 0;
@@ -2173,8 +2179,8 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by FreeType $as_me 2.4.3, which was
-generated by GNU Autoconf 2.65.  Invocation command line was
+It was created by FreeType $as_me 2.4.4, which was
+generated by GNU Autoconf 2.67.  Invocation command line was
 
   $ $0 $@
 
@@ -2284,11 +2290,9 @@
   {
     echo
 
-    cat <<\_ASBOX
-## ---------------- ##
+    $as_echo "## ---------------- ##
 ## Cache variables. ##
-## ---------------- ##
-_ASBOX
+## ---------------- ##"[]
     echo
     # The following way of writing the cache mishandles newlines in values,
 (
@@ -2322,11 +2326,9 @@
 )
     echo
 
-    cat <<\_ASBOX
-## ----------------- ##
+    $as_echo "## ----------------- ##
 ## Output variables. ##
-## ----------------- ##
-_ASBOX
+## ----------------- ##"[]
     echo
     for ac_var in $ac_subst_vars
     do
@@ -2339,11 +2341,9 @@
     echo
 
     if test -n "$ac_subst_files"; then
-      cat <<\_ASBOX
-## ------------------- ##
+      $as_echo "## ------------------- ##
 ## File substitutions. ##
-## ------------------- ##
-_ASBOX
+## ------------------- ##"[]
       echo
       for ac_var in $ac_subst_files
       do
@@ -2357,11 +2357,9 @@
     fi
 
     if test -s confdefs.h; then
-      cat <<\_ASBOX
-## ----------- ##
+      $as_echo "## ----------- ##
 ## confdefs.h. ##
-## ----------- ##
-_ASBOX
+## ----------- ##"[]
       echo
       cat confdefs.h
       echo
@@ -2416,7 +2414,12 @@
 ac_site_file1=NONE
 ac_site_file2=NONE
 if test -n "$CONFIG_SITE"; then
-  ac_site_file1=$CONFIG_SITE
+  # We do not want a PATH search for config.site.
+  case $CONFIG_SITE in #((
+    -*)  ac_site_file1=./$CONFIG_SITE;;
+    */*) ac_site_file1=$CONFIG_SITE;;
+    *)   ac_site_file1=./$CONFIG_SITE;;
+  esac
 elif test "x$prefix" != xNONE; then
   ac_site_file1=$prefix/share/config.site
   ac_site_file2=$prefix/etc/config.site
@@ -2431,7 +2434,11 @@
     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script 
$ac_site_file" >&5
 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
     sed 's/^/| /' "$ac_site_file" >&5
-    . "$ac_site_file"
+    . "$ac_site_file" \
+      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "failed to load site script $ac_site_file
+See \`config.log' for more details" "$LINENO" 5; }
   fi
 done
 
@@ -2510,7 +2517,7 @@
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment 
can compromise the build" >&5
 $as_echo "$as_me: error: changes in the environment can compromise the build" 
>&2;}
-  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" 
"$LINENO" 5
+  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start 
over" "$LINENO" 5
 fi
 ## -------------------- ##
 ## Main body of script. ##
@@ -2528,7 +2535,7 @@
 
 # Don't forget to update docs/VERSION.DLL!
 
-version_info='12:1:6'
+version_info='12:2:6'
 
 ft_version=`echo $version_info | tr : .`
 
@@ -2538,16 +2545,22 @@
 
 ac_aux_dir=
 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
-  for ac_t in install-sh install.sh shtool; do
-    if test -f "$ac_dir/$ac_t"; then
-      ac_aux_dir=$ac_dir
-      ac_install_sh="$ac_aux_dir/$ac_t -c"
-      break 2
-    fi
-  done
+  if test -f "$ac_dir/install-sh"; then
+    ac_aux_dir=$ac_dir
+    ac_install_sh="$ac_aux_dir/install-sh -c"
+    break
+  elif test -f "$ac_dir/install.sh"; then
+    ac_aux_dir=$ac_dir
+    ac_install_sh="$ac_aux_dir/install.sh -c"
+    break
+  elif test -f "$ac_dir/shtool"; then
+    ac_aux_dir=$ac_dir
+    ac_install_sh="$ac_aux_dir/shtool install -c"
+    break
+  fi
 done
 if test -z "$ac_aux_dir"; then
-  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" 
\"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
+  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" 
\"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 fi
 
 # These three variables are undocumented and unsupported,
@@ -2561,7 +2574,7 @@
 
 # Make sure we can run config.sub.
 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
-  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
+  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 $as_echo_n "checking build system type... " >&6; }
@@ -2572,16 +2585,16 @@
 test "x$ac_build_alias" = x &&
   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 test "x$ac_build_alias" = x &&
-  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
+  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
-  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 
5
+  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" 
"$LINENO" 5
 
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 $as_echo "$ac_cv_build" >&6; }
 case $ac_cv_build in
 *-*-*) ;;
-*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
+*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 esac
 build=$ac_cv_build
 ac_save_IFS=$IFS; IFS='-'
@@ -2606,7 +2619,7 @@
   ac_cv_host=$ac_cv_build
 else
   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
-    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
+    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" 
"$LINENO" 5
 fi
 
 fi
@@ -2614,7 +2627,7 @@
 $as_echo "$ac_cv_host" >&6; }
 case $ac_cv_host in
 *-*-*) ;;
-*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
+*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 esac
 host=$ac_cv_host
 ac_save_IFS=$IFS; IFS='-'
@@ -2934,8 +2947,8 @@
 
 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in 
\`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "no acceptable C compiler found in \$PATH
-See \`config.log' for more details." "$LINENO" 5; }
+as_fn_error $? "no acceptable C compiler found in \$PATH
+See \`config.log' for more details" "$LINENO" 5; }
 
 # Provide some information about the compiler.
 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@ -3049,9 +3062,8 @@
 
 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-{ as_fn_set_status 77
-as_fn_error "C compiler cannot create executables
-See \`config.log' for more details." "$LINENO" 5; }; }
+as_fn_error 77 "C compiler cannot create executables
+See \`config.log' for more details" "$LINENO" 5; }
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
@@ -3093,8 +3105,8 @@
 else
   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "cannot compute suffix of executables: cannot compile and link
-See \`config.log' for more details." "$LINENO" 5; }
+as_fn_error $? "cannot compute suffix of executables: cannot compile and link
+See \`config.log' for more details" "$LINENO" 5; }
 fi
 rm -f conftest conftest$ac_cv_exeext
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
@@ -3151,9 +3163,9 @@
     else
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5

[... truncated: 4565 lines follow ...]

Other related posts:

  • » [haiku-commits] r40531 - in haiku/vendor/freetype2/current: . builds/amiga/src/base builds/unix builds/vms builds/win32/vc2005 ... - korli