837cd0d4ce
PHP5 is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.
20 lines
737 B
Plaintext
20 lines
737 B
Plaintext
$OpenBSD: patch-ext_gd_config_m4,v 1.1.1.1 2004/10/02 11:32:35 robert Exp $
|
|
--- ext/gd/config.m4.orig Thu Dec 25 23:12:08 2003
|
|
+++ ext/gd/config.m4 Tue Jul 27 00:41:56 2004
|
|
@@ -87,13 +87,13 @@
|
|
AC_MSG_ERROR([PNG support requires ZLIB. Use --with-zlib-dir=<DIR>])
|
|
fi
|
|
|
|
- if test ! -f $GD_PNG_DIR/include/png.h; then
|
|
+ if test ! -f $GD_PNG_DIR/include/libpng/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_ADD_INCLUDE($GD_PNG_DIR/include/libpng)
|
|
PHP_ADD_LIBRARY_WITH_PATH(z, $PHP_ZLIB_DIR/lib, GD_SHARED_LIBADD)
|
|
PHP_ADD_LIBRARY_WITH_PATH(png, $GD_PNG_DIR/lib, GD_SHARED_LIBADD)
|
|
],[
|