On 04.11.2008 23:25, Pierre-Alain Joye wrote: > pajoye Tue Nov 4 20:25:45 2008 UTC > > Modified files: (Branch: PHP_5_3) > /php-src/ext/gd gd.c > Log: > - MFH: add png and jpeg version info
> + php_info_print_table_row(2, "libPNG Version", PNG_LIBPNG_VER_STRING); This breaks the build. /local/qa/5_3/ext/gd/gd.c: In function 'zm_info_gd': /local/qa/5_3/ext/gd/gd.c:1406: error: 'PNG_LIBPNG_VER_STRING' undeclared (first use in this function) /local/qa/5_3/ext/gd/gd.c:1406: error: (Each undeclared identifier is reported only once /local/qa/5_3/ext/gd/gd.c:1406: error: for each function it appears in.) make: *** [ext/gd/gd.lo] Error 1 png.h is NOT really included in gd.c because HAVE_GD_PNG gets defined only after #include <php.h> (I'm building it statically, so there's not config.h). Moving png.h and jpeglib.h a few lines down seems to help. -- Wbr, Antony Dovgal -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php