The present invention relates to compounds of general formula I, wherein the groups R1, R2 and m are defined as in claim 1, which have valuable pharmacological properties, in particular bind to the GPR40 receptor and modulate its activity. The compounds are suitable for treatment and prevention of diseases which can be influenced by this receptor, such as metabolic diseases, in particular diabetes type 2.本發明係關於通式I化合物,其中基團R1、R2及m如請求項1中所定義,該等化合物具有有價值的藥理學性質,詳言之結合於GPR40受體並調節其活性。該等化合物適於治療及預防可受此受體影響之疾病,諸如代謝疾病,詳言之2型糖尿病。