US food company J M Smucker has announced that it has agreed to acquire International Multifoods for around US$840m.