[SDL] Problem on CYGWIN ( MinGW Mode ) with SDL_image (found error)

Julien Lecomte julien at famille-lecomte.net
Tue Jun 6 05:44:12 PDT 2006


On 02/06/2006 19:46, Julien Lecomte wrote:
> On 02/06/2006 19:20, Torsten Giebl wrote:
> 
>> On CYGWIN ( MinGW Mode ) i have not installed libTIFF,
>> ./configure detected that, but after that when using make
>> to compile SDL_image it gave me an error that it is not able
>> to compile because of the missing libTIFF.
>>
>> I had to use --disable-tif to really disable it.
>>
> 
> Blame me.
Actually, don't blame me.

Revision 2404 is to blame:
On line 240 of configure.in, if libtiff is not found then 'enable_tif = 
yes' (if --disable-tif wasn't used), but the conditional doesn't check 
if libtiff was available (variable 'have_libtiff'), so it adds libtiff 
back to the linker's library search.

Also, can someone explain lines 246-250; why are we adding libjpeg stuff 
in the libtiff conditional?

And again, why does lines 251 (which shouldn't be there), and line 267 
add libz to the libraries without checking it exists. libpng and libtiff 
might not depend on libz, and libz might have been deleted after 
building libpng or/and libtiff.

Julien





More information about the SDL mailing list