case "$THIS_SUB_DEPENDS" in
  DRI)
    if [[ "$MESA_GLX" == "dri" ]];then
      return 0
    fi
    ;;
  GLES2)
    if [[ "$MESA_GLES23" == "y" ]];then
      return 0
    fi
    ;;
esac
return 1
