1 mad_dep = dependency('mad', version : '>= 0.15', required : false)
2 if not mad_dep.found() and cc.has_header_symbol('mad.h', 'mad_decoder_finish')
3 mad_dep = cc.find_library('mad', required : false)
7 mad = library('gstmad',
10 include_directories : [configinc],
11 dependencies : [gstaudio_dep, mad_dep],
13 install_dir : plugins_install_dir,