I think the decision would need to be approached as amicably as possible, but broadly speaking, I think if the man makes some sort of official statement saying that he wants the pregnancy to continue and that he'll assume all parental responsibility after the birth, then that should suffice - unfortunate for the woman cause it's her who carries the child.. But, I can see all manner of reasons that that might not work as intended, including:
* having the abortion without telling the man she is pregnant.
* claiming that the man deliberately tampered with condoms, so tricked her into getting pregnant.
* not properly looking after the child during the pregnancy term ie smoking, drinking etc.
* self inducing a miscarriage.
And then of course there's also the chance that after having the baby, the woman refuses to give it up after all.
All terribly messy and i think if it had any chance of working, then it would need to be a court who orders a woman to continue with the pregnancy under the threat of a jail term if she does not look after herself and baby properly during the term. That, I admit, does sound very harsh on the woman.
The more i think about it, the more I really don't know what the best way to resolve a conflict would be. For everything I can think of, I can think of twice as many reason why it wouldn't work.