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>
|
||||
|
||||
* 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:
|
||||
|
||||
automake (1.9.6)
|
||||
libtool (1.5.22)
|
||||
autoconf (2.59c)
|
||||
automake (1.10.1)
|
||||
libtool (2.2.4)
|
||||
autoconf (2.62)
|
||||
|
||||
The versions given in parentheses are known to work. Newer versions
|
||||
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.
|
||||
|
||||
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])
|
||||
FT2_EXTRA_LIBS="-Wl,-framework,CoreServices -Wl,-framework,ApplicationServices"
|
||||
LDFLAGS="$LDFLAGS $FT2_EXTRA_LIBS"
|
||||
AC_TRY_LINK([
|
||||
AC_LINK_IFELSE([
|
||||
AC_LANG_PROGRAM([
|
||||
|
||||
#if defined(__GNUC__) && defined(__APPLE_CC__)
|
||||
# include <Carbon/Carbon.h>
|
||||
|
@ -200,12 +201,13 @@ if test x$with_old_mac_fonts = xyes; then
|
|||
|
||||
UseResFile( res );
|
||||
|
||||
],
|
||||
])],
|
||||
[AC_MSG_RESULT([ok])
|
||||
AC_MSG_CHECKING([OS_INLINE macro is ANSI compatible])
|
||||
orig_CFLAGS="$CFLAGS"
|
||||
CFLAGS="$CFLAGS $XX_CFLAGS $XX_ANSIFLAGS"
|
||||
AC_TRY_COMPILE([
|
||||
AC_COMPILE_IFELSE([
|
||||
AC_LANG_PROGRAM([
|
||||
|
||||
#if defined(__GNUC__) && defined(__APPLE_CC__)
|
||||
# include <Carbon/Carbon.h>
|
||||
|
@ -225,15 +227,14 @@ if test x$with_old_mac_fonts = xyes; then
|
|||
if ( OSBigEndian != os_byte_order )
|
||||
return 1;
|
||||
|
||||
],
|
||||
])],
|
||||
[AC_MSG_RESULT([ok])
|
||||
CFLAGS="$orig_CFLAGS"
|
||||
CFLAGS="$CFLAGS -DHAVE_ANSI_OS_INLINE=1"
|
||||
],
|
||||
[AC_MSG_RESULT([no, ANSI incompatible])
|
||||
CFLAGS="$orig_CFLAGS"
|
||||
])
|
||||
],
|
||||
])],
|
||||
[AC_MSG_RESULT([not found])
|
||||
LDFLAGS="${orig_LDFLAGS}"
|
||||
CFLAGS="$CFLAGS -DDARWIN_NO_CARBON"])
|
||||
|
@ -257,7 +258,8 @@ if test x$with_fsspec = xno; then
|
|||
CFLAGS="$CFLAGS -DHAVE_FSSPEC=0"
|
||||
elif test x$with_old_mac_fonts = xyes -a x$with_fsspec != x; then
|
||||
AC_MSG_CHECKING([FSSpec-based FileManager])
|
||||
AC_TRY_LINK([
|
||||
AC_LINK_IFELSE([
|
||||
AC_LANG_PROGRAM([
|
||||
|
||||
#if defined(__GNUC__) && defined(__APPLE_CC__)
|
||||
# include <Carbon/Carbon.h>
|
||||
|
@ -281,7 +283,7 @@ elif test x$with_old_mac_fonts = xyes -a x$with_fsspec != x; then
|
|||
PBGetFCBInfoSync( paramBlock );
|
||||
FSMakeFSSpec( vRefNum, dirID, fileName, spec );
|
||||
|
||||
],
|
||||
])],
|
||||
[AC_MSG_RESULT([ok])
|
||||
CFLAGS="$CFLAGS -DHAVE_FSSPEC=1"],
|
||||
[AC_MSG_RESULT([not found])
|
||||
|
@ -303,7 +305,8 @@ if test x$with_fsref = xno; then
|
|||
CFLAGS="$CFLAGS -DHAVE_FSREF=0"
|
||||
elif test x$with_old_mac_fonts = xyes -a x$with_fsref != x; then
|
||||
AC_MSG_CHECKING([FSRef-based FileManager])
|
||||
AC_TRY_LINK([
|
||||
AC_LINK_IFELSE([
|
||||
AC_LANG_PROGRAM([
|
||||
|
||||
#if defined(__GNUC__) && defined(__APPLE_CC__)
|
||||
# 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,
|
||||
outForkName, spec, ref );
|
||||
#endif
|
||||
],
|
||||
])],
|
||||
[AC_MSG_RESULT([ok])
|
||||
CFLAGS="$CFLAGS -DHAVE_FSREF=1"],
|
||||
[AC_MSG_RESULT([not found])
|
||||
|
@ -365,7 +368,8 @@ if test x$with_quickdraw_toolbox = xno; then
|
|||
CFLAGS="$CFLAGS -DHAVE_QUICKDRAW_TOOLBOX=0"
|
||||
elif test x$with_old_mac_fonts = xyes -a x$with_quickdraw_toolbox != x; then
|
||||
AC_MSG_CHECKING([QuickDraw FontManager functions in ToolBox])
|
||||
AC_TRY_LINK([
|
||||
AC_LINK_IFELSE([
|
||||
AC_LANG_PROGRAM([
|
||||
|
||||
#if defined(__GNUC__) && defined(__APPLE_CC__)
|
||||
# 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 );
|
||||
fmOut = FMSwapFont( fmIn );
|
||||
|
||||
],
|
||||
])],
|
||||
[AC_MSG_RESULT([ok])
|
||||
CFLAGS="$CFLAGS -DHAVE_QUICKDRAW_TOOLBOX=1"],
|
||||
[AC_MSG_RESULT([not found])
|
||||
|
@ -406,7 +410,8 @@ if test x$with_quickdraw_carbon = xno; then
|
|||
CFLAGS="$CFLAGS -DHAVE_QUICKDRAW_CARBON=0"
|
||||
elif test x$with_old_mac_fonts = xyes -a x$with_quickdraw_carbon != x; then
|
||||
AC_MSG_CHECKING([QuickDraw FontManager functions in Carbon])
|
||||
AC_TRY_LINK([
|
||||
AC_LINK_IFELSE([
|
||||
AC_LANG_PROGRAM([
|
||||
|
||||
#if defined(__GNUC__) && defined(__APPLE_CC__)
|
||||
# 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 );
|
||||
FMGetFontContainer( font, pathSpec );
|
||||
|
||||
],
|
||||
])],
|
||||
[AC_MSG_RESULT([ok])
|
||||
CFLAGS="$CFLAGS -DHAVE_QUICKDRAW_CARBON=1"],
|
||||
[AC_MSG_RESULT([not found])
|
||||
|
@ -457,7 +462,8 @@ if test x$with_ats = xno; then
|
|||
CFLAGS="$CFLAGS -DHAVE_ATS=0"
|
||||
elif test x$with_old_mac_fonts = xyes -a x$with_ats != x ; then
|
||||
AC_MSG_CHECKING([AppleTypeService functions])
|
||||
AC_TRY_LINK([
|
||||
AC_LINK_IFELSE([
|
||||
AC_LANG_PROGRAM([
|
||||
|
||||
#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 );
|
||||
#endif
|
||||
|
||||
],
|
||||
])],
|
||||
[AC_MSG_RESULT([ok])
|
||||
CFLAGS="$CFLAGS -DHAVE_ATS=1"],
|
||||
[AC_MSG_RESULT([not found])
|
||||
|
@ -500,13 +506,12 @@ AC_SUBST([FT2_EXTRA_LIBS])
|
|||
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([wl])
|
||||
# urgh -- this is an internal libtool variable...
|
||||
AC_SUBST([enable_shared])
|
||||
|
||||
|
||||
# configuration file -- stay in 8.3 limit
|
||||
|
|
Loading…
Reference in New Issue