From c48a04e5ea899b82465a0f3f2cfdcffb3bf38f61 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Mon, 10 Dec 2012 16:24:24 -0500 Subject: [PATCH] [coretext] Better test for CoreText Instead of checking for ApplicationServices.h, which is present in all versions of MacOSX, check for CTFontRef, a CoreText basic type. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index cda103b1b..49accd7ff 100644 --- a/configure.ac +++ b/configure.ac @@ -220,7 +220,7 @@ AM_CONDITIONAL(HAVE_UNISCRIBE, $have_uniscribe) dnl =========================================================================== -AC_CHECK_HEADERS(ApplicationServices/ApplicationServices.h, have_coretext=true, have_coretext=false) +AC_CHECK_TYPE(CTFontRef, have_coretext=true, have_coretext=false, [#include ]) if $have_coretext; then CORETEXT_CFLAGS= CORETEXT_LIBS="-framework ApplicationServices"