On Fri, 6 Sep 2002, Wez Furlong wrote:
>> It's not intended..but I can't reproduce this..
>> Do you get any errors during configure ?
>
>Yes - sorry - I didn't have my head screwed on when I posted:
>
>checking whether to enable truetype string function in GD... yes
>checking for jpeg_read_header in -ljpeg... yes
>configure: error: PNG support requires ZLIB. Use --with-zlib-dir=<DIR>
>
>It seems like PHP_ZLIB_DIR is somehow getting set to "no" in gd/config.m4
>when it is not explicitly being set.
Yes, it was because I added the option in there..and it of course
borked the previous check. This is same situation that there is
with for example openssl and iconv which both are needed also
in other extensions.. maybe someone has better idea to make such
libraries globally available than putting them all in pear/pear.m4
(for phpize) and configure.in..
--Jani
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php