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型糖尿病。