Update freetype to 2.8.1

This commit is contained in:
Alex Szpakowski
2017-10-28 22:06:29 -03:00
parent 0c62108e7f
commit 5e763aa7a0
771 changed files with 4116 additions and 1861 deletions
+1 -1
View File
@@ -146,7 +146,7 @@ set(MEGA_LIBOGG_VER "1.3.2")
set(MEGA_LIBVORBIS_VER "1.3.5") set(MEGA_LIBVORBIS_VER "1.3.5")
set(MEGA_LIBTHEORA_VER "1.1.1") set(MEGA_LIBTHEORA_VER "1.1.1")
set(MEGA_MPG123_VER "1.25.6") set(MEGA_MPG123_VER "1.25.6")
set(MEGA_FREETYPE_VER "2.8") set(MEGA_FREETYPE_VER "2.8.1")
set(MEGA_SDL2_VER "2.0.5-b48d8a98e261") set(MEGA_SDL2_VER "2.0.5-b48d8a98e261")
set(MEGA_OPENAL_VER "1.17.0") set(MEGA_OPENAL_VER "1.17.0")
set(MEGA_MODPLUG_VER "0.8.8.4") set(MEGA_MODPLUG_VER "0.8.8.4")
@@ -154,7 +154,7 @@ endif ()
set(VERSION_MAJOR "2") set(VERSION_MAJOR "2")
set(VERSION_MINOR "8") set(VERSION_MINOR "8")
set(VERSION_PATCH "0") set(VERSION_PATCH "1")
set(PROJECT_VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}) set(PROJECT_VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
set(SHARED_LIBRARY_VERSION ${VERSION_MAJOR}.${VERSION_MINOR}) set(SHARED_LIBRARY_VERSION ${VERSION_MAJOR}.${VERSION_MINOR})
@@ -364,7 +364,7 @@ endif ()
if (NOT CMAKE_VERSION VERSION_LESS 2.8.12) if (NOT CMAKE_VERSION VERSION_LESS 2.8.12)
target_include_directories(freetype target_include_directories(freetype
PUBLIC include) PUBLIC $<INSTALL_INTERFACE:include/freetype2>)
endif () endif ()
if (CMAKE_VERSION VERSION_LESS 2.8.12) if (CMAKE_VERSION VERSION_LESS 2.8.12)
@@ -392,7 +392,6 @@ if (HARFBUZZ_FOUND)
endif () endif ()
if (NOT MEGA)
# Installations # Installations
# Note the trailing slash in the argument to the `DIRECTORY' directive # Note the trailing slash in the argument to the `DIRECTORY' directive
if (NOT SKIP_INSTALL_HEADERS AND NOT SKIP_INSTALL_ALL) if (NOT SKIP_INSTALL_HEADERS AND NOT SKIP_INSTALL_ALL)
@@ -450,6 +449,4 @@ if (NOT DEFINED FREETYPE_NO_DIST)
add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source) add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source)
endif () endif ()
endif() # NOT MEGA
# eof # eof
File diff suppressed because it is too large Load Diff
@@ -1860,10 +1860,10 @@
Fix `checking if gcc static flag -static works' test. Fix `checking if gcc static flag -static works' test.
On my linux build tree, I receive yes answer in every package I On my linux build tree, I receive yes answer in every package I
build except freetype for this test checking if gcc static flag build except FreeType for this test checking if gcc static flag
`-static' works `-static' works
On freetype, no is received, unless bzip2 and zlib are disabled using In FreeType, no is received, unless bzip2 and zlib are disabled using
./configure --without-bzip2 --without-zlib ./configure --without-bzip2 --without-zlib
@@ -2116,7 +2116,7 @@
builds/unix/unix-def.in (freetype-config, freetype2.pc): Handle builds/unix/unix-def.in (freetype-config, freetype2.pc): Handle
HarfBuzz. HarfBuzz.
* docs/INSTALL.UNIX: Document interdependency of Freetype with * docs/INSTALL.UNIX: Document interdependency of FreeType with
HarfBuzz. HarfBuzz.
2014-02-28 Alexei Podtelezhnikov <apodtele@gmail.com> 2014-02-28 Alexei Podtelezhnikov <apodtele@gmail.com>
@@ -210,7 +210,7 @@ actions RefDoc
{ {
python $(FT2_SRC)/tools/docmaker/docmaker.py python $(FT2_SRC)/tools/docmaker/docmaker.py
--prefix=ft2 --prefix=ft2
--title=FreeType-2.8 --title=FreeType-2.8.1
--output=$(DOC_DIR) --output=$(DOC_DIR)
$(FT2_INCLUDE)/freetype/*.h $(FT2_INCLUDE)/freetype/*.h
$(FT2_INCLUDE)/freetype/config/*.h $(FT2_INCLUDE)/freetype/config/*.h
@@ -1,5 +1,5 @@
FreeType 2.8 FreeType 2.8.1
============ ==============
Homepage: http://www.freetype.org Homepage: http://www.freetype.org
@@ -24,9 +24,9 @@
and download one of the following files. and download one of the following files.
freetype-doc-2.8.tar.bz2 freetype-doc-2.8.1.tar.bz2
freetype-doc-2.8.tar.gz freetype-doc-2.8.1.tar.gz
ftdoc28.zip ftdoc281.zip
To view the documentation online, go to To view the documentation online, go to
@@ -1423,7 +1423,7 @@ typedef short ResourceIndex;
/* accepts an FSRef instead of a path. */ /* accepts an FSRef instead of a path. */
/* */ /* */
/* This function is deprecated because Carbon data types (FSRef) */ /* This function is deprecated because Carbon data types (FSRef) */
/* are not cross-platform, and thus not suitable for the freetype API. */ /* are not cross-platform, and thus not suitable for the FreeType API. */
FT_EXPORT_DEF( FT_Error ) FT_EXPORT_DEF( FT_Error )
FT_New_Face_From_FSRef( FT_Library library, FT_New_Face_From_FSRef( FT_Library library,
const FSRef* ref, const FSRef* ref,
@@ -1481,7 +1481,7 @@ typedef short ResourceIndex;
/* accepts an FSSpec instead of a path. */ /* accepts an FSSpec instead of a path. */
/* */ /* */
/* This function is deprecated because Carbon data types (FSSpec) */ /* This function is deprecated because Carbon data types (FSSpec) */
/* are not cross-platform, and thus not suitable for the freetype API. */ /* are not cross-platform, and thus not suitable for the FreeType API. */
FT_EXPORT_DEF( FT_Error ) FT_EXPORT_DEF( FT_Error )
FT_New_Face_From_FSSpec( FT_Library library, FT_New_Face_From_FSSpec( FT_Library library,
const FSSpec* spec, const FSSpec* spec,
@@ -2,7 +2,7 @@
# Attempt to guess a canonical system name. # Attempt to guess a canonical system name.
# Copyright 1992-2017 Free Software Foundation, Inc. # Copyright 1992-2017 Free Software Foundation, Inc.
timestamp='2017-03-05' timestamp='2017-09-12'
# This file is free software; you can redistribute it and/or modify it # This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by # under the terms of the GNU General Public License as published by
@@ -259,6 +259,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
*:Sortix:*:*) *:Sortix:*:*)
echo ${UNAME_MACHINE}-unknown-sortix echo ${UNAME_MACHINE}-unknown-sortix
exit ;; exit ;;
*:Redox:*:*)
echo ${UNAME_MACHINE}-unknown-redox
exit ;;
alpha:OSF1:*:*) alpha:OSF1:*:*)
case $UNAME_RELEASE in case $UNAME_RELEASE in
*4.0) *4.0)
@@ -315,15 +318,6 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
exitcode=$? exitcode=$?
trap '' 0 trap '' 0
exit $exitcode ;; exit $exitcode ;;
Alpha\ *:Windows_NT*:*)
# How do we know it's Interix rather than the generic POSIX subsystem?
# Should we change UNAME_MACHINE based on the output of uname instead
# of the specific Alpha model?
echo alpha-pc-interix
exit ;;
21064:Windows_NT:50:3)
echo alpha-dec-winnt3.5
exit ;;
Amiga*:UNIX_System_V:4.0:*) Amiga*:UNIX_System_V:4.0:*)
echo m68k-unknown-sysv4 echo m68k-unknown-sysv4
exit ;; exit ;;
@@ -855,10 +849,6 @@ EOF
*:MSYS*:*) *:MSYS*:*)
echo ${UNAME_MACHINE}-pc-msys echo ${UNAME_MACHINE}-pc-msys
exit ;; exit ;;
i*:windows32*:*)
# uname -m includes "-pc" on this system.
echo ${UNAME_MACHINE}-mingw32
exit ;;
i*:PW*:*) i*:PW*:*)
echo ${UNAME_MACHINE}-pc-pw32 echo ${UNAME_MACHINE}-pc-pw32
exit ;; exit ;;
@@ -874,27 +864,12 @@ EOF
echo ia64-unknown-interix${UNAME_RELEASE} echo ia64-unknown-interix${UNAME_RELEASE}
exit ;; exit ;;
esac ;; esac ;;
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
echo i${UNAME_MACHINE}-pc-mks
exit ;;
8664:Windows_NT:*)
echo x86_64-pc-mks
exit ;;
i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
# How do we know it's Interix rather than the generic POSIX subsystem?
# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
# UNAME_MACHINE based on the output of uname instead of i386?
echo i586-pc-interix
exit ;;
i*:UWIN*:*) i*:UWIN*:*)
echo ${UNAME_MACHINE}-pc-uwin echo ${UNAME_MACHINE}-pc-uwin
exit ;; exit ;;
amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
echo x86_64-unknown-cygwin echo x86_64-unknown-cygwin
exit ;; exit ;;
p*:CYGWIN*:*)
echo powerpcle-unknown-cygwin
exit ;;
prep*:SunOS:5.*:*) prep*:SunOS:5.*:*)
echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit ;; exit ;;
@@ -1304,14 +1279,21 @@ EOF
if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then
if [ "$CC_FOR_BUILD" != no_compiler_found ]; then if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
(CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
grep IS_64BIT_ARCH >/dev/null grep IS_64BIT_ARCH >/dev/null
then then
case $UNAME_PROCESSOR in case $UNAME_PROCESSOR in
i386) UNAME_PROCESSOR=x86_64 ;; i386) UNAME_PROCESSOR=x86_64 ;;
powerpc) UNAME_PROCESSOR=powerpc64 ;; powerpc) UNAME_PROCESSOR=powerpc64 ;;
esac esac
fi fi
# On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc
if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \
(CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
grep IS_PPC >/dev/null
then
UNAME_PROCESSOR=powerpc
fi
fi fi
elif test "$UNAME_PROCESSOR" = i386 ; then elif test "$UNAME_PROCESSOR" = i386 ; then
# Avoid executing cc on OS X 10.9, as it ships with a stub # Avoid executing cc on OS X 10.9, as it ships with a stub
@@ -1335,16 +1317,16 @@ EOF
*:QNX:*:4*) *:QNX:*:4*)
echo i386-pc-qnx echo i386-pc-qnx
exit ;; exit ;;
NEO-?:NONSTOP_KERNEL:*:*) NEO-*:NONSTOP_KERNEL:*:*)
echo neo-tandem-nsk${UNAME_RELEASE} echo neo-tandem-nsk${UNAME_RELEASE}
exit ;; exit ;;
NSE-*:NONSTOP_KERNEL:*:*) NSE-*:NONSTOP_KERNEL:*:*)
echo nse-tandem-nsk${UNAME_RELEASE} echo nse-tandem-nsk${UNAME_RELEASE}
exit ;; exit ;;
NSR-?:NONSTOP_KERNEL:*:*) NSR-*:NONSTOP_KERNEL:*:*)
echo nsr-tandem-nsk${UNAME_RELEASE} echo nsr-tandem-nsk${UNAME_RELEASE}
exit ;; exit ;;
NSX-?:NONSTOP_KERNEL:*:*) NSX-*:NONSTOP_KERNEL:*:*)
echo nsx-tandem-nsk${UNAME_RELEASE} echo nsx-tandem-nsk${UNAME_RELEASE}
exit ;; exit ;;
*:NonStop-UX:*:*) *:NonStop-UX:*:*)
@@ -1422,8 +1404,8 @@ cat >&2 <<EOF
$0: unable to guess system type $0: unable to guess system type
This script (version $timestamp), has failed to recognize the This script (version $timestamp), has failed to recognize the
operating system you are using. If your script is old, overwrite operating system you are using. If your script is old, overwrite *all*
config.guess and config.sub with the latest versions from: copies of config.guess and config.sub with the latest versions from:
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
and and
@@ -2,7 +2,7 @@
# Configuration validation subroutine script. # Configuration validation subroutine script.
# Copyright 1992-2017 Free Software Foundation, Inc. # Copyright 1992-2017 Free Software Foundation, Inc.
timestamp='2017-04-02' timestamp='2017-09-13'
# This file is free software; you can redistribute it and/or modify it # This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by # under the terms of the GNU General Public License as published by
@@ -229,9 +229,6 @@ case $os in
-ptx*) -ptx*)
basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
;; ;;
-windowsnt*)
os=`echo $os | sed -e 's/windowsnt/winnt/'`
;;
-psos*) -psos*)
os=-psos os=-psos
;; ;;
@@ -1259,6 +1256,9 @@ case $basic_machine in
basic_machine=hppa1.1-winbond basic_machine=hppa1.1-winbond
os=-proelf os=-proelf
;; ;;
x64)
basic_machine=x86_64-pc
;;
xbox) xbox)
basic_machine=i686-pc basic_machine=i686-pc
os=-mingw32 os=-mingw32
@@ -1366,8 +1366,8 @@ esac
if [ x"$os" != x"" ] if [ x"$os" != x"" ]
then then
case $os in case $os in
# First match some system type aliases # First match some system type aliases that might get confused
# that might get confused with valid system types. # with valid system types.
# -solaris* is a basic system type, with this one exception. # -solaris* is a basic system type, with this one exception.
-auroraux) -auroraux)
os=-auroraux os=-auroraux
@@ -1387,9 +1387,9 @@ case $os in
-gnu/linux*) -gnu/linux*)
os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
;; ;;
# First accept the basic system types. # Now accept the basic system types.
# The portable systems comes first. # The portable systems comes first.
# Each alternative MUST END IN A *, to match a version number. # Each alternative MUST end in a * to match a version number.
# -sysv* is not here because it comes later, after sysvr4. # -sysv* is not here because it comes later, after sysvr4.
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
| -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
@@ -1,6 +1,6 @@
#! /bin/sh #! /bin/sh
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for FreeType 2.8. # Generated by GNU Autoconf 2.69 for FreeType 2.8.1.
# #
# Report bugs to <freetype@nongnu.org>. # Report bugs to <freetype@nongnu.org>.
# #
@@ -590,8 +590,8 @@ MAKEFLAGS=
# Identity of this package. # Identity of this package.
PACKAGE_NAME='FreeType' PACKAGE_NAME='FreeType'
PACKAGE_TARNAME='freetype' PACKAGE_TARNAME='freetype'
PACKAGE_VERSION='2.8' PACKAGE_VERSION='2.8.1'
PACKAGE_STRING='FreeType 2.8' PACKAGE_STRING='FreeType 2.8.1'
PACKAGE_BUGREPORT='freetype@nongnu.org' PACKAGE_BUGREPORT='freetype@nongnu.org'
PACKAGE_URL='' PACKAGE_URL=''
@@ -1329,7 +1329,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing. # 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. # This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF cat <<_ACEOF
\`configure' configures FreeType 2.8 to adapt to many kinds of systems. \`configure' configures FreeType 2.8.1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]... Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1394,7 +1394,7 @@ fi
if test -n "$ac_init_help"; then if test -n "$ac_init_help"; then
case $ac_init_help in case $ac_init_help in
short | recursive ) echo "Configuration of FreeType 2.8:";; short | recursive ) echo "Configuration of FreeType 2.8.1:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
@@ -1541,7 +1541,7 @@ fi
test -n "$ac_init_help" && exit $ac_status test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then if $ac_init_version; then
cat <<\_ACEOF cat <<\_ACEOF
FreeType configure 2.8 FreeType configure 2.8.1
generated by GNU Autoconf 2.69 generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc. Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2139,7 +2139,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. running configure, to aid debugging if configure makes a mistake.
It was created by FreeType $as_me 2.8, which was It was created by FreeType $as_me 2.8.1, which was
generated by GNU Autoconf 2.69. Invocation command line was generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@ $ $0 $@
@@ -2495,7 +2495,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
# Don't forget to update `docs/VERSIONS.TXT'! # Don't forget to update `docs/VERSIONS.TXT'!
version_info='20:0:14' version_info='21:0:15'
ft_version=`echo $version_info | tr : .` ft_version=`echo $version_info | tr : .`
@@ -13193,8 +13193,8 @@ main ()
} }
_ACEOF _ACEOF
if ac_fn_c_try_compile "$LINENO"; then : if ac_fn_c_try_compile "$LINENO"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok, add it to XX_ANSIFLAGS" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok, adding to XX_ANSIFLAGS" >&5
$as_echo "ok, add it to XX_ANSIFLAGS" >&6; } $as_echo "ok, adding to XX_ANSIFLAGS" >&6; }
XX_ANSIFLAGS="${XX_ANSIFLAGS} ${a}" XX_ANSIFLAGS="${XX_ANSIFLAGS} ${a}"
else else
@@ -15017,7 +15017,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their # report actual input values of CONFIG_FILES etc. instead of their
# values after options handling. # values after options handling.
ac_log=" ac_log="
This file was extended by FreeType $as_me 2.8, which was This file was extended by FreeType $as_me 2.8.1, which was
generated by GNU Autoconf 2.69. Invocation command line was generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
@@ -15083,7 +15083,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\ ac_cs_version="\\
FreeType config.status 2.8 FreeType config.status 2.8.1
configured by $0, generated by GNU Autoconf 2.69, configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\" with options \\"\$ac_cs_config\\"
@@ -11,13 +11,13 @@
# indicate that you have read the license and understand and accept it # indicate that you have read the license and understand and accept it
# fully. # fully.
AC_INIT([FreeType], [2.8], [freetype@nongnu.org], [freetype]) AC_INIT([FreeType], [2.8.1], [freetype@nongnu.org], [freetype])
AC_CONFIG_SRCDIR([ftconfig.in]) AC_CONFIG_SRCDIR([ftconfig.in])
# Don't forget to update `docs/VERSIONS.TXT'! # Don't forget to update `docs/VERSIONS.TXT'!
version_info='20:0:14' version_info='21:0:15'
AC_SUBST([version_info]) AC_SUBST([version_info])
ft_version=`echo $version_info | tr : .` ft_version=`echo $version_info | tr : .`
AC_SUBST([ft_version]) AC_SUBST([ft_version])
@@ -275,7 +275,7 @@ if test "x$GCC" = xyes; then
} }
])], ])],
[AC_MSG_RESULT([ok, add it to XX_ANSIFLAGS]) [AC_MSG_RESULT([ok, adding to XX_ANSIFLAGS])
XX_ANSIFLAGS="${XX_ANSIFLAGS} ${a}" XX_ANSIFLAGS="${XX_ANSIFLAGS} ${a}"
], ],
[AC_MSG_RESULT([no])]) [AC_MSG_RESULT([no])])
@@ -17,7 +17,7 @@ AC_CONFIG_SRCDIR([ftconfig.in])
# Don't forget to update `docs/VERSIONS.TXT'! # Don't forget to update `docs/VERSIONS.TXT'!
version_info='20:0:14' version_info='21:0:15'
AC_SUBST([version_info]) AC_SUBST([version_info])
ft_version=`echo $version_info | tr : .` ft_version=`echo $version_info | tr : .`
AC_SUBST([ft_version]) AC_SUBST([ft_version])
@@ -275,7 +275,7 @@ if test "x$GCC" = xyes; then
} }
])], ])],
[AC_MSG_RESULT([ok, add it to XX_ANSIFLAGS]) [AC_MSG_RESULT([ok, adding to XX_ANSIFLAGS])
XX_ANSIFLAGS="${XX_ANSIFLAGS} ${a}" XX_ANSIFLAGS="${XX_ANSIFLAGS} ${a}"
], ],
[AC_MSG_RESULT([no])]) [AC_MSG_RESULT([no])])
@@ -14,7 +14,7 @@ export LC_ALL
# if `pkg-config' is available, use values from `freetype2.pc' # if `pkg-config' is available, use values from `freetype2.pc'
pkg-config --version >/dev/null 2>&1 %PKG_CONFIG% --atleast-pkgconfig-version 0.24 >/dev/null 2>&1
if test $? -eq 0 ; then if test $? -eq 0 ; then
# note that option `--variable' is not affected by the # note that option `--variable' is not affected by the
# PKG_CONFIG_SYSROOT_DIR environment variable # PKG_CONFIG_SYSROOT_DIR environment variable
@@ -23,17 +23,17 @@ if test $? -eq 0 ; then
export PKG_CONFIG_SYSROOT_DIR export PKG_CONFIG_SYSROOT_DIR
fi fi
prefix=`pkg-config --variable prefix freetype2` prefix=`%PKG_CONFIG% --variable prefix freetype2`
exec_prefix=`pkg-config --variable exec_prefix freetype2` exec_prefix=`%PKG_CONFIG% --variable exec_prefix freetype2`
includedir=`pkg-config --variable includedir freetype2` includedir=`%PKG_CONFIG% --variable includedir freetype2`
libdir=`pkg-config --variable libdir freetype2` libdir=`%PKG_CONFIG% --variable libdir freetype2`
version=`pkg-config --modversion freetype2` version=`%PKG_CONFIG% --modversion freetype2`
cflags=`pkg-config --cflags freetype2` cflags=`%PKG_CONFIG% --cflags freetype2`
dynamic_libs=`pkg-config --libs freetype2` dynamic_libs=`%PKG_CONFIG% --libs freetype2`
static_libs=`pkg-config --static --libs freetype2` static_libs=`%PKG_CONFIG% --static --libs freetype2`
else else
prefix="%prefix%" prefix="%prefix%"
exec_prefix="%exec_prefix%" exec_prefix="%exec_prefix%"
@@ -62,6 +62,7 @@ version_info := @version_info@
# Variables needed for `freetype-config' and `freetype.pc'. # Variables needed for `freetype-config' and `freetype.pc'.
# #
PKG_CONFIG := @PKG_CONFIG@
REQUIRES_PRIVATE := @REQUIRES_PRIVATE@ REQUIRES_PRIVATE := @REQUIRES_PRIVATE@
LIBS_PRIVATE := @LIBS_PRIVATE@ LIBS_PRIVATE := @LIBS_PRIVATE@
LIBSSTATIC_CONFIG := @LIBSSTATIC_CONFIG@ LIBSSTATIC_CONFIG := @LIBSSTATIC_CONFIG@
@@ -102,6 +103,7 @@ NO_OUTPUT := 2> /dev/null
$(OBJ_BUILD)/freetype-config: $(TOP_DIR)/builds/unix/freetype-config.in $(OBJ_BUILD)/freetype-config: $(TOP_DIR)/builds/unix/freetype-config.in
rm -f $@ $@.tmp rm -f $@ $@.tmp
sed -e 's|%LIBSSTATIC_CONFIG%|$(LIBSSTATIC_CONFIG)|' \ sed -e 's|%LIBSSTATIC_CONFIG%|$(LIBSSTATIC_CONFIG)|' \
-e 's|%PKG_CONFIG%|$(PKG_CONFIG)|' \
-e 's|%build_libtool_libs%|$(build_libtool_libs)|' \ -e 's|%build_libtool_libs%|$(build_libtool_libs)|' \
-e 's|%exec_prefix%|$(exec_prefix)|' \ -e 's|%exec_prefix%|$(exec_prefix)|' \
-e 's|%ft_version%|$(ft_version)|' \ -e 's|%ft_version%|$(ft_version)|' \

Some files were not shown because too many files have changed in this diff Show More