diff options
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) |