No amount of befriending Turkey or any other islamic country like Pakistan is going to help the Chinese. These are people of a faith who will give up their lives to defend some abstract concept called religion.
China should stop using these countries to further its interest but stand on principles and stand with rest of the world in fighting religious terrorism. Otherwise, it will be FEEDING A MONSTER.
TURKEY and CHINA are coming close to each other and even Pakistan is very close to Turkey but INDIA's Relation with Turkey has been low in recent years.