Commit 8e29645e20e4de8c2b2cbfde12a48da7f84c3713

Suzuki, Toshiya (鈴木俊哉) 2008-09-05T03:21:21

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

diff --git a/ChangeLog b/ChangeLog
index 6b3054e..14d3ef9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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:
diff --git a/builds/unix/configure.raw b/builds/unix/configure.raw
index 1ac3cce..477185b 100644
--- a/builds/unix/configure.raw
+++ b/builds/unix/configure.raw
@@ -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