* embed explicit Carbon dependency into freetype2.pc and freetype-config, if configured to use Carbon
This commit is contained in:
parent
28e17d9707
commit
9d49961fcc
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
||||||
|
2006-10-12 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||||
|
|
||||||
|
* builds/unix/configure.raw: Introduce new macro to embed optional
|
||||||
|
dependency: FT2_EXTRA_LIBS, which is embedded in freetype2.pc and
|
||||||
|
freetype-config. Use it to record Carbon dependency of MacOSX.
|
||||||
|
|
||||||
|
* builds/unix/freetype2.in: Embed FT2_EXTRA_LIBS.
|
||||||
|
|
||||||
|
* builds/unix/freetype-config.in: Ditto.
|
||||||
|
|
||||||
2006-10-11 Werner Lemberg <wl@gnu.org>
|
2006-10-11 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
* devel/ftoption.h (FT_CONFIG_OPTION_SUBPIXEL_RENDERING): Define for
|
* devel/ftoption.h (FT_CONFIG_OPTION_SUBPIXEL_RENDERING): Define for
|
||||||
|
|
|
@ -142,8 +142,8 @@ AC_ARG_WITH([old-mac-fonts],
|
||||||
if test x$with_old_mac_fonts = xyes; then
|
if test x$with_old_mac_fonts = xyes; then
|
||||||
orig_LDFLAGS="${LDFLAGS}"
|
orig_LDFLAGS="${LDFLAGS}"
|
||||||
AC_MSG_CHECKING([CoreServices & ApplicationServices of Mac OS X])
|
AC_MSG_CHECKING([CoreServices & ApplicationServices of Mac OS X])
|
||||||
LDFLAGS="$LDFLAGS -Xlinker -framework -Xlinker CoreServices \
|
FT2_EXTRA_LIBS="-Wl,-framework,CoreServices,-framework,ApplicationServices"
|
||||||
-Xlinker -framework -Xlinker ApplicationServices"
|
LDFLAGS="$LDFLAGS $FT2_EXTRA_LIBS"
|
||||||
AC_TRY_LINK([],
|
AC_TRY_LINK([],
|
||||||
[],
|
[],
|
||||||
[AC_MSG_RESULT([ok])],
|
[AC_MSG_RESULT([ok])],
|
||||||
|
@ -388,6 +388,7 @@ fi
|
||||||
AC_SUBST([LIBZ])
|
AC_SUBST([LIBZ])
|
||||||
AC_SUBST([CFLAGS])
|
AC_SUBST([CFLAGS])
|
||||||
AC_SUBST([LDFLAGS])
|
AC_SUBST([LDFLAGS])
|
||||||
|
AC_SUBST([FT2_EXTRA_LIBS])
|
||||||
AC_SUBST([SYSTEM_ZLIB])
|
AC_SUBST([SYSTEM_ZLIB])
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -141,7 +141,7 @@ if test "$echo_libs" = "yes" ; then
|
||||||
if test "$enable_shared" = "yes" ; then
|
if test "$enable_shared" = "yes" ; then
|
||||||
eval "rpath=\"$hardcode_libdir_flag_spec\""
|
eval "rpath=\"$hardcode_libdir_flag_spec\""
|
||||||
fi
|
fi
|
||||||
libs="-lfreetype @LIBZ@"
|
libs="-lfreetype @LIBZ@ @FT2_EXTRA_LIBS@"
|
||||||
if test "$libdir" != "/usr/lib" && test "$libdir" != "/usr/lib64"; then
|
if test "$libdir" != "/usr/lib" && test "$libdir" != "/usr/lib64"; then
|
||||||
echo -L$libdir $rpath $libs
|
echo -L$libdir $rpath $libs
|
||||||
else
|
else
|
||||||
|
|
|
@ -7,5 +7,5 @@ Name: FreeType 2
|
||||||
Description: A free, high-quality, and portable font engine.
|
Description: A free, high-quality, and portable font engine.
|
||||||
Version: @ft_version@
|
Version: @ft_version@
|
||||||
Requires:
|
Requires:
|
||||||
Libs: -L${libdir} -lfreetype @LIBZ@
|
Libs: -L${libdir} -lfreetype @LIBZ@ @FT2_EXTRA_LIBS@
|
||||||
Cflags: -I${includedir}/freetype2 -I${includedir}
|
Cflags: -I${includedir}/freetype2 -I${includedir}
|
||||||
|
|
Loading…
Reference in New Issue