summaryrefslogtreecommitdiff
path: root/config_host
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2013-09-06 16:04:09 +0200
committerCaolán McNamara <caolanm@redhat.com>2013-09-06 19:16:21 +0000
commite4a1acd396785675bfc25c7cd5c66304ec40f38f (patch)
tree0ffe8998efc17cba7dc6cab2e1ad9cd518a1da1b /config_host
parent1d223fa1ec3724b291a7d46de7e38e32c03c5235 (diff)
Check for FT_Face_GetCharVariantIndex at build time
No more dlsym() hacks. The downside is that LibreOffice built on systems with old FreeType will not be able to use FT_Face_GetCharVariantIndex() on newer systems, but most Linux users use their distribution builds anyway. This only affects the use of Unicode Variation Selectors which is an exotic feature that wasn't even supported on Linux before 4.1. Change-Id: I674822ef5bc8d7940a821a01cc85ae7a6d39a80e Reviewed-on: https://gerrit.libreoffice.org/5844 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'config_host')
-rw-r--r--config_host/config_features.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/config_host/config_features.h.in b/config_host/config_features.h.in
index 1c42ff014a12..100706ac9098 100644
--- a/config_host/config_features.h.in
+++ b/config_host/config_features.h.in
@@ -116,5 +116,9 @@
#define HAVE_FEATURE_READONLY_INSTALLSET 0
+/*
+ * Whether FreeType has FT_Face_GetCharVariantIndex or not.
+ */
+#define HAVE_FT_FACE_GETCHARVARIANTINDEX 0
#endif