Fix configure on iOS
Fixes https://github.com/behdad/harfbuzz/issues/342
This commit is contained in:
parent
f6e194e77a
commit
331c46c79b
|
@ -414,7 +414,8 @@ if test "x$with_coretext" = "xyes" -o "x$with_coretext" = "xauto"; then
|
||||||
else
|
else
|
||||||
# On iOS CoreText and CoreGraphics are stand-alone frameworks
|
# On iOS CoreText and CoreGraphics are stand-alone frameworks
|
||||||
if test "x$have_coretext" != "xtrue"; then
|
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
|
fi
|
||||||
|
|
||||||
if $have_coretext; then
|
if $have_coretext; then
|
||||||
|
|
Loading…
Reference in New Issue