Fix configure on iOS

Fixes https://github.com/behdad/harfbuzz/issues/342
This commit is contained in:
Behdad Esfahbod 2016-10-11 13:45:22 -07:00
parent f6e194e77a
commit 331c46c79b
1 changed files with 2 additions and 1 deletions

View File

@ -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