13 if get_option('flite').disabled()
18 foreach flite_lib : flite_libs
19 flite_lib_dep = cc.find_library(flite_lib, required : get_option('flite'))
20 if flite_lib_dep.found()
21 flite_deps += [flite_lib_dep]
24 have_flite_h = cc.has_header_symbol('flite/flite.h', 'flite_init')
25 if not have_flite_h and get_option('flite').enabled()
26 error('flite plugin enabled, but flite.h not found')
29 if flite_deps.length() == flite_libs.length() and have_flite_h
30 gstflite = library('gstflite',
32 c_args : gst_plugins_bad_args,
33 include_directories : [configinc],
34 dependencies : [gstaudio_dep] + flite_deps,
36 install_dir : plugins_install_dir,
38 pkgconfig.generate(gstflite, install_dir : plugins_pkgconfig_install_dir)