sniper Mon Jan 20 05:39:40 2003 EDT Modified files: (Branch: PHP_4_3) /php4/ext/gd config.m4 Log: MFH Index: php4/ext/gd/config.m4 diff -u php4/ext/gd/config.m4:1.120.2.6 php4/ext/gd/config.m4:1.120.2.7 --- php4/ext/gd/config.m4:1.120.2.6 Sat Dec 14 04:32:49 2002 +++ php4/ext/gd/config.m4 Mon Jan 20 05:39:39 2003 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.120.2.6 2002/12/14 09:32:49 sniper Exp $ +dnl $Id: config.m4,v 1.120.2.7 2003/01/20 10:39:39 sniper Exp $ dnl dnl @@ -83,7 +83,11 @@ if test "$PHP_ZLIB_DIR" = "no"; then AC_MSG_ERROR([PNG support requires ZLIB. Use --with-zlib-dir=<DIR>]) fi - + + if test ! -f $GD_PNG_DIR/include/png.h; then + AC_MSG_ERROR([png.h not found.]) + fi + PHP_CHECK_LIBRARY(png,png_write_image, [ PHP_ADD_INCLUDE($GD_PNG_DIR/include)
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php