1 if get_option('gsm').disabled()
5 gsm_dep = cc.find_library('gsm', required : get_option('gsm'))
6 have_gsm_create = cc.has_header_symbol('gsm.h', 'gsm_create')
8 have_gsm_create = cc.has_header_symbol('gsm/smg.h', 'gsm_create')
9 if not have_gsm_create and get_option('gsm').enabled()
10 error('GSM plugin is enabled: found libgsm but no headers')
14 if gsm_dep.found() and have_gsm_create
15 gstgsm = library('gstgsm',
16 ['gstgsm.c', 'gstgsmenc.c', 'gstgsmdec.c'],
17 c_args : gst_plugins_bad_args,
18 include_directories : [configinc],
19 dependencies : [gstaudio_dep, gsm_dep],
21 install_dir : plugins_install_dir,
23 pkgconfig.generate(gstgsm, install_dir : plugins_pkgconfig_install_dir)