blob: a93e07581f29cb4cd5fc1c4f20f45bc8e36b307b [file] [edit]
if x11_dep.found()
# XShm is only used by ximage and xvimage
# FIXME: Need to check for XShmAttach inside libXext
xshm_dep = dependency('xext', required : get_option('xshm'))
xi_dep = dependency('xi', required : get_option('xi'))
core_conf.set('HAVE_XSHM', xshm_dep.found())
core_conf.set('HAVE_XI2', xi_dep.found())
subdir('ximage')
subdir('xvimage')
endif