Go to file
Alan Coopersmith 9e345c9117 Further fix to visibility flag testing with Solaris Studio compilers.
AC_COMPILE_IFELSE only tries to compile a `*.c' to a `*.o'.  The
Solaris Studio 12.1 through 12.5 compilers see the
`-fvisibility=hidden' flag, but ignore it with a warning of:

  cc: Warning: Option -fvisibility=hidden passed to ld,
               if ld is invoked, ignored otherwise

AC_LINK_IFELSE does the compile and then tries to link the result,
at which point the Solaris linker will issue an error:

  ld: fatal: option '-fvisibility=hidden' is incompatible with
      building a dynamic executable

If we don't use AC_LINK_IFELSE to catch the error, then configure
will fail further tests which attempt to link, such as those testing
dependencies like `libbz2'.

Also, don't try adding `-fvisibility' if we have already added
`-xldscope', just use one of them, since Sun Studio 12 and earlier
compilers only issue a warning, and don't try passing through to the
linker to generate an error, so AC_LINK_IFELSE doesn't catch them.

Tested on Solaris 11.4 beta with compiler versions:

  Sun Studio 8 (Sun C 5.5)
  Sun Studio 10 (Sun C 5.7)
  Sun Studio 11 (Sun C 5.8)
  Sun Studio 12 (Sun C 5.9)
  Sun Studio 12.1 (Sun C 5.10)
  Oracle Solaris Studio 12.2 (Sun C 5.11)
  Oracle Solaris Studio 12.3 (Sun C 5.12)
  Oracle Solaris Studio 12.4 (Sun C 5.13)
  Oracle Developer Studio 12.5 (Sun C 5.14)
  Oracle Developer Studio 12.6 (Sun C 5.15)
  gcc 5.5.0
  gcc 7.3.0

and verified the libfreetype.so.6 generated by each of those
compilers exported the same set of symbols.

* builds/unix/configure.raw: Implement it.
2018-05-10 10:13:18 +02:00
builds Further fix to visibility flag testing with Solaris Studio compilers. 2018-05-10 10:13:18 +02:00
devel Remove FT_CONFIG_OPTION_PIC and related code. 2018-05-02 20:27:48 +02:00
docs * Version 2.9.1 released. 2018-05-01 20:37:24 +02:00
include Support symbol visibility features of Sun / Oracle C compilers. 2018-05-04 12:55:48 +09:00
objs * builds/windows/vc2010/freetype.vcxproj: AfterBuild copy. 2017-12-16 22:00:40 -05:00
src [autofit] Avoid potential SEGV if running out of memory. 2018-05-08 11:51:16 +02:00
.gitignore Modernize CMake build. 2018-04-10 22:31:10 +01:00
.mailmap .mailmap: Add Ewald. 2017-12-07 19:27:29 +01:00
CMakeLists.txt CMake: Allow using project as subfolder in other project 2018-05-08 07:46:19 +01:00
ChangeLog Further fix to visibility flag testing with Solaris Studio compilers. 2018-05-10 10:13:18 +02:00
ChangeLog.20 Update copyright year. 2018-01-02 09:33:57 +01:00
ChangeLog.21 s/sub-pixel/subpixel/. 2018-02-17 10:34:47 +01:00
ChangeLog.22 Update copyright year. 2018-01-02 09:33:57 +01:00
ChangeLog.23 Update copyright year. 2018-01-02 09:33:57 +01:00
ChangeLog.24 s/sub-pixel/subpixel/. 2018-02-17 10:34:47 +01:00
ChangeLog.25 Update copyright year. 2018-01-02 09:33:57 +01:00
ChangeLog.26 Update copyright year. 2018-01-02 09:33:57 +01:00
ChangeLog.27 Update copyright year. 2018-01-02 09:33:57 +01:00
ChangeLog.28 Split off ChangeLog.28. 2018-02-17 10:37:10 +01:00
Jamfile * Version 2.9.1 released. 2018-05-01 20:37:24 +02:00
Jamrules Update copyright year. 2018-01-02 09:33:57 +01:00
Makefile Update copyright year. 2018-01-02 09:33:57 +01:00
README * Version 2.9.1 released. 2018-05-01 20:37:24 +02:00
README.git Update copyright year. 2018-01-02 09:33:57 +01:00
autogen.sh Update copyright year. 2018-01-02 09:33:57 +01:00
configure [build] Use `info' function of make 3.81. 2018-04-15 16:27:10 -04:00
modules.cfg Remove FT_CONFIG_OPTION_PIC and related code. 2018-05-02 20:27:48 +02:00
version.sed Put version information into the configure script. Reported by Paul 2006-05-08 07:10:29 +00:00
vms_make.com Remove `ftlcdfil.c' and `ftfntfmt.c' from build files (#53415). 2018-03-22 06:00:55 +01:00

README

  FreeType 2.9.1
  ==============

  Homepage: https://www.freetype.org

  FreeType is a freely available software library to render fonts.

  It  is  written  in  C,  designed to  be  small,  efficient,  highly
  customizable, and  portable while capable of  producing high-quality
  output  (glyph  images) of  most  vector  and bitmap  font  formats.

  Please   read   the  docs/CHANGES   file,   it  contains   IMPORTANT
  INFORMATION.

  Read the  files `docs/INSTALL*'  for installation  instructions; see
  the file `docs/LICENSE.TXT' for the available licenses.

  The FreeType 2 API reference is located in `docs/reference'; use the
  file   `ft2-toc.html'   as   the   top  entry   point.    Additional
  documentation is available as a separate package from our sites.  Go
  to

    https://download.savannah.gnu.org/releases/freetype/

  and download one of the following files.

    freetype-doc-2.9.1.tar.bz2
    freetype-doc-2.9.1.tar.gz
    ftdoc291.zip

  To view the documentation online, go to

    https://www.freetype.org/freetype2/documentation.html


  Mailing Lists
  =============

  The preferred way  of communication with the FreeType  team is using
  e-mail lists.

    general use and discussion:      freetype@nongnu.org
    engine internals, porting, etc.: freetype-devel@nongnu.org
    announcements:                   freetype-announce@nongnu.org
    git repository tracker:          freetype-commit@nongnu.org

  The lists are moderated; see

    https://www.freetype.org/contact.html

  how to subscribe.


  Bugs
  ====

  Please submit bug reports at

    https://savannah.nongnu.org/bugs/?group=freetype

  Alternatively,    you   might    report    bugs    by   e-mail    to
  `freetype-devel@nongnu.org'.   Don't  forget   to  send  a  detailed
  explanation of the problem --  there is nothing worse than receiving
  a terse message that only says `it doesn't work'.


  Enjoy!


    The FreeType Team

----------------------------------------------------------------------

Copyright 2006-2018 by
David Turner, Robert Wilhelm, and Werner Lemberg.

This  file is  part of  the FreeType  project, and  may only  be used,
modified,  and distributed  under the  terms of  the  FreeType project
license,  LICENSE.TXT.  By  continuing to  use, modify,  or distribute
this file you  indicate that you have read  the license and understand
and accept it fully.


--- end of README ---