I think that Turkey's slide in to authoritarianism can be directly traced to the US' Kissinger-esque approach to diplomacy, particularly in the Middle East. I'm not saying the alternative would have been better everywhere, or even in Turkey. But... still.
There is simply no relationship between American friendship and liberalism, rule of law, protection of minorities or any other "moral" standard. The US will not downgrade it's relationship or do anything, in response to stealing an election, commiting a political purge, etc.
Turkey has never been a fully liberal democracy, with basic freedoms held to a basic democratic standard. Ironically though, at the beginning of erdogan's premiership it was pretty close, closer than it had been certainly.
As it gradually slipped into its current state, there were no consequences... not even a scholding.
Oddly, Trump's wildman diplomatic tactics that constantly and hyperbolically upgrades and degrades the US' "friendship status" other states... the inconsistency allows for flexibility.
I doubt much liberalism will result directly from Trump (it's just not something he seems to care for) but the re-write get of the rules... That will probably be permanent. It may allow the US out of its fairly constrained diplomatic policies, which (I now believe) are far too consistency and convention oriented.
Tldr... If the US had started reacting sharply when Erdogan started jailing journalists, rivals and activists....Turkey might still be a free country.