SDL_image 1.2.10 configure problems in Mac OSX

Hi,

I am the maintainer for Alien::SDL
(http://github.com/kthakore/Alien_SDL). This is a perl module that gets
and install SDL modules in a Perl sharedir for users.

On the Mac SDL_image configure fails with this message:

checking for sdl-config…
/Users/perluser/KTHAKORE/Alien-SDL-1.404/sharedir/1.404_4271c9c5/bin/sdl-config
checking for SDL - version >= 1.2.10… no
*** Could not run SDL test program, checking why…

configure: error: *** SDL version 1.2.10 not found!
###ERROR### [256] during ./configure … at inc/My/Builder/Unix.pm line
71, line 15.

The odd thing is the sdl-config says the version is 1.2.14

/Users/perluser/KTHAKORE/Alien-SDL-1.404/sharedir/1.404_4271c9c5/bin/sdl-config
–version
1.2.14

This is version 1.2.10 of SDL-image. Any clues will be greatly
appreciated.

Regards,
Kartik Thakore