forked from minhngoc25a/freetype2
* README.CVS: Updated.
* builds/unix/configure.raw: Updated for newer versions of autoconf and friends.
This commit is contained in:
parent
7cb9ec0f1c
commit
a984fda881
|
@ -1,3 +1,10 @@
|
||||||
|
2008-06-09 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
|
* README.CVS: Updated.
|
||||||
|
|
||||||
|
* builds/unix/configure.raw: Updated for newer versions of autoconf
|
||||||
|
and friends.
|
||||||
|
|
||||||
2008-06-08 Werner Lemberg <wl@gnu.org>
|
2008-06-08 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
* src/type1/t1parse.h (T1_ParserRec): Make `base_len' and
|
* src/type1/t1parse.h (T1_ParserRec): Make `base_len' and
|
||||||
|
|
|
@ -5,9 +5,9 @@ UNIXish platforms. To generate them say
|
||||||
|
|
||||||
which in turn depends on the following packages:
|
which in turn depends on the following packages:
|
||||||
|
|
||||||
automake (1.9.6)
|
automake (1.10.1)
|
||||||
libtool (1.5.22)
|
libtool (2.2.4)
|
||||||
autoconf (2.59c)
|
autoconf (2.62)
|
||||||
|
|
||||||
The versions given in parentheses are known to work. Newer versions
|
The versions given in parentheses are known to work. Newer versions
|
||||||
should work too, of course. Note that autogen.sh also sets up proper
|
should work too, of course. Note that autogen.sh also sets up proper
|
||||||
|
@ -37,7 +37,7 @@ should work on all platforms which have GNU make (or makepp).
|
||||||
|
|
||||||
----------------------------------------------------------------------
|
----------------------------------------------------------------------
|
||||||
|
|
||||||
Copyright 2005, 2006, 2007 by
|
Copyright 2005, 2006, 2007, 2008 by
|
||||||
David Turner, Robert Wilhelm, and Werner Lemberg.
|
David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
|
|
||||||
This file is part of the FreeType project, and may only be used,
|
This file is part of the FreeType project, and may only be used,
|
||||||
|
|
|
@ -182,7 +182,8 @@ if test x$with_old_mac_fonts = xyes; then
|
||||||
AC_MSG_CHECKING([CoreServices & ApplicationServices of Mac OS X])
|
AC_MSG_CHECKING([CoreServices & ApplicationServices of Mac OS X])
|
||||||
FT2_EXTRA_LIBS="-Wl,-framework,CoreServices -Wl,-framework,ApplicationServices"
|
FT2_EXTRA_LIBS="-Wl,-framework,CoreServices -Wl,-framework,ApplicationServices"
|
||||||
LDFLAGS="$LDFLAGS $FT2_EXTRA_LIBS"
|
LDFLAGS="$LDFLAGS $FT2_EXTRA_LIBS"
|
||||||
AC_TRY_LINK([
|
AC_LINK_IFELSE([
|
||||||
|
AC_LANG_PROGRAM([
|
||||||
|
|
||||||
#if defined(__GNUC__) && defined(__APPLE_CC__)
|
#if defined(__GNUC__) && defined(__APPLE_CC__)
|
||||||
# include <Carbon/Carbon.h>
|
# include <Carbon/Carbon.h>
|
||||||
|
@ -200,12 +201,13 @@ if test x$with_old_mac_fonts = xyes; then
|
||||||
|
|
||||||
UseResFile( res );
|
UseResFile( res );
|
||||||
|
|
||||||
],
|
])],
|
||||||
[AC_MSG_RESULT([ok])
|
[AC_MSG_RESULT([ok])
|
||||||
AC_MSG_CHECKING([OS_INLINE macro is ANSI compatible])
|
AC_MSG_CHECKING([OS_INLINE macro is ANSI compatible])
|
||||||
orig_CFLAGS="$CFLAGS"
|
orig_CFLAGS="$CFLAGS"
|
||||||
CFLAGS="$CFLAGS $XX_CFLAGS $XX_ANSIFLAGS"
|
CFLAGS="$CFLAGS $XX_CFLAGS $XX_ANSIFLAGS"
|
||||||
AC_TRY_COMPILE([
|
AC_COMPILE_IFELSE([
|
||||||
|
AC_LANG_PROGRAM([
|
||||||
|
|
||||||
#if defined(__GNUC__) && defined(__APPLE_CC__)
|
#if defined(__GNUC__) && defined(__APPLE_CC__)
|
||||||
# include <Carbon/Carbon.h>
|
# include <Carbon/Carbon.h>
|
||||||
|
@ -225,15 +227,14 @@ if test x$with_old_mac_fonts = xyes; then
|
||||||
if ( OSBigEndian != os_byte_order )
|
if ( OSBigEndian != os_byte_order )
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
],
|
])],
|
||||||
[AC_MSG_RESULT([ok])
|
[AC_MSG_RESULT([ok])
|
||||||
CFLAGS="$orig_CFLAGS"
|
CFLAGS="$orig_CFLAGS"
|
||||||
CFLAGS="$CFLAGS -DHAVE_ANSI_OS_INLINE=1"
|
CFLAGS="$CFLAGS -DHAVE_ANSI_OS_INLINE=1"
|
||||||
],
|
],
|
||||||
[AC_MSG_RESULT([no, ANSI incompatible])
|
[AC_MSG_RESULT([no, ANSI incompatible])
|
||||||
CFLAGS="$orig_CFLAGS"
|
CFLAGS="$orig_CFLAGS"
|
||||||
])
|
])],
|
||||||
],
|
|
||||||
[AC_MSG_RESULT([not found])
|
[AC_MSG_RESULT([not found])
|
||||||
LDFLAGS="${orig_LDFLAGS}"
|
LDFLAGS="${orig_LDFLAGS}"
|
||||||
CFLAGS="$CFLAGS -DDARWIN_NO_CARBON"])
|
CFLAGS="$CFLAGS -DDARWIN_NO_CARBON"])
|
||||||
|
@ -257,7 +258,8 @@ if test x$with_fsspec = xno; then
|
||||||
CFLAGS="$CFLAGS -DHAVE_FSSPEC=0"
|
CFLAGS="$CFLAGS -DHAVE_FSSPEC=0"
|
||||||
elif test x$with_old_mac_fonts = xyes -a x$with_fsspec != x; then
|
elif test x$with_old_mac_fonts = xyes -a x$with_fsspec != x; then
|
||||||
AC_MSG_CHECKING([FSSpec-based FileManager])
|
AC_MSG_CHECKING([FSSpec-based FileManager])
|
||||||
AC_TRY_LINK([
|
AC_LINK_IFELSE([
|
||||||
|
AC_LANG_PROGRAM([
|
||||||
|
|
||||||
#if defined(__GNUC__) && defined(__APPLE_CC__)
|
#if defined(__GNUC__) && defined(__APPLE_CC__)
|
||||||
# include <Carbon/Carbon.h>
|
# include <Carbon/Carbon.h>
|
||||||
|
@ -281,7 +283,7 @@ elif test x$with_old_mac_fonts = xyes -a x$with_fsspec != x; then
|
||||||
PBGetFCBInfoSync( paramBlock );
|
PBGetFCBInfoSync( paramBlock );
|
||||||
FSMakeFSSpec( vRefNum, dirID, fileName, spec );
|
FSMakeFSSpec( vRefNum, dirID, fileName, spec );
|
||||||
|
|
||||||
],
|
])],
|
||||||
[AC_MSG_RESULT([ok])
|
[AC_MSG_RESULT([ok])
|
||||||
CFLAGS="$CFLAGS -DHAVE_FSSPEC=1"],
|
CFLAGS="$CFLAGS -DHAVE_FSSPEC=1"],
|
||||||
[AC_MSG_RESULT([not found])
|
[AC_MSG_RESULT([not found])
|
||||||
|
@ -303,7 +305,8 @@ if test x$with_fsref = xno; then
|
||||||
CFLAGS="$CFLAGS -DHAVE_FSREF=0"
|
CFLAGS="$CFLAGS -DHAVE_FSREF=0"
|
||||||
elif test x$with_old_mac_fonts = xyes -a x$with_fsref != x; then
|
elif test x$with_old_mac_fonts = xyes -a x$with_fsref != x; then
|
||||||
AC_MSG_CHECKING([FSRef-based FileManager])
|
AC_MSG_CHECKING([FSRef-based FileManager])
|
||||||
AC_TRY_LINK([
|
AC_LINK_IFELSE([
|
||||||
|
AC_LANG_PROGRAM([
|
||||||
|
|
||||||
#if defined(__GNUC__) && defined(__APPLE_CC__)
|
#if defined(__GNUC__) && defined(__APPLE_CC__)
|
||||||
# include <Carbon/Carbon.h>
|
# include <Carbon/Carbon.h>
|
||||||
|
@ -347,7 +350,7 @@ elif test x$with_old_mac_fonts = xyes -a x$with_fsref != x; then
|
||||||
FSGetCatalogInfo( ref, whichInfo, catalogInfo,
|
FSGetCatalogInfo( ref, whichInfo, catalogInfo,
|
||||||
outForkName, spec, ref );
|
outForkName, spec, ref );
|
||||||
#endif
|
#endif
|
||||||
],
|
])],
|
||||||
[AC_MSG_RESULT([ok])
|
[AC_MSG_RESULT([ok])
|
||||||
CFLAGS="$CFLAGS -DHAVE_FSREF=1"],
|
CFLAGS="$CFLAGS -DHAVE_FSREF=1"],
|
||||||
[AC_MSG_RESULT([not found])
|
[AC_MSG_RESULT([not found])
|
||||||
|
@ -365,7 +368,8 @@ if test x$with_quickdraw_toolbox = xno; then
|
||||||
CFLAGS="$CFLAGS -DHAVE_QUICKDRAW_TOOLBOX=0"
|
CFLAGS="$CFLAGS -DHAVE_QUICKDRAW_TOOLBOX=0"
|
||||||
elif test x$with_old_mac_fonts = xyes -a x$with_quickdraw_toolbox != x; then
|
elif test x$with_old_mac_fonts = xyes -a x$with_quickdraw_toolbox != x; then
|
||||||
AC_MSG_CHECKING([QuickDraw FontManager functions in ToolBox])
|
AC_MSG_CHECKING([QuickDraw FontManager functions in ToolBox])
|
||||||
AC_TRY_LINK([
|
AC_LINK_IFELSE([
|
||||||
|
AC_LANG_PROGRAM([
|
||||||
|
|
||||||
#if defined(__GNUC__) && defined(__APPLE_CC__)
|
#if defined(__GNUC__) && defined(__APPLE_CC__)
|
||||||
# include <Carbon/Carbon.h>
|
# include <Carbon/Carbon.h>
|
||||||
|
@ -388,7 +392,7 @@ elif test x$with_old_mac_fonts = xyes -a x$with_quickdraw_toolbox != x; then
|
||||||
GetFNum( familyName, &familyID );
|
GetFNum( familyName, &familyID );
|
||||||
fmOut = FMSwapFont( fmIn );
|
fmOut = FMSwapFont( fmIn );
|
||||||
|
|
||||||
],
|
])],
|
||||||
[AC_MSG_RESULT([ok])
|
[AC_MSG_RESULT([ok])
|
||||||
CFLAGS="$CFLAGS -DHAVE_QUICKDRAW_TOOLBOX=1"],
|
CFLAGS="$CFLAGS -DHAVE_QUICKDRAW_TOOLBOX=1"],
|
||||||
[AC_MSG_RESULT([not found])
|
[AC_MSG_RESULT([not found])
|
||||||
|
@ -406,7 +410,8 @@ if test x$with_quickdraw_carbon = xno; then
|
||||||
CFLAGS="$CFLAGS -DHAVE_QUICKDRAW_CARBON=0"
|
CFLAGS="$CFLAGS -DHAVE_QUICKDRAW_CARBON=0"
|
||||||
elif test x$with_old_mac_fonts = xyes -a x$with_quickdraw_carbon != x; then
|
elif test x$with_old_mac_fonts = xyes -a x$with_quickdraw_carbon != x; then
|
||||||
AC_MSG_CHECKING([QuickDraw FontManager functions in Carbon])
|
AC_MSG_CHECKING([QuickDraw FontManager functions in Carbon])
|
||||||
AC_TRY_LINK([
|
AC_LINK_IFELSE([
|
||||||
|
AC_LANG_PROGRAM([
|
||||||
|
|
||||||
#if defined(__GNUC__) && defined(__APPLE_CC__)
|
#if defined(__GNUC__) && defined(__APPLE_CC__)
|
||||||
# include <Carbon/Carbon.h>
|
# include <Carbon/Carbon.h>
|
||||||
|
@ -439,7 +444,7 @@ elif test x$with_old_mac_fonts = xyes -a x$with_quickdraw_carbon != x; then
|
||||||
FMDisposeFontFamilyIterator( &famIter );
|
FMDisposeFontFamilyIterator( &famIter );
|
||||||
FMGetFontContainer( font, pathSpec );
|
FMGetFontContainer( font, pathSpec );
|
||||||
|
|
||||||
],
|
])],
|
||||||
[AC_MSG_RESULT([ok])
|
[AC_MSG_RESULT([ok])
|
||||||
CFLAGS="$CFLAGS -DHAVE_QUICKDRAW_CARBON=1"],
|
CFLAGS="$CFLAGS -DHAVE_QUICKDRAW_CARBON=1"],
|
||||||
[AC_MSG_RESULT([not found])
|
[AC_MSG_RESULT([not found])
|
||||||
|
@ -457,7 +462,8 @@ if test x$with_ats = xno; then
|
||||||
CFLAGS="$CFLAGS -DHAVE_ATS=0"
|
CFLAGS="$CFLAGS -DHAVE_ATS=0"
|
||||||
elif test x$with_old_mac_fonts = xyes -a x$with_ats != x ; then
|
elif test x$with_old_mac_fonts = xyes -a x$with_ats != x ; then
|
||||||
AC_MSG_CHECKING([AppleTypeService functions])
|
AC_MSG_CHECKING([AppleTypeService functions])
|
||||||
AC_TRY_LINK([
|
AC_LINK_IFELSE([
|
||||||
|
AC_LANG_PROGRAM([
|
||||||
|
|
||||||
#include <Carbon/Carbon.h>
|
#include <Carbon/Carbon.h>
|
||||||
|
|
||||||
|
@ -472,7 +478,7 @@ elif test x$with_old_mac_fonts = xyes -a x$with_ats != x ; then
|
||||||
ATSFontGetFileSpecification( 0, pathSpec );
|
ATSFontGetFileSpecification( 0, pathSpec );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
],
|
])],
|
||||||
[AC_MSG_RESULT([ok])
|
[AC_MSG_RESULT([ok])
|
||||||
CFLAGS="$CFLAGS -DHAVE_ATS=1"],
|
CFLAGS="$CFLAGS -DHAVE_ATS=1"],
|
||||||
[AC_MSG_RESULT([not found])
|
[AC_MSG_RESULT([not found])
|
||||||
|
@ -500,13 +506,12 @@ AC_SUBST([FT2_EXTRA_LIBS])
|
||||||
AC_SUBST([SYSTEM_ZLIB])
|
AC_SUBST([SYSTEM_ZLIB])
|
||||||
|
|
||||||
|
|
||||||
AC_LIBTOOL_WIN32_DLL
|
LT_INIT(win32-dll)
|
||||||
|
|
||||||
AC_PROG_LIBTOOL
|
|
||||||
# urgh -- these are internal libtool variables...
|
|
||||||
AC_SUBST([enable_shared])
|
|
||||||
AC_SUBST([hardcode_libdir_flag_spec])
|
AC_SUBST([hardcode_libdir_flag_spec])
|
||||||
AC_SUBST([wl])
|
AC_SUBST([wl])
|
||||||
|
# urgh -- this is an internal libtool variable...
|
||||||
|
AC_SUBST([enable_shared])
|
||||||
|
|
||||||
|
|
||||||
# configuration file -- stay in 8.3 limit
|
# configuration file -- stay in 8.3 limit
|
||||||
|
|
Loading…
Reference in New Issue