case $THIS_SUB_DEPENDS in DRI) if list_find "$MESA_GLX" dri;then return 0 fi ;; GLES2) if [[ "$MESA_GLES2" == "gles2=true" ]];then return 0 fi ;; esac return 1