The French presidential election may be too close to call but there's something for everyone when it comes to Europe.

Of the four leading candidates going into Sunday's first round of voting, two could take France out of the EU, one wants major reforms with more powers for the biggest countries, and the fourth wants greater EU integration.

Make no mistake, what France thinks about Europe matters. A founding member of the bloc, and with its second-largest economy, Paris has lost a great deal of influence in Brussels over the past few years, with French President François Hollande no match for German Chancellor Angela Merkel, yet its president still takes the big-ticket decisions on sensitive files such as Brexit, the eurozone or the migration crisis.

Here are more details on the EU programs of the main contenders:

Emmanuel Macron — EU enthusiast

Macron is by far the most Europhile of the main candidates. His official program calls for an "ambitious" Europe that "invests, protects" and regains "democratic dynamism."

But he doesn't think the EU is perfect. In an interview with Libération last month, the independent centrist bemoaned "endless summits ... that have weakened the Commission."

His campaign borrows from the French left with support for a "buy European act," a eurozone parliament and finance ministry, and a tax on financial transactions.

He's also called on the EU to preserve the border-free Schengen zone, boost cooperation with countries that send migrants to Europe, and create a common intelligence system to fight terrorism, as well as defending the EU-Canada trade deal.

Macron hasn't shied away from discussing the Brexit negotiations, arguing that Britain should not get preferential treatment from the EU after it leaves the bloc. Along with his rival François Fillon, Macron appears to be in favor of renegotiating the Touquet agreement which covers border controls between France and the U.K.

Marine Le Pen — the EU slayer

For many EU officials in Brussels, Le Pen poses the biggest threat to the European project. The feeling of mistrust is mutual.

The candidate of the far-right National Front has called for an exit from the EU and leaving the military command of NATO because France can't be "a mere region of the European Union," nor can the French president be “a vice chancellor of Angela Merkel."

However, Le Pen has slightly watered down her stance on ditching the single currency. She still wants to leave the euro behind but last month said she would introduce a new franc at a rate of one-to-one to the euro and then allow it to fluctuate on the currency markets.

If elected president, Le Pen would urge her government to renegotiate France's membership of the EU by leaving the Schengen area and ditching EU asylum rules. She also wants to reimpose France's borders, impose new taxes on companies which have relocated jobs outside France, leave the EU’s Common Agricultural Policy, and tax companies that hire foreigners.

Le Pen said she would call a referendum after negotiating a new relationship with the EU — and acknowledged that the French people had the right to reject her proposals if their expectations were not met.

Le Pen told the BBC in March that she expects the EU to push for a hard Brexit because "they can feel that other nations of Europe want to leave this political structure.”

François Fillon — the reformer

The candidate of the conservative Républicains party is critical of the EU, and that's a long-held view. He voted No to the Treaty of Maastricht in 1992, and argues in his official program that “a European wake-up call is indispensable.”

“This renewed Europe will be a sovereign Europe which fully respects nations,” he wrote.

Although Fillon doesn't want to leave the EU, he does want a "renewed" Europe with separate management of the eurozone made up of a secretary-general and a governing board of prime ministers.

He's also come up with tough proposals on migration, calling for “any foreigner who has been found guilty of a crime” to be kicked out of the Schengen area and for anyone “who has been convicted or who has participated in a terrorist act” outside the bloc from getting into Schengen in the first place.

Fillon also wants the EU to be militarily stronger and urged every EU country to increase their defense spending.

With Fillon in power, France would lobby the EU to stop enlargement (and especially for Turkey), renegotiate the posted workers directive (which allows staff to be transferred between countries) and halt large-scale free-trade agreements.

On Brexit, Fillon said he wants France to "defend its interests" in the negotiations while maintaining a "strong bilateral relation" with the U.K, particularly on defense.

Jean-Luc Mélenchon — the change or quit

The far-left candidate, whose poll ratings have shot up in the past couple of weeks, shares with Le Pen some radical views on the future of the EU. But unlike the National Front chief, Mélenchon wants to give the French people a choice: either withdraw from the EU's existing treaties in a "concerted" way or leave "unilaterally."

Before that happens, President Mélenchon would confront Brussels (and Berlin) by refusing to comply with the bloc's rules on public deficits as well as suspending the posted workers directive as well as trade deals with the U.S. and Canada.

His European wish list includes greater political oversight for the European Central Bank, taxes on financial transactions and carbon, an EU-wide debate on large-scale debt relief, and an increase in state aid for certain industries.

Mélenchon said the Brexit vote was a sign that many in the U.K dismissed “a Europe of privileged people."