Disclosed in this application are heterocyclic compounds and compositions useful in the treatment of ITK-mediated diseases such as inflammation having the structure of formula (I): embedded image wherein R 1 , R2 and X are as defined in the detailed description. Also provided are methods of inhibiting ITK activity in human or animal subjects.本出願で開示されているのは、式(I):【化1】の構造を有する、炎症等のITK媒介性疾患の処置で有用な複素環式化合物および組成物であり、式中、R1、R2およびXは詳細な説明で定義されている通りである。ヒト対象または動物対象のITK活性の阻害方法も提供される。