* builds/unix/configure.raw: Clear FT2_EXTRA_LIBS when Mac OS X frameworks are missing

This commit is contained in:
Suzuki, Toshiya (鈴木俊哉) 2008-09-05 03:21:21 +00:00
parent 17cd687266
commit 8e29645e20
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2008-09-05 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
* builds/unix/configure.raw: Clear FT2_EXTRA_LIBS when Carbon
or ApplicationService framework is missing. Although this
value is not used in building of FreeType2, it is written in
freetype2.pc and freetype-config.
2008-09-01 david turner <david@freetype.org>
* include/freetype/ftcache.h, src/cache/ftccmap.c:

View File

@ -292,6 +292,7 @@ if test x$with_old_mac_fonts = xyes; then
CFLAGS="$CFLAGS -DHAVE_TYPE_RESOURCE_INDEX=0"
])],
[AC_MSG_RESULT([not found])
FT2_EXTRA_LIBS=""
LDFLAGS="${orig_LDFLAGS}"
CFLAGS="$CFLAGS -DDARWIN_NO_CARBON"])
else