MingW32 & SDL_image

Is there a prescribe method for compiling SDL_Image with MingW32 on a
windows machine? I’ve copied the development libs and include files to
the appropriate location, but running configure - MSYS installed - halts
because it can’t find a particular version of SDL.

Thanks.