diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2018-04-11 13:52:07 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2018-04-11 13:52:07 +0200 |
commit | 63e1fc9b23b4f0e8eaacd151ad39403eaa2b48ef (patch) | |
tree | 999cbe0dc28e7627f7e44b77ad04d18bf6a2f330 /meson.build | |
parent | 5d46e21df66a11233186ddf27ca8c70149307871 (diff) | |
download | pango-63e1fc9b23b4f0e8eaacd151ad39403eaa2b48ef.tar.gz |
Use non-deprecated libthai API when available
I’m assuming the new API is thread-safe as claimed.
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meson.build b/meson.build index a00d4b06..9a5a4c72 100644 --- a/meson.build +++ b/meson.build @@ -216,6 +216,10 @@ thai_dep = dependency('libthai', version: libthai_req_version, required: false) if thai_dep.found() pango_conf.set('HAVE_LIBTHAI', 1) pango_deps += thai_dep + + if cc.has_function('th_brk_find_breaks', dependencies: thai_dep) + pango_conf.set('HAVE_TH_BRK_FIND_BREAKS', 1) + endif endif # These are for the various .pc files so that things will link |