cvs: php4 /ext/gd config.m4

From: Date: Mon, 20 Jan 2003 10:39:29 +0000
Subject: cvs: php4 /ext/gd config.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-18046@lists.php.net to get a copy of this message
sniper Mon Jan 20 05:39:29 2003 EDT Modified files: /php4/ext/gd config.m4 Log: Add test for png.h Index: php4/ext/gd/config.m4 diff -u php4/ext/gd/config.m4:1.126 php4/ext/gd/config.m4:1.127 --- php4/ext/gd/config.m4:1.126 Sat Dec 14 04:33:37 2002 +++ php4/ext/gd/config.m4 Mon Jan 20 05:39:29 2003 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.126 2002/12/14 09:33:37 sniper Exp $ +dnl $Id: config.m4,v 1.127 2003/01/20 10:39:29 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)

« previous php.cvs (#18046) next »