Firefighters were battling blazes in France, Spain and Portugal. Forecasters warned that temperatures would soar above 104 degrees Fahrenheit in some places.