Turkey was the hearth of the Ottoman empire with whom most of Europe had been at intermittent war for centuries until it was dissolved already after WWI (in fact, because of the outcome of WWI).
They were certainly not a friend and the main historical current is that the rulers of Europe accepted the dangers of the existence of the very powerful Austo-Hungarian empire exactly so that they would act as a military barrier between the Ottoman empire and Europe, otherwise the other European kingdoms would never accept the Austro-Hungarians to have such power inside Europe.