Another problem with SDL_image and mingw32

Hi all,

I've run into another problem with SDL_image.  I compiled the jpeg and

png libraries successfully (I think), but the configure script for
SDL_image-1.0.10 can’t seem to find them. What do I need to do in order to
compile SDL_image with jpeg and png support using mingw32?

checking for SDL - version >= 1.1.5… yes
checking for jpeg_CreateDecompress in -ljpeg… no
configure: warning: *** Unable to find JPEG library (
configure: warning: JPG image loading disabled
checking for png_create_read_struct in -lpng… no
configure: warning:
*** Unable to find PNG library (

checking for uncompress in -lz… yes
configure: warning: PNG image loading disabled
updating cache ./config.cache—
Michael Spratt