Daniel Wisehart wrote:
On Tuesday 25 April 2006 14:06, Dan McMahill wrote:

1) just detect no gif support in GD and turn off the GIF output.  I
don't like this because I don't like the way some autoconf based
programs enable and disable user visible features based on what it finds
on your system.  Thats why PCB will spit out a message saying "your GD
doesn't support this, if you still want to continue, you need to add
--disable-gif"  That way you have explicitly acknowledged that you are
not going to get GIF support and you know why.

2) never support gif output.  This also seemed lame.

Maybe what I need to do is detect your strange condition where

--disable-gif && --disable-jpeg && --disable-png are all listed and then
try and take out the png HID entirely.


The issue this leaves is that if they use --disable-gif, and libz is not available to link, the link will fail. It seems to me that --disable-gif should not still require libz to still be there.

Regards,
Daniel


If you're still getting -lz the it is because your gdlib-config is broken.

Try running "gdlib-config --libs". If it has "-lz" and you don't have libz then it means you have a broken gd installation.

-Dan

Reply via email to