Obviously, early POD could prevent it easily, but I'm thinking about something closer to 16th century. How could alliance between Ottoman Empire and Kingdom of France be avoided and even replaced by animosity? Is Habsburg-screw required for this? During Italian Wars France started to look for allies on eastern and southern flank of Habsburg lands, but initially these were Christian states. Louis XII in 1499 and 1500 made alliance (officially anti-Ottoman, in practice not exactly, but anti-Ottoman element wasn't bluff either) with Venice and Hungary and promised help against Ottomans to his eastern allies. Francis I also was looking for Christian allies on Habsburg's eastern flank-he tried with Poland and Hungary, but King of Poland lost enthusiasm for French alliance after Pavia (although very idea of getting closer to France was more his wife's idea). Hungarians OTOH generally expected, that Austrian support against Ottomans would be more valuable than alliance with distant France, and after Mohacs there was hardly any alternative for France's eastern ally against Habsburgs other than Ottoman Empire. So what and where should be changed to prevent that alliance?
France more successful in Italian Wars? How much more successful?
No Habsburg encirclement of France is required? Or at least less complete one (like Crown of Aragon remaining outside Habsburg control).