From 331c46c79b4d18cb4948be12c78ebb71a143e7ac Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod <behdad@behdad.org> Date: Tue, 11 Oct 2016 13:45:22 -0700 Subject: [PATCH] Fix configure on iOS Fixes https://github.com/behdad/harfbuzz/issues/342 --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 235afe761..14c86b7c5 100644 --- a/configure.ac +++ b/configure.ac @@ -414,7 +414,8 @@ if test "x$with_coretext" = "xyes" -o "x$with_coretext" = "xauto"; then else # On iOS CoreText and CoreGraphics are stand-alone frameworks if test "x$have_coretext" != "xtrue"; then - AC_CHECK_TYPE(CTFontRef, have_coretext=true,, [#include <CoreText/CoreText.h>]) + # Check for a different symbol to avoid getting cached result. + AC_CHECK_TYPE(CTRunRef, have_coretext=true,, [#include <CoreText/CoreText.h>]) fi if $have_coretext; then