diff options
author | Thomas White <taw@physics.org> | 2019-05-13 22:31:05 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-05-16 15:15:49 +0200 |
commit | d49503f8aa1415731c649f50d5a92af837433fa1 (patch) | |
tree | 115382e434bd9d11077c19243b934a8f7c0e8ce0 /meson.build | |
parent | 208f6dc608959dcdeb55afc69daf547e7a1e2c3e (diff) |
Add check for compface
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 6509af70..106aa030 100644 --- a/meson.build +++ b/meson.build @@ -109,6 +109,15 @@ if compiler.has_function('regcomp', prefix : '#include <regex.h>') conf_data.set('HAVE_REGCOMP', 1) endif +if compiler.has_header('compface.h') + conf_data.set('HAVE_LIBCOMPFACE', 1) + compface_link_args = ['-lcompface'] +else + compface_link_args = [] +endif +compface = declare_dependency(compile_args : [], + link_args : compface_link_args) + configure_file(output : 'config.h', configuration : conf_data) @@ -349,5 +358,5 @@ executable('sylpheed', 'src/vcard.c', version_h], dependencies : [gtk, glib, gobject, gmodule, libsylph_dep, openssl, - gtkspell, aspell, enchant, oniguruma], + gtkspell, aspell, enchant, oniguruma, compface], install : true) |