Fix configure on iOS

Fixes https://github.com/behdad/harfbuzz/issues/342
This commit is contained in:
Behdad Esfahbod committed 2016-10-11 13:48:23 -07:00
1 parent f6e194e77a
commit 331c46c79b
1 file changed
+2 -1
+2 -1
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