The reasonable approach is probably to deactivate the transform stuff if the jpeglib is too old.
/ Henrik Grubbström (Lysator)
Previous text:
2002-10-08 11:54: Subject: _Image_JPEG and libjpeg...
Hello,
Seems that older jpeg libraries doesn't have full transformations options. Xenofarm show it on Sun4 platform (lysator.liu.se) as well as Cygwin platform.
I've tryed to tinker a bit the autoconf to check for structures members, but it really seems that for old jpeglib we have to do more or desactivate _Image_JPEG support ?
Personaly I don't want to desactivate this on "old" jpeglib platform, but this will maybe avoid ugly code ?
/Xavier
/ Xavier Beaudouin - Kiwi