France will join the US-led airstrikes targeting extremists in Iraq as part of an expanding international effort to combat the Islamic State group, Iraq's new prime minister has said.

Haider al-Abadi's remarks came after talks with Francois Hollande, who was in Baghdad to bolster Iraq's new government as it struggles to unite the nation amid the rampage by the Islamic State group.

"In order to confront Daesh, we need aerial support from our allies," Mr al-Abadi said, referring to the group by its Arabic acronym. "The French president promised me today that France will participate in this effort, hitting the positions of the terrorists in Iraq."

Mr Al-Abadi spoke at a joint press conference with Mr Hollande in Baghdad. Neither of the two leaders provided details about when the French could join the aerial campaign.

Mr Hollande added that France has delivered four arms shipments and 60 metric tons of humanitarian equipment to Iraq.

His trip, and a conference that Paris is hosting on Monday over Iraq, are the first steps in a long-term effort against Islamic State militants who have captured large areas of land straddling the Syria-Iraq border with the goal of establishing a self-styled caliphate.

Earlier at a press conference with Iraq's president Fouad Massoum, Mr Hollande said the Islamic State group is waging a war on "all people who do not share their vision or ideas".

The aim of the Paris conference "is to coordinate the aid, the support, the actions to work for the unity of Iraq and against this terrorist group", he added.

The US launched airstrikes and humanitarian aid missions on August 8 to boost the efforts of waning Iraqi and Kurdish security forces.

The airstrikes marked a significant shift in the US strategy in Iraq, where the military fully withdrew in late 2011, after nearly a decade of war.

French airstrikes would likely start in coordination with the United States but would not include ground troops, a senior French official said.

Mr Hollande's visit to Baghdad is the French president's first visit to Iraq since the crisis escalated with the Islamic State group's blitz and the fall of Iraq's second-largest city, Mosul, in June.

He has been one of the most militarily aggressive leaders in modern French history, sending troops to Mali and Central African Republic. France was the first European government to start arming Kurdish authorities against Islamic State militants last month.

This is in part because France fears violence on its own soil. Authorities are struggling to stop the flow of hundreds of French radicals who have joined extremists in Syria and Iraq and who could return to Europe to stage attacks.

A Frenchman who went to Syria and held American journalists hostage is the chief suspect in a May attack on a Brussels Jewish museum that left four dead.

"These people have only one idea: to rape, crucify, assassinate. We must all mobilise to make them retreat, neutralise them and get rid of them," French foreign minister Laurent Fabius has said of the Islamic State militants.

Iraq is facing its worst crisis since the 2006 civil war when the Islamic State group captured large areas of land straddling the Syria-Iraq border with the goal of establishing a self-styled caliphate.

The French government - which vigorously opposed the US-led invasion of Iraq a decade ago - insists any action be at the request of the Iraqi government.

France does not want to be a pawn or lapdog in a US-run war, but will play a "significant" role in the coalition and make its own decisions on what to contribute, the French official also said.

Unlike the US, France is stopping short of possible action in Syria, at least for now. The French fear that airstrikes on extremists in Syria could strengthen President Bashar Assad's hand and raise international legal problems.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.