summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvipdfmx/configure.ac
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2012-09-06 12:30:56 +0000
committerKhaled Hosny <khaledhosny@eglug.org>2012-09-06 12:30:56 +0000
commit5d4738caf610e94abb73d4f65602fb42fae218ac (patch)
treeba25422e1d3fcb5931fb3db449ca446407059e27 /Build/source/texk/xdvipdfmx/configure.ac
parentc53b55dc5d2d7a85f033ab920f89b4c638a7a393 (diff)
Remove FontConfig dependency
Recent XeTeX always passes file name under non-Mac systems now, so FontConfig is no longer needed. git-svn-id: svn://tug.org/texlive/trunk@27605 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdvipdfmx/configure.ac')
-rw-r--r--Build/source/texk/xdvipdfmx/configure.ac16
1 files changed, 5 insertions, 11 deletions
diff --git a/Build/source/texk/xdvipdfmx/configure.ac b/Build/source/texk/xdvipdfmx/configure.ac
index a7d61f572ca..90afef12e68 100644
--- a/Build/source/texk/xdvipdfmx/configure.ac
+++ b/Build/source/texk/xdvipdfmx/configure.ac
@@ -82,25 +82,19 @@ if test "x$enable_texlive_build" != xyes || test ! -d $srcdir/../kpathsea; then
CHO_CHECK_LIBPAPER
fi
+dnl XXX we should do the check under Mac only
+can_build=yes
KPSE_CHECK_FRAMEWORK([ApplicationServices], [ATSFontRef fontRef])
-KPSE_FONTCONFIG_FLAGS
if test "x$kpse_cv_have_ApplicationServices" = xyes; then
- can_build=yes
AC_DEFINE([XETEX_MAC], 1, [Define if part of a TeX Live build for Mac OS X.])
-else
- KPSE_ADD_FLAGS([fontconfig])
- CHO_CHECK_LIBFONTCONFIG
- KPSE_RESTORE_FLAGS
- can_build=$cho_cv_have_fontconfig
fi
if test "x$can_build" = xyes; then
AC_DEFINE([XETEX], 1, [Define if part of a TeX Live build.])
else
- AC_MSG_WARN([fontconfig library or ApplicationServices framework not found.
-This version of xdvipdfmx requires either ApplicationServices (on Mac OS X)
-or the fontconfig library (on other platforms) to be available, otherwise it
-cannot support XeTeX output using standard system-installed fonts.])
+ AC_MSG_WARN([ApplicationServices framework not found. This version of
+xdvipdfmx requires ApplicationServices (on Mac OS X) to be available, otherwise
+it cannot support XeTeX output using standard system-installed fonts.])
if test "x$enable_build" != xno; then
AC_MSG_ERROR([exiting])
fi